LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-11-2003, 02:52 AM   #1
jmu
LQ Newbie
 
Registered: Feb 2003
Location: charlotte nc
Distribution: slackware 8.x
Posts: 3

Rep: Reputation: 0
running a process at startup


i did a quick search for this and didn't see anything that answered my question so i figured I'd start a thread

a friend of mine helped me get slackware and apache installed the other day, and seeing as how its almost 3 am he isn't awake so I figured I'd ask here. (i'm completely new to linux btw)

how would I go about getting apache to startup when the system starts?

I went through the slackware guide at slackware.com and didn't see much info about it.

/edit
also, and i feel really stupid about this, but when using ls on a directory that has more stuff to display than the screen can fit, how do i 'scroll up' to see everything?

/edit again
ok so i see my question is answered in another thread as i figured it would be, but i swear when i did a search nothing came up, maybe its because i used the word process instead of program, eh whatever....

Last edited by jmu; 02-11-2003 at 02:58 AM.
 
Old 02-11-2003, 06:45 AM   #2
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
u can add apache to let it startup in the default runlevel.. /etc/rc3.d for instance.
I think apache.org has scripts for that online to put that in
the other way around is to make apache start up @ bootup using /etc/rc.local
 
Old 02-11-2003, 04:42 PM   #3
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
For Slackware try to put the apache start up script in /etc/rc.d/rc.local. This should start it up at boot time.
 
Old 02-11-2003, 05:24 PM   #4
jmu
LQ Newbie
 
Registered: Feb 2003
Location: charlotte nc
Distribution: slackware 8.x
Posts: 3

Original Poster
Rep: Reputation: 0
thanks guy, a friend helped me out with this.

i'm starting to get the jist of linux i think (hope)
 
Old 02-11-2003, 05:59 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Did you figure out the ls thing? You should pipe it with less, like so:
ls | less

Then you can use your arrow keys to scroll up and down. less can also be used to read files, rather than using a text editor

Cool
 
Old 02-11-2003, 06:52 PM   #6
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Re: running a process at startup

Quote:
Originally posted by jmu
<snip>

/edit
also, and i feel really stupid about this, but when using ls on a directory that has more stuff to display than the screen can fit, how do i 'scroll up' to see everything?

<snip>
Sorry, I forgot to answer this one. You can hold down SHIFT and use your PageUp or PageDown keys to scroll up or down when "ls" shows too many files to fit your screen--or you can do as MasterC suggested and pipe it with less (very nice to use).
 
  


Reply


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
Stop Startup Process easyE Linux - General 2 05-03-2005 06:37 PM
Configuring the startup process thephotoman Debian 5 10-01-2004 11:20 PM
Killing a process on startup...... har5ha Linux - Software 3 07-24-2004 01:52 PM
startup process thongor Slackware 2 03-21-2004 11:23 AM
idle a moment in startup process alxle Linux - General 1 12-23-2001 09:53 AM


All times are GMT -5. The time now is 01:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration