LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-30-2014, 08:27 AM   #31
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749

barebone --> zombie # looks alive, but brain dead and sucks power
minimal --> comatose # has potential for resuscitation
 
1 members found this post helpful.
Old 11-30-2014, 01:28 PM   #32
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by ivandi View Post
IMO stripping the setup too much makes it hard to extend.
If I'm questioning my deeper motivation in starting this little project, it's primarily to get a better understanding of what constitutes the Slackware core. Let me give you an analogy. One of my favorite musicians, saxophone player Wayne Shorter, once stated in an interview to Down Beat Magazine that when you play jazz, you "have to greet every single note as you walk down the stairs". Similarly, I seem to have found a funny way to say hello to every single package.

The primary goal for this is learning. On servers, I just install the whole bucketload of package groups without KDE, XAP and XFCE, and that suits me well.
 
Old 11-30-2014, 04:34 PM   #33
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Quote:
Originally Posted by kikinovak View Post
OK, I've just written a set of tagfiles for an extremely (!) reduced minimal system.
I had slackware running on a 486 laptop, with 12 meg RAM, and I think 200 meg HD in 2004 with the latest slackware at the time. And I did use it . I started with a similar approach, on what was the minimum needed to boot, since 200 meg is a tight spot to fit. I reversed the process by adding a few useful things, such as networking. As far as the kernel, I specially prepared one and did not use the stock kernel. It was non-modular kernel, but with a few pcmcia modules like for my wireless card I bought for it. This system was working with about 40 MB left over, which is quite comfortable of a machine of that class, and the benefits of high speed remote access.

After I retired it in 2005, I would boot it once a year, updating slackware (just like most of my machines). Although, I went without access to it since about 2008. I did get it out of storage a couple weeks ago, but unfortunately it does not detect the hard disk.

I went ahead and added up the uncompressed sizes of the packages in your list. I was concerned when I saw 258 MB, that it was no longer possible to use this kind of machine with slackware. However, this size is largely due to the kernel, and it does look a system based on your list is 150 MB.

BTW, If I am disk limited like this, there is no reason not to just dump the /usr/doc directory after installation. It eats a ton of space that is rarely used, and there is no shortage of machines that have a copy of it.

I think that it's really nice to get that kind of install very easily still these days, and wrote down what to do, since I never have. I am thinking about doing embedded x86 work, and there is little reason for much having much of the software on the system. Although it is fast fading away that we are space limited, with very large SD-cards being so cheap now, and usb just as well common. I'll probably be sticking newer drives in ancient systems if it comes to it.
 
Old 11-30-2014, 05:08 PM   #34
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by the3dfxdude View Post
I had slackware running on a 486 laptop, with 12 meg RAM, and I think 200 meg HD in 2004 with the latest slackware at the time. And I did use it . I started with a similar approach, on what was the minimum needed to boot, since 200 meg is a tight spot to fit. I reversed the process by adding a few useful things, such as networking. As far as the kernel, I specially prepared one and did not use the stock kernel. It was non-modular kernel, but with a few pcmcia modules like for my wireless card I bought for it. This system was working with about 40 MB left over, which is quite comfortable of a machine of that class, and the benefits of high speed remote access.
Earlier this year, I installed a headless Slackware server on a Dell Poweredge 1300, a high-end machine compared to yours. Pentium-III 500 MHz processor, 110 MB RAM, 3 x 9 GB SCSI hard disks. The company I did some training for didn't have the new servers delivered yet, so I decided to work on this old piece of hardware in the meantime. I was glad I had Slackware's CD-Rom jewel box, since the thing didn't have a DVD drive. Installed Slackware 14.1 using software RAID 5 on it. Nobody would have thought it, but we actually did most of the course on this old dinosaur, and we successfully ran DHCPD, BIND, NTPD, VSFTPD, Samba, Squid, SquidGuard, Postfix and a complete LAMP stack on that thing. The main motivation to do this was to poke fun at the Windows Server trainer, who complained that 8 GB RAM was "a bit short" to run his configurations when the server racks were finally delivered.
 
