|
Linux Training 1825 Monetary Lane Suite #104 Carrollton, TX Do a presentation at NTLUG. What is the Linux Installation Project? Real companies using Linux! Not just for business anymore. Providing ready to run platforms on Linux |
Created by Terry Henderson on February 05, 2013, at 07:44 PM Suggested post-install procedures: The first thing I do is check the time and date to make sure it is correct, if not I correct it with command Next, I switch to the generic kernel, (which is already installed since version 14.0), so all we need to do is to create /boot/initrd.gz, list it in the linux stanza of /etc/lilo.conf, and change the symlinks for System.map, config and vmlinuz, and run lilo. Example: Build an initrd image using Linux 3.2.29-smp kernel modules for a system with an ext3 root partition on /dev/sda2: mkinitrd -c -k 3.2.29-smp -m ext4 Now we change the symlinks: cd /boot Next we need to add the line to the /etc/lilo.conf file. # Linux bootable partition config begins While I'm at it, I shorten the timeout to 2 seconds (default is 2 minutes). (This is the timeout before the first entry boots.) (Default is: timeout = 1200) Run lilo to write the bootloader with changes to MBR: lilo If you get errors in the output, go over what you've done and figure out what you didn't do, or where you went wrong. After a reboot we should be running the generic kernel. Here's what it will look like after successful reboot: # uname -a The next two projects are setting up slackpkg and sbopkg: slackpkg install <package-name-here> To remove a package: slackpkg remove <package-name> You can also search for keword slackpkg search <key-word> But the most useful task is keeping your install up-to-date: slackpkg update;slackpkg upgrade-all
BTW; There are two mail lists of interest to Slackware users: slackware-announce and slackware-security The slackware-announce mailing list is for announcements of new versions, major updates and other general information. It is a low traffic, moderated list. The slackware-security mailing list is for announcements relating to security issues. Any exploits or other vulnerabilities pertaining to Slackware will get posted to this list. 2) sbopkg you have to download and install. It is a command-line and dialog-based tool to interact with the SlackBuilds.org (`SBo'') repository, a collection of third-party Slack-Build scripts to build Slackware packages. See: http://www.sbopkg.org/ sbopkg is used to install and maintain packages outside the slackware package tree, (ones listed on slackbuilds.org - LOTS...) When you run it first it will ask to create a couple of working directories and files, once you agree to that and hit enter, you'll need to let it "sync" so that it can synchronize with the SBo repository. "The main menu allows the user to view the SBo ChangeLog, check for potential updates to SBo packages, display the contents of the local cache directory where source tarballs are saved, display the permanent build log, and browse or search the local copy of the SBo repository. Once the browse function is chosen, the user can select the category of software to view. After choosing a category, the user can then view the various software packages available in that category within the local SBo repository. Selecting a package will display another menu allowing the user to view the package's README, SlackBuild, .info, or slack-desc files. The user can also edit the .info file and SlackBuild and the edited files will remain after doing a sync. Additionally, the user can choose to build a package using either the original SlackBuild or the locally-edited one, if present. If using the dialog interface, and if sbopkg finds a built package for a particular piece of software in the OUTPUT directory, then sbopkg will automatically add a new menu entry allowing the user to install the package if he chooses. Alternatively, the user can choose to automatically download, build, or install individual packages or several packages in a queue. Finally, if KEEPLOG is set to YES in a configuration file, a permanent log of the build process is saved. See sbopkg.conf(5) under KEEPLOG and LOGFILE for details." You can run sbopkg with no arguments and use the menu options or just use a command-line argument to install a package. For instance, to install OpenOffice, issue command: sbopkg -i openoffice.org It also has a search option. For instance sbopkg -s *office* Searching for *office* 1) libraries/goffice 5) office/libreoffice 2) office/broffice.org 6) office/libreoffice-langpack 3) office/go_openoffice 7) office/openoffice.org 4) office/kbgoffice 8) Quit The first thing I use sbopkg for is to install xfce4-datetime-plugin. I rarely remember the exact name of a particular package and that's where the search function is particularly useful: sbopkg -s *date* I install xfce4-datetime-plugin and replace the default one with it which is a bit more feature rich. It has a drop-down calendar that is very handy. The problem with httpd not running cgi scripts was that I needed to uncomment the line in /etc/httpd/httpd.conf I tried lxde and it seems pretty nice on Slackware 14.0 so, here's the list that I installed, you should be able to do it via sbopkg with one single (long) command: Note: After installing LXDE, I got xfce error: "GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists ..." which is Bug 657006 For those who have settled in on xfce4 and continue to run it from runlevel 3, you might like to shorten the command startxfce4 to something a little shorter: ln -s /usr/bin/startxfce4 /usr/bin/gui But beware that NetworkManager will only run from runlevel 4 (by default - there may be a workaround but I don't know it). |