LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-16-2006, 02:14 AM   #1
bradsmiley
Member
 
Registered: Aug 2006
Posts: 37

Rep: Reputation: 15
Which OS for a web server? (Newbie)


Hi,

I want to set up a web server with a linux operating system, but there are lots from which to choose. Which or what software is reccommended for use with web server's and where can i download it from, for free.

I am currently downloading Redhat Enterprise Linux 4 from:

redhat.com/pub/redhat/linux/enterprise/4/en/RHDS2.1/i386/isos/

I am not entirely sure but i get the impression that the various versions of linux require different versions of the OS and application packages which i want to install. These are the following:
Apache
PHPMyAdmin
MySQL
PHP
CGI Scripts/Perl
Webalizer

Please advise,
Kind regards

Bradley Tosso
 
Old 08-16-2006, 02:26 AM   #2
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
Debian Sarge 3.1
 
Old 08-16-2006, 02:26 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
www.debian.org
 
Old 08-16-2006, 02:28 AM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
oh, I read that wrong. I thought you wanted to know what distro to use for a web server. Sorry, I don't use Redhat.
 
Old 08-16-2006, 03:19 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Well, most distros ship with Apache, PHP, MySQL and Perl so you probably don't have to worry about these packages. It shouldn't be difficult to add webalizer since RHEL 4 has a package on the installation discs. Phpmyadmin should also be easy to setup on any Linux distro (as long as you read the installation instructions ).

Any Linux distribution can work fine as a webserver so it all comes down to preference. You need a subscription fee in order to get updates for RHEL, but if you want to use an RHEL based distro without paying anything, take a look at CentOS (which is basically RHEL without the Redhat branding).
 
Old 08-16-2006, 03:31 AM   #6
decals74
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
hmm, you aren't DLing the OS from that url, i think that's the redhat directory server [LDAP software, not an OS]. rhel4 isn't exactly free, redhat only makes the source RPMs publicly available for the rhel line.

debian is indeed free and widely used in dev/qa/production environments. fedora and ubuntu and gentoo seem fairly popular nowadays but moreso on the desktop side. linuxiso dot org is down right now but they maintain a massive list of downloadable distributions. you'll be able to install apache, mysql, php... on any distro. versions will vary from distro to distro if you plan on using RPM/DEB/other precompiled binaries so check with each vendor if you MUST have a certain version of php, perl ... good luck.
 
Old 08-16-2006, 03:36 AM   #7
bradsmiley
Member
 
Registered: Aug 2006
Posts: 37

Original Poster
Rep: Reputation: 15
Reddazz Thankyou very much for your help. I was told that linux systems are very good because they are extremely stable and are less prone to hacker attacks. I thought of red hat as it is the one i knew.

You advise on getting CentOS. Is this the same then? Will it be as good as Red Hat? I was also told to download Red Hat AS4 but i couldnt find it and that is why i went for Red Hat Enterprise.

Sorry to ask about everything, but I want to cover all areas and be as sure as possible as it will avoid wasting time in the future if the wong choices are made at the beginning.

Kind regards
Brad
 
Old 08-16-2006, 03:41 AM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by bradsmiley
Reddazz Thankyou very much for your help. I was told that linux systems are very good because they are extremely stable and are less prone to hacker attacks. I thought of red hat as it is the one i knew.

You advise on getting CentOS. Is this the same then? Will it be as good as Red Hat? I was also told to download Red Hat AS4 but i couldnt find it and that is why i went for Red Hat Enterprise.

Sorry to ask about everything, but I want to cover all areas and be as sure as possible as it will avoid wasting time in the future if the wong choices are made at the beginning.

Kind regards
Brad
CentOS is basically Redhat Enterprise ES without the Redhat branding, so like I said, if you want to use Redhat without paying a subscription fee, go for CentOS.
 
Old 08-16-2006, 04:35 AM   #9
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
Will rpm packages made for redhat install on CentOS? Is the software on the Redhat disks compatible with CentOS?
 
