RSS
 

Archive for July, 2007

Guide : Starting Eclipse using a different Java Version

31 Jul

The following shortcuts are on Ubuntu Feisty

Create a shortcut with the path as follows

/usr/bin/eclipse -vm /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java

or in the eclipse.ini file add the following

-vm
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java

 
 

Guide : VMWare Share Folders with Windows from Ubuntu

27 Jul

Make sure Samba is installed on Ubuntu

sudo apt-get install samba

Create a new Samba User

sudo smbpasswd -a USERNAME

Then edit the samba configuration file

sudo gedit /etc/samba/smb.conf

Then add the following to the bottom of the file

security = user
[NAMEOFSHARE]
path = DIRECTORYPATH
valid users =USERNAMEAS ABOVE
read only = No
create mask = 0777
directory mask = 0777

Then restart Samba

sudo /etc/init.d/samba restart

Then you need to configure the network connection of the VMWare instance, so edit the settings of the VMWare instance, I had the Ethernet Connection set as NAT.

It is then just a matter of starting windows, open ‘My Network’ and then the ‘Entire Network’ and you should see the share available for use.

 
 

Guide : MySQL Importing and Exporting

24 Jul

Importing a SQL File from the command line

mysql -u USER -p DBNAME < FILENAME.sql

Exporting a SQL File from the command line

mysql -u USER -p DBNAME > FILENAME.sql

 
No Comments

Posted in guide, mysql