server setup - Notes

server setup

Basic yum install git httpd mysql-server php php-xml php-pdo php-mysql php-mbstring php-gd php-bcmath php-mcrypt php-soap  
  chkconfig httpd --level 235 on  
  chkconfig mysqld --level 235 on  
     
modpagespeed wget http://cdn.lncknight.com/mod-pagespeed-stable_current_x86_64.rpm  
  sudo rpm -U mod-pagespeed-*.rpm  
     
mysql_secure_installion service mysqld start  
  /usr/bin/mysql_secure_installation  
     
Download source from GIT ..  
  and also phpmyadmin  
  chown -R apache:apache html change folder user
     
httpd config vim /etc/httpd/conf/httpd.conf set virtual host: website, phpmyadmin
    enable mod_rewrite
  php.ini (/etc/php.ini) enable short tag <?php <?
    timezone Asia/Hong_Kong
server setup