Old 08-16-2006, 04:44 AM   #10
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by fakie_flip
Will rpm packages made for redhat install on CentOS? Is the software on the Redhat disks compatible with CentOS?
They are the same thing so their packages are compatible (if you are using same versions e.g. CentOS 4.x = RHEL 4.x). The CentOS developers just take the RHEL source code and rebuild it. They remove any Redhat branding so as to abide by copyright law and use YUM as the default frontend to rpm instead of up2date.
 
Old 08-16-2006, 05:05 AM   #11
penguintutor
Member
 
Registered: Jun 2006
Location: UK
Distribution: Ubuntu, Mandriva, Redhat and Fedora
Posts: 118

Rep: Reputation: 15
Quote:
ubuntu and gentoo seem fairly popular nowadays but moreso on the desktop side
Ubuntu is now available as a server version. Including the statement that a LAMP (Linux, Apache, MySQL and PHP) server can be up and running in 15 mins.
http://www.ubuntu.com/server

PHPmyadmin can be installed using
Code:
sudo apt-get install phpmyadmin
Webalizer is also available as simply as running
Code:
sudo apt-get install webalizer
... You get the idea ...

Using apt-get any required packages are then downloaded from the Internet and installed for you.

Different distros may have different versions but most of the different distros should include appropriate versions.

More information on the different distributions is available at:
http://distrowatch.com/ which gives a list comparing the major distros at: http://distrowatch.com/dwres.php?resource=major
 
Old 08-16-2006, 05:08 AM   #12
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
Would you rather have Fedora or CentOS?
 
Old 08-16-2006, 05:14 AM   #13
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by fakie_flip
Would you rather have Fedora or CentOS?
It really would depend on what I would be using the system for. If it was for a desktop machine or a server thats not really critical/important, I would go for Fedora Core. For important servers, I use CentOS because it may not always have the latest features but its very stable.
 
Old 08-16-2006, 06:16 AM   #14
bradsmiley
Member
 
Registered: Aug 2006
Posts: 37

Original Poster
Rep: Reputation: 15
At the moment it seems i will go for CentOS. But i had also been thinking about Fedora(probably beacause it is built by Red Hat and beacause i have the brand established in my brain). Reddazz can you futher expand on why choose CentOS instead of fedora. I was told fedora is very stable. I will be hosting our own company websites on the server which will have lots of streamed media, if that info helps.

At first i had the impression that Linux was one operating system but now i am understanding that there are many OS developed using linux. Correct me if i am right, and why is this? Are they not good?

Kind regards
Bradley Tosso
 
Old 08-16-2006, 07:40 AM   #15
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by bradsmiley
At the moment it seems i will go for CentOS. But i had also been thinking about Fedora(probably beacause it is built by Red Hat and beacause i have the brand established in my brain). Reddazz can you futher expand on why choose CentOS instead of fedora. I was told fedora is very stable. I will be hosting our own company websites on the server which will have lots of streamed media, if that info helps.

At first i had the impression that Linux was one operating system but now i am understanding that there are many OS developed using linux. Correct me if i am right, and why is this? Are they not good?

Kind regards
Bradley Tosso
You are right that Linux should be viewed as many different operating systems based on a common core. I always try and tell people this and explain that thats why there are so many distros, but some people don't get it.

Anyway RHEL/CentOS is more stable than Fedora because it undergoes more rigorous testing and doesn't evolve so much. The developers focus more on fixing bugs in that stable release instead of adding new features which may potentially introduce new bugs and other problems. Fedora Core is good for many purposes, but because its always being updated with the latest features and undergoing continuous development, it may not be a good thing for important servers.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie trying to set up a Web Server LowKey Linux - Newbie 11 06-25-2006 05:30 AM
Newbie trying to work with mail, and web server Rambo Linux - Newbie 6 10-09-2005 10:42 AM
NewBie Help: Email, Web Server psicokhel Linux - Networking 4 10-24-2003 01:11 PM
VERY Newbie - Which Linux - web server Bartee Linux - Newbie 1 10-10-2003 10:46 AM
Newbie to Redhat 9.0 Web Server Setup langron Linux - Newbie 2 08-21-2003 05:36 PM


All times are GMT -5. The time now is 01:31 AM.

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