CentOS Open the server’s network file vim /etc/sysconfig/network Replace the old hostname with the new hostname HOSTNAME=NewHostName Edit the hosts file vim /etc/hosts Replace any occurrence of ...Read More
Setup an alias for the speed test by running the following command: alias speedtest="curl -s -w 'Testing Website Response Time for :%{url_effective}\n\nLookup Time:\t\t%{time_namelookup}\nConnect Time...Read More
Determine the speed and type of RAM you need: dmidecode -t 17 Find replacement or upgrade sticks of RAM that match these specs exactly Power off the server Place the new RAM in fol...Read More
Login via console/idrac/cable to the server Reboot the server After the splash screen look for an option that says, “RAID or SAS configuration”. Generally you can click “ctrl + c” to acce...Read More
Make a backup of the local timezone file mv /etc/localtime /etc/localtime.bak Create a sym-link to the proper time zone (replace ‘America/Denver’ with your Timezone) ln -s /usr/share/zonei...Read More
***** Verify that the OS matches EXACTLY before proceeding Sync yum repositories to the new server. On the original server execute: rsync -av /etc/yum.repos.d/ User@NewServer:/etc/yum.repos.d/ On the ...Read More
Log on to the Host Place the ISO you want somewhere on the host Edit the xml file for the VM you are wanting to mount the ISO to virsh edit $VM Add the iso mounted via a virtual cdrom: <disk type=&...Read More
An SSH Tunnel can be used to send encrypted data between two servers. Once setup, the remote host will appear to be running locally on a specific port. Optional – Setup SSH Keys Go to your home ...Read More
Compare differences between 2 custom lists Create a list of the first items in ‘/tmp/1’ Create your second list in ‘/tmp/2’ Find items that are in /tmp/1, but not in /tmp/2 for i in $(cat /tmp...Read More