no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | centos_deployment [2011/12/05 19:40] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== CentOS Deployment ==== | ||
+ | * [[CentOS]] | ||
+ | * [[yum]] | ||
+ | * [[http:// | ||
+ | |||
+ | Steps involved in setting up a new CentOS server: | ||
+ | |||
+ | * Install htop | ||
+ | * Install [[monit]] | ||
+ | * Install [[collectd]] and [[cgp]] and [[awstats]] | ||
+ | * Install [[postfix]] | ||
+ | * Secure [[OpenSSH]] | ||
+ | * Setup [[iptables]] | ||
+ | * Configure [[PHP]] | ||
+ | * Install [[PEAR]] | ||
+ | * Add apache, iptables, to startup using [[ntsysv]] | ||
+ | |||
+ | == Install development libraries == | ||
+ | |||
+ | < | ||
+ | yum groupinstall ' | ||
+ | yum groupinstall ' | ||
+ | yum install compat-db openssl097a | ||
+ | </ | ||
+ | |||
+ | ==== LAMP ==== | ||
+ | |||
+ | == Install PHP 5.3 and MySQL 5.0 and mod_ssl == | ||
+ | |||
+ | < | ||
+ | yum -y remove php-cli php-common php | ||
+ | yum -y install mysql-server ntsysv mod_ssl | ||
+ | yum -y install php53 php53-cli php53-gd php53-imap php53-mysql php53-pdo php53-bcmath php53-dba php53-intl php53-mbstring php53-odbc php53-soap php53-xml php53-xmlrpc | ||
+ | </ | ||
+ | |||
+ | == Install PEAR == | ||
+ | |||
+ | < | ||
+ | wget http:// | ||
+ | php go-pear.phar | ||
+ | pear upgrade-all | ||
+ | pear install Mail Mail_Mime Net_SMTP | ||
+ | </ | ||
+ | |||
+ | PEAR will be installed in ''/ | ||
+ | |||
+ | == Install PHP Manually == | ||
+ | |||
+ | < | ||
+ | |||
+ | ==== Package Cleanup ==== | ||
+ | |||
+ | == Remove X and programs == | ||
+ | |||
+ | < |