Thursday, 27 June 2013

Slackware beginners stuff to work around



Few beginners tips and tricks and its because, I am new to Slackware and this for me to remember :) and not for you brother. kidding !!!

Open up your terminal or konsole

Create a user

# useradd -m -g users -G wheel /bin/bash aarif
OR
# adduser

Have a look if its create

# cat /etc/passwd

Configuring Network

Howto setup Static IP

# netconfig (the best way to setup)


Let's look at "slackpkg" it is automated slackware tool for installing, updating, upgrading software and patches. To understand in super fast way it does work simillar to debian's "apt-get" Redhat "yum", openSuse "zypper".

# man slackpkg (for more info on it)
# slackpkg search filename (such as: httpd, game, word)
# slackpkg install httpd
# slackpkg upgrade httpd

To update the slackware

#slackpkg update gpg
#slackpkg update


This is to setup SSH server and basically, it almost same in every distro of

# vim /etc/ssh/sshd_config
# /etc/rc.d/rc.sshd start
# /etc/rc.d/rc.sshd stop

Check using "netstat" if the daemon is running or not

# netstat -tlp

No comments:

Post a Comment