Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Nginx1.8 version upgrade method AMH4.2 Free manually compile     - Parts of the partition is not recognized after Debian mount mobile hard disk (Linux)

- MySQL + Corosync + Pacemaker + DRBD build highly available MySQL (Server)

- Linux Disk and File Management (Linux)

- Linux (CentOS) directory file management and file system file compression packing (Linux)

- Server Security Analysis attack on Linux (Linux)

- How to limit network bandwidth usage in Linux (Linux)

- Embedded Linux Optimization (Programming)

- Apache Kafka: the next generation of distributed messaging system (Server)

- Linux Detailed instructions alias settings (Linux)

- Analysis of Java keyword final (Programming)

- SecureCRT 7.0 Log Ubuntu 12.04 server via SSH service under Vmware (Server)

- Linux system started to learn: how to view the Linux thread of a process (Linux)

- MySQL Study of --Percona Server 5.5 Upgrade 5.6 (Database)

- SQL Server automatic backup script (Database)

- Linux Kernel 4.2 Installation Instructions (Linux)

- Java factory pattern (Factory mode) (Programming)

- zBackup: A versatile tool to remove duplicate backup (Linux)

- Linux Log Clear (Linux)

- How do I upgrade to Ubuntu 15.04 (Beta) (Linux)

- Simple steps allows you to build a more secure Linux server (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.
- Setting the RedHat9 Intrusion Detection System (Linux)
- Eclipse remove all comments and code spaces (Linux)
- Oracle inverted reverse function (Database)
- Linux installation skynet issue summary (Linux)
- init level settings for Linux / etc / inittab file into six (restart) or does not support the level of solution (Linux)
- Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)
- Use Ambari rapid deployment Hadoop big data environment (Server)
- To create a file in Linux directory by setfacl (Linux)
- Linux modify the system time (Linux)
- Oracle conditional select statements and looping statements (Database)
- Oracle query start with connect by tree (Database)
- Use mod_wsgi Django application deployment (Server)
- Compare Several MySQL environmental issues (Database)
- A step by step teach have to install multi-node cluster configuration Hadoop (Server)
- installation and configuration of the PHP environment (Apache2) under Linux (Server)
- ORA-28000 the account is locked fault simulation (Database)
- Oracle 12c detailing the new features (Database)
- Learning and Practice (Linux)
- Four levels to deal with Linux server attacks (Linux)
- Log in CentOS 6.5 Multi-user setting VNC (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.