« Previous -
Version 2/4
(diff) -
Next » -
Current version
turpie, 04/01/2012 05:00 pm
KnoppMyth/LinHES Comparison¶
There are many differences between LinHES and KnoppMyth. Below are some of the changes made to the various utilities and shell commands.
Core Components¶
Component |
KnoppMyth uses... |
LinHES uses... |
"The Brand" |
KnoppMyth |
LinHES |
Parent Linux Distribution |
Debian |
ArchLinux |
Web Server |
Apache2 |
Lighttpd |
Configuration Settings¶
Component |
KnoppMyth uses... |
LinHES uses... |
KnoppMyth Example |
LinHES Example |
Startup Scripts |
/etc/rc.local |
/etc/runit/1.local |
/etc/fstab |
Device Names |
UUID |
/dev/sda1 |
UUID=a6b1c6b8-eebf-4e28-8020-!309cf441bfcc |
Init System |
sysv init |
runit |
# /etc/init.d/webmin start |
$ sudo sv start webmin |
Adding a Daemon |
update-rc.d |
add_service.sh |
# update-rc.d daemonname defaults |
$ sudo add_service.sh daemonname |
Removing a Daemon |
update-rc.d |
remove_service.sh |
# update-rc.d -f daemonname remove |
$ sudo remove_service.sh daemonname |
Diskless Frontend |
NFS root, shared /usr |
pacman -S diskless-legacy ; config_diskless_frontend.bash |
knoppmyth_diskless_frontend.bash |
Package Management¶
Package Task |
KnoppMyth uses... |
LinHES uses... |
KnoppMyth Example |
LinHES Example |
Update package list |
dpkg and apt-get |
pacman |
# apt-get update |
$ sudo pacman -Sy |
Install a package |
dpkg and apt-get |
pacman |
# apt-get install packagename |
$ sudo pacman -S packagename |
Remove a package |
dpkg and apt-get |
pacman |
# apt-get remove packagename |
$ sudo pacman -Rs packagename |
Location of repos |
/etc/apt/sources.list |
/etc/pacman.conf |
Location of package cache |
/var/cache/apt/archives |
/data/var/cache/pacman/pkg |
Upgrade all installed packages |
dpkg and apt-get |
pacman |
# apt-get dist-upgrade |
$ sudo pacman -Syu |
Install from local package |
dpkg pacman |
# dpkg -i <file> |
$ sudo pacman -U <file> |