You are on page 1of 3

ylampp ===== wget http://www.apachefriends.org/download.php?xampp-linux-1.7.7.tar.gz tar xvfz xampp-linux-1.7.7.tar.gz -C /opt yum remove httpd #/etc/init.

d/mysqld start /opt/lampp/lampp start yum install bind-utils vi /opt/lampp/etc/extra/httpd-xampp.conf date entries there) /opt/lampp/htdocs /opt/lampp/lampp stopapache /opt/lampp/lampp startapache /opt/lampp/lampp security kloxo ====== wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh (see guide for install) mysql password (in case of no xampp) ========= mysqladmin -u root -p status /etc/init.d/mysqld start update mysql mysql> mysql> mysql> sql password as not using lampp sql USE mysql; UPDATE user SET Password=PASSWORD('new-password') WHERE user='root'; FLUSH PRIVILEGES; (uncomment vhosts file and up

CREATE DATABASE demo; GRANT ALL ON demo.* TO user1@localhost IDENTIFIED BY 'mypassword'; Mercurial ========= (download and install python setup tools) http://pypi.python.org/packages/2.4/s/ setuptools/setuptools-0.6c9.win32-py2.4.exe python -V (get version) wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.eg g#md5=bfa92100bd772d5a213eedd356d64086 sh setuptools-0.6c11-py2.6.egg yum install python-devel easy_install mercurial - optional : setup hgweb Mongodb =======

(see online - one command install and run) mail server ( use postfix+dovecot instead) ============ yum groupinstall "Development Tools" wget -q -O - http://easyinstall.citadel.org/install | sh Mail setup : Postfix+ Dovecot + Roundcube ==================== ---install vpopmail (virtual domain manager) yum install postfix (remove sendmail if installed by default) yum install dovecot cd /etc/mail/ http://corpocrat.com/2008/07/10/setup-postfixdovecot-mailserver-for-centosrhel/ useradd -s /sbin/nologin admin passwd admin cd /etc/dovecot/ (modify the config if needed) vi /etc/postfix/virtual //add the username to email mapping here to allow login vi /etc/postfix/main.cf // add virtual domains here chkconfig --level 34 dovecot on // add init.d script process to startup #yum install php-pear //not needed with lampp install roundcube pear channel-update pear.php.net pear pear pear pear install install install install MDB2 Mail_MIME Net_SMTP Auth_SASL

wget http://www.3open.org/d/_media/tips/rcmail-0.5.2.tar.gz // extract to desired apache dir and run the mail.domain.com/installer to config ure ncftp (fast ftp client with multifile support to fix internet issues) -------------------------------------------------------------------wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm yum install ncftp user setup for sftp/ssh access --------------------groupadd iusers useradd -d /opt/lampp/htdocs/sites/hammad -g iusers hammad

crontab ======= 13,26,39,52,59 * * * * curl -L http://pshmn.com/eD7nJl >>/dev/null 2>&1 06 23 * * * /opt/lampp/bin/mysqldump -pblago45D --all-databases >/www/dbbackup/a lldb.sql

x-11 forwarding =============== yum install xorg-x11-xauth yum install xorg-x11-fonts-* yum install xorg-x11-utils yum install xclock vi /etc/ssh/sshd_config , add line X11Forwarding yes yum install meld //install the diff tool

You might also like