How to Install Jexus Web Server 5.3 on Ubuntu 13.04
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 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).
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 the folder is only 404.1 kB.
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,)
- sudo vi /var/www/default/index.html
- Press i on keyboard to enter edit mode.
- Type "Hello World from Jexus" and press Esc on keyboard to exit edit mode.
- Type :wq and press Enter on keyboard to exit vi.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
2009-05-12 招生网上报名程序090512.rar