Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Nginx1.8 version upgrade method AMH4.2 Free manually compile     - Packages with Snort intrusion monitoring light (Linux)

- When should I use Angular 2 (Programming)

- Java Timer (regular calling, to achieve a fixed time to perform) (Programming)

- MariaDB 10.0.X, the dynamic column support JSON format to obtain data (Database)

- Getting Started with Linux system to learn: how to use tcpdump to capture TCP SYN, ACK and FIN packets (Linux)

- About Nginx 7 (Server)

- Use LKM change the default linux security level (Linux)

- Linux Network Programming - signal blocking and shielding (block, unblock) (Programming)

- Android Custom View step (Programming)

- Construction of Android and iOS apps use Jenkins Automation (Programming)

- Change all child files and subdirectories in the owner permissions Ubuntu (Linux)

- Using PPA to install the lightweight theme software HotShots 2.1.0 under Ubuntu (Linux)

- Linux shell script debugging (Linux)

- How Bluetooth turned off by default in Ubuntu 14.04 (Linux)

- Use MongoDB C # MongoDB official driving operation (Database)

- Ubuntu is not in the sudoers file problem solving (Linux)

- Spring Data JPA call a stored procedure examples (Programming)

- Six Ways to view slides can be implemented Android (Programming)

- Linux - EXT2 file system is described in detail (Linux)

- Use Python to perform system commands common usage (Programming)

 
         
  Nginx1.8 version upgrade method AMH4.2 Free manually compile
     
  Add Date : 2018-11-21      
         
         
         
  After AMH from the free version to stay in version 4.2, there will be no updates and upgrades, and to provide official documentation solutions is relatively small, after all, free and unprofitable products or little interest. However, for most of the site environment, install and use the free version or AMH4.2 enough, WEB panel with a key package, or manual translation environment, is nothing more than a combination of several environmental installation in the system only.

For example, AMH environment uses Nginx, PHP, MYSQL combination only, the default version of PHP5.3, Nginx1.4, MYSQL5.5, a little bit old Nginx and PHP, we will upgrade to the current stable today Nginx1.4 version 1.8 version is more perfect.

It should be mentioned, we upgrade the existing backup site must pay attention, because in case of problems we can also recover data, or we have no big environmental problem, so use the, sometimes pursuit of the latest version is not a good thing, such as a few days ago also upgrade to Windows10 version, feeling not as easy to use Windows8.1.

First, check the current version of Nginx

nginx -V

Then we can get this information.

Check the current version of Nginx

Here we can see the current version is 1.4.7, we also need the following information copied.

--prefix = / usr / local / nginx --user = www --group = www --with-http_ssl_module --with-http_gzip_static_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --without-http_uwsgi_module --without-http_scgi_module

Here we reproduce themselves, do not copy my above.

Second, download the stable version decompression Nginx1.8

wget http://nginx.org/download/nginx-1.8.0.tar.gz
tar -zxvf nginx-1.8.0.tar.gz
cd nginx-1.8.0

Second, the compiler environment

1, the implementation

./configure --prefix = / usr / local / nginx --user = www --group = www --with-http_ssl_module --with-http_gzip_static_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module - without-http_uwsgi_module --without-http_scgi_module

Script obtained above and then add red ./configure, direct execution.

2. Compile

make

Third, the new Nginx configuration profile

1, moving the old files

mv / usr / local / nginx / sbin / nginx /usr/local/nginx/sbin/nginx.old;

2, the new new

cp objs / nginx / usr / local / nginx / sbin / nginx;

3. Perform the upgrade

make upgrade

If you need to upgrade to other editions, also can refer to the above steps

Finally, restart VPS, the panel and the site is not being given, it seems that there is no problem. However, when the operation of our own still need to pay attention to the backup environment.
     
         
         
         
  More:      
 
- numpy and SciPy installation under Python for scientific computing package (Linux)
- to install the deployment of LVS under CentOS 7.0 (Server)
- Install Websphere MB required system rpm package under Linux (Linux)
- GitLab issued Merge Request return error 500 when the two solutions log (Linux)
- WordPress plug-ins installed in Ubuntu, enter the subject of FTP and not create directory problem (Server)
- Applications in Objective-C runtime mechanism (Programming)
- UNIX and class UNIX system security check notes (Linux)
- Intel Graphics Installer 1.0.3 released, support for Ubuntu (Linux)
- The first deployment of cross-platform operation Rafy record (Server)
- Linux iptables: Composition Rules (Linux)
- High-performance JavaScript loops and flow control (Programming)
- Oracle 12c In-Memory Study (Database)
- pga_aggregate_target and _pga_max_size can not use absolute limit actual PGA (Database)
- Learning how to teach safety system to prevent your own IP leakage (Linux)
- Install the latest Eclipse IDE in Ubuntu (Linux)
- About MongoDB query method according to fuzzy field (Database)
- Share and show your code on GitHub (Linux)
- See Shell Script Linux Server network traffic (Server)
- ASP.NET 5 (vNext) Linux deployment (Server)
- Ubuntu 14.04 Enable root and disable the guest (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.