Librenix  
(Show all Web Server articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

myServer: How to build up a personal web server

Up
vote
Down

Almost every Linux distribution has a web server. Some users use it to create high-traffic web servers; others just use it to publish documents, or for PHP and CGI program development.

What if you want to create a personal web server in a few minutes, one that will support HTTP and HTTPS protocols, CGI, ISAPI, WinCGI, and Fastcgi? You could use myServer -- a fast, reliable, personal web server.

Requirements

You need some addditional libraries to compile and install myServer:

  • openSSL
  • wxWindows
  • libxml2

You can download these libraries, or your distribution of Linux may already have them. You can download myServer at www.myserverproject.net

Compiling and Configuring

To compile myServer under Linux just type 'make' in the root folder of myServer. The sources will be compiled and binaries stored in ./binaries folder. The web root directory is ./binaries/web.

Usually, no configuration will be needed (unless you want myServer to process PHP and Perl, and this only takes about 1 minute). The only thing you should make note of is that myServer may be run with user priveleges. You can use it on port 80, or any other port. To change what http port it will listen on (for example, port 8080), you will need to modify the ./virtualhosts.xml.

Running

Just start it with user privileges to keep it more secure. You can start myServer using control tool (./binaries/control) or start myServer manually (./binaries/myserver startconsole). If you want to use port 80, you should start myServer with root privileges. It can be a security problem, but it's possible.

The web root directory is './binaries/web', so you can publish files you need for your site there. You can secure directories with basic HTTP authentication. This is explained in the myServer documentation.

Conclusion

MyServer is fast and reliable web server, which implements many standards and supports any protocol you need to build up your own personal web server. Of course, myServer may be used as a web server solution for sites with average or high traffic, because it is not limited to only personal purpose sites.

My machine runs myServer. I have DSL internet, and not a lot of resources to keep Apache running, which is why myServer is the best solution for my own Linux box.

mail this link | score:7756 | -Alexei Malev, February 12, 2004
More Software articles...

Buy Large Abstract Art Prints

apps headlines

Hand of Thief trojan and your favorite Linux distribution

How to install HotShots on Fedora 19 and Ubuntu 13.04

LightZone Professional-level digital darkroom software

How to install Icinga (Nagios Fork) in Ubuntu 12.10 server

Install XFCE on Linux Mint 14

Cinnamon 1.6 review

Panel-Docklet: GNOME 3 Extension

Tutorial: Install MATE desktop in Ubuntu 12.04, 11.10

Install Takeoff Launcher on Kubuntu 12.04

Install Cinnamon 1.3.1 in Fedora 16

Tutorial: Install Cinnamon 1.3.1 in Ubuntu 11.10

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin