Thursday, October 21, 2010

osCommerce Installation on CentOS/ Fedora /RedHat

Welcome to osCommerce!

osCommerce has attracted a large growing e-commerce community that consists of over 239,200 store owners and developers who support each other and extend osCommerce Online Merchant with add-ons being contributed on a daily basis. To date there are over 6,100 add-ons that are available for free to customize osCommerce Online Merchant online stores and to help increase sales.
osCommerce Online Merchant is an Open Source online shop e-commerce solution that is available for free under the GNU General Public License. It features a rich set of out-of-the-box online shopping cart functionality that allows store owners to setup, run, and maintain online stores with minimum effort and with no costs, fees, or limitations involved.

#yum install  mysql mysql-server httpd php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc phpmyadmin

#service httpd start
#service mysqld start
#mysql_secure_installation (set up root password) 
#wget http://www.oscommerce.com/redirect.php/go,45
#unzip oscommerce-3.0a5.zip -d /var/www/html/oscommerce/
http://youdomain.com









Wednesday, October 20, 2010

Joomla Install on Fedora /CentOS /RedHat

Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone.

#yum install  mysql mysql-server httpd php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc phpmyadmin

#service httpd start
#service mysqld start
#mysql_secure_installation (set up root password)












Zenoss Installation on CentOS /RedHat /Fedora

This is a how to on installing Zenoss 2.0 core on a new Centos 5.0 installation. This guide assumes a new Centos 5 install with the default "server" software selection, no gui, and has SElinux disabled, if it is not disabled run setenforce 0 as root before starting. If you want to install the old 1.2 version of Zenoss 

#yum -y install mysql mysql-server net-snmp net-snmp-utils
#service mysqld start
#mysql_secure_installation (set up root password)
#wget http://downloads.sourceforge.net/zenoss/zenoss-stack-3.0.2-linux.bin
#chmod 777 zenoss-stack-3.0.2-linux.bin
#./zenoss-stack-3.0.2-linux.bin 













Tuesday, October 19, 2010

Bash function to decompress archives

 extract () {
    if [ -f $1 ] ; then
        case $1 in
            *.tar.bz2)   tar xvjf $1        ;;
            *.tar.gz)    tar xvzf $1     ;;
            *.bz2)       bunzip2 $1       ;;
            *.rar)       unrar x $1     ;;
            *.gz)        gunzip $1     ;;
            *.tar)       tar xvf $1        ;;
            *.tbz2)      tar xvjf $1      ;;
            *.tgz)       tar xvzf $1       ;;
            *.zip)       unzip $1     ;;
            *.Z)         uncompress $1  ;;
            *.7z)        7z x $1    ;;
            *)           echo "'$1' cannot be extracted via >extract<" ;;
        esac
    else
        echo "'$1' is not a valid file"
    fi
}