Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Nginx1.8 version upgrade method AMH4.2 Free manually compile     - RHEL5 stalled due to power service error system can not start (Linux)

- Ubuntu under shadowsocks configuration instructions (Linux)

- Snort build a secure Linux server (Linux)

- Linux / Raspberry Pi using the following command-line based web browser (Linux)

- Java Class file format parsing (Programming)

- Android Activity launchMode (Programming)

- Linux Mint 17.2 64 bit installation Docker and management software seagull (Linux)

- Linux systems dmesg command processing failures and system information collected seven usage (Linux)

- CentOS 7.0 local address and configure yum source address priority (Linux)

- Father of Python: Why Python zero-based index (Programming)

- VSFTPD Security (Linux)

- Linux automatically install service components and optimize the kernel parameters (Linux)

- Java keyword final, static (Programming)

- RHEL5 establish a local yum source (Linux)

- How to Install Cantata MPD 1.3.3 for Ubuntu and Derived Version Users (Linux)

- Java deserialization test (Programming)

- CentOS 6.6 shortcut command execution (Linux)

- Hadoop namenode do NFS disaster recovery (Server)

- OpenvSwitch 2.1.2 shell script to start and stop (Linux)

- Lazarus for Raspbian installation (Linux)

  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


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.
- CentOS RedHat YUM Source Extensions Supplement (including 32-bit, 64-bit) (Linux)
- Linux novice common commands (Linux)
- Linux compression and decompression command (Linux)
- Android will save the picture to see the album and timely (Programming)
- Oracle procedure or function Empty Table (Database)
- Linux vi command list (Linux)
- Installation in lxml Python module (Linux)
- Php and MySQL command add to the environment variable method in Linux system (Linux)
- CentOS source installation GitLab Chinese Version (Server)
- Linux Mint brightness adjustment --xrandr command learning (Linux)
- SSH without password Definitive Guide (Linux)
- Ubuntu treated with cue file to ape and wav files automatically track points (Linux)
- Linux installed xdotool simulate keystrokes and mouse movements (Linux)
- SA weak password security system of the security risks posed (Linux)
- How to monitor Nginx (Database)
- Ubuntu How to mount iso file (Linux)
- Ubuntu under VirtualBox virtual machine serial port settings (Linux)
- Tsung first test installation (Linux)
- Linux NIC driver and version information (Linux)
- Ubuntu and derived versions of the user how to install G Mic (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.