LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-13-2006, 04:31 PM   #1
tnelson42345
Member
 
Registered: Oct 2005
Posts: 48

Rep: Reputation: 15
Help setting up a Web Server


First off let me say that I use Windows 99% of the time. Please don't shoot me I've been wanting to get familar with Linux so I just decided to go ahead and do it.

I have just installed Mepis on a computer that has the following: 933 Mhz, 128 MB and 20 GB hard drive. How will this work as a webserver? It is just going to be for a personal webpage and a few churches. Do I need to add more memory?

Does Mepis have a tool like "remote desktop" in windows? I know you can telnet into Linux, but is there a GUI option for this?

Also do I need to log in as under the root account or the account I created to do all of the web server stuff? Or does it even matter?


Thank you very much
 
Old 09-13-2006, 04:44 PM   #2
Child of Wonder
Member
 
Registered: Jul 2004
Location: Sioux Falls, SD
Distribution: Debian, Ubuntu, Fedora, Red Hat
Posts: 69

Rep: Reputation: 16
Depending on the amount of traffic, 128MB should be OK. Make sure you have a good sized swap partition just in case.

For remote desktop, look into Freenx.

You can create user permissions so that you don't need to log in as root to change webserver stuff.
 
Old 09-13-2006, 10:59 PM   #3
tnelson42345
Member
 
Registered: Oct 2005
Posts: 48

Original Poster
Rep: Reputation: 15
What is a good sized swap partition? And how can I check it? And can it be changed?

I just did the auto install, so I don't know how big it is.
 
Old 09-14-2006, 09:12 AM   #4
Child of Wonder
Member
 
Registered: Jul 2004
Location: Sioux Falls, SD
Distribution: Debian, Ubuntu, Fedora, Red Hat
Posts: 69

Rep: Reputation: 16
Make the swap partition 1GB to ensure you have enough swap in case your sites get hammered.

99.9% chance you'll never need that much swap space but just in case, ya know?
 
Old 09-14-2006, 09:51 AM   #5
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
if you chose a default partition layout, your swap should be double the size of your RAM.
 
Old 09-14-2006, 10:11 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by tnelson42345
I have just installed Mepis on a computer that has the following: 933 Mhz, 128 MB and 20 GB hard drive. How will this work as a webserver? It is just going to be for a personal webpage and a few churches. Do I need to add more memory?

Does Mepis have a tool like "remote desktop" in windows? I know you can telnet into Linux, but is there a GUI option for this?

Also do I need to log in as under the root account or the account I created to do all of the web server stuff? Or does it even matter?


Thank you very much
The computer you describe will be more than adequate for a web server, if the intended audience is as you describe. I'm sensing that this will be running on a home DSL network or something of that ilk, and the computer will easily handle anything that that network capacity can throw at it. Web serving isn't really a big power hog, like many people make it out to be, unless there is some serious backend database or other compute-intensive element to it.

The GUI on most Linux's is hosted on an X server. Any computer that has an X server (X servers are avaialble for Windows) should be able to support GUI applications, including a desktop, remotely. GUI applications might like a bit more RAM than 128 MB. I strongly suggest NOT using telnet. Use ssh instead. Telnet, rlogin, ftp and their kin are not sufficiently secure for today's world. Please disable those daemons on the server, if it is attached to a publicly accessible network.

You should create a group that contains the user ID that the web server runs as, and include the maintenance account that you will use for doing 'all of the web server stuff' in it. Make the files' group-owner that group.

--- rod.
 
Old 09-18-2006, 10:48 AM   #7
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
Hi

Like yourself, I've only recently started playing with Linux as a server, heres some advice from a fellow newb

As far as a home webserver goes, take a look at XAMPP, basically it sets up Apache/MySql/PHP etc all in one go. I managed to learn the basics of the linux terminal and set up a webserver at home over a weekend.

All the best

J
 
  


Reply



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
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM
Setting up own web server kirtimaan_bkn Linux - Networking 14 11-20-2005 09:33 PM
Setting up a web server and not only that... axelwing Linux - Newbie 4 05-19-2005 09:40 AM
Setting up a web server Spyiish Mandriva 15 11-09-2004 08:06 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:41 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
Open Source Consulting | Domain Registration