• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Newbie Linux Question

2Xtreme21

Diamond Member
Edit: I found something about "Init" scripts from Google. http://directory.fedora.redhat.com/wiki/Howto:SysVInit

If making a startup script is that complex, I apologize. But is that what it's going to entail? Something of that length / caliber?


I was assigned the task of installing LDAP on a Linux box about two weeks ago. It would work, provided you type in a bunch of commands before opening up the LDAP console-- so I kinda put it on the back burner until I had a chance to look at it more. Well my chance is now, considering we're deploying the server here in about 3 hours...

I did a whole lot of google searching and could only find out how to make services start at startup. That and you need to put commands in certain notation for it to work in a certain file (/etc/rc.d/rc.local ?). Now I have root access to the server and multiple ways of accessing it (Webmin, Putty, etc.). Could anyone tell me where to put the following commands and in what notation to put them so it would run them everytime the box boots?

Thanks a lot for your help.
 
Your package manager should have installed a startup script for you.

Basically you write a script to run those. Put the script in /etc/init.d. Then create a symlink to it in /etc/rc?.d, where ? is your init level.
 
I seem to remember having a file called something like /etc/bootmisc.sh where i kept all sorts of random crap i wanted to run at boot on my last debian system - not sure if other distro's have anything like this, and it's probably not considered the neat or correct way of doing things, but it got the job done for (lazy ol') me 🙂
 
Back
Top