SETTING UP A LINUX SERVER TO HOST YOUR PERSONNEL
WEBSITE
After Using Linux for more than 2 years, I wanted to enjoy
it as much as possible, so I decided to start a server to
host my personal website. So I installed Debian newest
version and Apache2 PHP5 and MySql. I needed to get my
domain to point to my server and I also set up a FTP Server.
But Beating all Odds, The Server didn't work out at the
first place,in the way I wanted and I had to do couple of
major tweaks and changes to get it into Action. Here are
couple of suggestions for the same.
# At first I would say the experience with Debian 5 and
webservers was 'ahem-ahem' ,but It was only for sometime
late that It actually started working.
# First ISP has to be checked. Most ISP's do NOT allow you
to host servers of any kind (technically when I run a
Nexuiz server I'm violating my ISP's usage agreement -
ain't that special?) so that kicks you off to the mercy of
a hosting provider. also if you are through a Proxy server,
Then forget it, yo have to be connected to Internet
Directly (with a real public ip) If you're still determined
to learn how to use a full-blown Linux setup for a server,
then I'd suggest a Virtual Private Server (VPS). They're
real cheap, but give you all administrative benefits of a
real, root-access Linux server. They do not have as much
RAM, and the disk I/O sucks real bad as well.
# Learn to use the command line. 99% of the work I do with
Linux nowadays (I moved to Dual with xp for all my desktop
word-processing, coding, etc.) is through the command line.
When administering a server, all the tutorials are for the
command line. All the utilities are for the command line.
Do you see where I'm going with this? The command line is
the golden tool to get anything and everything done.
# I don't use FTP. It's slow, and I just have a general
dislike of it. I prefer to use SSH (which is even slower,
but it's a lot less irritating to get working). If you're
still hell-bent on FTP, I'd suggest proftp (`apt-get
install proftpd`).
# Learn to read documentation. * manpages * google (just
google - throw in the relevant keywords for whatever you're
doing, and a mess of tutorials and blogs will pop out of
the woodwork honest!) * The Apache documentation (http://
httpd.apache.org/docs/2.2/) is absolutely excellent and
tells you almost everything you need to know about how to
make your website work.