Monday 19 March 2012

Slackware Derivatives: The Superb Mini Server Project

SMS, short for Superb Mini Server, is one of those niche distributions built on a major that are not really needed but fulfill a particular purpose and might save you time if what they offer is exactly what you want. SMS is built from Slackware and provides a ready to go server setup with many additional useful packages and tools pre-installed. Slackware itself of course makes a fine server, but SMS has a few more tricks up its sleeve.

With 1.6.4 the project is offering a live CD as well as an install image, both in 32-bit (i486) and for the x64 architecture. Although it looks fairly young on Distrowatch it has a good number of years behind it and has proven that it isn't just a one-man effort and about to fade away after two releases. Version 1.6.4 is built on the Slackware 13.37 but comes with a newer kernel 2.6.39.4 that takes care of a local root exploit where a local user could gain root privileges by modifying process memory. Various packages have also been updated. You can get a fuller picture here or just follow the link to their release announcement. An even newer 3.2.11 kernel is available from their repositories, and 3.2.5 is the default on their live CD image which seems to be following Slackware Current, the development branch. New releases of SMS will also be based on Current until a new stable Slackware is out. The team seems to release every two to three months so admins in need are sure to always get a fresh image if they have any new hardware.

SMS provides the Apache2 and Lighttpd web servers, file, print (Cups) and fax servers (Hylafax), several mail servers (Sendmail, Postfix, Dovecot) to choose from as well as some indispensible tools for such environment, namely Spamassassin, Mailscanner and ClamAV. BitTorrent has been replaced by TorrentFlux which can be remotely managed. Cups for printing and Webmin allow to graphically manage services, all the interface one should really need for a server. MySQL is the database, and of course the venerable iptables is included, but you may still need to configure your own rule set. Take a look at the Easy Firewall Generator for this. OpenJDK is included and has replaced Oracle JRE and JDK for Java.
You also get recent or in some cases even the latest version of PHP, Perl, Python, OpenSSH, and an up to date Samba 3.6.3 for that interoperability with NTFS/FAT shares, newer even than the 3.5.10 in Slackware's Current.
Many more packages of interest for a server setup are included, among them DNSmasq (DNS/DHCP server), Fail2ban, an FTP service, and the DansGuardian web content filter working together with Squid proxy server.

I downloaded and tried the x64 editions, the SMS64.Live.CD-1.6.4.iso which comes in at 439 MB, and the install image SMS64.Native.CD-1.6.4-Install.iso which at 656 MB is just under CD size.
Let's try and get a feel for what it's like running SMS first. I used the image as it is intended, burned to optical media, and booted from the CD drive.

The Live session

Upon start up you get several choices, the usual boot from hard disk which hands you over to the main boot loader on your drive, run from CD, load into memory for a smoother operation, start a PXE server, start SMS as cluster master. There's also a 'light' option which starts with all services disabled.

I opted to load it all into memory and run from there. All seemed fine, until when the loading sequence finished my screen went pitch black. Ah, must be my RadeonHD chipset then. I concede, running a server on a laptop is maybe not the first thing you'ld think of, but as I don't have a traditional server setup at home any machine could be called into action. Think of it, laptops are ideal for this, they are stackable like racks and bring their own monitor. An old laptop could easily be your home server, quieter than your average old tower and easily hidden away somewhere in the broom cupboard. Anyway, my Acer Aspire 5551 with ATI 4250 HD did not play well, although it works fine with Slack stable. I put it down to the newer kernel or it all being still to mature Current.

To my surprise the normal boot into running from CD mode went well and did not exhibit a problem with the video and it was possible to explore the system a little, albeit at the command prompt. This being designed as a server it is not a surprise that no graphical desktop is installed, and startx yielded nothing. In fact I would have been surprised if it did. You get to check some of the installed programs though, and login credentials that have been provided for ease of use right there. The SMS live CD issues default passwords at login to, as they put it, "help the lazy ones".

The live image employs the usual linux-live scripts made popular by Slax and tools to convert modules to the newer package format are included, just as easy as you can customize and create your own spin from the included scripts per batch file or linux shell.

The installed system

The installer is using the venerable text based Slackware installer, with the usual turquoise on navy blue background. This shouldn't be a problem, if you're advanced enough to need a server not having a graphical installer shouldn't put you off. Lilo is the boot loader.

When it's time to log into your freshly installed system you're in for a treat! If you wondered what's on the native install CD that isn't in the live image that makes it almost 220MB larger, you get the full X windowing environment and a KDE 3.5.10 ported to Slackware 13.37, although not maintained any longer as an alternative by the parent distribution. For daily admin tasks through a GUI this is now an extremely lightweight and fast interface on any modern hardware, and provides all the power of configuration of the old KDE3. It didn't recognize my widescreen resolution and looked ever so stretched on the laptop's monitor, but you can always specify an xorg.conf file and enter the appropriate size there. Once I had added my 1366x768 resolution the desktop was looking a lot better.

SMS 1.6.4 with KDE 3 - Screenshot from the project's web site
Here you get a web interface for TorrentFlux and can easily set up your Samba shares in the Control Center module. With GADMIN-PROFTPD you also get a graphical console to administer your FTP server, and Zenmap is a handy shortcut on the panel as a reminder to check for holes in your security. A few themed wallpapers are included for your pleasure, just in case you like it so much you end up looking at your server more often and start using at as a desktop as well. You can do the same to Lilo for which there are also some alternative backgrounds.

Read the About page on the project's site for information on the various accounts and pre-set passwords and some other helpful tips and tricks, another good starting point is the Features page which gives us a good overview of what's installed. The web site looks a bit dated but it's basic and it works. Everything is accessible via tabs at the top and you can get help from the small community on the forum. A wiki and a FAQ section is also available, although if you know your Linux in general and Slackware in particular you will not be having any problems.

