控制中心
Congratulations, OneinStack installed successfully!
OneinStack Linux+Nginx/Tengine+MySQL/MariaDB/Percona+PHP+Pureftpd+phpMyAdmin+redis+memcached+jemalloc.
主机工具
探针 phpinfo phpMyAdmin Opcache基本使用步骤
域名解析
新建虚拟主机
部署网站
如何添加虚拟主机?
./vhost.sh
如何删除虚拟主机?
./vhost.sh --del
FTP客户端推荐
FileZilla: gate.io app
如何管理FTP账号?
./pureftpd_vhost.sh
数据库
如何备份?
./backup_setup.sh # Set backup options
./backup.sh # Start backup, You can add cron jobs
# crontab -l # Examples
0 1 * * * ~/oneinstack/backup.sh > /dev/null 2>&1 &
如何管理服务?
PS: 提示Redirecting to /bin/systemctl请忽略,即已切换至systemd,兼容service
Nginx/Tengine/OpenResty:
service nginx {start|stop|status|restart|reload|configtest}
MySQL/MariaDB/Percona:
service mysqld {start|stop|restart|reload|status}
PostgreSQL:
service postgresql {start|stop|restart|status}
MongoDB:
service mongod {start|stop|status|restart|reload}
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}
Memcached:
service memcached {start|stop|status|restart|reload}
如何更新版本?
./upgrade.sh
如何卸载?
./uninstall.sh
云主机安全组必须打开如下端口:
- ssh: 22
- http: 80
- https: 443
- ftp: 21, 20000~30000
PayPal: lj2007331@gmail.com ; 支付宝:lj2007331@gmail.com , 手机客户端扫描二维码捐赠:
OneinStack by LinuxEye QQ群: 262601796(新) 558540514(付费千人群)