Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-07-2004, 08:24 AM   #1
Registered: Jun 2003
Posts: 90

Rep: Reputation: 15
Web Server Administration howto

Quick easy questions for you lot!

Im running:


On my SuSE 9.0 linux box which is connect to the internet / network via a wireless netgear MA311

All these things work no problem!

But my server is not very organized. Because its my first server i just been playing about with things to make them work..

So im going to start from scratch!

My questions are:

1) How do i make Telnet (i know its not secure but there is a reason for me using it), apache and mySQL start up on boot. eg. is it possible to make a "batch" file or something thatís runs on start up?

2) How can i set-up users and administrate them? (so something like "add new user bob pass bob123password access low"

and that will add a new use with access ONLY to his home folder and also create a way of allowing him to ftp but again only into his own folder(s).

3)iv done this before but i forgot how to do it. Link to a program. so instead of navigating to file (say apache) and doing the whole /usr/local/apache2/bin/ thing.... i can just type like "web-server restart"


Kind Regards,


Last edited by Gear_freak2000; 02-07-2004 at 08:28 AM.
Old 02-07-2004, 08:28 AM   #2
Registered: Feb 2004
Location: El Paso, Texas
Distribution: Red Hat 9.0, Slackware 8.1, Mandrake 9.1,
Posts: 47

Rep: Reputation: 15
if you installed the ones when you were installing the OS then you they should start on boot
Old 02-07-2004, 08:29 AM   #3
Registered: Jun 2003
Posts: 90

Original Poster
Rep: Reputation: 15
What about if i install them after for one reason or another?

(Thanks for the reply!)
Old 04-26-2004, 08:30 AM   #4
LQ Newbie
Registered: Apr 2004
Location: Arendal, Norway
Distribution: SuSE
Posts: 23

Rep: Reputation: 0
(I know it's an old thread, but I didn't see any reason to create a new.)
I have some problems with this as well. I installed Apache with PHP and MySQL during the system installation, but none of them starts automatically when I boot my computer. I have to type apache2ctl start and /usr/sbin/mysqld to get them running.

Last edited by frode; 04-26-2004 at 08:32 AM.
Old 04-26-2004, 10:13 AM   #5
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
You need to link from /etc/rc3.d or rc5.d to /etc/init.d to the correct startup scripts similiar to this for ssh.
/etc/rc3.d/S55sshd -> ../init.d/sshd

the 3 in rc3.d is for the default runlevel this machine is starting in. this can be found in /etc/inittab.

The S in S55sshd is for start and the 55 is the order in which it will be brought up. So a syslog entry like this would be started before sshd

/etc/rc3.d/S10syslog -> ../init.d/syslog
Old 04-29-2004, 05:21 AM   #6
Registered: Aug 2003
Location: Si
Distribution: SuSE, Slackware
Posts: 37

Rep: Reputation: 15
Configuting demons to start at boot time in SuSE

I've been creating symbolic links to executables for MySQL and Apache following the LAMPS tuorial but no luck. Then I just had a better look in the YaST2 modules. I've allways been using the packages from SuSE CD's since then (if I can).

In YaST go to System and click the Runlevel editor (or something like that). In there you'll see the list of almost every installed package that runs as a demon. You'll have the option to start at boot (or not). For MySQL it runs the install_db and other necessary stuff to make it work. SuSE takes care of everything. But the packages are not up-to-date (you'l have to use Apache 1.3.29 insted of (let's say) 1.3.30 or PHP 4.3.3 instead of 4.3.4. =/

Beats creating symbolic links in /rc5.d/ /init.d/ if you ask me, at least in SuSE.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Web administration tool? Green_cheek Linux - Software 3 03-21-2005 06:03 PM
Remote Web Administration antidelldude Fedora 2 01-03-2005 02:13 PM
Looking for a very basic HOWTO on setting up a web server CatchFlipsidE Linux - Newbie 5 08-25-2004 01:02 PM
Server Web Administration tool treedstang Linux - Software 3 04-27-2004 05:49 PM
Secure Web Server HowTo from SuSE mcleodnine Linux - Security 0 08-02-2001 09:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration