LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-26-2012, 08:45 AM   #16
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154

Quote:
Originally Posted by stf92 View Post
I'm becoming fond of your posts, Niki. I've just talked on the phone with a friend with tells me modern desktop machines need in excess of 2GB to run their software. Of course, he uses Ubuntu. And of course, the more modern a machine is, the less RAM it needs. By the way, Volkerdi gives 128MB of RAM as part of the hardware requirements.

I'd like to make you a question: one usually runs the setup program once the O.S. has finished booting from the installation disk. As the last step, setup asks you to configure the system (Configure option). And within the configuration, it finally gives the choice to install some services, such as HAL (the hardware abstraction layer), SSHD (secure login) and so on. How do I know which of them to choose and which not to select? If too many, less RAM. If too few, I may be lacking something I would not like to miss. Nowhere in the Slackware-HOWTO which comes with the installation disk is anything told about this! Could you give me some advice on this matter? Regards,

Enrique.
Ubuntu and the vast majority of general purpose distributions (openSUSE, Fedora, Mageia) have indeed become more and more resource-hungry. One of the many reasons I use Slackware, since this is about the only distribution where I can be positive the installer won't choke on some piece of old and/or exotic hardware.

BTW, there's no direct link between the "modernity" of a PC and the amount of RAM it has. I'd say there's a suitable amount of RAM for every machine and every use. You can have a perfectly working desktop with 512 MB - there's one right next to me - and you can have barely enough with 8 GB of RAM and an 8-core processor (on a scientific calculation workstation, for example).

Concerning the services to launch on startup, you'll be fine with the default choice. Unlike the usual suspects among distributions - see above - Slackware doesn't launch every single service on startup, but tends to default to a reasonable minimum. For a desktop, you might want to enable CUPS for printing, and that's it. And you can always do it when the time comes to configure your printer. And BTW, there's no HAL anymore. It's replaced by udisks now.

Cheers,

Niki
 
Old 10-26-2012, 08:47 AM   #17
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by stf92 View Post
I'm becoming fond of your posts, Niki. I've just talked on the phone with a friend with tells me modern desktop machines need in excess of 2GB to run their software. Of course, he uses Ubuntu. And of course, the more modern a machine is, the less RAM it needs. By the way, Volkerdi gives 128MB of RAM as part of the hardware requirements.

I'd like to make you a question: one usually runs the setup program once the O.S. has finished booting from the installation disk. As the last step, setup asks you to configure the system (Configure option). And within the configuration, it finally gives the choice to install some services, such as HAL (the hardware abstraction layer), SSHD (secure login) and so on. How do I know which of them to choose and which not to select? If too many, less RAM. If too few, I may be lacking something I would not like to miss. Nowhere in the Slackware-HOWTO which comes with the installation disk is anything told about this! Could you give me some advice on this matter? Regards,

Enrique.
Ubuntu and the vast majority of general purpose distributions (openSUSE, Fedora, Mageia) have indeed become more and more resource-hungry. One of the many reasons I use Slackware, since this is about the only distribution where I can be positive the installer won't choke on some piece of old and/or exotic hardware, and the system will run on quite many low-spec configurations.

BTW, there's no direct link between the "modernity" of a PC and the amount of RAM it has. I'd say there's a suitable amount of RAM for every machine and every use. You can have a perfectly working desktop with 512 MB - there's one right next to me - and you can have barely enough with 8 GB of RAM and an 8-core processor (on a scientific calculation workstation, for example).

Concerning the services to launch on startup, you'll be fine with the default choice. Unlike the usual suspects among distributions - see above - Slackware doesn't launch every single service on startup, but tends to default to a reasonable minimum. For a desktop, you might want to enable CUPS for printing, and that's it. And you can always do it when the time comes to configure your printer. And BTW, there's no HAL anymore. It's replaced by udisks now.

Cheers,

Niki
 
Old 10-26-2012, 08:47 AM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
First rule of thumb: install what is proposed as the default and don't worry.

After installation you will be able to revise your choices anyway running as root the 'pkgtool' utility. Choose the 'setup' option then 'services' to do that.

To make sound choices, first read the comments at the beginning of the scripts included in /etc/rc.d/ directory.

The RAM used is not the only concern though: security is even more important.

So, second rule of thumb: only keep selected services you are sure you will need.

EDIT. Too late, again... This doesn't matter after all as I was not the addressee of that question

Last edited by Didier Spaier; 10-26-2012 at 09:00 AM. Reason: EDIT added.
 
Old 10-26-2012, 09:12 AM   #19
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by kikinovak View Post

BTW, there's no direct link between the "modernity" of a PC and the amount of RAM it has. I'd say there's a suitable amount of RAM for every machine and every use. You can have a perfectly working desktop with 512 MB - there's one right next to me - and you can have barely enough with 8 GB of RAM and an 8-core processor (on a scientific calculation workstation, for example).
Niki
I only mean that, given a machine and given a certain application, the most powerful the hardware, except RAM, the less RAM you'll need to perform at a certain speed. To take a simple example, CPUs have RAM inside it. First of all, registers (the old accumulator, for instance. Now imagine the CPU has 10^18 registers. Why would you want RAM? The more RAM, you yourself have said, the more speed you'll likely get (it depends, of course). Inversely, the less RAM,the less speed, which can be compensated by a 10 core multiprocessing processor. That's it.

Now, what concerns me, is the following: the first time I run setup (or pkgtool) I can see the default selection. I modify the selection and, a year later, I want to modify again and I find setup (instead of running pkgtool I boot with the installtation disk and run setup) has forgotten the default selection and has mine instead, which, if I did not write down in a paper which ones they were, is a real inconvinience.

Example, last time I deselected HAL and found certain problems when running the GUI. So I reran setup. But the values (things preselected) were not the same as in the first time! So I had no other choice than, besides selecting HAL, to select all of the services, except some of them that were clearly useless to me.

Many of the software included in Slackware is intended for portable machines, by the way, which is rather a annoyance for desktop users. And even some things are setup for use by portables, as energy administration. I want to save energy too! Regards,

Enrique.

Last edited by stf92; 10-26-2012 at 09:13 AM.
 
Old 10-26-2012, 11:06 AM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
Now, what concerns me, is the following: the first time I run setup (or pkgtool) I can see the default selection. I modify the selection and, a year later, I want to modify again and I find setup (instead of running pkgtool I boot with the installtation disk and run setup) has forgotten the default selection and has mine instead, which, if I did not write down in a paper which ones they were, is a real inconvinience.

Example, last time I deselected HAL and found certain problems when running the GUI. So I reran setup. But the values (things preselected) were not the same as in the first time! So I had no other choice than, besides selecting HAL, to select all of the services, except some of them that were clearly useless to me.
In fact there is no 'default selection' of services proposed by Slackware, even at time of installation. The proposed selection of services, be it during installation or later, is not 'built-in'. Instead, it is built dynamically, scanning the list of configuration files present in /etc/rc.d. This list of files in turn vary depending on which packages are installed.

That's sound: what would be the point of proposing you to launch at boot time a service bound to an application which is not even installed?

That's part of the 'Slackware philosophy', so to speak: install then run what you want, the way you want. Slackware helps you configure your system but will not decide for you.

Last edited by Didier Spaier; 10-26-2012 at 11:12 AM.
 
Old 10-26-2012, 11:09 AM   #21
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Well, let's say a fast machine without enough RAM is like a Porsche with wooden tyres. All the horsepower under the hood will be lost.

Concerning your service selection, remember the KISS principle. Just leave your preselected minimal services as is, and you're good. Don't try desperately to trim this selection, you'll only save a neglectible amount of system resources, but end up shooting yourself in the foot and pulling your hair out.
 
Old 10-26-2012, 01:04 PM   #22
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks Didier and Niki. I now know a bit more than before starting the thread. One thing, however. Let's call the services A, B, C. At system installation I select A, B. Some time later I change my mind and decide to get rid of B. But in the meantime, I have forgotten which were the ones I initially selected. What shall I do? I think its a helpless scenario if I am just a beginner. As I had no idea what these services do, I can't start from scratch again and select the whole set of services I want to be run.

If I do not make myself sufficiently clear do not hessitate in letting me know.
 
Old 10-26-2012, 01:26 PM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Just write down on a paper the list of services you select at time of installation, then document on the same paper the changes you make afterwards.

If you have no idea of what a service does, on which basis will you decide to select it or not?

Again, read the comments at the beginning of the scripts in /etc/rc.d to figure out their purposes and if you have specific questions someone here will be pleased to answer.
 
