1. Need to solve: LAMP, LANP, Nogios
  2. 安装mysql要识指定软件路径同数据库路径, mysql, php要源码安装
  3. LVS rsync备份和同步
  4. reference ---
  5. LNMP (Nginx):
  6. * https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6
  7. * http://blog.martinfjordvald.com/2010/07/nginx-primer/
  8. * http://michael.lustfield.net/nginx/dummies-guide-to-setting-up-nginx
  9. MySQL:
  10. * doc http://dev.mysql.com/doc/refman/5.1/en/index.html
  11. pre-requiste tools: gcc[, gcc-c++], make, libtool, ncurses-devel
  12. # useradd -r mysql
  13. # tar zxvf mysql-version.tar.gz
  14. # cd mysql-version
  15. # CXX="gcc" ./configure --prefix=/usr/local/mysql
  16. # make -j<2xcpus> 2>&1 | tee make.log
  17. # make install
  18. PHP:
  19. * http://cn2.php.net/manual/en/install.unix.apache2.php
  20. ---
  21. # ./configure --with-apxs2 --with-mysql=/opt/mysql/ \
  22. > --prefix=/usr/local/php --enable-fpm
  23. ---
  24. * "重启apache时,libphp5.so: cannot restore segment prot
  25. after reloc: Permission denied " [SELinux problem]
  26.  - Solved by http://2484055.blog.51cto.com/2474055/588419
  27.  

Posted by max____ at 13 Oct 2013, 10:33:53 Etc/UTC
Language: bash