Click to See Complete Forum and Search --> : Swaret and slap-get
orangepoptart
01-09-2004, 08:12 PM
I just started using linux slackware and need to update my kernel and all the other updates to make it secure. But since I have no clue what I am doing I tried downloading swaret.. to make a long story short I had no clue what I was doing and ended up trying slap-get in which I didn't get much farther. I ended up typeing make a few times and clicking on some files and doing chmod 777 to some stuff but have no idea what im doing. Is there some kinda screenshot turorial which would really help. Just anyone that could help me understand what I am doing.
So you haven't isntalled slapt-get yet.
Have you checked the README/INSTALL files?
All you need is "make" followed by "make install" if I remember correctly.
If you're getting errors while using "make" it's probably because you're missing some development packages. There's a list in either the README or INSTALL file.
You will also find docs on how to use slapt-get.
nabis
01-10-2004, 02:50 AM
or, you may want to learn how to compile a kernel.
Get linux-2.4.24.tar.gz from kernel.org (use mirrors).
su
cd /usr/src
tar xvzf /path/to/linux-2.4.24.tar.gz ### will uncompress it in /usr/src
ls
ln -sf linux-2.4.24 linux
cd linux
From this point you will find a lot of tutorials on how to compile a kernel.
A super-short tutorial:
pwd
/usr/src/linux
make mrproper
cp /boot/config ./
make menuconfig
make dep clean bzImage modules modules_install
cat arch/i386/boot/bzImage > /boot/vmlinuz-2.4.24
cat System.map > /boot/System.map-2.4.24
echo -e "image = /boot/vmlinuz-2.4.24 \n \
root = /dev/hdaX # X is your / partition \n \
label = Slackware-2.4.24 \n \
read-only \n" >> /etc/lilo.conf
lilo -tv ## (testing lilo)
lilo -v
yes, and don't chmod 777 stuff :)
JusKickNit
01-10-2004, 04:12 AM
Grab swaret from linuxpackages.net . Install with "installpkg swaret.blah.blah.tgz" Move /etc/swaret.conf.net to /etc/swaret.conf. Edit that file. Change slackware-version and uncomment one of the mirror sites. Then type "swaret --update" then "swaret --upgrade" answer the questions. Remeber "swaret --help" is you friend.