Няма описание

lj2007331 698e90833e Update redis 2.8.21 to 3.0.2 преди 10 години
conf 698e90833e Update redis 2.8.21 to 3.0.2 преди 10 години
functions 25755d578a Update phpMyAdmin 4.4.9 to 4.4.10 преди 10 години
init 395e77de39 first commit преди 10 години
tools 395e77de39 first commit преди 10 години
LICENSE 0f2358889e Initial commit преди 10 години
README.md b69e31a0cb Update upgrade sh преди 10 години
apps.conf 698e90833e Update redis 2.8.21 to 3.0.2 преди 10 години
backup.sh 395e77de39 first commit преди 10 години
backup_setup.sh 395e77de39 first commit преди 10 години
install.sh 395e77de39 first commit преди 10 години
options.conf 395e77de39 first commit преди 10 години
pureftpd_vhost.sh 395e77de39 first commit преди 10 години
reset_db_root_password.sh b69e31a0cb Update upgrade sh преди 10 години
uninstall.sh 395e77de39 first commit преди 10 години
upgrade.sh b69e31a0cb Update upgrade sh преди 10 години
vhost.sh 395e77de39 first commit преди 10 години
vpn_centos.sh 395e77de39 first commit преди 10 години

README.md

OneinStack is free collection of shell scripts for rapid deployment of LEMP/LAMP/LNMP stacks (Linux, Nginx/Tengine, MySQL/MariaDB/Percona and PHP) for CentOS/Redhat Debian and Ubuntu.

Script features:

  • Constant updates
  • Source compiler installation, most source code is the latest stable version, and downloaded from the official website
  • Fixes some security issues
  • You can freely choose to install database version (MySQL-5.6, MySQL-5.5, MariaDB-10.0, MariaDB-5.5, Percona-5.6, Percona-5.5)
  • You can freely choose to install PHP version (php-5.3, php-5.4, php-5.5, php-5.6, php-7/phpng(alpha))
  • You can freely choose to install HHVM version (CentOS6.5 64bit, CentOS7 64bit)
  • You can freely choose to install Nginx or Tengine
  • You can freely choose to install Apache version (Apache-2.4, Apache-2.2)
  • You can freely choose to install Tomcat version (Tomcat-8, Tomcat-7)
  • You can freely choose to install JDK version (JDK-1.6, JDK-1.7, JDK-1.8)
  • According to their needs can to install ZendOPcache, xcache, APCU, eAccelerator, ionCube and ZendGuardLoader (php-5.4, php-5.3)
  • According to their needs can to install Pureftpd, phpMyAdmin
  • According to their needs can to install memcached, redis
  • According to their needs can to optimize MySQL and Nginx with jemalloc or tcmalloc
  • Add a virtual host script provided
  • Nginx/Tengine, PHP, Redis, phpMyAdmin upgrade script provided
  • Add backup script provided

How to use

   yum -y install wget screen # for CentOS/Redhat
   #apt-get -y install wget screen # for Debian/Ubuntu 
   wget http://mirrors.linuxeye.com/oneinstack.tar.gz
   # or download include source packages
   wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz
   tar xzf oneinstack.tar.gz
   # or tar xzf oneinstack-full.tar.gz
   cd oneinstack 
   # Prevent interrupt the installation process. If the network is down, 
   # you can execute commands `screen -r oneinstack` network reconnect the installation window.
   screen -S oneinstack 
   ./install.sh

How to add a virtual host

   ./vhost.sh

How to add FTP virtual user

   ./pureftpd_vhost.sh

How to backup

   ./backup_setup.sh # Set backup options 
   ./backup.sh # Start backup, You can add cron jobs
   # crontab -l # Examples 
     0 1 * * * cd ~/lnmp;./backup.sh  > /dev/null 2>&1 &

How to manage service

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}

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 upgrade

   ./upgrade.sh

How to uninstall

   ./uninstall.sh

Installation

For feedback, questions, and to follow the progress of the project (Chinese):
OneinStack