Upgrade Jexus Web Server
By `Lex Li`_
This page shows you how to upgrade Jexus web server on a Linux machine.
In this article:
wget http://www.linuxdot.net/down/jexus-x.y.z.tar.gz tar -zxvf jexus-x.y.z.tar.gz
Jexus binary package is downloaded from its official site, and extracted to a folder named "jexus-x.y.z" after this step.
cd /usr/jexus sudo ./jws stop
Assume the previous release was installed at /usr/jexus, we stop the service. If Jexus 5.3 was there, use "sudo ./jws.stop" instead of "sudo ./jws stop".
cd ~/jexus-x.y.z sudo ./upgrade
Now let’s go back to the extracted folder and upgrade necessary files to /usr/jexus.
sudo vi /etc/rc.local
Press i on keyboard to enter edit mode.
If previous start command "/usr/jexus/jws.start" exists, replace it with "/usr/jexus/jws start".
Remove "/usr/jexus/state.start" if it presents.
Press Esc on keyboard to exit edit mode.
Type :wq and press Enter on keyboard to exit vi.
Here we remove the old entries, and use a new entry to start Jexus at startup.
cd /usr/jexus sudo ./jws start