How to install jexus Web Server 5.3 on Ubuntu 13.04

Source: Internet
Author: User
Jexus series: how to install jexus Web Server 5.3 on Ubuntu 13.04

This is a series of posts regarding the free Linux Web Server called jexus.

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
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 ).

Install steps
1. Install mono Runtime
Sudo apt-Get install mono-complete

As jexus requires mono runtime, in this step we install latest stable
Mono Runtime (2. 10. *) via apt-Get. Mono 3. 0. * is recommended if you know
How to Get It compiled and installed.

2. Download and unpack jexus
Wget http://www.linuxdot.net/down/jexus-5.3.tar.gz
Tar-zxvf jexus-5.3.tar.gz

Jexus Binary Package is downloaded from its official site, and extracted
To a folder named "jexus-5.3" after this step. The total size of
Folder is only 404.1 kb.

Jexus Web Server Binary Package

3. Create default web site
Sudo gedit/var/www/default/index.html
When gedit is opened, type in some text, such as "Hello world from jexus". Save and close the file.

/Var/www/default is the default web site path for jexus. In this step we
Create a test page using gedit. You might use any other Linux text
Editor to create this test page.

4. Install and launch jexus
Sudo CP-RP./jexus-5.3/usr/jexus
CD/usr/jexus
Sudo chmod + x JWS
Sudo./JWS regsvr
Sudo./JWS start

Here we put jexus binary to/usr/jexus folder, grant the JWS Shell
Script File Execution permission, and then use it to register jexus
Modules in Mono GAC and launch the HTTP service. If you want to install
Jexus to another location, please change the commands accordingly.

Now if we open Firefox and navigate to http: // localhost, the test page we created is displayed correctly,

 
Jexus test page I Firefox

In the next post in this series, we will see how to upgrade from an older jexus release to a new release. Stay tuned.

If you are interested in jexus, but do not understand Chinese well, you can contact me directly via support@lextm.com. I know its developers and can help you communicate with them.

(Updated: Below is the alternative way in step 3 to create the test page using vi ,)

    1. Sudo VI/var/www/default/index.html
    2. PressIOn keyboard to enter edit mode.
    3. Type "Hello world from jexus" and pressESCOn keyboard to exit edit mode.
    4. Type: WQAnd pressEnterOn keyboard to exit VI.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.