Posts Tagged ‘RHEL’

Linux Commands – A Quick Reference

// March 12th, 2013 // Comments Off on Linux Commands – A Quick Reference // Infrastructure

In an effort to consolidate into one location notes I’ve made over the years listing common linux commands, I’ve chosen to place them into a single post that will be updated as living reference guide.

I want thank the people that have helped me in compiling this listing either by sharing their own notes, or by pointing me in the right direction when I’ve had questions.  (Eric, Kenny, Marcus, Yossef – I mean you guys!).

 

 

 

 

 

 

Continue reading “Linux Commands – A Quick Reference” »

Joshua Johnson

Joshua Johnson is a Southern California based IT professional specializing in IT Infrastructure, InfoSec, and fighting entropy.

More Posts

Compare/Audit locally installed RPM Packages between multiple Hosts

// September 24th, 2012 // Comments Off on Compare/Audit locally installed RPM Packages between multiple Hosts // Infrastructure

For the purposes of configuration management and configuration validation, we are often called to provide test artifacts demonstrating the current state and version of locally installed packages.  Listed below is a simple way to generate the resultant RPM versions between multiple systems.

Joshua Johnson

Joshua Johnson is a Southern California based IT professional specializing in IT Infrastructure, InfoSec, and fighting entropy.

More Posts

RHEL – LVM Resizing Mounted Volumes

// September 24th, 2012 // Comments Off on RHEL – LVM Resizing Mounted Volumes // Infrastructure, Storage

pvscanlvdisplay <filesystem to grow>
vgdisplay <VG Name>
lvresize -L +3G <LV Name>
lvdisplay <LV Name>
df -k <mountpoint>
resize2fs -p <LV Name>
df -k <mountpoint>

Joshua Johnson

Joshua Johnson is a Southern California based IT professional specializing in IT Infrastructure, InfoSec, and fighting entropy.

More Posts