search
top
Currently Browsing: Linux

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

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

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

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

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

« Previous Entries Next Entries »

top
Life of a Geek Admin
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.