SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Here's the table of contents from my own computer's Slackware64 log, beginning after the base installation, with some of the detail, all of the very specific and all of the issues removed.
Wow, this turned into a really great thread with lots of usefull info! I also add compact to /etc/lilo.conf to skip the bios data check when booting as well as making linux the default and not win7 (for the games only I promise )
I forgot too add that I usually install a couple extra things,
sbopkg - makes handling slackbuilds very simple
src2pkg - for anything I cant find build scripts for
gtk-chtheme - to make firefox and others look halfway normal
Install droid fonts using sbopkg
Install Terminus font using sbopkg and setup terminals to use it.
I always set console font to terminus http://www.vcn.bc.ca/~dugan/slackware-fonts/
I also add all the multimedia stuff mentioned earlier.
Install Opera browser.
If you want/need a firewall use either alienbobs (link mentioned earlier) or use slackfire http://slackfire.berlios.de/
I use fluxbox so I edit the .fluxbox/menu to reflect the applications I have installed.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Over the years I've learned to partition my drives in a (my) standard way:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 6.5G 7.5G 47% / all distribution software
/dev/sda3 19G 2.6G 15G 15% /home user stuff
/dev/sda5 19G 2.1G 16G 12% /usr/local patches, add-on source, SlackBuilds add-ons
/dev/sda6 19G 998M 17G 6% /opt OpenOffice, VirtualBox, GMT, other packages
/dev/sda7 19G 272M 18G 2% /var/lib/mysql MySQL data bases
/dev/sda8 92G 33G 55G 38% /var/lib/virtual VirtualBox machines
/dev/sda9 92G 15G 73G 17% /spares Stuff; photos, movies, music, unclassifiable
/dev/sda10 173G 220M 164G 1% /var/lib/psql PostgreSQL data bases (about the get huge)
When I install a new Slackware release, I simply do not format any partition except the root partition (that cleans out old distribution software but leaves everything else in place).
I have a rule that I try to not mess with things in /etc unless absolutely no other way to do what I need. Before I do an installation, I copy the entire /etc tree to /spares/etc (because /etc is going to get wiped out). I also make a backup copy of /var/www so I can copy back my web stuff. Then, after the new release boots, I log in as root and copy stuff back:
Code:
cp /spares/etc/passwd /etc
cp /spares/etc/shadow /etc
cp /spares/etc/group /etc
cp /spares/etc/ntp.conf /etc
cp /spares/etc/fonts/local.conf /etc/fonts I have the Adobe Type Library and others
in /usr/local/share/fonts
cp /spares/etc/rc.d/rc.local* /etc/rc.d That's rc.local and rc.local_shtdown
cp /spares/etc/rc.ntpd /etc/rc.d There's a logging option in the NTPD launch I like
And, because I do not use BASH and I do a lot of geographic mapping stuff (the data are kept in /spare -- huge files and lots of 'em, think global maps with all the place names and the like plus terrain), I set up system-wide KornShell with
Just for grins, /etc/profile.d/ksh.sh look like this:
Code:
#!/bin/sh
#ident "$Id$"
#
# Name: $Source$
# Version: $Revision$
# Modified: $Date$
# Purpose: set local environment variables for Korn Shell
# Author: T. N. Ronayne
# Date: 1 Oct 2009
# $Log$
# Set the HOST environment variable
export HOST="`uname -n`"
# Set ksh93 visual editing mode:
if [ "$SHELL" = "/bin/ksh" ]; then
# VISUAL=emacs # ugh
# VISUAL=gmacs # double ugh
VISUAL=vi # ah, elegence
fi
# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
# Do these anyway in case sombody uses a different shell
if [ "$SHELL" = "/bin/pdksh" ]; then
PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
PS1='${HOST}-${USER}-${PWD}: '
elif [ "$SHELL" = "/bin/zsh" ]; then
PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
PS1='$ '
else
PS1='\u@\h:\w\$ '
fi
PS2='> '
export PS1 PS2
That'll adapt to most any shell.
I get any patches that may exist from Oregon Statue University Open Source Lab (a Slackware mirror) with
Code:
cd /usr/local/patches
rm *
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-13.37/patches/packages/*
upgradepkg *.t?z
Reboot, log in as root, start KDE (and fiddle with it to get it the way I like it), open a terminal and, because I have H-P printers and plotter (maps, you know), I execute
Code:
hp-setup
and get those set up for CUPS (one network printer, one USB printer/scanner/copier, one network plotter).
Then I reinstall OpenOffice.org (and, yeah, yeah, I'll switch to LibreOffice.org soon), reinstall VirtualBox, and that's pretty much that.
I have three servers, all configured the same, average time from DVD to running system is about 30 minutes each (including a coffee and cigarette break).
Afterwards I will check SlackBuilds.org for changes and updates and rebuild packages I've added, particularly if the C libraries have changed -- usually, things "just work," but not always so that's an additional step.
As others suggest, SlackBuild.org (a must-have), SBopkg and src2pkg are wanna-haves.
Hope this helps some.
Last edited by tronayne; 05-26-2011 at 10:32 AM.
Reason: Forgot /etc/group
After full installation of 64 bit version for my desktop system:
1. cd /etc/slackpkg; modify mirrors file, slackpkg updates, slackpkg install-new, slackpkg upgrade-all, slackpkg clean-system
2. run alsaconf; alsamixer, alsactl store; make soundcard settings up
3. run xorgsetup, change nv driver into nouveau driver. (nv driver conflicts with xorgsetup)(x still run without running xorgsetup, but I need some custom setups)
4. modify /etc/rc.d/modules.conf enable power saving, set CPUFREQ=on;
5. uninstall Java jre packages, download official Java SE JDK, installed in /usr/lib64/java, link firefox plugins
6. download flash player 64 bit version beta, link up firefox plugins
7. after realizing I can't use Acrobat reader, starting modify xpdf, setup personal $HOME/.xpdfrc file
If you use KDE, and use KDE HelpCenter, you must build the help indexes. If you look at the Details of the help index build you'll see a lot of errors. From another post here I found a fix that will build the indexes (more) correctly.
Open /usr/share/apps/ksgmltools2/customization/htdig_index.xsl and look for this line:
rebuild the help indexes, watching Details, and you won't see the errors. The Help search pane will still show the broken-looking graphic links, but the text link will appear.
The following quote is from a guy who had already modified webcollage and vidwhacker to add .jpg (IIRC) extensions to a line or two:
So I ran into the same issue with vidwhacker which uses some of the same functions to generate images as webcollage but it turns out the culprit is actually the shared-mime-info package: http://bugs.gentoo.org/show_bug.cgi?id=261332
It seems that as of 0.51 someone added
Code:
<match value="#" type="string" offset="3"/>
to each image/x-portable-* entry in the file freedesktop.org.xml found in (/usr/share/mime/packages).
After I commented out those lines and ran
Code:
update-mime-database /usr/share/mime
and then reverted the changes previously made to webcollage and vidwhacker they both generate images without errors.
Hope that helps somebody.
I haven't tried this next for 13.37 yet, but here's some notes to get KMouth/Accessibility to speak/read text (I usually tried it with a web page) from KDE. First I install espeak. IIRC I tried flite and espeak at the same time and liked espeak better. Because the text is getting piped into espeak some characters cause problems. That's the reason for the --punct option. These are my raw notes, sorry.
1) uncomment a mirror in /etc/slackpkg/mirrors and update the system with slackpkg
2) switch to the generic kernel and update lilo
3) install sbopkg, download build queues from http://gitorious.org/sbopkg-slackware-queues and put them in /var/lib/sbopkg/queues
4) install src2pkg
Hey, thanks for that -- I'd kind of given up on xpdf (mainly because I didn't want to spend the time trying to figure out the above) in favor of okular (just because it was easier, not because it's anywhere near Adobe Reader). That make xpdf actually usable, nice.
I forgot to mention that before I ever start X that I remove that akonadi thing (whatever the heck it's supposed to do) then disable the pop-up that KDE throws up on first start. Makes me wonder why folks can't just leave well enough alone when something like that comes along.
While working around with official Nvidia driver, the latest 96.43.19 for legacy device, blacklisted nouveau modules, and after successful installed this driver, I have this nasty problem: Failed to allocate/map the primary surface! right after GART in Xorg.0.log file.
To work around this problem, add: Option "AddARGBGLXVisuals" "True" in xorg.conf and append="nopat" in /etc/lilo.conf. This driver still have conflicts with frame-buffered consoles, this old fix still works.
Blacklist IPV6 as well, not need it yet.
Last edited by number22; 05-28-2011 at 12:32 AM.
Reason: spelling, disable IPV6.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.