LinuxQuestions.org
Review your favorite Linux distribution.
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 08-06-2006, 11:49 AM   #1
jaristr
Member
 
Registered: Aug 2005
Distribution: Debian and slackware based
Posts: 119

Rep: Reputation: 15
Tips for beginner server admin


Hi,
I'm planning to use linux as a server in my home and I have setup CVS and mySQL server before in linux though I used them only locally.
My question is that what should you take in to count when setting up server to host a MMOG, SVN and MySQL and it's online only few days in a row?
I don't have a clear picture how do you operate a server, does it happen always using ssh from another computer?
My computer (server) does have it's own monitor so would it make sense to install a graphical interface and operate it via that instead?

Thanks, I just want to know the common or easiest way.

All tips are welcome.

PS. I'm planning to use xbuntu as OS since the PC is bit old (1ghz 256 ram) but I could also install FC5 (or some other) if you think it's better?

Last edited by jaristr; 08-06-2006 at 11:51 AM.
 
Old 08-06-2006, 12:08 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
it depends on how you want to access it. if it has its own kb/mouse and monitor and you don't plan on administering it remotely, you don't even need ssh. but ssh always makes life easier, in my experience, because then you don't even have to switch computers to administer it. you can just log in from your other machines, desktop, laptop, etc. even if it's just locally.

also remember that just because it has a monitor doesn't mean it needs a gui. even if you don't plan to use ssh, you can just administer it from the command line anyway, which (imho) is preferable to using an X-based gui. for that reason, i think plain debian would be a much better choice than xbuntu, and slackware better than FC5. it's basically up to which "style" you feel more comfortable with, debian or slack.

 
Old 08-06-2006, 12:47 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
If you don't need want the GUI then I'd suggest ubuntu-server over xbuntu.

What I typically do on servers is just install the xlibs so that if I need to run some gui tools I can do X forwarding through ssh and run them on one of my linux or mac desktop machines.
 
Old 08-06-2006, 09:11 PM   #4
jaristr
Member
 
Registered: Aug 2005
Distribution: Debian and slackware based
Posts: 119

Original Poster
Rep: Reputation: 15
Thank you for the replies!
This clears it bit, though I knew that you dont need GUI just because you have a monitor But the thing is that linux has lot of commands and that's why I'm propably going to install some GUI. My only concern is the speed when it comes to running the GUI and the server. Oh and since I run windows on this PC I probably can't connect to the linux in any other way than ssh?
 
Old 08-07-2006, 06:03 AM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
you vould use VNC/NX if you've got an X server running on the 'server' machine.

Or you could enable X forwarding and be able to use the X apps remotely.

TBH i have a similar setup, all the initial config i di with m monitor plugged in, once i had set it all up, it's quick to admin it via SSH, you shouldnt have to continually do things to the server that would require it's own physical display though?
 
Old 08-10-2006, 08:25 AM   #6
jaristr
Member
 
Registered: Aug 2005
Distribution: Debian and slackware based
Posts: 119

Original Poster
Rep: Reputation: 15
Thanks for the tips! I'm just concerned that if I install GUI for the server and let it login in to the GUI how much slower it will be?
And can you toggle between shell and GUI so that GUI shutdowns completely freeing all the resources it took, so that you dont have to reboot the server services (SVN, MySQL)?
 
Old 08-10-2006, 10:27 AM   #7
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by jaristr
Thanks for the tips! I'm just concerned that if I install GUI for the server and let it login in to the GUI how much slower it will be?
And can you toggle between shell and GUI so that GUI shutdowns completely freeing all the resources it took, so that you dont have to reboot the server services (SVN, MySQL)?
it depends on what gui and how you are starting it. if you start it from the local .xinitrc script with startx, you can exit from it either by using any logout function the particular desktop has, or by doing ctrl + alt + backspace (less recommended, won't save settings, etc., but it works).

if you start the gui from a login manager like gdm or kdm, i think you'd have to kill the login manager. otherwise, using c + a + b or a logout button, X will keep running for the login manager gui. maybe login managers have a graphical option to kill it and go to the console, i'm not really too familiar with them, as i most often use the startx method.

unless the computer is really low spec, running a gui (especially a lightweight one like fluxbox, windowmaker, etc.) won't necessarily slow things down *that* much, depending on what you are running on the server, how intensive the tasks are, how many users doing things at once, etc. but together with X they will take up a lot of precious system resources so that if a server app needs them they won't be as available, and that will definitely slow things down. it's usually always preferable not to use X on a server, imho.
 
Old 08-20-2006, 10:53 AM   #8
jaristr
Member
 
Registered: Aug 2005
Distribution: Debian and slackware based
Posts: 119

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slackhack
it's usually always preferable not to use X on a server, imho.
That's what I have been thinking.

Thanks for your answer, this helps.
 
  


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
Need some help/tips with server setup zanor Slackware 1 07-26-2006 12:03 AM
Tips to buy a server xpucto Linux - Networking 3 11-25-2005 02:28 AM
Linux Admin, beginner book recomendatiosn. trey85stang General 2 10-30-2005 10:24 AM
Please post few tips for my server machine. zaoka Linux - Software 5 02-05-2005 11:11 PM
Tips for building a network router/server? Effata Linux - Networking 3 08-06-2002 01:46 AM

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

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