LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-17-2004, 10:24 PM   #16
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361

You can leave nearly everything out of N and it will still work. All you really need is TCP/IP and the DHCP client, which are both clearly named in the installer. Also, many of the things it marks as "REQUIRED" in A aren't, and can be left out.

I am actually just finishing up an embedded version of Slackware 9.0 for a new line of miniature network devices I am building. It is a lot of the Slack scripts and packages, and many things I compiled from code. It is designed to run from RAM and be booted from a Compact Flash card. The CF card holds the kernel and the initrd image, which mount /dev/ram as root (because the CF card can't handle having a rw file system on it, it will get toasted).

I was just doing some final testing today. It has full network functionality including FTP, telnet, SSH servers, plus the usual network testing applications (ettercap being the front runner here).

It all comes in at 27 MB. Compressed (it is decompressed at boot), it is 8 MB.
 
Old 03-17-2004, 11:45 PM   #17
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Do you have any more details you can offer on that setup?

I want a bare minimum installation to run Apache, OpenSSL, MySQL, PHP, OpenSSH, Bind, QMail and ProFTPD.

I want it all CLI... no X.

I want to know what packages are necessary from A, D, L and N. I want to compile all apps mentioned above from source.

I am looking to replace a Netware Enterprise web server.

Thanks

Last edited by rivang; 03-17-2004 at 11:49 PM.
 
Old 03-18-2004, 12:20 AM   #18
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well, if you want to do a real minimal installation, you aren't going to be compiling those programs on the minimal system, since the compiler takes up a lot of (basically) wasted space.

You would want to setup a development system that compiles the programs for a target system. I did this with dual HDDs. HDA was my development system (a normal full Slackware install) and HDB was the minimal system I was creating.

I'll have to go back through my notes to find exactly what packages are needed for what you want to do. I know many (maybe all, I'm not sure) of the programs you want are already included as packages with Slackware.

While using the Slack packages might not give you the sense of accomplishment that compiling from source will, the ease of Slack's pkg system and the fact that you can use the packages without needing a compiler (either locally or on a development system) makes the setup much easier.

Of course the trade off is that using the packages is going to give you outdated software at best, since you could go and download the bleeding edge version and compile it instead of using an aging binary pack on the Slackware disks.

In the end it is up to you, since your goal is to compile the programs for a performance increase, the best route might be to simply install the compiler and install your programs like normal, and just take the hit in "wasted" space on your HDD.
 
Old 03-18-2004, 03:56 AM   #19
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
ugh.... the last post before this one and the one before that was mine, and I wasn't druni... like I am not... but I dont think the ur';s work either way.... anyways I'll reply when I am sober, i hope you get a kick out of thieds goodnight

happy st patricks day!


(30% irish, almost half way!!)
 
Old 03-18-2004, 09:00 AM   #20
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
So what are the bare minimum compilers needed to compile the apps I want?

So with what you said about package tool, I could get by with just installing the A, D, L and N series defaults and then use pkgtool to remove everything I don't want then install the apps I mentioned from source?

Last edited by rivang; 03-18-2004 at 09:03 AM.
 
Old 03-18-2004, 10:03 AM   #21
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by rivang
So what are the bare minimum compilers needed to compile the apps I want?

So with what you said about package tool, I could get by with just installing the A, D, L and N series defaults and then use pkgtool to remove everything I don't want then install the apps I mentioned from source?
I did a bare minimal install of Slackware for one of my 233mhz machines that I only needed really it to serve as one purpose on my network. I do believe I got the install down to around 300 megs total and its fully functional at this time. I think I got the number of running processes down to around 15 and usually it runs taking no more than 30mb to 50mb of the 128mb I have in the machine.

I don't necessarily go by the series but do a expert install and choose the packages individually. If you want a list of all the packages I installed, let me know, I can post them here.

Cheers.
 
Old 03-18-2004, 10:22 AM   #22
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Yes a list of those packages would be good. I am using the Expert selection mode along with only selecting A, Aps, D, L and N on the series selection page.

