Setting up Slackware 13 (64-bit) (part 3)

Make your server trust your laptop+user:

#su - "your username here"

$ssh-keygen -t rsa

$scp ~/.ssh/ "remote_username"@"host_name":"target_filepath_for_key_on_the_server"

Now ssh into your server:

$ssh "remote_user"@"host_name"

$cd ~/.ssh

Insert your laptop’s public key in the authorized keys list:

$cat "target_filepath_for_key_on_the_server" >> authorized_keys

Try ssh-ing your server again (this time you should not need to type a password:

$ssh "remote_user"@"host_name"

Create an alias for your server:

#nano /etc/ssh/ssh_config

and add this  (customize it, please):

Host linode
KeepAlive yes
User httpd
Compression yes

Now you should be able to ssh into your server like this:

$ssh linode

Now use this nice backup script:

TODAY_FOLDER=/home/backup/`date +%Y-%m-%d --date "0 day ago"`/linode
YESTERDAY_FOLDER=/home/backup/`date +%Y-%m-%d --date "1 day ago"`/linode

if [ -e $pid ]
echo "Still running..."
touch $pid
if [ ! -d $TODAY_FOLDER ]; then
mkdir -p $TODAY_FOLDER
echo "copying..."

rsync --bwlimit=100 --force --no-p --progress --delete-before -aze ssh linode:~/ $TODAY_FOLDER
rm $pid

and you will have full backups (while preserving spaces as the cp command creates hardlinks) daily

Setting up Slackware 13 (64-bit) (part 2)

Create yourself a user:

#adduser "desired_name"

Allow yourself to sudo make a sandwich:

#nano /etc/sudoers

make sure you add the following updates:

%users          ALL=(ALL)       ALL

(In case you decided to create your user on a different group, change the line above acordingly)

Install Gnome SlackBuild

#echo "SOURCE=" >> /etc/slapt-get/slapt-getrc
#slapt-get --update
#slapt-get --add-keys
#slapt-get --install alsa-lib bluez glib2 gtk+2 libwnck
#slapt-get --upgrade

Now to the actual Gnome installation (just a basic desktop):

#slapt-get --install gsb-desktop

Now it’s recommended to reboot your system… so…


To test your gnome installation, type

#init 4

and try logging in

If everything looks fine, change /etc/inittab to start your Slackware on runlevel 4

Install NetworkManager

#slapt-get --install NetworkManager network-manager-applet
#chmod +x /etc/rc.d/rc.messagebus /etc/rc.d/rc.hald /etc/rc.d/rc.networkmanager
#gpasswd -a mauricio netdev
#polkit-auth --grant --user "mauricio"

Setting up Slackware 13 (64-bit) (part 1)

Download new kernel from

# cd /usr/src
#tar -xvjf <kernel_file_name>.tar.bz2
#rm linux
#ln -s <new_kernel_folder> linux
#cd linux
#make mrproper
#make menuconfig (have fun 🙂 )
#make install
#reboot && cross your fingers

Install Slapt-Get

# wget
#installpkg slapt-get-0.10.2d-x86_64-1.tgz
#nano /etc/slapt-get/slapt-getrc
#slapt-get --update
#slapt-get --upgrade
  • IGlr