LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2006, 01:11 PM   #1
jeffreydavisjr
LQ Newbie
 
Registered: Aug 2006
Posts: 13

Rep: Reputation: 1
Help me build a Linux Server.


Hey guys.

I am glad I found these forums. I was hoping some of you Linux Pro's could help me with my current project.

I need any information you can give me on building my own linux server. I do consider myself a Windows Professional as I am in the IT field. But this is my first real experience with Linux. I want to build a linux webserver using Redhat.

Answers I may need..

1. Is Redhat the best OS for me to use as a webserver? If not then please recommend me one. Suse?

2. How do I go about setting up the IP Address' for my domain names?

3. I will need to have PHP installed on the server as well. Any information on doing this will be helpful as well.

4. Any other comments or suggestions you can make will be very useful.

Thanks for your help and wish me luck on my new adventure.

jeffrey
 
Old 08-06-2006, 01:39 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
1. Red Hat is a good choice, but given that the Web server you use will probably be Apache and that's more or less the same any distro you feel comfortable with will probably do. If you plan to run 3rd party proprietary software on your server, though, check and see if it supports whatever distribution you are planning yo use.

2. Do you mean how do you map foo.example.com to an IP address. You need to do that on your DNS server. If your DNS server runs BIND on some sorm of *nix then there are a ton of guides on the net. If you're using a Windows DNS server or a host like zoneedit there are GUI tools to do it. To set the IP address on a Linux box you use the ifconfig command. To make permanent changes you edit a config file. Unfortunately the config files are somewhat distro specific.

3. You can generally just install PHP via your distro's package manager. That should be fine unless you need some special setup.

4. Think about security! I highly advise running tripwire on publically available servers and that you consult one of the many server hardening guides available.
 
Old 08-07-2006, 01:09 AM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Another alternative is to use Ubuntu server. I believe it has a option to pick called LAMP Server which is Linux, Apache, PHP, and MySQL.
 
Old 08-07-2006, 02:05 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you meant IP addresses for domain names to be for example.com (www.example.com, ftp.example.com, MX (ie mail) record), etc.) rather than foo.example.com as suggested by btmiller, you'll need an accepted nameserver. Check out zoneedit.com. They do free nameserving for up (I think) 5 domains.

If you like the idea of RedHat, but don't need [to pay for] their support, try CentOS. It's RedHat without the logos and support (but otherwise the same as I understand it). Visit centos.org.

Also, the following site has some really useful notes/tips on the various components you'll be needing.

http://www.linuxhomenetworking.com/#Linux%20Main


Rgds

Last edited by billymayday; 08-07-2006 at 02:08 AM.
 
Old 08-07-2006, 09:52 AM   #5
lotec25
Member
 
Registered: Oct 2003
Location: Holiday Fl
Distribution: Slackware-current
Posts: 77

Rep: Reputation: 19
http://www.clarkconnect.com/

this might be a good idea for you. Gives you a couple choices. Use the Home 3.2 Revision 1 (R1)ISO.
 
Old 08-07-2006, 08:28 PM   #6
Hawnted
Member
 
Registered: Aug 2006
Posts: 32

Rep: Reputation: 15
I was just in your exact same shoes. (still am actually a newbie, big learning curve). But anyway I am a programmer and knew linux commmands from being on the job but never had any experience setting up/administrating a linux server. I needed a server to host 4 of my own websites along with 4 or 5 more of my co-workers websites. I tried Ubuntu, FreeBSD, Debian, Suse, and finally settled on Mandriva 2006. I followed this guide The Perfect Setup - Mandriva 2006 Free Edition and was up and running in two hours. Now granted I have had to come back here and ask/research questions I had from these helpful guys at linuxquestions.org. (Still working on a postfix problem I am having, but everything is working like clockwork except postfix). The server outperforms my other windows server boxes and has been a great experience. Feel free to PM me if you run into any problems following that guide as I might (hopefully) be able to help since I have had to research just about any possible questions someone might have while following it. Mandriva has been a good choice for me.

Last edited by Hawnted; 08-07-2006 at 08:29 PM.
 
  


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
I want to build a linux server scott4957 Linux - Distributions 5 10-11-2005 06:41 PM
Build my own server cigarstub Linux - Networking 2 09-14-2005 03:59 PM
Server Build PDD Linux - Software 1 02-03-2005 05:59 AM
running applications from one Linux build in another Linux build bcottam Linux - Distributions 2 04-13-2004 01:08 AM
Build a server dkc_ace Linux - Hardware 11 02-07-2003 03:53 PM


All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration