Post-install Guide |
![]() |
![]() |
Written by Administrator |
Sunday, 10 February 2008 14:39 |
These are the useful things I usually do (or part of) after a full Slackware install in order to give Slackware a individual flavor ;-) Remove unused packagesIf you have done a full install, you may want to remove some packages, depending on what you plan to do with your box. You can do this with the "pkgtool" command. You can also have a look at /var/log/packages and remove unwanted packages with "removepkg". Packages I always remove after a full install is the KDE language blast from the KDEI series. ScriptsIf you ever want to rerun setup to change settings you made during initial setup, just call "pkgtool" If you want enable or disable scripts, do this in /etc/rc.d. To have a service executed a start time set mode 755. To disable it just remove the x-flag (mode 644) Speed up bootingTwo things extremely slow down boot sequence in Slackware:
ldconfig only needs to be run after installing a new library, fc-cache after installing new fonts. Disable them (comment out) in /etc/rc.d/rc.M:
#if [ -x /sbin/ldconfig ]; then
#if [ -x /usr/bin/fc-cache ]; then
Framebuffer with a nifty penguinI like to have framebuffer support during boot with a nifty penguin.
Framebuffer support has to be enabled in the kernel:
make menuconfig
>> Device Drivers >> Graphics support >> Console display driver support >> Bootup logo
You need to seta proper VESA mode in your boot loader. Which one you need really depends on the type of VESA 2.0 compliant graphic card that you have in your system, and the amount of video memory available. I use the "0x307" mode. Adjust your /boot/grub/menu.ls or /etc/lilo.conf file for this:
title Linux 2.6.23.16 with FB 1280x1024 (0x307)
The following table shows the mode numbers:
Address your CD / DVD burner with ide-cdIf you still use "SCSI emulation support" in the kernel + the ide-scsi option, there is a much better way! Ide-scsi is no longer needed for cd writing applications! The 2.6 kernel supports direct writing to ide-cd, which eliminates the need for ide-scsi + the entire scsi stack just for writing a cd. The new method is more efficient in every way. Just apply:
dev=/dev/hdx=ide-cd
in your boot loader config file. Replace the "x" with whatever is appropriate for your drive. Adjust rights of user accountsTo make things easier, you might want to add your user account(s) to some groups:
Be cautious! As a rule of thumb, only apply rights to your user account(s) on a "need to have" principle. Setup BashRCThe two concerning files are:
Due to this, it will not work when you put user-specific startup commands in ~/.bashrc. To have this work, edit ~/.bash_profile and add the following at the top:
if [ -f ~/.bashrc ]; then
Utilize aliasesDefining an alias is a excellent way to minimize your work at the keyboard, and you can also eliminate the need to remember long, awkward commands by creating synonyms that are more meaningful to you. You can define global aliases in /etc/profile or your specific aliases in ~/.bashrc. Here are some examples:
alias tmess="tail -n 300 /var/log/messages | more"
Customize the kernelsee related article in the "Slackware Linux" section. (Unicode UTF-8 support)see related article in the "Slackware Linux" section. Setup XYou can use two commands to setup X:
Some graphic cards require vendor drivers in order to support high resolution or 3D features. If so visit your vendors website. Install VMwaresee related article in the "Slackware Linux" section. Setup sudosee related article in the "Slackware Linux" section. Change the boot loadersee related article in the "Slackware Linux" section. Install WebminWebmin is a web-based interface for system administration for Unix. Get it from www.webmin.com. Extract it and run the "setup.pl" script. Webmin uses port 10000 by default. If you want to use SSL, let webmin create a certificate for you. Webmin displays the access link at the end of setup, e.g.: http://localhost:10000 https://localhost:10000 Setup NTPThere is quite a bunch of reasons to have accurate time. Since Slackware 12 this is a easy task:
change /etc/rc.d
Adjust your ntp.conf in /etc. You must at least define a time source. There is a ntp.conf exampe in /etc, but I prefer to use a plain one. The server below is the time source of the University of Zurich. Have a look on the Internet for a list of time sources. ntp.conf:
server 129.132.2.21
Before Slackware 12 there was no startup script for ntpd. So I put the ntpd start sequence in /etc/rc.d/rc.local:
# Start NTP daemon
The ntp.conf file was no different. Setup BackupPCsee related article in the "Slackware Linux" section. Setup FWBuildersee related article in the "Slackware Linux" section. Sound setupFirst, make the alsa start script executable, if not already so.
change /etc/rc.d
Run "alsaconf"
alsaconf
In the next screen (not shown here), alsconfig identifies your sound card. I prefer to say no here. Just make sure that your kernel has module support for the identified sound card. If so the kernel will load the proper module for your sound card and you don't need modprobe settings. Next, run "alsamixer"
alsamixer
Exit alsamixer and save settings
alsactl store
Install codecsTo have support for the various formats, you should consider to install a codec pack.
(Enable OpenGL)You have to edit the file /etc/X11/xorg.conf. For your own safety make a copy of it first. Look for the settings below and uncomment them to activate. If they don't exist, you have to add them manually.
# Loads the GLX module
If you want MS Vista transparency windows, go to end and add:
Section "Extensions"
The KDE and Xfce versions that come with Slackware 12 are ready for the transpareny feature. Nevertheless, be aware that you should own a powerful graphic card. Be also aware that some graphic chips (e.g. Nvidia) will require further configuration. Refer the vendors website. Finally, as soon as you are in X, check for direct rendering support:
glxinfo | grep direct
It should say: "direct rendering: yes" |
Last Updated on Sunday, 10 June 2012 12:05 |
0 Comments