Tag Cloud
Currently Reading
Latest Book Reviews
- Certified Kubernetes Application Developer (CKAD) Study Guide, 2nd Edition Posted on January 11, 2025
- Rancher Deep Dive Posted on March 31, 2023
- Leveraging Kustomize for Kubernetes Manifests Posted on March 24, 2023
- Automating Workflows with GitHub Actions Posted on October 13, 2022
- Deep-Dive Terraform on Azure Posted on August 30, 2022 All Book Reviews
Latest Posts
- DHCP configurations in Red Hat/CentOS and Debian/Ubuntu Posted on February 19, 2012
- Static IP configurations in Red Hat/CentOS and Debian/Ubuntu Posted on February 1, 2012
- Finding the UUID of all the hard drives in use Posted on January 28, 2012
- Enabling NFTS read/write support on CentOS 5 Live CD Posted on January 24, 2012
- Changing your Linux system's mac address Posted on January 11, 2012
February 19, 2012
DHCP configurations in Red Hat/CentOS and Debian/Ubuntu
by Alpha01
Example for eth0
Red Hat/CentOS: /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=dchp
Ubuntu/Debian: /etc/networks/interfaces
iface eth0 inet dhcp
centos
ubuntu
networking
]
February 1, 2012
Static IP configurations in Red Hat/CentOS and Debian/Ubuntu
by Alpha01
Static IP configurations
Ubuntu/Debian: /etc/networks/interfaces
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
RedHat/Centos: /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.140
BROADCAST=192.168.1.255
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
ubuntu
centos
]
January 28, 2012
Finding the UUID of all the hard drives in use
by Alpha01
[root@rubyninja bash]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Dec 18 22:08 413d5856-7133-4101-b770-28fed3c1ab33 -> ../../sda1
centos
ubuntu
]
January 24, 2012
Enabling NFTS read/write support on CentOS 5 Live CD
by Alpha01
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum install fuse ntfs-3g
centos
]
January 11, 2012
Changing your Linux system's mac address
by Alpha01
ifconfig eth0 down hw ether 00:00:00:00:00:01
ifconfig eth0 up
networking
security
]