Currently Browsing: Linux
Apr 11, 2012
Adding Additional Disks RHEL 6
Ever wondered how to add an additional disk to RHEL 5/6 and create a new LVM(Logical Volume Manager). In this post I will try to show how to do just that. This is assuming a second disk was added (/dev/sdb) to the system. If the disk is different (dev/sdc…) just make the changes to the command. # fdisk /dev/sdb Create the Physical Volume # pvcreate /dev/sdb Physical volume “/dev/sdb”... read more
Apr 3, 2012
Monitoring CPU temp on Fedora
recently found the need to monitor CPU temp on a Fedora 16 install. $ sudo yum install lm_sensors Once installed we need to configure lm_sensors. Run the command $ sudo sensors-detect You will be prompted with questions, accepting the defaults will work $ sudo sensors-detect # sensors-detect revision 5946 (2011-03-23 11:54:44 +0100) # System: Gigabyte Technology Co., Ltd. EP45C-DS3R This program will help... read more
Apr 3, 2012
Create a Local Fedora 16 Repository
If you have several Fedora systems you can create your own local repository to reduce the amount of Internet traffic and control the updates you want to have available. Also, you can create repositories for other products you use or like. In this post we will cover creating a local Fedora 16 repository. Update: You can use this same process on Fedora 17 & 18, just change the version number. Two... read more
Mar 22, 2012
OCS Inventory-NG 2.04 released
OCS Inventory-NG has released version 2.04. Now is a good time to upgrade the server and agents to get the latest bug patches. Download the latest from here. Look for future posts on upgrading from 2.01 to 2.04. read more
Feb 25, 2012
Find Large Files in Linux
Recently had the need to find large files in Linux to clear up some space. With the use of the find, print and awk commands I was able to find files bigger than 50 MB. You can change the values to suit your needs. To find all files over 50,000KB (50MB+) in size and display their names, along with size, use following syntax: find {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk... read more
