23-oct-2017: Dokuwiki and its plugins were upgraded to the latest release.

Welcome to the Slackware Documentation Project

HOWTO articles - Slackware Administration

Although Slackware tries to limit distribution specific tools compared to other distributions, there are a few cases where specific tasks are unique to Slackware. This section contains those special cases.

Inspired? Want to write a Slackware Administration HOWTO page yourself?
Type a new page name (no spaces - use underscores instead) and start creating! You are not allowed to add pages

Overview of Slackware Administration HOWTOS

PageDescriptionTags
Booting the Installation Environment from HDD Booting the Installation Environment from HDD This article shows how to boot the Slackware installation environment from a hard drive instead of the usual installation media. The Slackware installation environment is a small live Linux system with busybox, partitioning and some other useful utilities, and the ,
Building A Package Building A Package This is a rough outline for building Slackware packages. Some steps may not be neccessary, some steps might be missing. Use the discussion page for side-notes such as using slacktrack (when DESTDIR fails) and other utilities like checkinstall. , , , ,
Building and Installing Packages with sbopkg Building and Installing Packages with sbopkg Sbopkg is a command-line and dialog-based tool to synchronize with the SlackBuilds.org (“SBo”) repository, a collection of third-party SlackBuild scripts to build Slackware packages. The program has a curses based interface which lets you pick and assemble the programs which you want to compile from source into packages. It can also be used non-interactively in case you know beforehand what your goal is - in that case it is , , , ,
Building the Linux kernel using git Building the Linux kernel using git Author's note: I am writing this in as impartial a way as I can, because I think the user should decide what is best for them. Where to build There are two common places to build the kernel. It is important that wherever you build the kernel, it must be a location that does not change nor risk deletion or corruption. For example do , , ,
Creating a Package Using a SlackBuild Script Creating a Package Using a SlackBuild Script Overview Occasionally, you will find that there is an application that you would really like to utilize, but it is not available in Slackware's repository. For times like this you have options, one of which is using a , , ,
Setting up GRUB 2 on install (without rebooting) Setting up GRUB 2 on install (without rebooting) There is GRUB in A series of Slackware-14.1. If you want to install GRUB immediately after install (and before restarting), below is a simple method that assumes you use traditional BIOS and MBR partitioning (if you plan to use GPT instead of MBR partitioning, refer to , ,
Hibernation Hibernation Hibernation (also known as suspend-to-disk) is a method used to power down a computer while preserving the state of the operating system. Once powered up, the operating system will be in the exact state as it was at the time of hibernation. , , , , ,
Chroot From Installation Media Chroot From Installation Media Slackware is full of tools that can help when the system becomes unstable and cannot boot. One example is upgrading the kernel image and forgetting to run lilo afterwards. In order to gain access to your system without booting directly to it, it is possible to use an installation media such as Slackware CD1 or the DVD. Once the installation media loads and starts, you can change the media's root directory into a mounted hard-disk partition and use it as the root … , , , ,
How to configure fstab and lilo.conf with persistent naming How to configure fstab and lilo.conf with persistent naming Have you ever had your /dev/sda and /dev/sdb drives switch order? Has plugging in a USB device before booting your computer caused a kernel panic? Do you frequently unplug or plug in new devices into your computer, thus changing the order of the device names? If you said yes to any of those, you might be a good candidate to use persistent naming within your bootloader and fstab. ,
Installing Software Installing Software Overview There are three basic ways to install software in Slackware: install a pre-build binary package, make your own package, or compile the sources and install the resulting binaries manually. If you need to compile a program from source code, making it into your own package is easy and useful. Here's how these methods work. , , , ,
Installing Older Slackware on UEFI-based hardware Installing Older Slackware on UEFI-based hardware Some modern computers have started to offer motherboards that use Unified Extensible Firmware Interface (UEFI) as a replacement for the traditional BIOS. Slackware is perfectly capable or running on such machines, albeit with the provisos that before Slackware 14.1 the official install media could not be booted via UEFI directly and no UEFI bootloader was provided as part of the official selection of packages. , , , , , ,
Installing Slackware Using GPT with a BIOS motherboard Installing Slackware Using GPT with a BIOS motherboard It is possible to install Slackware to a disk that uses a GUID Partition Table (GPT), even on a machine that uses BIOS (i.e. you do not need a UEFI-based machine). Using GPT allows you to install Slackware onto very large disk drives (the theoretical maximum addressable disk size is 2 ZiB). As always, partitioning should be done prior to starting the 'setup' script, however you must use a GPT aware partitioning tool, e.g. gdisk, cgdisk or p… , , , , , , , ,
Building a Linux Kernel from Source Building a Linux Kernel from Source This is how I build my 2.6 kernels. It will apply almost completely to the 3.x kernels in Slackware 14 and onwards. X and su I run the commands from an X terminal, and at some point start the X based kernel configurator. I run my desktop as , , ,
Linux kernel options for UEFI and ELILO Linux kernel options for UEFI and ELILO The purpose of this article is to inform the user about necessary kernel options for booting from UEFI, and some info about how ELILO and perhaps other EFI bootloaders work, as this is currently difficult to find and understand online. ,
Querying Installed Packages Querying Installed Packages Sometimes you might want to check whether a particular package is installed or which version of a package is installed on your system. If the package is part of the Slackware installation you could use the slackpkg tool: , , , ,
Setting up a Recovery Boot Option Setting up a Recovery Boot Option Overview and Purpose Currently most Linux based distributions install a recovery/safe option and a memory test option in the default bootloader. While Slackware does not install such options by default, they can be easily added to any system. , , , , , ,
Set up Grub as boot loader on UEFI hardware Set up Grub as boot loader on UEFI hardware Installation and running of Slackware on computers that use Unified Extensible Firmware Interface (UEFI) rather than traditional BIOS poses problems. It may be impossible to boot the official install media via UEFI directly and the installation discs do not include a UEFI bootloader. , , ,
Set up SYSLINUX as boot loader on UEFI based hardware Set up SYSLINUX as boot loader on UEFI based hardware SYSLINUX is a boot loader that loads Linux (among other things) from FAT filesystem. The Syslinux Project, of which SYSLINUX the boot loader is a part, contains also ISOLINUX, EXTLINUX and PXELINUX, basically its variants to boot from optical media, ext2/3/4, Btrfs, XFS, UFS/FFS and NTFS or from network. , ,
Install Slackware on a VPS based on Proxmox VE or SolusVM Install Slackware on a VPS based on Proxmox VE or SolusVM I've been faced with the challenge to install Slackware as a VPS at a hosting provider that had Proxmox VE as virtualization platform. Proxmox VE is a complete open source virtualization management solution for servers. It is based on , , , , ,
Slackware Automation Using Ansible Slackware Automation Using Ansible Rationale, and What Is Ansible, Anyway? Like everyone else, I used to write Perl and bash scripts to automate things, but decided to learn the modern way of doing such things. I looked at Puppet initially but decided to learn Ansible instead. I wrote a simple collection of Perl scripts and Ansible playbooks to be run on a fresh Slackware install, and was told in Freenode #slackware that I ought to write something for the wiki, which brings us up to date.
Upgrading Slackware to a New Release Upgrading Slackware to a New Release Upgrade or Install from Scratch Installing Slackware fresh and from scratch is always the best method if you are running a fairly old release of Slackware and want to skip a few releases. Too many intrusive changes to the distro will have occurred if your Slackware is relatively old. It will make a manual upgrade process painful and will not guarantee success. , ,
UEFI dual or more boot using rEFInd UEFI dual or more boot using rEFInd Machines are now coming in with the UEFI standard. It presents some advantages like the ability to boot from disks over 2TiB and flexible pre-OS environments as drivers can be loaded in the UEFI firmware. But Linux users found that, suddenly, it was more difficult to multi-boot as we used to do in the past. However, Linux users have a variety of resources and we found a way to work with the new standard. It is not as straightforward as in the past, but it is … , , , , ,


In Other Languages
Translations of this page?:
QR Code
QR Code howtos:slackware_admin:start (generated for current page)