install_mysql
config_mysql ;;
php|P)
install_php
config_php ;;
php-fpm|PF)
install_php_fpm
config_php_fpm ;;
xcache|X)
install_xcache ;;
memcache|ME)
install_memcache ;;
memcached|MD)
install_memcached ;;
lamp)
install_lamp
config_lamp ;;
lammp)
install_lammp
config_lammp ;;
lnmp)
install_lnmp
config_lnmp ;;
lnmmp)
install_lnmmp
config_lnmmp ;;
q|Q)
break
esac
read -p "Have any choice agin, if you no,q|Q is quit: " Choice
done
这个脚本和nginx systemV,memcached system V的脚本以附件的形式上传了,点此下载
缺陷:
1)、没能为nginx提供自动化system V脚本,但是nginx的system V脚本我会以附件的方式上传,各位博友需要 vim /etc/rc.d/init.d/nginx 然后copy我提供的system V脚本然后添加权限,就可以service nginx start了
2)、也没能为memcached提供自动化system V脚本,但是memcached的system V脚本会以附件方式上传,各位博友需要 vim /etc/rc.d/init.d/memcached 然后copy我提供的system V脚本然后添加权限,就可以service memcached start了
本文出自 “技术之路---桀” 博客








