In last post we discussed how to install Jexus on a clean Ubuntu 13.04 machine. Here we discuss how to upgrade from Jexus 5.2 to 5.3.1.
What is Jexus?
Jexus Web Server is a free web server for Linux (it is free, but not open source). It is powered by Mono and aims to provide best support for ASP.NET applications (while it also provides excellent PHP support out of the box).
Its homepage is at http://www.linuxdot.net/ (in Simplified Chinese).
Download and unpack Jexus
wget http://www.linuxdot.net/down/jexus-5.3.1.tar.gz tar -zxvf jexus-5.3.1.tar.gz
Jexus binary package is downloaded from its official site, and extracted to a folder named
jexus-5.3.1after this step.
Stop current Jexus 5.2 server,
cd /usr/jexus sudo ./jws.stop
Assume the previous release was installed at /usr/jexus, we stop the service.
Copy new files to Jexus folder
cd ~/jexus-5.3.1 sudo ./upgrade
Now let’s go back to the extracted folder and upgrade necessary files to /usr/jexus.
Fix startup commands
sudo vi /etc/rc.local
Press i on keyboard to enter edit mode.
Replace previous start command
/usr/jexus/state.startif 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.
Start Jexus HTTP service
cd /usr/jexus sudo ./jws start