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 06-24-2017, 11:06 AM   #1
vencent
LQ Newbie
 
Registered: Jun 2017
Posts: 21

Rep: Reputation: Disabled
Smile After installation, so what to do about system configuration. any good practice?


So, after your installation, what did you do next? share your good practices!
1. System configuration
eg, there are many service, which would you reserve. After all, there are some we do not need. The default installation, there are so many services, demons, and which we can stop.
Like akonadi, mysqld, there are so many process. it's a waste of system resource.
2. Software installation
eg, what is your good practices for install software,like which dir you choose for you installation(/opt ?)
 
Old 06-24-2017, 11:12 AM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
As root you can run pkgtool to turn off and on daemons.

If you are not running KDE then you don't have to wory about akonadi. If you are running KDE and don't want your system indexed you can turn that off in the KDE system setting. Personally, when running KDE I turn off indexing and uninstall akonadi using removepkg.

I've have yet to see a package that didn't install to its default location. Very few use /opt.

Last edited by cwizardone; 06-24-2017 at 11:17 AM.
 
Old 06-24-2017, 12:38 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I would set-up a firewall.
 
1 members found this post helpful.
Old 06-24-2017, 12:56 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
1. It all depends what you are doing with your machine.
2. Only use the Slackware package tools shipped with it.
 
1 members found this post helpful.
Old 06-24-2017, 01:03 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I always run over to this page and go through it and do whatever I deem necessary within it, using it as a guild.
Slackware post install
https://docs.slackware.com/slackware:beginners_guide

then you can bounce over to this page and get yourself a firewall set up

Easy Firewall Generator for IPTables
"Slackware adaptation"


then after that if you want to can slide over to there and check out another install option for slackbuilds sbotools

and even go check out slackbuild.org

Last edited by BW-userx; 06-24-2017 at 01:13 PM.
 
3 members found this post helpful.
Old 06-24-2017, 02:39 PM   #6
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Install rkhunter and rkhunter --propupd then check before each update at least to see if anything changed usking rkhunter -c --sk. After update run rkhunter --propupd again. http://slackbuilds.org/repository/14...earch=rkhunter

I'm lazy. I use arno iptables firewall: http://slackbuilds.org/repository/14...bles-firewall/

I use defaults and make packages or slackbuilds for software.

Lynis is a good program for auditing your security: http://slackbuilds.org/repository/14.../?search=lynis

I chmod -x unwanted services in rc.d like rc.inetd. Use nmap and netstat to check for open ports.

If you use the Nvidia binary its important to keep the installer on your computer perpetually.

Use firejail with firefox: http://slackbuilds.org/repository/14.2/system/firejail/

I use a proxy and block the internet for 'users' and created another group to switch to if I want a program to have access to the internet.

Last edited by RadicalDreamer; 06-24-2017 at 02:41 PM.
 
1 members found this post helpful.
Old 06-24-2017, 06:28 PM   #7
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by vencent View Post
So, after your installation, what did you do next? share your good practices!
1. System configuration
eg, there are many service, which would you reserve. After all, there are some we do not need. The default installation, there are so many services, demons, and which we can stop.
Like akonadi, mysqld, there are so many process. it's a waste of system resource.
2. Software installation
eg, what is your good practices for install software,like which dir you choose for you installation(/opt ?)
Adduser
 
Old 06-24-2017, 09:46 PM   #8
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
I build the latest LTS release of the Linux kernel. This is not always necessary if a Slackware release has recently been shipped.

I also like to get a nice dark theme for whichever window manager or desktop environment I happen to use.

Generate a new key for ssh. I like to use a different key for each machine.

If the system will be used for gaming, I install wine and steam.

I use Firefox for browsing most of the time. I install the following add-ons: HTTPS Everywhere, NoScript, Privacy Badger, and uBlock Origin.

For easy use of Netflix I install Chromium. With similar/same add-ons as Firefox.
 
Old 06-24-2017, 10:02 PM   #9
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Since version 52, you can stream Netflix on Firefox without any add-ons. It will however, at least on this box, run the CPU about 20 to 25 degrees Fahrenheit hotter than one of the chromium clones.
 
1 members found this post helpful.
Old 06-24-2017, 10:12 PM   #10
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by cwizardone View Post
Since version 52, you can stream Netflix on Firefox without any add-ons. It will however, at least on this box, run the CPU about 20 to 25 degrees Fahrenheit hotter than one of the chromium clones.
Good to know, thanks!
 
1 members found this post helpful.
Old 06-25-2017, 01:48 AM   #11
vencent
LQ Newbie
 
Registered: Jun 2017
Posts: 21

Original Poster
Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by cwizardone View Post
As root you can run pkgtool to turn off and on daemons.

If you are not running KDE then you don't have to wory about akonadi. If you are running KDE and don't want your system indexed you can turn that off in the KDE system setting. Personally, when running KDE I turn off indexing and uninstall akonadi using removepkg.

I've have yet to see a package that didn't install to its default location. Very few use /opt.
Yeah, I use KDE and I use removepkg akonadi, but I never enter the X window again.
 
Old 06-25-2017, 01:55 AM   #12
PRNG
LQ Newbie
 
Registered: Jul 2016
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
After installation, I always do:
1) add user
2) set-up firewall
3) install sbopkg for easy installation software from SlackBuilds.org
4) recompile freetype to get nicer fonts (for more info: https://www.linuxquestions.org/quest...68/page34.html)
 
2 members found this post helpful.
Old 06-25-2017, 02:04 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I'd recommend tools like sbopkg or sbotools only to people already familiar with usage of SlackBuilds, having read http://slackbuilds.org/howto/ and the pages it links to.

To get acquainted to Slackware there's a lot of interesting reading in http://docs.slackware.com/

Last edited by Didier Spaier; 06-25-2017 at 09:03 AM. Reason: grammatical fix.
 
1 members found this post helpful.
Old 06-26-2017, 04:12 AM   #14
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Rep: Reputation: 231Reputation: 231Reputation: 231
1- adduser
2- Adding UTF8 support to lang.sh
3- Disabling CUPS and Bluetooth services and enabling Networkmanager
4- Updating slackware and my local slackbuild tree
5- Some works to make Slackware behave more friendly with my hardware ie: Configuring PRIME technology to offload nouveau, installing thermald, installing and configuring redshift to manage my display temperature according to my location.
6- Adding multilib
7- Installing infinality
8- Configuring Xfce for my needs.
9- Getting stuff from Alien, SBo or slackonly repository for my works.

Last edited by travis82; 06-26-2017 at 04:15 AM.
 
1 members found this post helpful.
Old 06-27-2017, 09:32 AM   #15
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
1) adduser
2) change the prompt (PS1) so that it displays the
current working directory on one line and
date and time followed by '$' (user) or '#' (root)
3) edit the configs of elvis (so that TeX, html, man files display as normal)
4) configure xfce
remove $HOME/Documents, $HOME/Videos (etc.) and edit ~/.config/user-dirs.dirs accordingly
write my local homepage for the browsers, ...
5) build/install some packages ...
 
2 members found this post helpful.
  


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
[SOLVED] C/C++ do loops - good practice or bad? worzel1968 Programming 33 07-01-2012 02:55 AM
Good practice - group memberships MudPuppy Slackware 5 04-11-2012 11:37 AM
iptables good practice - 2 questions ddaas Linux - Security 1 05-31-2005 07:09 AM
Is this good iptables practice ? michaelsanford Linux - Security 1 05-21-2005 09:32 PM
A good practice for compiling? Micro420 Mandriva 29 08-09-2004 03:36 AM

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

All times are GMT -5. The time now is 09:36 PM.

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