Website building environment construction: OneinStack download and installation method, can build lnmp, lamp, lnmpa, lnmt, lnmh combination, one-click PHP/JAVA installation tool

888u

Last update at :2024-03-26,Edit by888u

Website building environment construction: OneinStack download and installation method, can build lnmp, lamp, lnmpa, lnmt, lnmh combination, one-click PHP/JAVA installation tool, synchronize the content of OneinStack official website (https://oneinstack.com/), Please bookmark this page to get the latest installation package from the OneinStack official website. The website content will be updated continuously on October 1, 2016...

OneinStack official website installation address: https://oneinstack.com/install/


OneinStack contains the following combinations:

lnmp (Linux + Nginx + MySQL + PHP)

lamp(Linux + Apache+ MySQL+ PHP)

lnmpa (Linux + Nginx + MySQL + PHP + Apache): Nginx handles static, Apache (mod_php) handles dynamic PHP

lnmt (Linux + Nginx + MySQL + Tomcat): Nginx handles static, Tomcat (JDK) handles JAVA

lnmh (Linux + Nginx + MySQL + HHVM)

OneinStack supports system versions (including 32 and 64-bit systems):

  • CentOS 6~7 (including redhat)
  • Debian 6~8
  • Ubuntu 12~16
  • Aliyun Linux 15.1

OneinStack download

Alibaba Cloud intranet line (above 10M/s), including source code http://aliyun-oss.linuxeye.com/oneinstack-full.tar.gz

sourceforge, contains source code

http://downloads.sourceforge.net/project/oneinstack/oneinstack-full.tar.gz

European routes, including source code

http://mirrors.dwhd.org/LinuxEye/oneinstack-full.tar.gz

Mainland China line (1M/s), including source code

http://mirrors.linuxeye.com/oneinstack-full.tar.gz

Overseas lines (Linode Fremont, 10M/s), including source code

http://mirrors.linuxeye.com/oneinstack-full.tar.gz

Does not contain source code, it is recommended to download only from foreign hosts

http://mirrors.linuxeye.com/oneinstack.tar.gz

OneinStack installation

Installation steps

Note: If you have a separate data disk, it is recommended that you mount the data disk first. It is recommended that the website content and database be placed in the data disk. How to mount a data disk, please refer to (supports Alibaba Cloud and Tencent Cloud): "How to use scripts to automatically mount a data disk?" 》

yum -y install wget screen python #for CentOS/Redhat # apt-get -y install wget screen python #for Debian/Ubuntu wget http://aliyun-oss.linuxeye.com/oneinstack-full.tar.gz #Alibaba Cloud Users download wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz #Contains source code. Anyone outside mainland China can download wget http://mirrors.linuxeye.com/oneinstack.tar.gz #Does not contain source code. , it is recommended that only foreign hosts download tar xzf oneinstack-full.tar.gz cd oneinstack #If you need to modify the directory (installation, data storage, Nginx log), please modify the options.conf file screen -S oneinstack #If the network is interrupted, you can Execute the command `screen -r oneinstack` to reconnect to the installation window./install.sh #Note: Do not execute sh install.sh or bash install.sh like this

How to add add-ons?

./addons.sh

How to add a virtual host?

./vhost.sh

How to delete a virtual host?

./vhost.sh del

How to manage FTP accounts?

./pureftpd_vhost.sh

How to back up?

./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 &

How to manage 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}

HHVM:

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

Note: The hhvm process is managed by supervisord. For more information, please visit "Supervisor Management of hhvm Process"

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}

How to update the version?

./upgrade.sh

How to uninstall?

./uninstall.sh


OneinStack Features

  • Continuously updated
  • Compile and install the source code, most of the source code is the latest stable version and download it from the official website
  • Provides multiple database versions (MySQL-5.7, MySQL-5.6, MySQL-5.5, MariaDB-10.1, MariaDB-10.0, MariaDB-5.5, Percona-5.7, Percona-5.6, Percona-5.5)
  • Provide multiple PHP versions (php-5.3, php-5.4, php-5.5,php-5.6,php-7)
  • Provide Nginx, Tengine
  • Provides multiple Apache versions (Apache-2.4, Apache-2.2)
  • Provide multiple Tomcat versions (Tomcat-8, Tomcat-7, Tomcat-6)
  • Provide multiple JDK versions (JDK-1.8, JDK-1.7, JDK-1.6)
  • Install PHP cache accelerator according to your own needs, providing ZendOPcache, xcache, apcu, and eAccelerator. And PHP encryption and decryption tools ionCube, ZendGuardLoader
  • Install Pureftpd and phpMyAdmin according to your own needs
  • Install Memcached and Redis according to your own needs
  • You can use tcmalloc or jemalloc to optimize MySQL and Nginx according to your own needs
  • Provides adding virtual host script
  • Provide Nginx/Tengine, PHP, Redis, phpMyAdmin upgrade scripts
  • Provides local backup and remote backup (rsync between servers) scripts
  • Provide HHVM installation under CentOS 6 and 7

The open source software versions used by OneinStack are as follows:

# Web # DB #PHP
nginx_version=1.10.1 mysql_5_7_version=5.7.15 php_7_version=7.0.11
tengine_version=2.1.1 mysql_5_6_version=5.6.33 php_6_version=5.6.26
openresty_version=1.11.2.1 mysql_5_5_version=5.5.52 php_5_version=5.5.38
apache_4_version=2.4.23 mariadb_10_1_version=10.1.17 php_4_version=5.4.45
apache_2_version=2.2.31 mariadb_10_0_version=10.0.26 php_3_version=5.3.29
tomcat_8_version=8.0.30 mariadb_5_5_version=5.5.52
tomcat_7_version=7.0.69 percona_5_7_version=5.7.14-7
tomcat_6_version=6.0.45 percona_5_6_version=5.6.32-78.0
percona_5_5_version=5.5.51-38.1
# JDK # jemalloc & tcmalloc #Pure-FTPd
jdk_8_version=1.8.0_102 jemalloc_version=4.2.1 pureftpd_version=1.0.43
jdk_7_version=1.7.0_80 tcmalloc_version=2.5
jdk_6_version=1.6.0_45
# Redis # Memcached #phpMyAdmin
redis_version=3.2.3 memcached_version=1.4.31 phpMyAdmin_version=4.4.15.8

Recommended site searches: http proxy ip, US host, domain name price, Zhenjiang high-defense server, domain name reverse check, mainland China registration-free space, US host, VIP domain name, multi-IP station group server, virtual host evaluation,

p>

Website building environment construction: OneinStack download and installation method, can build lnmp, lamp, lnmpa, lnmt, lnmh combination, one-click PHP/JAVA installation tool

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码