Obsolete:OS differences

From Wikitech
This page contains historical information. It may be outdated or unreliable.

THIS IS NOT A PAGE TO LIST EVERY OPERATING SYSTEM IN THE WORLD.

This is a quick-reference sheet for the people running the server cluster that runs http://www.wikipedia.org/ and related sites. OSs/flavors not present in our cluster are therefore NOT LISTED.

Please do not add your favorite OS/distro/flavor or ask us why it has been so callously ignored. Thanks.


- Fedora Core SUSE debian
package type *.rpm *.rpm *.deb
install package yum install foo yast2 -i foo apt-get install foo
remove package yum remove foo rpm --erase foo dpkg -r foo (purge: -P foo)
list pkg contents rpm -ql foo rpm -ql foo dpkg -L foo
verify pkg rpm -V foo rpm -V foo
which pkg owns /path/to/foo? rpm -qf /path/to/foo rpm -qf /path/to/foo dpkg -S /path/to/foo
list installed pkgs yum list installed rpm -qa dpkg -l
search for package yum [-C] search foo yast2 apt-cache search foo
check for available updates yum check-update you apt-get update
apt-get -s upgrade
do available updates yum [-y] update you or use fou4s apt-get [-y] upgrade
apt-get [-y] dist-upgrade
show package details yum [-C] info foo rpm -qi [-l] [-v] foo apt-cache showpkg foo
misc startup commands /etc/rc.local ->
/etc/rc.d/rc.local
/etc/init.d/boot.local /etc/rc?.d/ symlinking to /etc/init.d/*
misc shutdown commands ? ? /etc/rc?.d/ symlinking to /etc/init.d/*
grub config /etc/grub.conf ->
/boot/grub/grub.conf
and
/boot/grub/menu.lst ->
/boot/grub/grub.conf
/boot/grub/menu.lst
lilo config vi /etc/lilo.conf && lilo
configure firewall (non-standard) edit and run /usr/local/bin/firewallinit.sh (and on some machines, edit /etc/firewall.conf and run /usr/local/bin/firewallinit.sh (??)) edit /etc/sysconfig/SuSEfirewall2, something else, then run "/etc/init.d/SuSEfirewall2_init restart && /etc/init.d/SuSEfirewall2_setup" Edit /var/lib/iptables/active then /etc/init.d/iptables reload