LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08:53 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,343
Blog Entries: 7

Rep: Reputation: 159Reputation: 159
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, 08:58 PM   #2
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
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, 09:17 PM   #3
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,243

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573
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, 10:01 PM   #4
bosth
Member
 
Registered: Apr 2011
Posts: 234

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

Rep: Reputation: 133Reputation: 133
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 10:19 PM.
 
Old 05-24-2011, 10:17 PM   #6
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,243

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573
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, 10:19 PM   #7
chenderson
LQ Newbie
 
Registered: Apr 2008
Location: TX
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
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, 11:34 PM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,343
Blog Entries: 7

Original Poster
Rep: Reputation: 159Reputation: 159
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-25-2011, 12:02 AM   #9
qweasd
Member
 
Registered: May 2010
Posts: 476

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-25-2011 at 12:27 AM.
 
Old 05-25-2011, 12:30 AM   #10
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: Slackware
Posts: 116

Rep: Reputation: 22
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-25-2011, 12:50 AM   #11
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
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, 01:14 AM   #12
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
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, 01:50 AM   #13
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
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, 05:47 AM   #14
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 147

Rep: Reputation: 26
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, 05:57 AM   #15
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,081
Blog Entries: 52

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:35 AM
Installing Things Vinn3Bo1 Linux - Newbie 4 04-20-2005 01:11 AM
installing things Jeebizz Slackware 3 09-17-2004 06:33 PM
installing things... matthillis Linux - Newbie 1 11-07-2003 05:21 PM
Installing Things thebear Linux - Newbie 4 08-12-2003 11:42 PM


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration