Latest version: lnmp-2.5
Updated: 20,140,702
MD5 value: D4D52E39066F041569B8EF2DAA033E15
Installation instructions: Please ensure that the server can access the Internet and the yum command can be used normally!
1. wget http://www.osyunwei.com/lnmp/lnmp-2.5.tar.gz #Download, you need to execute yum install wget first to install the download tool
2.tar zxvf lnmp-2.5.tar.gz #Unzip
3.cd lnmp-2.5 #Enter the installation directory
4.sh CentOS.sh #run the installation script
5. Until the end of the installation
6, cat /root/web-install.log #View the installation log
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add site (it is recommended not to use Nginx default site directory)
cd / home
./vhost.sh #Run this command and prompt for a domain name, such as www.osyunwei.com, and enter the confirmation interface.
If you need to modify, enter N and return to re-enter.
Then it will prompt "Whether to open ftp service? (Y / N)" and ask whether to enable the FTP service on the site. If it is not required, enter N to complete the setting.
To enable, enter Y, and it will prompt "Please enter you password for ftp server:" Enter the ftp access password according to the prompt and the setting is complete!
Linux system Web server environment to build a one-click installation package in detail -lnmp server setup
Open www.osyunwei.com on the client and you will see the following prompt page, which lists the domain name of the current site, the root directory of the program, the ftp login account password, etc.
interest! ftp username is the current domain name (it is highly recommended to delete this page after viewing it)
Detailed installation of one-click LNMP installation package for Linux system web server environment-Alibaba Cloud server build lnmp
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: /usr/local/nginx/conf/vhost/www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Support system: CentOS 5.x, CentOS 6.x series
2. Cancel the iptables firewall settings, please open firewall 80 (web), 3306 (mysql), 21 (ftp), 10045 to 10090 (ftp passive mode) by yourself
3.Close SELINUX
3. Web server software: nginx-1.6.0, php-5.4.30, mysql-5.6.19
4. Software installation directory
nginx: / usr / local / nginx
php: / usr / local / php
mysql: / usr / local / mysql
5.Configuration file
nginx: /usr/local/nginx/conf/nginx.conf
mysql: /etc/my.cnf
php: /usr/local/php/etc/php.ini
php-fpm: /usr/local/php/etc/php-fpm.conf
6, mysql database storage path: / home / data / mysql
7.Optimize PHP, add eaccelerator, ioncube, memcache, suhosin, imagick, MagicWa, phpredis, mongo support
8. Update the GD library version to: libgd-2.1.0
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
historic version
======================================================== ====================================
Version: lnmp-2.4
Updated: 20,130,911
Installation instructions: Please ensure that the server can access the Internet normally, the server system time is accurate, and the yum command can be used normally!
1. wget http://www.osyunwei.com/lnmp/lnmp-2.4.tar.gz #Download, you need to execute yum install wget first to install the download tool
2.tar zxvf lnmp-2.4.tar.gz #decompress
3.cd lnmp-2.4 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add site (it is recommended not to use nginx default site directory)
sh /home/vhost.sh #Execute this command, prompt for a domain name, such as www.osyunwei.com, enter the confirmation interface, if correct, enter Y
If you need to modify, enter N and return to re-enter.
Then it will prompt "Whether to open ftp service? (Y / N)" and ask whether to enable the FTP service on the site. If it is not required, enter N to complete the setting.
To enable, enter Y, and it will prompt "Please enter you password for ftp server:" Enter the ftp access password according to the prompt and the setting is complete!
Open www.osyunwei.com on the client and you will see the following prompt page, which lists the domain name of the current site, the root directory of the program, the ftp login account password, etc.
interest! ftp username is the current domain name (it is highly recommended to delete this page after viewing it)
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: /usr/local/nginx/conf/vhost/www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Open the firewall port 22, 80, 3306, 21, 10045: 10090 (if you have modified the ssh remote port, please change it to the default port 22 first, otherwise you cannot log in remotely after installation)
2.Close SELINUX
3. Software version: Nginx-1.4.2, MySQL-5.6.13, PHP-5.3.27
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Add one-click virtual host to add script, add site ftp server function (you can choose whether to enable it), optimize Nginx settings,
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagicWa, phpredis support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-2.3
Updated: 20,130,505
Installation instructions: Please ensure that the server can access the Internet normally, the server system time is accurate, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-2.3.tar.gz #Unzip
3.cd lnmp-2.3 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add site (it is recommended not to use nginx default site directory)
sh /home/vhost.sh #Execute this command, prompt for a domain name, such as www.osyunwei.com, enter the confirmation interface, if correct, enter Y
If you need to modify, enter N and return to re-enter.
Then it will prompt "Whether to open ftp service? (Y / N)" and ask whether to enable the FTP service on the site. If it is not required, enter N to complete the setting.
To enable, enter Y, and it will prompt "Please enter you password for ftp server:" Enter the ftp access password according to the prompt and the setting is complete!
Open www.osyunwei.com on the client and you will see the following prompt page, which lists the domain name, program root directory, FTP login account password, etc.
interest! ftp username is the current domain name (it is highly recommended to delete this page after viewing it)
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: / usr / local / nginx / conf / vhost / www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Open the firewall port 22, 80, 3306, 21, 10045: 10090 (if you have modified the ssh remote port, please change it to the default port 22 first, otherwise you cannot log in remotely after installation)
2.Close SELINUX
3. Software version: Nginx-1.4.0, MySQL-5.6.11, PHP-5.3.24
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Add one-click virtual host to add script, add site ftp server function (you can choose whether to enable it), optimize Nginx settings,
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagicWa, phpredis support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-2.2
Updated: 20,130,228
Installation instructions: Please ensure that the server can access the Internet normally, the server system time is accurate, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-2.2.tar.gz #Unzip
3.cd lnmp-2.2 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add site (it is recommended not to use nginx default site directory)
sh /home/vhost.sh #Execute this command, prompt for a domain name, such as www.osyunwei.com, enter the confirmation interface, if correct, enter Y
If you need to modify, enter N and return to re-enter.
Then it will prompt "Whether to open ftp service? (Y / N)" and ask whether to enable the FTP service on the site. If it is not required, enter N to complete the setting.
To enable, enter Y, and it will prompt "Please enter you password for ftp server:" Enter the ftp access password according to the prompt and the setting is complete!
Open www.osyunwei.com on the client and you will see the following prompt page, which lists the domain name, program root directory, FTP login account password, etc.
interest! ftp username is the current domain name (it is highly recommended to delete this page after viewing it)
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: /usr/local/nginx/conf/vhost/www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Open the firewall port 22, 80, 3306, 21, 10045: 10090 (if you have modified the ssh remote port, please change it to the default port 22 first, otherwise you cannot log in remotely after installation)
2.Close SELINUX
3. Software version: Nginx-1.2.7, MySQL-5.5.30, PHP-5.3.22
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Add one-click virtual host to add script, add site ftp server function (you can choose whether to enable it), optimize Nginx settings,
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagicWa, phpredis support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-2.1
Updated: 20,130,109
Installation instructions: Please ensure that the server can access the Internet normally, the server system time is accurate, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-2.1.tar.gz #Unzip
3.cd lnmp-2.1 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add site (it is recommended not to use nginx default site directory)
sh /home/vhost.sh #Execute this command, prompt for a domain name, such as www.osyunwei.com, enter the confirmation interface, if correct, enter Y
If you need to modify, enter N and return to re-enter.
Then it will prompt "Whether to open ftp service? (Y / N)" and ask whether to enable the FTP service on the site. If it is not required, enter N to complete the setting.
To enable, enter Y, and it will prompt "Please enter you password for ftp server:" Enter the ftp access password according to the prompt and the setting is complete!
Open www.osyunwei.com on the client and you will see the following prompt page, which lists the domain name, program root directory, FTP login account password, etc.
interest! ftp username is the current domain name (it is highly recommended to delete this page after viewing it)
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: /usr/local/nginx/conf/vhost/www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Open the firewall port 22, 80, 3306, 21, 10045: 10090 (if you have modified the ssh remote port, please change it to the default port 22 first, otherwise you cannot log in remotely after installation)
2.Close SELINUX
3. Software version: Nginx-1.2.6, MySQL-5.5.29, PHP-5.3.20
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Add one-click virtual host to add script, add site ftp server function (you can choose whether to enable it), optimize Nginx settings,
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagicWa, phpredis support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-2.0
Updated: 20,121,221
Installation instructions: Please ensure that the server can access the Internet normally, the server system time is accurate, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-2.0.tar.gz #Unzip
3.cd lnmp-2.0 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit please shipRow
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add site (it is recommended not to use nginx default site directory)
sh /home/vhost.sh #Execute this command, prompt for a domain name, such as www.osyunwei.com, enter the confirmation interface, if correct, enter Y
If you need to modify, enter N and return to re-enter.
Then it will prompt "Whether to open ftp service? (Y / N)" and ask whether to enable the FTP service on the site. If it is not required, enter N to complete the setting.
To enable, enter Y, and it will prompt "Please enter you password for ftp server:" Enter the ftp access password according to the prompt and the setting is complete!
Open www.osyunwei.com on the client and you will see the following prompt page, which lists the domain name, program root directory, FTP login account password, etc.
interest! ftp username is the current domain name (it is highly recommended to delete this page after viewing it)
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: /usr/local/nginx/conf/vhost/www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Open the firewall port 22, 80, 3306, 21, 10045: 10090 (if you have modified the ssh remote port, please change it to the default port 22 first, otherwise you cannot log in remotely after installation)
2.Close SELINUX
3. Software version: Nginx-1.2.6, MySQL-5.5.28, PHP-5.3.19
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Add one-click virtual host to add script, add site ftp server function (you can choose whether to enable it), optimize Nginx settings,
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagicWa, phpredis support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-1.9
Updated: 20,121,119
Installation instructions: Please ensure that the server can be properly networked, the server system time is accurate, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.9.tar.gz #Unzip
3.cd lnmp-1.9 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
sh /home/vhost.sh #Execute this command, prompt for a domain name, such as www.osyunwei.com, enter the confirmation interface, if correct, enter Y
If you need to modify, enter N and return to re-enter.
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: /usr/local/nginx/conf/vhost/www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Open firewall ports 22, 80, and 3306 (if you have modified the ssh remote port, change it to the default port 22 first, otherwise you cannot log in remotely after the installation is complete)
2.Close SELINUX
3. Software version: Nginx-1.2.5, MySQL-5.5.28, PHP-5.3.18
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Add a new virtual host to add a script with one click, add virtual host directory permission settings, prevent PHP scripts from cross-site and cross-directory browsing, and optimize Nginx
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagicWa, phpredis support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-1.8
Updated: 20,121,105
Installation instructions: Please ensure that the server can be properly networked, the server system time is accurate, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.8.tar.gz #Unzip
3.cd lnmp-1.8 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
sh /home/vhost.sh #Execute this command, prompt for a domain name, such as www.osyunwei.com, enter the confirmation interface, if correct, enter Y
If you need to modify, enter N and return to re-enter.
Virtual host site root directory: /data/wwwroot/www.osyunwei.com
Virtual host configuration file: /usr/local/nginx/conf/vhost/www.osyunwei.com.conf
Default site root directory: / usr / local / nginx / html /
Release Notes:
1. Open firewall ports 22, 80, and 3306 (if you have modified the ssh remote port, change it to the default port 22 first, otherwise you cannot log in remotely after the installation is complete)
2.Close SELINUX
3. Software version: Nginx-1.2.4, MySQL-5.5.28, PHP-5.3.18
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Add a new virtual host to add scripts with one click, add virtual host directory permission settings, and prevent php scripts from browsing across sites and directories!
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagicWa, phpredis support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-1.7
Updated: 20,121,008
Installation instructions: Please ensure that the server can be properly networked, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.7.tar.gz #decompress
3.cd lnmp-1.7 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
cd / usr / local / nginx / conf / vhost / #Enter the virtual host configuration file directory
cp localhost.conf osyunwei.conf #Copy the template configuration file and name it with your own domain name
vi osyunwei.conf #edit
Modify localhost behind server_name to your own domain name or server IP address
Modify / usr / local / nginx / html behind root to your website program directory
chown www.www / usr / local / nginx / html -R #Modify the website directory owner and replace / usr / local / nginx / html with your website directory
service nginx restart #Restart nginx
Release Notes:
1. Open firewall ports 22, 80, and 3306 (if you have modified the ssh remote port, change it to the default port 22 first, otherwise you cannot log in remotely after the installation is complete)
2.Close SELINUX
3. Software version: Nginx-1.2.4, MySQL-5.5.28, PHP-5.3.17
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagickW support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-1.6
Updated: 20,120,919
Installation instructions: Please ensure that the server can be properly networked, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.6.tar.gz #decompress
3.cd lnmp-1.6 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
cd / usr / local / nginx / conf / vhost / #Enter the virtual host configuration file directory
cp localhost.conf osyunwei.conf #Copy the template configuration file and name it with your own domain name
vi osyunwei.conf #edit
Modify localhost behind server_name to your own domain name or server IP address
Modify / usr / local / nginx / html behind root to your website program directory
chown www.www / usr / local / nginx / html -R #Modify the website directory owner and replace / usr / local / nginx / html with your website directory
service nginx restart #Restart nginx
Release Notes:
1. Open firewall ports 22, 80, and 3306 (if you have modified the ssh remote port, change it to the default port 22 first, otherwise you cannot log in remotely after the installation is complete)
2.Close SELINUX
3. Software version: Nginx-1.2.3, MySQL-5.5.27, PHP-5.3.17
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagickW support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-1.5
Updated: 20,120,906
Installation instructions: Please ensure that the server can be properly networked, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.5.tar.gz #Unzip
3.cd lnmp-1.5 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
cd / usr / local / nginx / conf / vhost / #Enter the virtual host configuration file directory
cp localhost.conf osyunwei.conf #Copy the template configuration file and name it with your own domain name
vi osyunwei.conf #edit
Modify localhost behind server_name to your own domain name or server IP address
Modify / usr / local / nginx behind root/ html for your website program directory
chown www.www / usr / local / nginx / html -R #Modify the website directory owner and replace / usr / local / nginx / html with your website directory
service nginx restart #Restart nginx
Release Notes:
1. Open firewall ports 22, 80, and 3306 (if you have modified the ssh remote port, change it to the default port 22 first, otherwise you cannot log in remotely after the installation is complete)
2.Close SELINUX
3. Software version: Nginx-1.2.3, MySQL-5.5.27, PHP-5.3.16
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
13. Optimize PHP, add memcache, suhosin, imagick, MagickW support
14, add wordpress, phpwind, Discuz and other commonly used PHP programs pseudo-static rules
======================================================== ====================================
Version: lnmp-1.4
Updated: 20,120,903
Installation instructions: Please ensure that the server can be properly networked, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.4.tar.gz #decompress
3.cd lnmp-1.4 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
cd / usr / local / nginx / conf / vhost / #Enter the virtual host configuration file directory
cp localhost.conf osyunwei.conf #Copy the template configuration file and name it with your own domain name
vi osyunwei.conf #edit
Modify localhost behind server_name to your own domain name or server IP address
Modify / usr / local / nginx / html behind root to your website program directory
chown www.www / usr / local / nginx / html -R #Modify the website directory owner and replace / usr / local / nginx / html with your website directory
service nginx restart #Restart nginx
Release Notes:
1.Enable firewall ports 22, 80, and 3306
2.Close SELINUX
3. Software version: Nginx-1.2.3, MySQL-5.5.27, PHP-5.3.16
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
12, optimize PHP, add eaccelerator, ioncube support
======================================================== ====================================
Version: lnmp-1.3
Updated: 20,120,823
Installation instructions: Please ensure that the server can be properly networked, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.3.tar.gz #Unzip
3.cd lnmp-1.3 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this command at the terminal command line to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
cd / usr / local / nginx / conf / vhost / #Enter the virtual host configuration file directory
cp localhost.conf osyunwei.conf #Copy the template configuration file and name it with your own domain name
vi osyunwei.conf #edit
Modify localhost behind server_name to your own domain name or server IP address
Modify / usr / local / nginx / html behind root to your website program directory
chown www.www / usr / local / nginx / html -R #Modify the website directory owner and replace / usr / local / nginx / html with your website directory
service nginx restart #Restart nginx
Release Notes:
1.Enable firewall ports 22, 80, and 3306
2.Close SELINUX
3. Software version: Nginx-1.2.3, MySQL-5.5.27, PHP-5.3.16
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
11.Fixed the problem that some PHP program verification codes could not be displayed
======================================================== ====================================
Version: lnmp-1.2
Updated: 20,120,820
Installation instructions: Please ensure that the server can be properly networked, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.2.tar.gz #Unzip
3.cd lnmp-1.2 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is a 5.x series 32-bit, please run
sh CentOS-5.x-64.sh #The system is 5.x series 64 bit, please run
sh CentOS-6.x-32.sh #The system is 6.x series 32 bit, please run
sh CentOS-6.x-64.sh #The system is 6.x series 64 bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1.The MySQL database root password is empty by default
You can change the password with the following command:
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
Or execute the following command to change the password:
mysql -u root -p #Enter the mysql console
use mysql #Switch to the mysql database
update user set password = PASSWORD ("123456") where user = 'root'; #Change the root password to 123456
FLUSH PRIVILEGES; #Refresh system authorization table
exit #Exit the mysql console
mysql -u root -p #Restart into the mysql console and prompt for the password 123456. Login is successful!
You can also execute this at the terminal command lineCommand to change the password:
mysql_secure_installation #Set Mysql password, press Y to enter the password 2 times as prompted
2.Add a site
cd / usr / local / nginx / conf / vhost / #Enter the virtual host configuration file directory
cp localhost.conf osyunwei.conf #Copy the template configuration file and name it with your own domain name
vi osyunwei.conf #edit
Modify localhost behind server_name to your own domain name or server IP address
Modify / usr / local / nginx / html behind root to your website program directory
chown www.www / usr / local / nginx / html -R #Modify the website directory owner and replace / usr / local / nginx / html with your website directory
service nginx restart #Restart nginx
Release Notes:
1.Enable firewall ports 22, 80, and 3306
2.Close SELINUX
3. Software version: Nginx-1.2.3, MySQL-5.5.27, PHP-5.3.16
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Support system: CentOS 5.x, CentOS 6.x series
10.Modify the way nginx supports PHP to unix domain socket
======================================================== ====================================
Version: lnmp-1.1
Updated: 20,120,817
Installation instructions: Please ensure that the server can be properly networked, and the yum command can be used normally!
1. The historical version is not available for download
2.tar zxvf lnmp-1.1.tar.gz #decompress
3.cd lnmp-1.1 #Enter the installation directory
4.sh CentOS-5.x-32.sh #The system is 32-bit, please run
sh CentOS-5.x-64.sh #The system is 64-bit, please run
5. Until the installation is over, the system will restart automatically!
Configuration instructions:
1. The MySQL database root password is empty by default, you can use the following command to change the password
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
2.Add a site
cd / usr / local / nginx / conf / vhost / #Enter the virtual host configuration file directory
cp localhost.conf osyunwei.conf #Copy the template configuration file and name it with your own domain name
vi osyunwei.conf #edit
Modify localhost behind server_name to your own domain name or server IP address
Modify / usr / local / nginx / html behind root to your website program directory
chown www.www / usr / local / nginx / html -R #Modify the website directory owner and replace / usr / local / nginx / html with your website directory
service nginx restart #Restart nginx
Release Notes:
1.Enable firewall ports 22, 80, and 3306
2.Close SELINUX
3. Software version: Nginx-1.0.15, MySQL-5.5.25a, PHP-5.3.14
4. Software installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Software configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql
Software startup command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9, currently supported systems: CentOS 5.xç column
10.Modify the way nginx supports PHP to unix domain socket
======================================================== ====================================
Version: lnmp-1.0
Updated: 20,120,814
Release Notes:
1.Enable firewall ports 22, 80, and 3306
2.Close SELINUX
3. Software version: Nginx-1.0.15, MySQL-5.5.25a, PHP-5.3.14
4. Installation directory:
Nginx: / usr / local / nginx
MySQL: / usr / local / mysql
PHP: / usr / local / php5
5. Configuration file:
Nginx: /usr/local/nginx/conf/nginx.conf
MySQL: /etc/my.cnf
PHP: /usr/local/php5/etc/php.ini
php-fpm: /usr/local/php5/etc/php-fpm.conf
6. Site root directory: / usr / local / nginx / html /
7, MySQL database path: / data / mysql /
8.Start command
service nginx start #Start nginx
service mysqld start #Start mysql
service php-fpm start #start php-fpm
9. Currently supported systems: CentOS 5.x series
System operation and maintenance www.osyunwei.com Warm reminder: qihang01 original content copyright, please indicate the source and original chain
Installation Notes:
Please ensure that the server can be connected to the Internet normally, and the yum command can be used normally!
Historical version is not available for download
tar zxvf lnmp-1.0.tar.gz #decompress
cd lnmp-1.0 #Enter the installation directory
sh CentOS-5.x-32.sh #The system is 32-bit, please run
sh CentOS-5.x-64.sh #The system is 64-bit, please run
Until the end of the installation, the system will automatically restart!
Note: The MySQL database root password is empty by default, you can use the following command to change the password
/ usr / local / mysql / bin / mysqladmin -u root -p password "123456" #Prompt for the password again: 123456
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.