Compares common sysadmin actions between Debian based and RedHat based systems.
Work in Progress
Debian
|
RedHat
|
apt-get build-essential
|
yum groupinstall 'Development Tools'
|
Configuring a Static IP
Debian | Redhat |
/etc/network/interfaces
auto eth1
iface eth1 inet static
address 10.1.1.1/25
|
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
NAME=eth1
BOOTPROTO=none
ONBOOT=yes
PREFIX=25
IPADDR=10.1.1.1
USERCTL=no
NM_CONTROLLED=no
|
Ensure that the 802.1q
kernel module is loaded.
Debian | Redhat |
/etc/network/interfaces
auto eth1
iface eth1 inet manual
up ip link set $IFACE up
down ip link set $IFACE down
auto eth1.10
iface eth1.10 inet static
address 10.1.1.1/25
|
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
NAME=eth1
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
NM_CONTROLLED=no
VLAN=yes
/etc/sysconfig/network-scripts/ifcfg-eth1.10
DEVICE=eth1.10
NAME=eth1.10
BOOTPROTO=none
ONBOOT=yes
PREFIX=25
IPADDR=10.1.1.1
USERCTL=no
NM_CONTROLLED=no
VLAN=yes
|
Find a Package associated with a particular file
Debian | Redhat |
$ dpkg -S /usr/bin/nice
coreutils: /usr/bin/nice
|
$ rpm -qf /usr/bin/nice
coreutils-8.22-12.el7_1.2.x86_64
|
Had to recently compile the latest version of nss-pam-ldapd - version 0.9.6 on CentOS6 and encountered a compilation error.
Simulating an Openstack environment that consists of 12 Openstack nodes and 4
switches. When I first started, performance was horrible. Here are some the
things I did to improve performance. Still learning, so if anyone has any tips, please share.