Month: November 2009

Install Playonlinux 3.7.1

To install PlayOnLinux 3.7.1 in Ubuntu: a) Download the .deb file


Install Redmine

This is a combination of all my instructions on how to setup redmine on Centos. Its still a work in progress so please note any problems in comments. links – more info to follow; http://wiki.ossafe.org/display/misc/Ruby+on+Rails+on+CentOS+5.x http://www.acqal.com/blog/a/article/first-whack-getting-redmine-running-on-centos-5/ http://www.how-to-linux.com/2009/02/how-to-install-redmine-on-centos-52-update/ http://moze.koze.net/?p=171 http://www.philliprhodes.com/content/installing-redmine-ror-centos


Cisco AnyConnect VPN Client in Ubuntu

Cisco does not provide a 64-bit version of Cisco AnyConnect VPN Client. You can use the 32-bit linux version. However, under Ubuntu Jaunty, I got the following error “Warning: The following Certificate received from the Server could not be verified:” and, even if I accepted, the message appeared again and again and the connection could…


reset Master Password in Firefox

Resetting the Master Password in Firefox: Open Firefox and paste the following line into the address bar: chrome://pippki/content/resetpassword.xul A text will appear saying that if you reset your master password all login details including usernames, passwords and websites will be lost. If you click on Reset the master password is reset which means that you…


SSL tricks

How to Check the key and the cert. openssl x509 -noout -modulus -in crt | openssl md5 openssl rsa -noout -modulus -in key | openssl md5 How to Check the expiration date from openssl. openssl x509 -in beta.ralphbankston.com.crt -noout -enddate


Eaccelerator Cleaning Commands

< cd 0 rm -f * cd .. cd 1 rm -f * cd .. cd 2 rm -f * cd .. cd 3 rm -f * cd .. cd 4 rm -f * cd .. cd 5 rm -f * cd .. cd 6 rm -f * cd .. cd 7 rm -f *…


Rsync examples

cmd    flags            remote server               local server rsync -avHe ssh –progress root@oldip:/home/user/mail/ /home/user/mail/ rsync -avHe ssh –progress root@oldip:/home/user/etc/ /home/user/etc/ Safe way to copy files Source directory: /mnt/nfs/contents Destination directory: /home/user1/public_html Log files location: /home/user1/logs/copy.txt check the total number of files in the source directory: $ tree /mnt/nfs/contents/ | wc -l 16247 run the command: $ rsync -Pavzh –log-file=/home/user1/logs/copy.txt…


Citidel Ddos Preventer

Citidel Dos Preventer http://adama.liquidweb.com/~smurfeat/citadel-0.0.2.tar.bz2


Locked out of Joomla? Reset the admin password.

From the Joomla ?MySql Database UPDATE jos_users SET password=’70a5f16e3afcc3fe27fe75b8abf64666:D8qcQRbSPfFkKxj3K1qSIBgZKMvztCeL’ WHERE name=’Administrator’


Disk size commands

find . -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’ | sort -rn du -mh –max-depth=2 | sort -nr | head -100 du -x | sort -nr | head -10 du -x –block-size=1024K | sort -nr | head -10 df -H df -H | grep…