Linux Basics

Megadeth

Senior member
Jun 14, 2004
499
0
0
Myself and 3 of my friends run a server for an MMORPG Forever Untold. The server must be run on linux while the client is all windows based.

The server is hosted in Europe and we are in the US... We use SSH to log into the server and do what we need to do. I think the server is running slackware... Not 100% sure on that though. One of my 3 friends (the linux guru) had a falling out with the rest of us. So we have been left trying to use what little we know about linux to keep things up and running.

I have been able to get the apache started so our webpage is back up and running... Took some searching on the internet for that.

We still do not have our Squirrel Webmail running, although we can still get the email through Outlook.

I know our server status pages are still not loading they are CGI.

I guess what I need is kind of a cheat sheet guide on how to start services in linux. Any help would be appreciated.
 

randalee

Senior member
Nov 7, 2001
683
0
0
If you view the contents of the /etc/init.d folder, it will list all the services loaded on the server. "ls /etc/init.d<enter>"

You can start and stop services by typing "/etc/init.d/iptables stop" (ie for stopping iptables...)

/etc/init.d/servicename start, stop, or restart are valid actions to use. Restart obviously stops and restarts the service you type. See what you've got in there. It may give you some clues..

Randy
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Originally posted by: randalee
If you view the contents of the /etc/init.d folder, it will list all the services loaded on the server. "ls /etc/init.d<enter>"

You can start and stop services by typing "/etc/init.d/iptables stop" (ie for stopping iptables...)

/etc/init.d/servicename start, stop, or restart are valid actions to use. Restart obviously stops and restarts the service you type. See what you've got in there. It may give you some clues..

Randy

If it's Slack, it won't be set up quite like that. For starters, all service scripts are in /etc/rc.d and are in the form rc.*.

If it's Slack, there ought to be a file /etc/slackware-version that says what version.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Ya.. even though distros are more or less the same there are some very important pecularities for each one..

Init scripts are different vs if your using a RPM-using distro like Redhat or Mandriva vs Slackware-based vs Debian-based.

Another one that varies is package management and such.

Refer to distro specific documentation on each case.

What I have in my sig is pretty good from my estimation. The LPI manuals are a bit redhat specific in some cases but most of it applies to everything.
 

Megadeth

Senior member
Jun 14, 2004
499
0
0
slackware was the old server we had I found out... I guess we are now using Suse 9.1