Old 10-26-2012, 01:43 PM   #24
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by stf92 View Post
Thanks Didier and Niki. I now know a bit more than before starting the thread. One thing, however. Let's call the services A, B, C. At system installation I select A, B. Some time later I change my mind and decide to get rid of B. But in the meantime, I have forgotten which were the ones I initially selected. What shall I do? I think its a helpless scenario if I am just a beginner. As I had no idea what these services do, I can't start from scratch again and select the whole set of services I want to be run.

If I do not make myself sufficiently clear do not hessitate in letting me know.
The /etc/rc.d directory holds all your services. Here it is.

Code:
[kikinovak@alphamule:~] $ ls /etc/rc.d/
init.d  rc.acpid       rc.font        rc.local           rc.ntpd       rc.syslog
rc.0    rc.alsa        rc.fuse        rc.local_shutdown  rc.pcmcia     rc.sysstat
rc0.d   rc.atalk       rc.gpm-sample  rc.loop            rc.php-fpm    rc.sysvinit
rc1.d   rc.autofs      rc.httpd       rc.M               rc.rpc        rc.udev
rc2.d   rc.bind        rc.inet1       rc.mcelog          rc.S          rc.vboxballoonctrl-service
rc3.d   rc.bluetooth   rc.inet1.conf  rc.messagebus      rc.samba      rc.vboxdrv
rc.4    rc.cgconfig    rc.inet2       rc.modules         rc.saslauthd  rc.wireless
rc4.d   rc.cgred       rc.inetd       rc.modules-3.2.29  rc.sendmail   rc.wireless.conf
rc5.d   rc.consolekit  rc.ip_forward  rc.mysqld          rc.serial     rc.yp
rc.6    rc.cups        rc.K           rc.networkmanager  rc.snmpd
rc6.d   rc.dnsmasq     rc.keymap      rc.nfsd            rc.sshd
Let's say I want to know if rc.cups is activated:

Code:
[kikinovak@alphamule:~] $ ls -l /etc/rc.d/rc.cups
-rwxr-xr-x 1 root root 4308 août   7 21:34 /etc/rc.d/rc.cups
It is, since the script is executable (-rwxr-xr-x).

Now let's check something else, for example rc.httpd:

Code:
$ ls -l /etc/rc.d/rc.httpd
-rw-r--r-- 1 root root 1061 août  22 19:26 /etc/rc.d/rc.httpd
This script is not executable, so it will not launch on startup.

Last edited by kikinovak; 10-26-2012 at 01:46 PM.
 
Old 10-26-2012, 06:40 PM   #25
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Didier Spaier View Post
If you have no idea of what a service does, on which basis will you decide to select it or not?
It's because I can know what ONE service does. E.g., I know I do not need PCMCIA because my machine lacks it. So I never select it.
 
Old 10-27-2012, 02:21 AM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Maybe a page in SlackDocs listing all scripts in /etc/rc.d/ in case of a full installation with a terse description & purpose & use cases for each could be useful then, if it doesn't exist yet.

Last edited by Didier Spaier; 10-27-2012 at 02:22 AM.
 
1 members found this post helpful.
Old 10-27-2012, 04:01 AM   #27
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Didier, I'm seeing your link's page, although I can't find the exact place within it. Of course, many thanks for the link and I'll go on trying to find the place (it ought to be a link within the page).

You know?, I'm installing Slack 14.0, after Niki's insistence (here), . As I installed it on a second hard disk in order to test it, and left 12.0 on the first one, I'm getting the message 'VFS: Cannot open root device "801" or Unknown-block(8,1)' when booting 12.0. Bad lack. It's going to take me some time to solve this. Regards.
 
  


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
Flash no working (Xfce version 4.4.2/ Mozilla Firefox version 3.0.6) TeddyBear Linux - Newbie 2 07-13-2010 12:38 AM
Installing mySQL, can't even uninstall old version natv Linux - Server 1 03-01-2007 06:20 AM
Installing mySQL, can't even uninstall old version natv Linux - Server 2 02-27-2007 06:31 PM
Upgrading Mozilla/Uninstall Previous Version - RPM vs. Source CooManChu Linux - Software 3 12-23-2004 01:42 PM
installing software from source, make uninstall question darkleaf Linux - Software 2 08-19-2004 04:18 PM

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

All times are GMT -5. The time now is 07:50 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
Open Source Consulting | Domain Registration