Difference between revisions of "Setting up a Web Server"

From Missouri Academy Wiki
Jump to navigation Jump to search
m
Line 14: Line 14:
 
* Remove unneccessary packages with pkgtool or removepkg.
 
* Remove unneccessary packages with pkgtool or removepkg.
 
* Edit startup scripts. The scripts in /etc/rc.d/ probably run things that aren't neccessary for your needs.
 
* Edit startup scripts. The scripts in /etc/rc.d/ probably run things that aren't neccessary for your needs.
 +
  
 
{{msg:stub}}
 
{{msg:stub}}

Revision as of 22:47, 12 January 2005

This guide will tell you how to get your own Apache webserver up and running with Slackware Linux. Slackware is quick and easy to install, comes with all the neccessary packages, but is easy to streamline. Before starting, it would be a good idea to be comfortable with the Linux console, as well as experience with using FTP.

What You Need

  • A computer. I would say anything above a 386 is good for a simple website, but it should have at least 64 MB of RAM for Apache.
  • A broadband, always on connection to the internet, as well as a router. The more content, the faster uplink you will need.
  • Slackware ISO's. Get them from the Slackware website and burn them to a CD with a program like Nero.

Installation

Configuration

Optimization

To streamline your server, consider the following options:

  • Upgrade the kernel to 2.6. You can use the precompiled 2.6 kernel packages that Slackware provides. Or better yet, you can compile the kernel from source, customizing it for your own system.
  • hdparm
  • Remove unneccessary packages with pkgtool or removepkg.
  • Edit startup scripts. The scripts in /etc/rc.d/ probably run things that aren't neccessary for your needs.