I'm big fan of Slackware Linux, I have used it since the 9.0 version, and I am very happy with this distribution, in the beginning was challenging to setup mostly because I was a newbie, today I am installing and reviewing the recently released version 12 in my toshiba l35-sp1011
- Celeron M 1.6Ghz 1Mb cache L2
- 1.5 Gb DDR2 Ram
- 40GB 5400rpm sata HDD
- ATI mobility radeon X300, 128 Mb Ram (shared)
- ATI chipset
this release of slackware comes with many changes, from the release announcement:
- Kernel 2.6.21!!!
- XFCE 4.4.1 for the lovers of this lightweight desktop
- KDE 3.5.7 latest release of the beautiful and customizable K Desktop Environment
- hit 1 after the kernel messages end to select your keyboard layout, default is qwerty us.map (English US) or hit enter if you don't want to change it.
- login as root, there is no password
- Setup your hard disk partition layout with fdisk or the more easier cfdisk
- type setup to start the setup program
- in the installation program you can change the keyboard layout again
- addswap: this step set up your swap partition so it can be used if you don't have enough ram
- target: configure your / partition, the installer is going to ask you if you want to format the partition, or keep the existing filesystem, if you want to format the partition you can use ext2, ext3, reiserfs, jfs and xfs for the root partition.
- after this if you have fat or ntfs partition is going to ask you if you want to mount then in the file system, I have a document partition in ntfs, so I am select it and define a mount point for the partition.
- after this the installer let you choose the medium for the installation, you can use a DVD or cd for the installation, mount an existing partition that contains the files for the installation, install from a premounted partition or from a nfs directory, I select the first one, install from a cd or dvd.
- next step is to let the program search automatically for the cdrom or set it yourself, I chose automatically.
- After the program detects the cdrom it show you a list of categories of software, you can choose here what groups of software you want to install, you can chose here to install everything or only some groups
- next step is to sellect the method of installation, you can select to install everything from the categories you selected, select the programs from every categorie (menu or expert) or newbie, I select the expert and select my own selection of software, you can select the full as this is going to give you a fully functional system and surely not problematic, its the best option.
You can also choose to use a custom tagfile for a personalized installation, look for the section custom installation in this page.
after this you must wait to the programs to install, the process is very very fast, my installation was 2.1GB and was pretty fast.
Some observations are that now in the cd the categories for setup a develop machine or a server, there are no desktops in this cd, this make it a perfect option for setup a server if you need to.
in the cd 2 comes the X server, kde, xfce and the X programs, and the internalization packages for kde.
cd 3 is the extras and source for the extras cd, if you download the dvd version then all this is going to come in the dvd plus the sources for all the program
in the A series you now select if you want to install the hugesmp, huge non smp or generic kernel, this is a change, in previous releases you selected this after the installation of the packages end.
- when the installation of the packages end, the setup is going to ask you to make a USB boot disk (a change, before was a floppy setup), I choose to skip the creation of the usb disk.
- Modem configuration, I skipped this one
- Installation of LILO, I choose simple, have always worked
- Selection of the resolution for LILO configuration, the default one is 1024x768x256
- Optional LILO append parameters for the kernel: blank
- LILO Destination: you can choose between Root, Floppy and MBR: MBR has worked for me always.
- Setup ask you to configure the network, choose Yes to configure
- Hostname: enter the name of your machine
- Domain: domain for the machine
- IP Address setup, you can choose between static ip, DHCP and loopback, I choose DHCP, my internet router give the IP address in my network
- DHCP hostname: in some cases you need to provide this.
- Services to Run: select the services that you want to start when the machine boot.
- Console font configuration: skipped
- Configure hardware clock: choose if the hardware clock is set to local time or UTC, in my case the machine is dual booted with M$ XP so I choose local time
- TimeZone Configuration: select your country
- Select default window manager for X: KDE!!!
- Set root password: you can skip this step if you dont want password for your root account, I choose to put one.
- Setup Complete: you can press ctrl+alt+delete to restart to your fresh new shiny and beautifully simple Slackware12!!! :P :D :) ;)
after the reboot you are welcomed to your new and shiny new Slackware 12 (oh yeah!!!!) linux, I login as root to make some changes to my system:
- change the default runlevel to 4, so when my machine start you are welcomed by the kdm instead of the console, if you want to keep the console at the start, you can start the x environment anytime by writing
to do this you need to edit the file /etc/inittab, to do this use the command
you need to edit the line that says
- add a new system user to use as everyday account
#useradd -g users -G audio,video,cdrom -d /home/usuario/ -s /bin/bash -m usuario
- add a password for my user
- add usuario to the sudoers file so I can make super user actions using sudo, this is done by editing the file /etc/sudoers with the command
in the file I add the line
usuario ALL=(ALL) NOPASSWD: ALL
this allow me to make changes without having to provide my password.
- you can choose some global personalizations, to make them edit the file /etc/profile, in my case I like colors for ls, and see hidden archives with l
add to the end of the file
alias ls="ls -sh --color=always" alias l="ls -shal --color=always"
if you want to add personalization only to your account, add them to ~/.bashrc instead.
to edit X11 configuration i edit the file /etc/X11/xorg.conf with the command
the changes are:
- change the layout of my keyboard to spanish, to do this I add the line
Option "XkbLayout" "es"
- I'm using a ATI graphics card so I change the driver to radeon instead of defaults vesa.
to do this find the section "Device" and and change the driver.
Section "Device" Identifier "VESA Framebuffer" Driver "ati" #VideoRam 4096 # Insert Clocks lines here if appropriate EndSection
- Enable 1280x800 resolution of my laptop: to do this you need to add the line
Modeline "1280x800@75" 83.91 1280 1312 1624 1656 800 816 824 841
to the section "Monitor" and change to multisync by commenting a line and commenting off another, have to look like this
# HorizSync 31.5 - 50.0 HorizSync 30-64 # multisync
after this change the resolution in the file /etc/X11/xorg.conf, find the section "Screen", in the subsection "Display" change so it looks like:
Modes "1280x1024" "1024x768" "800x600" "640x480"
ATI Graphics Driver
OFFICIAL ATI SUPPORT IN LINUX SUCKS!!!
The official driver complaints about the X release and die.
Slackware come with so many packages, And now that X is modular there is a Gazzillion of packages, and I have to machines, so select the packages for both machines is a slow process, so I have decided to create my own personalized installation dvd.
In my case I started by copying the content of the 2 cds isos of slackware and store the result in another directory that I am going to use to create the personalized iso
$mkdir slackD1 $mkdir slackD2 $mkdir mySlack $sudo mount -o loop slack12Disc1.iso slackD1 $sudo mount -o loop slack12Disc2.iso slackD2 $cd myslack $cp ../slackD1/* . -r $cp ../slackD2/* . -r
for the installation process in slackware, the installer seeks in the series directory for a file called tagfile, this is the file that the installer read to know which packages install by default, and wich ones ask for installation in newbie mode and menu.
you can make your custom tagfile and add a 3 letters MS-DOS extension, so you can select a custom tagfile installation just by supplying the extension.
what I am gonna do is change the tagfile changing the packages that I don't want to be installed to OPT and rebuilding the DVD iso to have a media that always install my prefered packages.
the format of the tagfile is this
cpio:ADD cryptsetup:OPT cups:REC cxxlibs:ADD
you can see that there is the name of the package followed by a colon and a description for obligatory (ADD), optional (OPT), and recommended (REC).
I know most of the packages, so it can be quick the process, but in slackare 12 there are so many new packages, if you don't know what is some package for you can read the description in the directory, for example if we want to know what the package cpio-2.5-i486-3.tgz does we can read cpio-2.5-i486-3.txt, it says:
cpio: cpio (backup and archiving utility) cpio: cpio: This is GNU cpio, a program to manage archives of files. This package cpio: also includes mt, a tape drive control program. cpio copies files into cpio: or out of a cpio or tar archive, which is a file that contains other cpio: files plus information about them, such as their pathname, owner, cpio: timestamps, and access permissions. The archive can be another file on cpio: the disk, a magnetic tape, or a pipe.
if you want to see all the descriptions use the command
$for name in *.txt; do less $name; done
after change the file to eliminate the packages that you don't want (4 hours later, X series is soooo Large!!!), go to directory that have the content of the Slackware cds and make a iso image with the command
mkisofs -o ../slackware-dvd.iso \ -R -J -A "Slackware Install" \ -hide-rr-moved \ -v -d -N \ -no-emul-boot -boot-load-size 32 -boot-info-table \ -sort isolinux/iso.sort \ -b isolinux/isolinux.bin \ -c isolinux/isolinux.boot \ -V "SlackDVD" .
then burn with your favorite software, in my case k3b, you can also use nero on windows.
To use your custom tagfiles, when setup ask you for a method of installation, select the option custom tag.
My Laptop is equiped with an Atheros AR5005G 802.11abg NIC (rev 01), to install the support download the driver from atheros, in my case the driver is called madwifi-0.9.3.1.tar.bz2, the steps to set up the driver are:
- extract the driver
$tar -jxf madwifi-0.9.3.1.tar.bz2
- enter the directory of the driver
- make the kernel modules
- install the kernel modules
$sudo make install
- insert the kernel module
$sudo /sbin/modprobe ath-pci
- configure your wireless with kwifimanager :D
Virtualization is one of those "must have" program, it enables you to to run another OS inside it, it also let you work with multi tier applications, try new software, etc.
To install VMWare on Slackware 12 get the latest version from vmware.com, Version 6 installation is similar to the installation of version 5.5, the steps for the installation are:
- get the installer from vmware (the tar.gz version)
- unpack the package
$tar -zxf VMware-whateverVersion-whateverRelease.tar.gz
- enter the directory of the unpacked vmware
- you will need to patch version 5.x to function properly, to do it get the patch from http://ftp.cvut.cz/vmware
- $wget http://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz
- unpack it on the vmware directory:
- $ tar -zxf vmware-any-any-update109.tar.gz
- enter the directory of the unpacked patch
- run the installer as root
this is going to patch and then install vmware
- end, you dont need to follow next steps
- run the installer as root
- the installer is going to ask a lot of questions, just press enter and say yes to everything jajaja
$sudo /etc/init.d/vmware start
and the obligatory screenshot (linux mint bea running in vmware over slackware 12 of course).
Damn M$ and its formats!.
Open office is the most capable office suit over linux, and its free.
Slackware Doesn't come with it but install it its a breeze
- get the rpm from openoffice.org
- unpack it
$tar -zxf OOo_2.2.0_LinuxIntel_install_en-US.tar.gz
- Enter the open office unpack directory
- install it as root:
$rpm -i --nodeps --force *.rpm
- make it a symbolic link to /usr/bin
$sudo ln -s /opt/Openoffice.org2.2/program/soffice .
- run it!
I have a dual boot configuration, and have a "Backup unit" in ntfs, because of the limitations of fat32.
To use ntfs-3g on Slackware we will need to install fuse first, to do download the latest version from fuse.sourceforge.net
- get the latest version of fuse from fuse.sourceforge.net
- unpack it
$tar -zxf fuse-2.7.0.tar.gz
- enter the directory
- compile and install it
$sudo make install
- get the latest version of ntfs-3g from ntfs-3g.org
- unpack it
$tar -zxf ntfs-3g-1.616.tgz
- enter the directory
- compile and install it
$sudo make install
- next is to change the /etc/fstab to indicate what partition you want to load with ntfs-3g
$sudo nano /etc/fstab
for example the entry would look like this
/dev/sda2 /mnt/docs ntfs-3g defaylts 1 0
none of this is because of slackware of course ;)
- X11 is so modular that you may forgot some package and the desktop manager is not going to start, make sure you have installed the package
- Use the last version of madwifi, previous versions may not compile
- Use only the latest versions of anything you want to install, Slackware is just so new!!!
- tnx to raskolnikov for the commentary on groups of my user