lnmp搭建

2018-09-04 08:14:28   运维

  lnmp linux  

linux版本 cenots6

yum -y install wget screen

wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz tar xzf oneinstack-full.tar.gz cd oneinstack screen -S oneinstack ./install.sh 选择版本即可

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}

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}

更新 /oneinstack/upgrade.sh

删除 /oneinstack/uninstall.sh