Centos Ubuntu 安装web环境
2018-03-26 13:57
302 查看
技术QQ交流群:294088839。
地址 https://oneinstack.com/download/yum -y install wget screen curl python #for CentOS/Redhat
# apt-get -y install wget screen curl python #for Debian/Ubuntu
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz #包含源码,国内外均可下载
tar xzf oneinstack-full.tar.gz
cd oneinstack #如果需要修改目录(安装、数据存储、Nginx日志),请修改options.conf文件
screen -S oneinstack #如果网路出现中断,可以执行命令`screen -R oneinstack`重新连接安装窗口
./install.sh #注:请勿sh install.sh或者bash install.sh这样执行
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}
地址 https://oneinstack.com/download/yum -y install wget screen curl python #for CentOS/Redhat
# apt-get -y install wget screen curl python #for Debian/Ubuntu
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz #包含源码,国内外均可下载
tar xzf oneinstack-full.tar.gz
cd oneinstack #如果需要修改目录(安装、数据存储、Nginx日志),请修改options.conf文件
screen -S oneinstack #如果网路出现中断,可以执行命令`screen -R oneinstack`重新连接安装窗口
./install.sh #注:请勿sh install.sh或者bash install.sh这样执行
如何添加附加组件?
./addons.sh
如何添加虚拟主机?
./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/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|reload}Memcached:service memcached {start|stop|status|restart|reload}
如何更新版本?
./upgrade.sh
如何卸载?
./uninstall.sh
相关文章推荐
- ubuntu 11.10下面安装apache+php+mysql+phpadmin搭建web环境
- 实践centos6.5编译安装LNMP架构web环境
- CentOS下Web服务器环境搭建LNMP一键安装包
- ubuntu 16.04 下安装简易java web开发环境
- 实践centos6.5编译安装LNMP架构web环境
- centos安装java web服务器环境java8+tomcat8+mysql5.7
- CentOS 通过yum安装web环境
- centos7下安装配置javaweb环境
- 在Ubuntu\Centos等Linux环境安装支付宝控件
- CentOS 通过yum安装web环境
- ubuntu14.0.4配置javaweb开发环境第三步安装eclipse
- 在Linux环境Ubuntu/CentOS系统中,安装meteor环境
- Ubuntu LAMP Web环境安装
- Ubuntu下部署web环境-软件安装及常用命令-基本篇
- 实践centos6.5编译安装LNMP架构web环境
- centos下lighttpd web.py环境安装及使用
- 如何在 Ubuntu 15.04/CentOS 7 中安装 Lighttpd Web 服务器
- 类centos6.5编译安装LNMP架构web环境
- 手把手教你在centos下编译安装配置高性能web服务器环境nginx+php(fast-cgi)+mysql等/适合小内存vps使用
- Ubuntu搭建web环境安装sendmail无法实现(已解决)