LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2011, 07:53 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Things to do after installing?


hi guys, i'm soon to install slack as my primary os. I'm new to Slack and have really only done a test install on a virtual machine, but it went smoothly, and seemed all good. I heard from somewhere that Slackware doesn't come with a firewall. My question is what things do you recommend be done after installing slackware.
 
Old 05-24-2011, 07:58 PM   #2
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
personally I always start by setting up slackware for multilib (only needed if using slackware64 of course), installing media codices, and installing the nvidia proprietary driver. I highly recommend using sbopkg. Its an excellent tool for setting up your initial install, since there's lots and lots of programs you'll probably want and there's a lot of dependencies you'll have to install at first. Takes a while to do it by hand.
 
Old 05-24-2011, 08:17 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Knightron View Post
hi guys, i'm soon to install slack as my primary os. I'm new to Slack and have really only done a test install on a virtual machine, but it went smoothly, and seemed all good. I heard from somewhere that Slackware doesn't come with a firewall. My question is what things do you recommend be done after installing slackware.
One of our Slackware developers, alienBOB, has a good firewall script you can use for your slackware box. It works very well, I use it myself.

http://connie.slackware.com/~alien/efg/

For other applications you may wish to check out the build scripts located at http://www.slackbuilds.org/.

Another Slackware developer: rworkman's site http://rlworkman.net/pkgs/.

alienBOB's site: http://connie.slackware.com/~alien/
 
1 members found this post helpful.
Old 05-24-2011, 09:01 PM   #4
bosth
Member
 
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
Select a slackpkg mirror (in /etc/slackpkg/mirrors) and update/upgrade by running
Code:
# slackpkg updade
# slackpkg upgrade-all
 
Old 05-24-2011, 09:13 PM   #5
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
One thing I always do is switch to the vmlinuz-generic(-smp) kernel in /etc/lilo.conf and build an initrd (see /boot/README.initrd for details).

The "huge" kernel used by default is only meant for installing and not recommended for everyday use. It has a lot of drivers you don't need built-in and uses more RAM than the "generic" kernels.

Another thing most desktop users probably do is change the default runlevel to "4" in /etc/inittab so that X starts automatically.

Also recommended is to create a normal non-root user (you can use the 'adduser' script)

Last edited by piratesmack; 05-24-2011 at 09:19 PM.
 
Old 05-24-2011, 09:17 PM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by bosth View Post
Select a slackpkg mirror (in /etc/slackpkg/mirrors) and update/upgrade by running
Code:
# slackpkg updade
# slackpkg upgrade-all
On rare occasions Slackware does add new applications to the stable branch so I usually update my boxen with:

# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
 
Old 05-24-2011, 09:19 PM   #7
chenderson
LQ Newbie
 
Registered: Apr 2008
Location: TX
Distribution: Slackware
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by piratesmack View Post
One thing I always do is switch to vmlinuz-generic(-smp) in /etc/lilo.conf and build an initrd (see /boot/README.initrd for details).

The "huge" kernel used by default is only meant for installing and not recommended for everyday use. It has a lot of drivers you don't need built-in and uses more RAM than the "generic" kernels.
I did not realize that... will this effect the nvidia driver?
 
Old 05-24-2011, 10:34 PM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
omg, geez i can't believe how many responses i got in two hours. Thanks heaps for the support guys. love the tips. Love to see more if anyone has them :-)
 
Old 05-24-2011, 11:02 PM   #9
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
Things to do after installing... That depends heavily on how the box is going to be used. Firewall, IMHO, is not needed for a desktop. If all you got for services is sshd, then what do you need a firewall for? I personally run sshd, CUPS for local network, and an (obscure) Apache with PHP, and I still don't see a reason to have a firewall. But security is truly a jungle, so take my advice with a pound of salt.

If you are looking to juice up your installation with more software, SlackBuilds is the bomb. I used to build things from official sources and had good time doing that, but I just don't anymore. 99 times out of 100, I simply cannot do any better than an existing SlackBuild, and when there isn't a build already, writing one and sharing it with the world feels great. Alien Bob's binary builds also come in handy every now and then.

Edit: You may also want to subscribe to the official Slackware mailing lists. As far as I can tell, this is the kosher way to keep up with the security advisories for the entire distribution. Of course, there are ways to automate this process, but I never explored them.

As others mentioned, you may want to replace the kernel. Pat's "generic" kernel is the safe choice, but rolling your own has never been easier. I git the stable branch from kernel.org as soon as I have time to reboot my desktop, and I never had an issue with it.

Last edited by qweasd; 05-24-2011 at 11:27 PM.
 
Old 05-24-2011, 11:30 PM   #10
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
I have a script that installs my customizations to the files in /etc. I install new versions of Slackware often enough on multiple computers that it made sense to write a script that automates this.

I also install Glade-2 and a custom kernel that doesn't need an initrd.

And that's it! At one time, I used to install a lot more, but over the years the number of customizations needed has gone way down.
Ed
 
Old 05-24-2011, 11:50 PM   #11
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
I reinstalled a few days ago and have so far,
1) Installed NVIDIA drivers
2) Switched to generic kernel
3) Installed Openbox
4) Set up Multi-lib
5) Reinstalled all my games including crossover and Windows games
6) Marveled at the beauty of Slackware..

I forgot to set up a firewall, that'd probably be a good idea.
 
Old 05-25-2011, 12:14 AM   #12
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by chenderson View Post
I did not realize that... will this effect the nvidia driver?
Nah, it shouldn't
 
Old 05-25-2011, 12:50 AM   #13
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
The first thing you should do is add a user that is able to su to root. Use the adduser script and add that user to the group wheel.

You might also need to run alsaconf.

samac
 
Old 05-25-2011, 04:47 AM   #14
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Rep: Reputation: 45
My number one task is to set auto boot from 2 minutes to 10 seconds. Don't forget to run lilo afterwards ... I usually do.
 
Old 05-25-2011, 04:57 AM   #15
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
More about creating an initrd. There's a script:
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
Run that, as root, then run the command it gives you. Then edit /etc/lilo.conf, adding something like this:
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.37.6-smp
  initrd = /boot/initrd.gz
  root = /dev/sda2
  label = Linux_G
  read-only
# Linux bootable partition config ends
Change the partition number to suit your own. Then run:
Code:
lilo
Reboot, and hope for the best.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 04:35 AM
Installing Things Vinn3Bo1 Linux - Newbie 4 04-20-2005 12:11 AM
installing things Jeebizz Slackware 3 09-17-2004 05:33 PM
installing things... matthillis Linux - Newbie 1 11-07-2003 04:21 PM
Installing Things thebear Linux - Newbie 4 08-12-2003 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration