AdminUser.wOrdpress.cOm

Archive for October 2007

Different output for df -h and du for /tmp

Posted by: SiiN on: October 31, 2007

There were some process running which were referring to the files in tmp, even though the files are deleted and that was causing the difference in output for df -h and du for /tmp
To kill those processes:
for i in `lsof | grep deleted | grep tmp |awk {‘print $2′}`; do kill -9 $i; [...]

Protected: Vhost entries for svn

Posted by: SiiN on: October 14, 2007

  • In: apache| svn
  • Enter your password to view comments

There is no excerpt because this is a protected post.

Clean semaphores owned by nobody

Posted by: SiiN on: October 14, 2007

for i in `ipcs -s | grep nobody | awk ‘{print $2}’`; do ipcrm -s $i; done

Redirect webmail.domain.com to webmail on a cPanel server

Posted by: SiiN on: October 14, 2007

Add the following in vhost for webmail.cdomain.com
ProxyPass / http://localhost:2095/
ProxyPassReverse / http://localhost:2095/
ProxyPreserveHost On

XGL/Compiz shortcuts

Posted by: SiiN on: October 11, 2007

o Switch windows = Alt+Tab
o Arrange and view all windows = Moving the pointer to the top right screen corner turns on or off; clicking a window will zoom it to the front
o Switch desktops on cube = Ctrl+Alt+Left/Right Arrow (or moving your mouse to the edge of your screen and rolling your mouse wheel)
o [...]

Ubuntu 7.10 – Coming soon

Posted by: SiiN on: October 5, 2007