Slackware Linux Post-installation

done on 14.2

env,

cp -pi /etc/profile /etc/profile.dist
vi /etc/profile

alias ll='ls -alhF'
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
source /etc/profile

log,

cd ~/
echo 'tail -n0 -F /var/log/*' > log
chmod +x log
./log

proceed with updates,

mv -i /etc/slackpkg/mirrors /etc/slackpkg/mirrors.dist
echo 'http://mirrors.phx.ms/slackware/slackware64-14.2/' > /etc/slackpkg/mirrors
slackpkg update
slackpkg install htop screen
slackpkg upgrade-all

updatedb
locate \.new | grep new$
ksh
for f in `locate \.new | grep new$`; do
    diff -bu ${f%\.new} $f
done; unset f
^D

mv /etc/bluetooth/proximity.conf.new /etc/bluetooth/proximity.conf
mv /etc/bluetooth/main.conf.new /etc/bluetooth/main.conf     
mv /etc/ca-certificates.conf.new /etc/ca-certificates.conf
update-ca-certificates
mv /etc/ssh/sshd_config.new /etc/ssh/sshd_config    

more binaries,

cd ~/
#https://github.com/zuno/slackpkgplus
#http://slakfinder.org/slackpkg+/pkg/
#https://slackonly.com/readme.html
wget http://slakfinder.org/slackpkg+/pkg/slackpkg+-1.7.0-noarch-10mt.txz
installpkg --terse slackpkg+-1.7.0-noarch-10mt.txz
cd /etc/slackpkg/
cp -pi slackpkgplus.conf slackpkgplus.conf.dist
vi slackpkgplus.conf

REPOPLUS=( slackpkgplus slackonly )
MIRRORPLUS['slackonly']=http://packages.slackonly.com/pub/packages/14.2-x86_64/

diff -bu slackpkgplus.conf.dist slackpkgplus.conf     

slackpkg update gpg
slackpkg update

setup ssh for group wheel and reload,

cd /etc/ssh/
cp -pi sshd_config sshd_config.dist
vi sshd_config

...

/etc/rc.d/rc.sshd restart

are you clean?

netstat -lntup

Nethence | Doc | Pub | Lab | Pbraun | SNE Russia | xhtml