LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2004, 02:39 PM   #1
vrln
Member
 
Registered: Mar 2004
Location: Finland
Distribution: Gentoo
Posts: 235

Rep: Reputation: 30
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.

Last edited by vrln; 06-29-2004 at 02:44 PM.
 
Old 06-29-2004, 02:51 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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
 
Old 06-29-2004, 02:55 PM   #3
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
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.
 
Old 06-29-2004, 02:56 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: some slackware questions

Quote:
Since I will have to give /etc/rc.d/rc.httpd execute rights to start it, but then it will also start at boot...
You could leave it without x, and do
sh /etc/rc.d/rc.httpd start

;)



Quote:
Originally posted by vrln
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?
rc.serial fires up your serial ports, makes getty listen on them
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

Last edited by Tinkster; 06-29-2004 at 02:58 PM.
 
Old 06-29-2004, 03:11 PM   #5
vrln
Member
 
Registered: Mar 2004
Location: Finland
Distribution: Gentoo
Posts: 235

Original Poster
Rep: Reputation: 30
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

Last edited by vrln; 06-29-2004 at 03:16 PM.
 
Old 06-29-2004, 03:21 PM   #6
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
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.
 
  


Reply



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
Some questions about Slackware moonmoth Slackware 5 10-02-2005 10:28 PM
slackware many questions hosler Linux - Newbie 1 03-26-2005 11:55 PM
Some Slackware questions diaabo Linux - Newbie 4 10-10-2004 05:24 PM
Slackware 10 questions! Tod_Con Slackware 22 07-05-2004 03:34 PM
2 questions about X in Slackware isolationist Slackware 6 06-25-2003 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:55 AM.

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
Open Source Consulting | Domain Registration