An overview of the

This is something I’ve heard about for a long time but haven’t tried to use. I’ve been using the LNMP one-click install package, but the LNMP one-click install package installs the Java environment. Oneinstack is a bit more powerful

website

https://oneinstack.com/

Environment to prepare

First create a virtual machine using Vagrant. If you can’t use Vagrant, Vagrant Box add Ubuntu/Xenial64 Vagrant init Ubuntu/Xenial64 Vagrant up Vagrant SSH In fact, the specific operation is similar to docker-machine, except that it is for virtual machines and not containers

Using oneinstack

In fact, Oneinstack source stored in many places, domestic Ali cloud and take cloud, foreign Linode and SourceForge have, so there is no say I use foreign server download source code is very slow, or use the domestic server download source code is very slow problem, really conscience, I took again from cloud download wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz download speed is commonly full speed download decompression tar ZXVF – after the download is complete Oneinstack-full.tar. gz then run the installation script sudo./install.sh

####################################################################### # OneinStack for CentOS/RadHat 6+ Debian 7+ and Ubuntu 12+ # # For more information please visit https://oneinstack.com # ####################################################################### Please input SSH port(Default: 22): 22 Do you want to enable iptables? [y/n]: n Do you want to install Web server? [y/n]: y Please select Nginx server: 1. Install Nginx 2. Install Tengine 3. Install OpenResty 4. Do not install Please input a number:(Default 1 press Enter)  1 Please select Apache server: Install apache-2.2 3. Do not Install Please input a number:(Default 3 press Enter) 3 Please select tomcat server: 1. Install Tomcat-9 2. Install Tomcat-8 3. Install Tomcat-7 4. Install Tomcat-6 5. Do not install Please input a number:(Default 5 press Enter) 5 Do you want to install Database? [y/n]: y Please select a version of the Database: Install mysql-5.6 4. Install mysql-5.5 5. Install MariaDB-10.2 6 Mariadb-10.1 7. Install mariadb-10.0 8. Install mariadb-5.5 9 Install PostgreSQL 14. Install MongoDB Please input a number:(Default 2 press Enter) 3 Please input the root password of MySQL(default: VHnnHFMN): woyaoxuehuilinux Please choose installation of the database: 1. Install database from binary package. 2. Install database from source package. Please input a number:(Default 1 press  Enter) 2 Do you want to install PHP? [y/n]: y Please select a version of the PHP: 4. Install php-5.6 5. Install php-7.0 6. Install php-7.1 7. Install php-7.2 Please input a number:(Default 5 press Enter) 7 Do you want to Install opcode cache of the PHP? [Y /n]: y Do you want to install ionCube? [y/n]: n Do you want to install ImageMagick or GraphicsMagick? [y/n]: n Do you want to install Pure-FTPd? [y/n]: n Do you want to install phpMyAdmin? [y/n]: n Do you want to install redis? [y/n]: n Do you want to install memcached? [y/n]: n Do you want to install HHVM? [y/n]: nCopy the code

Anyway, this script has a lot of options, and a lot more options than the LNMMP one-click installation package. It’s really convenient to deploy a Web environment with this script. But personally, these are not the best parts of it

Small script

When you have your environment deployed, you have to manage your environment, you have to back up your website, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account. You can execute the following script./addons.sh to add some components. If you don’t want to write configuration files, you can execute the following script./vhost.sh when you want to delete a virtual host, /vhost.sh del If you want to add an account to the FTP service, you can do this./pureftpd_vhost.sh of course website backup is important, /backup_setup.sh oneinstack can be used to backup a website to a local or remote server./ upward. sh oneinstack . / uninstall. Sh in addition to the above, there is also a more cow force function, look at the following website https://oneinstack.com/auto. You will know

Welcome to Bboysoul’s blogwww.bboysoul.com

Have Fun

An overview of the

This is something I’ve heard about for a long time but haven’t tried to use. I’ve been using the LNMP one-click install package, but the LNMP one-click install package installs the Java environment. Oneinstack is a bit more powerful

website

https://oneinstack.com/

Environment to prepare

First create a virtual machine using Vagrant. If you can’t use Vagrant, Vagrant Box add Ubuntu/Xenial64 Vagrant init Ubuntu/Xenial64 Vagrant up Vagrant SSH In fact, the specific operation is similar to docker-machine, except that it is for virtual machines and not containers

Using oneinstack

In fact, Oneinstack source stored in many places, domestic Ali cloud and take cloud, foreign Linode and SourceForge have, so there is no say I use foreign server download source code is very slow, or use the domestic server download source code is very slow problem, really conscience, I took again from cloud download wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz download speed is commonly full speed download decompression tar ZXVF – after the download is complete Oneinstack-full.tar. gz then run the installation script sudo./install.sh

####################################################################### # OneinStack for CentOS/RadHat 6+ Debian 7+ and Ubuntu 12+ # # For more information please visit https://oneinstack.com # ####################################################################### Please input SSH port(Default: 22): 22 Do you want to enable iptables? [y/n]: n Do you want to install Web server? [y/n]: y Please select Nginx server: 1. Install Nginx 2. Install Tengine 3. Install OpenResty 4. Do not install Please input a number:(Default 1 press Enter)  1 Please select Apache server: Install apache-2.2 3. Do not Install Please input a number:(Default 3 press Enter) 3 Please select tomcat server: 1. Install Tomcat-9 2. Install Tomcat-8 3. Install Tomcat-7 4. Install Tomcat-6 5. Do not install Please input a number:(Default 5 press Enter) 5 Do you want to install Database? [y/n]: y Please select a version of the Database: Install mysql-5.6 4. Install mysql-5.5 5. Install MariaDB-10.2 6 Mariadb-10.1 7. Install mariadb-10.0 8. Install mariadb-5.5 9 Install PostgreSQL 14. Install MongoDB Please input a number:(Default 2 press Enter) 3 Please input the root password of MySQL(default: VHnnHFMN): woyaoxuehuilinux Please choose installation of the database: 1. Install database from binary package. 2. Install database from source package. Please input a number:(Default 1 press  Enter) 2 Do you want to install PHP? [y/n]: y Please select a version of the PHP: 4. Install php-5.6 5. Install php-7.0 6. Install php-7.1 7. Install php-7.2 Please input a number:(Default 5 press Enter) 7 Do you want to Install opcode cache of the PHP? [Y /n]: y Do you want to install ionCube? [y/n]: n Do you want to install ImageMagick or GraphicsMagick? [y/n]: n Do you want to install Pure-FTPd? [y/n]: n Do you want to install phpMyAdmin? [y/n]: n Do you want to install redis? [y/n]: n Do you want to install memcached? [y/n]: n Do you want to install HHVM? [y/n]: nCopy the code

Anyway, this script has a lot of options, and a lot more options than the LNMMP one-click installation package. It’s really convenient to deploy a Web environment with this script. But personally, these are not the best parts of it

Small script

When you have your environment deployed, you have to manage your environment, you have to back up your website, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account, you have to manage your FTP account. You can execute the following script./addons.sh to add some components. If you don’t want to write configuration files, you can execute the following script./vhost.sh when you want to delete a virtual host, /vhost.sh del If you want to add an account to the FTP service, you can do this./pureftpd_vhost.sh of course website backup is important, /backup_setup.sh oneinstack can be used to backup a website to a local or remote server./ upward. sh oneinstack . / uninstall. Sh in addition to the above, there is also a more cow force function, look at the following website https://oneinstack.com/auto. You will know

Welcome to Bboysoul’s blog at www.bboysoul.com Have Fun