Archive for the 'Linux' Category

Expanding LVM drives in VMWare

When I created this most recent batch of webservers, I got a little stingy with the drive space. I skimped on the “/” partition, and as you can see, I’m paying for it now: [root@server ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 2.5G 2.3G 80M 97% / /dev/mapper/VolGroup00-LogVol04 29G 9.1G 19G [...]



cool trick for listing directories

I had to modify a bunch of permissions on directories today, and going thru them one by one didn’t sound good at all .. so I did this:  chmod 775 `ls -l| awk ‘/^d/ {print $NF }’`  The listing in the second part of this is also effective if you just want a list of [...]



Setting up VNC server for multiple users

So the developers want a GUI on the system they use to develop our java file-serving app (I’ll rant about that later). Anyhow, I’ve installed a few VM’s with Gnome on them, so I figured VNC was an easy way to get them there, without dealing with the complications of running X across the WAN.  [...]




You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.