|
首先 putty登录自己的SSH linux中
如何添加虚拟主机?
./vhost.sh
如何删除虚拟主机?./vhost.sh del
如何管理FTP账号?./pureftpd_vhost.sh
如何备份?./backup_setup.sh # Set backup options
./backup.sh # Start backup, You can add cron jobs # crontab -l # Examples 0 1 * * * cd ~/oneinstack;./backup.sh > /dev/null 2>&1 &
如何管理服务?Nginx/Tengine: service nginx {start|stop|status|restart|reload|configtest}
MySQL/MariaDB/Percona: service mysqld {start|stop|restart|reload|status}
PHP: service php-fpm {start|stop|restart|reload|status}
HHVM: service supervisord {start|stop|status|restart|reload}
Apache: service httpd {start|restart|stop}Tomcat: service tomcat {start|stop|status|restart}Pure-Ftpd: service pureftpd {start|stop|restart|status}
Redis: service redis-server {start|stop|status|restart|reload}
Memcached: service memcached {start|stop|status|restart|reload}
如何更新版本?./upgrade.sh
如何卸载?./uninstall.sh
|
|