Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th January 2007, 04:43
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2007, 15:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Why don't you access Webmin and Postfixadmin in a browser on your workstation? I'm sure you have a second system that acts as a desktop system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st January 2007, 16:24
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Hi falko,

Quote:
Why don't you access Webmin and Postfixadmin in a browser on your workstation? I'm sure you have a second system that acts as a desktop system.
Yes, you are right.

I'm considering which way will be more convenient.

1)
- Remote install the server without X from a workstation
(Or I still need to install X-client on the server?)
- Remote config the server on a workstation via SSH

In this arrangement I have to run 2 PCs simultaneously (the server and the workstation) but doing one job.


OR
2)
- Install all of X on the server without gdm. So the server only boots to runlevel 3
- before putting it to life, start X to configure the server
- after finish reboot the server without running X

In this arrangement I only need to start one PC.

- do further configuration of the server, if required, via a workstation.


Is it possible running webmin without X? I made following test.

On runlevel 3 started elinks, the text browser.

$ elinks localhost:10000
Code:
Error
Unable to retrieve localhost:10000
The URL contains a protocol not get known by Elinks
You can configure an externel handler for it through the option system
Started Option on Elinks. But have no idea how to make it.


B.R.
satimis
Reply With Quote
  #4  
Old 22nd January 2007, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by satimis
1)
- Remote install the server without X from a workstation
(Or I still need to install X-client on the server?)
- Remote config the server on a workstation via SSH

In this arrangement I have to run 2 PCs simultaneously (the server and the workstation) but doing one job.
Do it like this. A desktop is a security risk on a server.


Quote:
Originally Posted by satimis
2)
- Install all of X on the server without gdm. So the server only boots to runlevel 3
- before putting it to life, start X to configure the server
- after finish reboot the server without running X

In this arrangement I only need to start one PC.

- do further configuration of the server, if required, via a workstation.
So you seem to have a second system anyway, so why install X on the server?


Quote:
Originally Posted by satimis
Is it possible running webmin without X? I made following test.
Yes, of course.

Quote:
Originally Posted by satimis
On runlevel 3 started elinks, the text browser.

$ elinks localhost:10000
Code:
Error
Unable to retrieve localhost:10000
The URL contains a protocol not get known by Elinks
You can configure an externel handler for it through the option system
Try
Code:
elinks http://localhost:10000
or
Code:
elinks https://localhost:10000
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 22nd January 2007, 14:31
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Hi falko,

Quote:
Try
Code:
elinks http://localhost:10000
or
Code:
elinks https://localhost:10000
Both failed.

Warning
Code:
Unable to retrieve http://localhost:10000
Connection refuses
satimis
Reply With Quote
  #6  
Old 23rd January 2007, 17:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 24th January 2007, 02:27
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko
What's the output of
Code:
netstat -tap
?
with X running

$ netstat -tap
Code:
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State PID/Program name
tcp        0      0 *:nfs                   *:*                     LISTEN     - 
tcp        0      0 localhost.satimis:mysql *:*                     LISTEN     - 
tcp        0      0 *:1006                  *:*                     LISTEN     - 
tcp        0      0 localhost.satimi:sunrpc *:*                     LISTEN     - 
tcp        0      0 *:x11                   *:*                     LISTEN     - 
tcp        0      0 localhost.satimis:53043 *:*                     LISTEN     - 
tcp        0      0 *:1012                  *:*                     LISTEN     - 
tcp        0      0 *:ftp                   *:*                     LISTEN     - 
tcp        0      0 192.168.0.10:domain     *:*                     LISTEN     - 
tcp        0      0 localhost.satimi:domain *:*                     LISTEN     - 
tcp        0      0 localhost.satimis:48598 *:*                     LISTEN     - 
tcp        0      0 localhost.satimis.c:ipp *:*                     LISTEN     - 
tcp        0      0 *:791                   *:*                     LISTEN     - 
tcp        0      0 *:8888                  *:*                     LISTEN     - 
tcp        0      0 *:smtp                  *:*                     LISTEN     - 
tcp        0      0 *:54873                 *:*                     LISTEN     - 
tcp        0      0 localhost.satimis.c:953 *:*                     LISTEN     - 
tcp        0      0 192.168.0.10:41358      ti-in-f147.google.c:www ESTABLISHED5 453/firefox-bin
tcp        0      1 192.168.0.10:53668      f352.mail.mud.yahoo:www LAST_ACK   - 
tcp        0      0 192.168.0.10:45980      63.150.131.42:www       ESTABLISHED5 453/firefox-bin
tcp        0      0 localhost.satimis:53043 localhost.satimis:51015 ESTABLISHED- 
tcp        0      0 192.168.0.10:43322      jp-in-f99.google.co:www ESTABLISHED5 453/firefox-bin
tcp        0      0 192.168.0.10:43321      jp-in-f99.google.co:www ESTABLISHED5 453/firefox-bin
tcp        0      0 localhost.satimis:51015 localhost.satimis:53043 ESTABLISHED- 
tcp6       0      0 *:2222                  *:*                     LISTEN     - 
tcp6       0      0 *:imap2                 *:*                     LISTEN     - 
tcp6       0      0 *:x11                   *:*                     LISTEN     - 
tcp6       0      0 *:www                   *:*                     LISTEN     - 
tcp6       0      0 *:webcache              *:*                     LISTEN     - 
tcp6       0      0 *:smtp                  *:*                     LISTEN     - 
tcp6       0      0 ip6-localhost:953       *:*                     LISTEN     - 
tcp6       0      0 *:https                 *:*                     LISTEN     -
satimis
Reply With Quote
  #8  
Old 25th January 2007, 18:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Webmin isn't running. Please start it, then you can connect to it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS & Server Scenario akaiser Server Operation 2 11th January 2007 15:28
Change name admin account for more safety pesja Installation/Configuration 1 3rd December 2006 10:53
ISP Config Problems jwelters Installation/Configuration 3 31st October 2006 08:58
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48


All times are GMT +2. The time now is 13:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.