I only choose sudo out of Aps I think.

I just went through one install... left out e2fsprogs... thought I could because I am using reiserfs exclusively but on boot I get fsck errors open Slackware in single user mode to correct the problem.

Thanks

Last edited by rivang; 03-18-2004 at 10:27 AM.
 
Old 03-18-2004, 12:00 PM   #23
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Here is the list of packages.. I have added some recently cause I needed to compile a few packages so I had to install gcc and any such dependencies. I think this list makes the total disk space close to 500 megs or so, which still isn't too bad and really this would be a working system that allows you to compile from source or use the tgz packaged files to install from, etc.

You could remove some of these to customize what you may need to make it even more minimal. I put astericks on the end of some of the packages you could safely remove and have a functioning system, but I'd recommend most of them.

aaa_base-9.1.0-noarch-1
acpid-1.0.2-i486-1
autoconf-2.57-noarch-1
autofs-3.1.7-i386-1
automake-1.7.7-noarch-1
bash-2.05b-i486-3
bin-8.5.0-i386-1
bin86-0.16.11-i386-1
binutils-2.14.90.0.6-i486-1
bison-1.35-i386-1
byacc-1.9-i386-1
bzip2-1.0.2-i386-4
ccache-2.2-i386-1
coreutils-5.0-i486-4
cxxlibs-5.1.0-i486-1
db1-1.85-i386-1
db2-2.4.14-i386-1
db3-3.3.11-i386-3
dcron-2.3.3-i386-4
devfsd-1.3.25-i386-2
devs-2.3.1-noarch-18
e2fsprogs-1.34-i486-1
elflibs-9.1.0-i486-2
elvis-2.1_4-i386-1
epic4-1.0.1-i386-3*
etc-5.1-noarch-5
expat-1.95.6-i486-2
findutils-4.1.7-i386-1
flex-2.5.4a-i486-2*
gawk-3.1.3-i486-1
gcc-3.2.3-i486-2*
gcc-g++-3.2.3-i486-1*
gettext-tools-0.14.1-i486-2
glibc-2.3.2-i486-1
glibc-solibs-2.3.2-i486-1
glibc-zoneinfo-2.3.2-noarch-1
gmp-4.1.2-i486-2
gnet-2.0.4-i486-1
grep-2.5-i386-2
groff-1.17.2-i386-3
gzip-1.3.3-i386-2*
inetd-1.79s-i486-3
infozip-5.50-i486-2
iptables-1.2.8-i486-1
joe-2.9.8-i486-1*
kernel-headers-2.4.22-i386-1
kernel-ide-2.4.22-i486-2
kernel-modules-2.4.22-i486-2
less-381-i386-1
lesstif-0.93.91-i486-1
libtermcap-1.2.3-i486-6
libtool-1.4.3-i486-2
libxml2-2.5.11-i486-2*
libxslt-1.0.33-i486-1
lilo-22.5.7.2-i386-1
logrotate-3.6.8-i486-1
lsof-4.68-i486-1
m4-1.4-i386-2
make-3.80-i386-1
module-init-tools-0.9.14-i486-2
ncurses-5.3-i386-1
openssh-3.7.1p2-i486-1*
openssl-0.9.7b-i486-2*
openssl-solibs-0.9.7b-i486-2*
orbit-0.5.17-i386-1
pciutils-2.1.11-i386-4*
pidentd-3.0.16-i386-1
pkgconfig-0.15.0-i486-1
pkgtools-9.1.0-i486-4
popt-1.7-i386-1
procps-2.0.16-i486-2
readline-4.3-i486-3
sed-3.02-i486-1
shadow-4.0.3-i486-8
slang-1.4.9-i486-1
stunnel-4.04-i486-2
sysklogd-1.4.1-i486-8
sysvinit-2.84-i486-36
t1lib-1.3.1-i386-2
tar-1.13.25-i386-1
tcpip-0.17-i486-24
texinfo-4.5-i386-1*
utempter-0.5.2-i486-2
util-linux-2.12-i486-1
vim-6.2-i486-1*
wget-1.8.2-i386-2*
zlib-1.1.4-i386-3
 
