Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
03-17-2004, 10:24 PM
|
#16
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
03-17-2004, 11:45 PM
|
#17
|
Member
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139
Rep:
|
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.
|
|
|
03-18-2004, 12:20 AM
|
#18
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
03-18-2004, 03:56 AM
|
#19
|
Member
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665
Rep:
|
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!!)
|
|
|
03-18-2004, 09:00 AM
|
#20
|
Member
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139
Rep:
|
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.
|
|
|
03-18-2004, 10:03 AM
|
#21
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
03-18-2004, 10:22 AM
|
#22
|
Member
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139
Rep:
|
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.
|
|
|
03-18-2004, 12:00 PM
|
#23
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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
|
|
|
03-18-2004, 06:18 PM
|
#24
|
Member
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139
Rep:
|
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.
|
|
|
03-20-2004, 04:57 PM
|
#25
|
Member
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139
Rep:
|
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.
|
|
|
03-20-2004, 09:04 PM
|
#26
|
Member
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139
Rep:
|
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
|
|
|
03-21-2004, 03:17 AM
|
#27
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
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
|
|
|
All times are GMT -5. The time now is 08:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|