LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-04-2004, 10:39 AM   #1
fleeced
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Rep: Reputation: 15
Setting up a webserver


I am a Linux newbie, and am looking to setup a webserver as a project.

I am planning to use Red Hat 9 as most Linux webservers on the net seem to use this OS but may consider using Fedora Core 2.

I plan to use Apache,MySQL,PHP and perhaps Perl and wish to setup a clone of the type of web servers you get as standard on the net but using something else as cpanel because of the licesning cost so will need an alternative to this.

I will use my DSL connection to host it on, and am aware of speed problems and ISP permisions on this but will use something like www.no-ip.com tosort out the DNS.

Other things I want will be sendmail and awstats etc.

After I have learnt a bit about It I will go for a dedicated server for my site, but that seems a bit daunting at the moment

Any tips/ suggestions on setup and advise on security will be much appreciated.

Thanks in advance.
 
Old 09-04-2004, 11:24 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
There are plenty of tutorials and howtos for setting up your webserver online, so I won't go into detail but just mention a few things to keep in mind.

- Learn how to admin your server for real, so ditch control panel-like applications. If you need remote access to be able to admin your server then ssh will do just fine.

- RedHat 9 is not even updated by Redhat themselves anymore, IIRC. Go with a more recent distribution since you will want the security fixes and it will save you a lot of hazzle. Fedora Core 2 should do well, as should just about any other distribution. Most distributions will set up Apache, Perl, PHP and Python automatically for you if you select them all at install time. You will most likely just edit your Apache configuration file to set up things like hostname.

- I use dyndns.org and the excellent ddclient (for automatically updating the records) for keeping track of my computer IP's.

- Sendmail is probably the most difficult SMTP server to deal with. I prefer Postfix or Exim, you might want to check them out instead. Just remember to not allow any other computer than localhost to send mail through it until you know what you're doing. Chances are you're setting up a spam relay without knowing it if you're careless.

- Awstats is a breeze to install and works very well for me.

- You may also want to install logwatch. Logwatch will parse your files and send you a mail daily (or weekly) with information about logins and login attempts as well as other useful information gathered from the logs.


Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up Fedora WebServer aylwin_wong Linux - Networking 2 09-05-2005 03:55 AM
Setting up a small webserver, someone please help rookiepaul Linux - Newbie 4 07-05-2005 10:58 AM
setting up a webserver airmijo Linux - Newbie 6 11-15-2004 08:37 AM
Setting webserver enzolabrador Linux - Networking 1 08-26-2004 03:35 PM
Setting up a Webserver LinuxLala Linux - Networking 10 02-09-2004 09:44 AM


All times are GMT -5. The time now is 07:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration