some slackware questions
Hello
I just installed slackware 10 and there are some things that bug me Everything is running fine but there are some things that I haven't figured out yet. So far I'm very impressed with slackware :) 1. How can I start services like in sys V init debian? (so that they accept stop/restart/start) For example apache: since the scripts in /etc/rc.d also define the starting services, how can I start apache without having it start automatically at boot? Since I will have to give /etc/rc.d/rc.httpd execute rights to start it, but then it will also start at boot... This whole BSD init system still feels a bit weird. 2. How can I bind ls to ls --color for example? I can't find a bash.bashrc anywhere. 3. I've tried to remove all unnecessary services but I don't really know what some things are: rc.serial rc.yp rc.sysvinit --> what are those? If I don't have any sysvinit scripts installed I can propably remove it? Also, it is ok to remove rc.inetd from autostarting? (If i'm not running any services) 4. How can I get vim to use backspace "normally" in edit mode? (it was like that as default in debian) Now I have to select each letter and press delete. |
1. apachectl start | stop | graceful
2. echo 'alias ls="ls --color"' >> ~/.bashrc 3. Yes but at your own risk ;) I think it is safe to remove it but who knows... - if you remove /etc/rc.d/rc.inetd, you will end with no network connections 4. cp /usr/share/vim/vim63/vimrc_example.vim ~/.vimrc |
also for #1 most is not all of the files in /etc/rc.d/ can be called with arguments
e.g. /etc/rc.d/rc.pcmcia restart You don't need to remove them either chmod -x will do the trick. |
Re: some slackware questions
Quote:
sh /etc/rc.d/rc.httpd start ;) Quote:
rc.yp starts NIS (Network Information Service) I'd suggest removing the package all together if you're not planning on running a large network with "roaming profiles" :) rc.sysvinit will allow you to add a SysV structure on top of the BSD init-scripts. As for 4: is Slack 10 actually using vim as the default vi, rather than Elvis? :) ls -l `which vi` Cheers, Tink |
Thanks alot all :)
ps: my internet connection is working just fine with rc.inetd disabled, I thought inetd only starts other services? rc.inet1-2 starts the eth0 connection? "I'd suggest removing the package all together etc" --> What's the package name? I tried looking for it with pkgtool but couldn't find it. Btw, about vi: Your right, it is elvis after all :) |
rc.inet1 takes care of confguring your networkdevices, rc.inet2 starts services which aren't started by the inetd. You can choose to skip the rc.inet2, but then you will have to configure inetd to start services you want. rc.inet1 and rc.inet2 are shell scripts, so you can read them and understand what's going on there. rc.inetd will start the inetd superserver daemon.
|
All times are GMT -5. The time now is 01:37 PM. |