OneinStack: one-click installation package for lnmp, lamp, and lnmpa (supports HHVM)

OneinStack: one-click installation package for lnmp, lamp, and lnmpa (supports HHVM)

This script is written in shell to quickly deploy lnmp/lamp/lnmpa (Linux, Nginx/Tengine, MySQL/MariaDB/Percona, PHP) in production environment. It is suitable for 32-bit and 64-bit CentOS 5~7 (including redhat), Debian 6~8, Ubuntu 12.04~15.04.

If you want to support HHVM, only CentOS 6(7) 64-bit is supported .

1. Installation
1. Installation under CentOS/Redhat :

 yum -y install wget screen wget http://mirrors.linuxeye.com/lnmp-full.tar.gz tar xzf lnmp-full.tar.gz cd lnmp screen -S lnmp ./install.sh

2. Installation under Debian/Ubuntu

 apt-get -y install wget screen curl python wget http://mirrors.linuxeye.com/lnmp-full.tar.gz tar xzf lnmp-full.tar.gz cd lnmp screen -S lnmp ./install.sh

Then install the required version according to your requirements.
If the network is interrupted, you can execute the command screen -r lnmp to reconnect to the installation window.

2. Use
1. Add a virtual host

 ./vhost.sh

2. Delete the virtual host

 ./vhost.sh del

3. Manage FTP accounts

 ./pureftpd_vhost.sh

4. Data backup

 ./backup_setup.sh # 備份參數設置./backup.sh # 立即執行備份

crontab -e # can be added to the scheduled tasks, such as automatic backup at 1 am every day

 0 1 * * * cd ~/lnmp;./backup.sh > /dev/null 2>&1 &

5. Install Let's Encrypt client

 ./addons.sh

Select 7 and install it. (Let's Encrypt client is a free SSL certificate)

6. Management Services
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}

Apache:

 service httpd {start|restart|stop}

HHVM:

 service supervisord {start|stop|status|restart|reload}

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}

Visualization made by netizens: https://github.com/lj2007331/panel

via: https://blog.linuxeye.com/31.html

<<:  bandwagonhost: $11.99/year/512MB/10G SSD/1000GB traffic/OpenVZ/Phoenix

>>:  ethernetservers VPS background management address

Recommend

PIGYun 1 core 1GB memory 60Mbps port Hong Kong BGP KVM VPS review

Details : PIGYun: 19.92 yuan/month/1 core/1GB mem...

Free and stable DNS - miniDNS

miniDNS has been providing free DNS resolution se...

HostRush: $4/month/2GB RAM/40GB SSD space/2TB bandwidth/OpenVZ/Dallas

HostRush, an American hosting provider, was found...

QuadHost 256MB RAM OpenVZ VPS Singapore Review

Details: QuadHost: £2.5/year/128MB/5GB space/500G...

8 Free Twenty Eleven Child Themes

Paper Demo | Download Silver Demo | Download Hum ...

Cyanode: $2.5/month/512MB RAM/15GB SSD space/500GB bandwidth/KVM/Los Angeles

Cyanode, a newly established hosting provider, is...

Tactical VPS:$1/month/shared CPU/256M/20G/250G/OpenVZ

Tactical VPS隸屬于Edward Zinn,其在法國已經提供了8年服務,2013年11月...

$4/month/70G space/700G traffic virtual host—— micfo

micfo is an American hosting company founded in 2...