LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-19-2007, 09:01 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
About server config and admin


Hi folks,

I'm planning to build a LAMP server running Slackware 11.0 as OS. There will be no X-window on the server avoiding risk hole. To overcome the difficulty on searching Internet in case of need I'm prepared to connect a workstation via ssh to remote administrate the server. I have following point unresolved.

If installing webmin, postixadmin, etc. for easy-configuration/administration I still need X-windown unless using command lines throughout configuration/administration. Personally I prefer using command lines but their tutorial not easy to find.

What are your suggestions? Installing X on the server but without it started on boot? Just evoke it when needed? As convenience concerned one PC to work is better than running 2 PCs to do the same job.

If I'm compelled to run X on the server I'll install Xfce4, the light-weight desktop.

Comments and recommendation will be appreciated. TIA

B.R.
satimis
 
Old 01-20-2007, 03:13 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
If you connect to the server from a workstation through SSH, you can use X forwarding so that your workstation's X server is used. You still need the X libraries on your server machine, but you never have to start the X server there.
 
Old 01-21-2007, 03:03 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi uselpa,

Tks for your advice.

Quote:
If you connect to the server from a workstation through SSH, you can use X forwarding so that your workstation's X server is used. You still need the X libraries on your server machine, but you never have to start the X server there.
Whether I still need to install xorg and its lib?, similar to this server built for testing. xorg and xfce4, the light weight desktop have been installed but they won't start at boot. I only start them on browsing Internet. AFAIK webmin does not need X. I have no idea about postfixadmin. I'll find it out later. What packages on the server need X? TIA.


Edit:-
If I have full X installed on the server. What will be the advantage for me running remote installation and configuration via a workstation at the beginning, keeping 2 PCs running at the same time. I think I need remote adminstration only at the time when the server is on full production. At the beginning I can do normal installation and configuration on the server.

Please shed me some light. Tks.



B.R.
satimis

Last edited by satimis; 01-21-2007 at 03:29 AM.
 
Old 01-21-2007, 04:17 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Of course you can start X on the server for configuration before you put it life. But it might just be as useful to get the habit to administer it remotely through SSH.

Just to set the vocab straight:
- from your perspective, you have a server which you want to administrate and a client workstation which you use for administration
- for X, it's the other way round: the graphical program that runs on your server is the X client and on your workstation you need an X server

so the packages you need to install on your server are the packages needed for an X client, and on your workstation you need a running X server. But if you don't start the X server on your server machine, I'd just install all of X and make sure it doesn't get started by default.

Give it a try, that will clarify things.
 
Old 01-21-2007, 04:37 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi uselpa,

Quote:
- for X, it's the other way round: the graphical program that runs on your server is the X client and on your workstation you need an X server
I never distinguish between them. In the past to install X I just installed all of them which I suppose was X server. What is X client? Tks.

Quote:
But if you don't start the X server on your server machine, I'd just install all of X and make sure it doesn't get started by default.
Same as my running test-server, I install all of X without gdm. So it won't start at boot, just finishing at runlevel 3.

Others noted with tks.


Edit:-
One consideration coming up on my head. Can I run the server without monitor on remote administration?


B.R.
satimis

Last edited by satimis; 01-21-2007 at 04:39 AM.
 
Old 01-21-2007, 04:50 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
If installing webmin, postixadmin, etc. for easy-configuration/administration I still need X-windown unless using command lines throughout configuration/administration. Personally I prefer using command lines but their tutorial not easy to find.
Why you think you need X? Just point your browser from another box on your LAN to the server IP : port and that's it.
 
Old 01-21-2007, 04:53 AM   #7
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by satimis
One consideration coming up on my head. Can I run the server without monitor on remote administration?
Yes, you can.
 
Old 01-21-2007, 05:00 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi Emerson,

Quote:
Why you think you need X? Just point your browser from another box on your LAN to the server IP : port and that's it.
At the beginning befor the server full configured and put to production, X on the server only helps me reading online documents and seeking for help. It avoids running 2 PCs at the same time doing a single job.


B.R.
satimis
 
Old 01-21-2007, 05:04 AM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by uselpa
Yes, you can.
Tks.

I suppose turning off the monitor NOT without a monitor connected to the server. If I'm wrong please correct me. Tks.

satimis
 
Old 01-21-2007, 05:56 AM   #10
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by satimis
I suppose turning off the monitor NOT without a monitor connected to the server. If I'm wrong please correct me. Tks.
Sorry, I don't understand what you mean.
 
Old 01-21-2007, 06:30 AM   #11
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi uselpa,


1) Whether no monitor is connected to server at the beginning, i.e. booting the server without monitor.

OR

2) have a monitor connected to the server. After booting up the server switch off the monitor


If 1) established I'm interested to learn how to make it.

Tks.


B.R.
satimis
 
Old 01-21-2007, 07:03 AM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Booting the server without monitor is usual practice, hell, you can boot the server without video card - if your motherboard allows it.
 
Old 01-22-2007, 07:51 PM   #13
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Power cable, ethernet cable, server is all you need! Just make sure the box boots without having to do anything.

Plug it in, turn it on, give about 3 minutes for startup, and then try to SSH from the local network.

And don't bother with X on a server. Webmin and things like that are website interfaces, they don't run on X. I would say don't install those either. Everything a server does can be done through SSH.

Peace,
JimBass
 
  


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
Tips for beginner server admin jaristr Linux - Server 7 08-20-2006 10:53 AM
Hello I am Linux server admin anshu_pg LinuxQuestions.org Member Intro 6 07-17-2005 02:32 PM
filesystems admin and keyboard config Tonatiuh Linux - Newbie 0 10-15-2004 09:13 PM
Server Email its IP to admin Kahless Linux - Software 0 07-26-2004 09:25 PM
Remote server admin question filsed Linux - Networking 3 03-04-2002 11:22 AM

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

All times are GMT -5. The time now is 07:22 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