github地址:https://github.com/ielnehc/ltmh#how-to-add-a-virtual-host
添加域名
./vhost.sh
./vhost_hhvm.sh
备份
./backup.sh ##Backup Initialization
管理服务
Nginx/Tengine:
service nginx {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}
##tengine:/usr/local/nginx/sbin/nginx -t ,-v ,-m , -V
##tengine:/usr/local/nginx/sbin/dso_tool --add-module=......
MySQL/MariaDB/Percona:
service mysqld {start|stop|restart|reload|force-reload|status}
PHP:
service php-fpm {start|stop|force-quit|restart|reload|status}
HHVM:
service hhvm {start|stop|restart|reload|status}
Pure-Ftpd:
service pureftpd {start|stop|restart|condrestart|status}
Redis:
service redis-server {start|stop|status|restart|condrestart|try-restart|reload|force-reload}
Memcached:
service memcached {start|stop|status|restart|reload|force-reload}
升级
./up_php.sh # upgrade PHP
./up_web_ser.sh # upgrade Nginx/Tengine
./up_redis.sh # upgrade Redis
./up_phpmyadmin.sh # upgrade phpMyAdmin
卸载
./uninstall.sh