Change the Ip address for Backtrack ( in VirtuaBox )

First you have to make the following :

  1. change the network in virtualbox to bridged network
  2. change the ip address with the following commands

nano /etc/network/interface

iface eth0 inet static






    1. change the DNS by the following command :

nano /etc/resolv.conf

namespace [put the dns here]

and finally :

/etc/init.d/networking restart

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket

Use the same configuration that you are attempting. Here is how I set it up.
mkdir /var/lib/mysql
cd /var/lib/mysql
ln -s /opt/lampp/var/mysql/mysql.sock

This will allow you to use tools such as mysql-query-browser without any hassles.

To access mysql from the command line:

/opt/lampp/bin/mysql -p

To make symbolic link to Dropbox ( sublime configuration )

If you have many plugins and sniipets you want them any way you, you have to sync them using dropbox

For linux ( mac also ) :

ln -sfF ~/Dropbox/Application\ Settings/Sublime\ Text\ 2/Packages/ ~/Library/Application\ Support/Sublime\ Text\ 2/Packages

For windows :

mklink /D “C:\Users\Max\AppData\Roaming\Sublime Text 2\Packages” “C:\Users\Max\Dropbox\Application Settings\Sublime Text 2\Packages"

Install internet explorer or safari on ubuntu

first you have to install the latest version of playonlinux from the following link


choose install then internet section choose IE7 and/or safari

following the installation wizard and that it

Install php, mysql, phpmyadmin on ubuntu

Install and configure php, mysql, phpmyadmin on ubuntu

Install php and mysql:

sudo apt-get install php5 mysql-server

If you forgot, you can press tab like write MySQL and press tab you will get the completion of the work as in the repository

To install phpmyadmin you write the following code :

sudo apt-get install phpmyadmin

After installing phpmyadmin, you will login with phpmyadmin user ( this user has limited privilege ) so you will need to make new user

phpMyAdmin reports ‘No Privileges’

Check the following link :
Click here