LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-22-2005, 01:27 AM   #1
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Rep: Reputation: 15
Linux as a Server #2


I am trying to start a linux server. What do i need? I mean everything, looking to host a website really not looking for a lot of space just want to learn how to do it. Thanks in advance
 
Old 01-22-2005, 01:46 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 33
FreeBSD or Slackware. IMHO
 
Old 01-22-2005, 01:51 AM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Welcome to LQ! You've asked a very open ended question. There are many ways to do what you're asking. The vast majority of *nix servers use apache for websites. My preference for a server is not to install the GUI, and save the system resources towards the hosting of sites. From your description, it sounds more like you mean a single website, and if it is personal, non-commercial site, you could easily install the apache webserver and still have plenty of resources left over for the GUI enviornment.

What is your inclination? I like the Command line interface, but do see where a gui can save much time and makes it possible to do things you really don't "know" properly. If you use KDE, Gnome, or any of the window enviornments, many people like the webmin program for management of the site(s) on the computer. Other things to consider - will you have cgi-scripts? If so, you need to have perl, or at the very least whatever compiler is needed for the language the codes are in.

Beyond the linux serup of the server, do you know about things like LAN routing, firewalls, and anything else that may be needed to get the site live on the internet?

Have fun, play with things, and write back when things don't work as you hoped/expected.

Peace,
JimBass
 
Old 01-22-2005, 02:22 AM   #4
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
Open ended rocks!!

I know nothing about anything. I know what a router, hub, etc is. However I have no idea about scripts, cgi with perl, etc.
I just want to make a website and have my server host it, or whatever it is suppose to do. I know i have to buy a domain or DNS, I don't know anything about that.

Something off topic, is there any program that automates installing from source? ./configure, make, make install, 75 % doesn't work for me. I would sometimes copy and paste exactly what a company's website says to type. Could i create a\something in perl or a shell to do this??
 
Old 01-22-2005, 12:27 PM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You'll have a lot of things to read up on then. Many choices you will be faced with will depend on things like your network config, and if you don't know that, it will put you at a disadvantage. Of course anything you chose that is "wrong" can be corrected, but if you only know that "my site isn't working" yet don't know if the reason is the DNS, that your router isn't passing the requests for the site on to the machine hosting it, or any of the hundreds of other possible scenarios, you'll have a lot to investigate. I don't mean to suggest that you can't do it or that it is difficult in the general sense, just please be aware that you have many things to investigate before you can run a site from home.

If your site will be primarily images and text then you won't have need of cgi scripts. Again you can always add that functionality in later. Learning what can be done on a website with and without cgi scripts would be another good thing to investigate.

You would have to purchase a domain from one of the registrars. Before you get to that, I'd suggest just getting the site to "look" correct when you go to http://localhost from the machine (if you have x windows on it) or the local IP of the server from any of the other computers on the lan.

As to the idea of automating the ability to compile from source, the problem isn't the commands to make, it most likely is that you don't have the required things installed or in your path. I don't think Fedora includes most compilers in a default desktop enviornment. Also, the vast majority of things that you want to install can probably be found in .rpm format. That removes the whole configure, make, make install process. All you need to install from a .rpm is
Code:
rpm -i (rpmname)
. Rpm has advantages and disadvantages as well. You should be able to install from source, so I don't suggest you give up on that completely, but we'd need to know the specific errors you get when trying to configure, make, or make install to help out with that. A process like compiling from source can't be automated any further than it already is becasue there are many many outside factors that come into play, like I mentioned earlier - do you have the prereq's, are they in your PATH, etc.

Peace,
JimBass
 
Old 01-22-2005, 03:16 PM   #6
dreyes81
Member
 
Registered: Dec 2004
Location: Nashville, born and raised in NY
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
thanxs

That is what I am looking for , I am not really looking for answers as in more looking for a direction to go with networking in linux. Like websites, things for me to read. I understand and rather like rpm, not all of it but enogh to install and i really like yum and apt. I actually found a linux user group where i live and they are giving a course on perl for free. I don't mind reading and doing it myself i just need a good location to start. Thanxs again.


MY Goal is to learn enough Linux so i can work for a top company so I may be the one responsible for Microsoft's demise. I have gotten to many blue screens of death at such the wrong times. Ex. 25 minutes before my paper is due!!
I am ambitious in this goal!!!!!

I think i sound like Dr. Evil now, ha!!!!
 
  


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
is there a way to make a local linux server the time stamp server for win2k? Lleb_KCir Linux - General 2 09-19-2005 08:05 PM
Ms Win2000 Server & Linux NIS Server ON the same network. tulip4heaven Linux - Networking 3 07-26-2005 08:35 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 04:09 AM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 11:14 AM


All times are GMT -5. The time now is 02:25 AM.

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