« Posts under RedHat/CentOS

Yum – List Only Security Updates

I’ve been really MS inundated at work lately with exchange 2010, UAG 2010, and Communicator deployments/migrations. So to balance my life a bit I better do a quick post of a linux hack 🙂 Here is a quick one I tacked together about 6 months ago. This will generate a detailed report of all the security updates you are missing with a description of what the update will fix. You will need the yum-security package installed for this to work.
yum list-security | awk 'NR!=1 {print $1}' | sed '/list-security/d' | xargs yum info-security > security_report.txt

CentOS/Redhat 5.x Post-Install Script

I whipped up a post install script to run on our new linux servers that drastically reduced the amount of manual effort involved with post-deployment configuration. I’m sure this could some how be integrated into the kick deployment. In any case, this script helps setup your sudo users, snmp services, and some other basic things. Modify to your environment and run directly after deployment on your headless linux servers. Save the script and change to .sh and run with sh ./centos-postinsatll.sh at a command prompt. Cheers!

centos-postinstall

Follow

Get every new post delivered to your Inbox

Join other followers