OneinStack 使用方法
首先 putty登录自己的SSH linux中如何添加虚拟主机?
./vhost.sh
https://static.oneinstack.com/images/oneinstack-vhost.png如何删除虚拟主机?./vhost.sh del
https://static.oneinstack.com/images/vhost_del.png如何管理FTP账号?./pureftpd_vhost.sh
https://static.oneinstack.com/images/pureftpd.png如何备份?./backup_setup.sh # Set backup options
https://static.oneinstack.com/images/backup.png./backup.sh # Start backup, You can add cron jobs # crontab -l # Examples0 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}
注:hhvm进程交给supervisord管理,了解更多请访问《Supervisor管理hhvm进程》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.shhttps://static.oneinstack.com/images/upgrade.png
如何卸载?./uninstall.shhttps://static.oneinstack.com/images/uninstall.png
页:
[1]