Old 03-18-2004, 06:18 PM   #24
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Thanks... I just sorted out your minimal package list into their series A, AP, D, L and N.

Series A
aaa_base, acpid, bash, bzip2, bin, coreutils, cxxlibs, dcron, devfsd, devs, e2fsprogs, elflibs, elvis, etc, findutils, gawk, gettext, glibc-solibs, glibc-zoneinfo, grep, gzip*, infozip, kernel-ide, kernel-modules, less, lilo, logrotate, module-init-tools, openssl-solibs*, pciutils*, pkgtools, procps, sed, shadow, sysklogd, sysvinit, tar, util-linux

Series AP
groff, joe*, lsof, texinfo*, vim*

Series D
autoconf, automake, bin86, binutils, bison, byacc, ccache, flex*, gcc*, gcc-g++*, kernel-headers, libtool, m4, make, pkgconfig

Series L
db1, db2, db3, expat, glibc, gmp, gnet, lesstif, libtermcap, libxml2*, libxslt, ncurses, orbit, popt, readline, slang, t1lib, utempter, zlib

Series N
autofs, epic*, inetd, iptables, openssh*, openssl*, pidentd, stunnel, tcpip, wget*

Last edited by rivang; 03-18-2004 at 06:22 PM.
 
Old 03-20-2004, 04:57 PM   #25
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
About Series L...

Series L
db1, db2, db3, expat, glibc, gmp, gnet, lesstif, libtermcap, libxml2*, libxslt, ncurses, orbit, popt, readline, slang, t1lib, utempter, zlib

Do you need any of these libraries for Apache, Bind, MYSQL, PHP, QMail, PROFTPD and SSH to function properly?


Last edited by rivang; 03-20-2004 at 09:03 PM.
 
Old 03-20-2004, 09:04 PM   #26
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
In the A series... does anyone know for sure if e2fsprogs is required even when you are using reiserfs?

I just installed Slackware 9.1 on a Compaq server and I left out e2fsprogs. Now after the root filesystem check I am getting the following error:

/etc/rc.d/rc.S: line 38: /sbin/fsck: no such file or directory
 
Old 03-21-2004, 03:17 AM   #27
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Yes, unless you comment out that line, even if you are not using e2fs you will need the package for a successful boot.
about series /l - all these are graphics libs: lesstif, libtermcap, libxml2*, libxslt, orbit
An abbsolute minimum for Slackware 9.1 to successfully boot looks like this:
aaa_base bash bin coreutils devs e2fsprogs elflibs etc glibc-solibs grep kernel sed shadow sysvinit util-linux
That assumes a monolithic kernel. You'll probably want the kernel-modules and modutils or module-init-tools.
To make it extendable and configurable you'll want gzip tar and pkgtools and elvis. otherwise the above install is nearly completely crippled. If you have tar and gzip you can still unpack new packages including pkgtools. without elvis you have no way to configure the system unless you use cat and echo
You'll also probably want cxx-libs findutils and gawk.
Take alook at my HOWTO for more tips:
htttp://home.earthlink.net/~gnashley/phnxhtml/Phoenix8_1howto.htm
I#m still working on a new versiuon that is more oriented to 9.1
 
  


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
Minimal slackware package install alc@pone Slackware 9 12-06-2005 05:11 PM
Minimal slackware installation.. Halonix Slackware 2 06-29-2005 08:19 PM
Slackware Minimal Install Dr. Psy Slackware 7 05-31-2005 08:13 PM
minimal slackware install SVN Slackware 3 04-08-2004 01:36 AM
Minimal Slackware 8.1 Install Demon Linux - Software 4 03-11-2003 11:36 AM

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

All times are GMT -5. The time now is 03:25 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