Jexus is a cross-platform WEB server that supports linux, unix, and other platforms. Jexus works closely with mono and features high speed and stability. It is the preferred solution for setting up ASP. NETWEB servers on non-Windows platforms such as Linux and Unix. The following describes how to install mono and Jexus on the RedHatEnterpriseLinux (RHEL) platform. The environment I use is RHEL5.5-i386, where Mono is installed
Jexus is a cross-platform WEB server that supports linux, unix, and other platforms. Jexus works closely with mono and features high speed and stability. It is the preferred solution for setting up ASP. net web servers on non-Windows platforms such as Linux and Unix.
The following describes how to install mono and Jexus on Red Hat Enterprise Linux (RHEL.
The environment I use is RHEL5.5-i386, where Mono 2.8.1 and Jexus 4.1 are installed.
Installing the operating system is very important, and I have paused for a long time. To ensure stability, speed, and agility, I only installed useful packages and removed all other packages when installing the system. If you have other applications, select which software packages to install.
How to install rhel5.5 is not discussed in this article. If you have never been familiar with rhel5.5, go online to find a solution. When selecting the software package (set the next step of the root password), select now custom (c) and continue the next step. Remove all packages in the desktop environment, applications, and servers, leaving only necessary packages such as development, basic systems, and languages.
The selected package list is:
Develop X software development, development tools, and development libraries
Basic System and old software support
Chinese Language
Continue to the next step and wait until rhel is installed.
After the system is installed and rebooted, log on to the system as the root user.
1. Install Libgdiplus:
Wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.8.1.tar.bz2
# This software package is required for Mono to support System. Draw. If you select X software development before installing the System, you need some support packages required for this package.
Tar jvxf libgdiplus-2.8.1.tar.bz2
Cd libgdiplus-2.8.1
./Configure -- prefix =/usr
Make & make install
Ii. Install mono:
Wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.8.1.tar.bz2
Tar jxvf mono-2.8.1.tar.bz2
Cd mono-2.8.1
./Configure -- prefix =/usr
# It is strongly recommended to add -- prefix =/usr
Make & make install
3. Install Jexus web server
Download jexus-4.1.tar.gz see http://www.linuxidc.com/Linux/2012-05/60169.htm
Tar zxvf jexus-4.1.tar.gz
Music jexus-4.1/usr/jws
Cd/usr/jws
./Jws. regsvr
Iv. Trial Run
Mkdir/var/www/default # create a website directory
./Jws. start # start jws.
# Enter the local IP address in the browser to view the jws welcome page
# If you put an index.htm in the/var/www/default/folder, you can see the home page.
# Note: If the firewall is enabled, port 80 must be opened in the firewall. We recommend that you use chwon to change the owner of the default folder to a common user.
5. Enable jexus to start with server startup
Vi/etc/rc. local
# Add/usr/jws. start in the last line
# Save the disk and exit.