Upgrading major versions of Nginx,Mysql: Difference between revisions

no edit summary
(Created page with "Upgrading Version of Nginx ------------------------------ Login to Server (on which need to update Nginx version) • Cd /home/neal/root/ Download the nginx source • wge...")
 
No edit summary
 
Line 90: Line 90:
• mv nginx /root/
• mv nginx /root/


• dpkg – I  l grep nginx
• dpkg -l | grep nginx


• apt-get purge nginx
• apt-get purge nginx
Line 101: Line 101:
• Cd /root/nginx 1.18.0
• Cd /root/nginx 1.18.0


• Nginx –v
• make install
 
• Go to cd etc/
 
• unzip the older zipped nginx folder here
 
• Nginx –V


If the nginx command doesn't work, create a symlink:
If the nginx command doesn't work, create a symlink:
Line 108: Line 114:


• Nginx –V
• Nginx –V
• Go to cd etc/
• tar xzvf nginx 1.18.0