Conclusion

I was slightly disappointed that Leafnode was not included, or at least another local Newsgroup server. But perhaps such service is just not relevant any longer, and the relatively few people still posting to Usenet know how to add it themselves.
SMS makes for a nice pre-configured package for a home server or small business that has most of the packages and services one would want already installed. Some configuration is still necessary, for example for Fail2ban and to set your domains, but it's as ready to go as can be. In this sense it is pretty similar to ClearOS, which is a custom implementation of Red Hat Enterprise Linux aiming for server use only.
Another use would be as an ad-hoc server for a quick project, providing for example an FTP or print & fax server from live CD as necessary.

Apart from the above, being based on Slackware means one can update and add packages in the usual manner from source and with scripts from Slackbuilds.org, where Leafnode can also be found, or with sbopkg from their experimental git repository for Current. The distribution is intended as a use-as-is solution and package management does not feature high on the list. Slackpkg is not included, probably to avoid conflicts with newer packages in SMS. If you installed KDE you get Kpackage which is basic at best, but installing slapt-get and gslapt works without adding further libraries and gives you access to a few more optional packages on the SMS servers.

Lastly, this is a great starting point for whoever still likes to use KDE3 on Slackware but has been unable to get the official but unsupported packages the distribution last provided for 13.0 to run on the latest release, although several more desktop oriented packages like kdegraphics are missing and will still have to be compiled from source against an updated gcc and glibc.

No comments:

Post a Comment

Please leave your comment here. Spam will be deleted.

Note: only a member of this blog may post a comment.

12.04 LTS (1) 1280x1024 (2) 14.1 (1) absolute (6) accessibility (6) ad-blocking (2) administration (2) afterstep (1) android (3) announcements (15) anonymity (5) anonymous (1) anonymous browsing (1) anti-malware (1) anti-virus (1) antiX (4) applications (1) arch (11) archbang (11) archone (1) artix (2) authentication (1) backports (1) base (1) bash (2) bittorrent (2) block-this (1) bluestar (1) bodhi (1) books (1) brave (1) brave-browser (1) browsers (8) browsing (1) bsd (4) bug (2) bugs (3) calculate (1) centos (1) certification (1) chakra (2) changelog (22) chat (1) chatzilla (1) chromebook (1) chromium (2) click (1) commodore 64 (1) ControlD (1) critique (1) crunchbang (5) crux (1) ctkarch (1) cyber war (1) debian (29) desktop (62) devuan (6) digital certificates (1) digital memories (1) distributions (75) DNS (1) documentaries (1) documentation (2) dr. web (1) drivers (1) duo (1) e17 (1) email (1) encryption (3) enlightenment (1) events (1) exit nodes (1) ext4 (1) fake (1) fallout (1) fallout 4 (1) fedora (6) file server (2) file systems (1) firefox (3) flash (1) flush (1) fluxbox (7) fluxflux (1) FPS (2) free software (3) frugalware (1) FSF (1) ftp (2) furybsd (1) fusion (1) fvwm (1) fvwm-crystal (1) games (11) gaming (10) gentoo (3) gnome (9) gnome shell (4) gnu/linux (4) google (2) google-chrome (3) graphics (1) grml (1) gtk+ (1) hangouts (1) hardcore punk (1) hardware (3) how-to (23) humor (2) i3 (1) icewm (6) init (3) init freedom (5) interview (1) introduction (1) jibbed (1) jwm (2) kanotix (4) kde (21) KDE neon (1) kde3 (2) kernel (6) knoppix (1) kodi (2) kongoni (2) kubuntu (3) LAS (1) libtorrent-rasterbar (1) linux (20) linux light (16) Linux Mint (6) live (50) live medium (28) live system (13) liveslak (3) LMDE 4 (3) localisation (1) LTS (1) lxde (12) lxqt (1) mageia (1) mandriva (2) manjaro (1) marine life (1) mate (1) media center (6) mepis (2) mint (5) mobile (2) mobile security (1) movies (6) mozilla (3) music (1) MX Linux (1) netbook (2) netrunner (1) networking (5) news (3) nvidia (1) open source (1) openbox (15) openSUSE (4) opinion (13) other (5) overclockix (1) packages (1) pclinuxos (4) perl (1) plasma (5) poll (2) porteus (3) privacy (5) privoxy (1) programming (1) proxy (2) puppy (3) qbittorrent (1) qt (1) quick look (10) ratpoison (1) red hat (7) redcore linux (1) relax (1) release (2) rescue (3) reviews (57) rhythmbox (1) rolling (1) RPG (2) rpm (1) sabayon (5) salix (15) scientific (7) screenshots (2) scripts (3) seamonkey (1) security (4) semplice (1) server (5) shell (1) shooter (4) siduction (1) slackel (1) slackware (68) slackware 14.2 (2) slackware 15.0 (8) slackware-current (34) slax (7) slitaz (1) smart phones (2) sms (1) south africa (2) specialist (1) spoof (1) ssh (1) surfing (1) systemd (2) table mountain (1) TDE (1) tegra k1 (1) The Walking Dead (1) themes (1) tinyme (2) tips (1) tor (3) torrenting (1) torrents (1) traffic analysis (2) trinity (2) trisquel (1) TV shows (2) TWD (1) ubuntu (6) unity (2) unity linux (4) unix (1) upgrade (6) vector (2) video (4) vinux (2) virtualbsd (1) visual impairment (5) voip (1) vpn (5) VSIDO (1) wallpapers (3) window maker (4) window managers (1) windscribe (1) wireless (10) xfce (16) youtube (1) zenwalk (3) zombies (1) zoo (1)