2 members found this post helpful.
Old 11-30-2014, 09:40 PM   #35
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
Nice, this reminds me of my own minimal install for Docker (which I maintain manually: https://registry.hub.docker.com/u/zakame/slackware/)

@kikinovak: you can probably make an ISO for this to be used for VPS/dedi providers allowing for custom HVM installs; this would make a great base system for remote Slackware systems!
 
1 members found this post helpful.
Old 11-30-2014, 09:47 PM   #36
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
The primary goal for this is learning. On servers, I just install the whole bucketload of package groups without KDE, XAP and XFCE, and that suits me well.
Your minimal setup would be the ideal starting point for creating a hardened Slackware server installation. Or a Slackware LXC container, for that matter.

Excellent work.
 
3 members found this post helpful.
Old 12-01-2014, 01:10 AM   #37
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Ser Olmy View Post
Your minimal setup would be the ideal starting point for creating a hardened Slackware server installation. Or a Slackware LXC container, for that matter.

Excellent work.
Give it some time. I have some ideas how to get this right. Now I only need to find the time, as always.
 
Old 12-01-2014, 06:44 AM   #38
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 275Reputation: 275Reputation: 275
Nice job kikinovak. I will follow this thread with great interest.
I was already trying to do the same thing, just for experiment/server purpose to replace in the future my netbsd server
 
Old 12-01-2014, 10:58 AM   #39
kevison
Member
 
Registered: Dec 2007
Location: Grand Rapids, Michigan USA
Distribution: Slackware/Bodhi/Manjaro
Posts: 149

Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
Hi,

...

Here's a first version of StripSlack:

http://www.microlinux.fr/slackware/stripslack-14.1/

Here's a detailed introduction with a HOWTO:

http://www.microlinux.fr/slackware/s...lack-HOWTO.txt
...

Cheers,

Niki
Very nice! this is my new lunchtime activity!!
 
Old 12-01-2014, 11:47 AM   #40
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
Very Nice indeed, thanks for sharing!

I made a similar exercise with slackware 13.1, but my goal was to have just enough packages for slackpkg to work, then expand as needed.
The howto is hosted on the very same system I built when I made the howto!

It tough me a lot about tagfiles, slackpkg templates and (most importantly) dependencies, so I considered it a success as well a fun exercise.

Last edited by Slax-Dude; 12-01-2014 at 11:48 AM.
 
1 members found this post helpful.
Old 12-01-2014, 05:18 PM   #41
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
I'm working on a revised version and a detailed HOWTO. Should have something usable soon.
 
Old 12-02-2014, 05:03 AM   #42
kevison
Member
 
Registered: Dec 2007
Location: Grand Rapids, Michigan USA
Distribution: Slackware/Bodhi/Manjaro
Posts: 149

Rep: Reputation: Disabled
I decided to try this on a VM. Downloaded the 64 iso and ran through the instructions with no problem. Went to update and though the logs say I have a network connection it doesnt seem to work. Running slackpkg hangs. Pinging against known websites just hang as well.

Deleted the VM and did a straight install and things worked as expected.

Deleted the VM again and reinstalled and worked through the install per instructions. Still cant ping the outside world. I havent been able to determine why yet.

Last edited by kevison; 12-02-2014 at 05:04 AM.
 
Old 12-02-2014, 05:41 AM   #43
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
I'm working on a revised version and a detailed HOWTO. Should have something usable soon.
Are we there yet?
 
Old 12-02-2014, 06:02 AM   #44
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
kevison,
cannot confirm with this tagfiles.tar.gz 30-Nov-2014
Code:
# md5sum ../tagfiles.tar.gz
22c75190df32ad9fb5d4dfce4bfd1681  tagfiles.tar.gz

# grep ADD | wc -l
144

# grep -v "^#\|^$" /etc/slackpkg/mirrors
http://slackware.osuosl.org/slackware64-14.1/
ftp://ftp.osuosl.org/pub/slackware/slackware64-14.1/ mirror works too.

Tested as Slackware64-14.1 iso in VirtualBox guest with NAT ethernet.

Last edited by bormant; 12-02-2014 at 06:14 AM.
 
Old 12-02-2014, 11:47 AM   #45
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by brianL View Post
Are we there yet?
First things first. For a start, I just wrote a documentation about an extremely minimal installation, which does three things:
  1. Boot to a login prompt.
  2. Allow root to login.
  3. Allow root to install local packages using installpkg.

And that's it. Strict minimum. No slackpkg, no SSH, no network even, no man and info pages, and most of the shell commands are missing. It boots, that's it.

http://www.microlinux.fr/slackware/L...lack-HOWTO.txt

Starting from this, I will make a series of "Beyond Linux From Slack" HOWTOs to build a system layer by layer. I'll keep you posted.

Cheers,

Niki
 
  


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 configuration to run XWindows client software? FeyFre Slackware 4 03-06-2012 12:11 PM
Need minimal Samba configuration with guest r/w share instructions daggett Linux - Server 1 11-09-2011 03:22 PM
help plz, redhat entreprise 3 minimal hardware configuration akadidm Linux - Hardware 3 06-12-2006 05:35 AM
Minimal Slackware hsimah Linux - Newbie 5 01-06-2006 09:03 PM
Minimal Slackware? Allen614 Slackware 26 03-21-2004 03:17 AM

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

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