Ubuntu 64-bit Physical Address Extension (PAE)
1) Display memory in MB:
free -m
2) Install server headers:
sudo apt-get update
sudo sudo apt-get install linux-headers-server linux-image-server linux-server
3) Reboot
sudo reboot
Java Setup
1)Install packages:
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
2)Setup default
sudo update-java-alternatives -s java-6-sun
3)Edit jvm file:
sudo vi /etc/jvm
top line should be:
/usr/lib/jvm/java-6-sun
4)Add to /etc/bash.bashrc:
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export JBOSS_HOME=/home/octavio/opt/jboss-4.2.2.GA
export PATH=$PATH:$JAVA_HOME/bin
JBoss Setup
1)Download and extract to desired directory.
2)Add to /etc/bash.bashrc:
export JBOSS_HOME=/home/octavio/opt/jboss-4.2.2.GA
3) Create a script file to run $JBOSS_HOME/bin/run.sh
Install Eclipse
1)Setup directory:
mkdir ~/opt
2)Unpack download:
cd {directory where your browser downloaded the package to}
tar -xvf eclipse-rcp-ganymede-SR2-linux-gtk-x86_64.tar.gz && mv eclipse ~/opt
This is the rcp target:
tar -xvf eclipse-RCP-3.4.2-linux-gtk-x86_64.tar.gz && mv eclipse ~/target
3)Create a bin folder for startup scripts:
mkdir ~/bin
4)Create file ~/bin/eclipse with the following:
export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”
export ECLIPSE_HOME=”$HOME/opt/eclipse”
$ECLIPSE_HOME/eclipse $*
5)Make the ~/bin/eclipse file executable:
chmod +x ~/bin/eclipse
6)Create a launcher:
Create a new launcher on the desktop (right click on the desktop -> Create Launcher) or on a panel (right click on a panel -> Add to Panel -> Custom Application Launcher)
*Name: Eclipse Platform
*Command: /home/
*Icon: /home/
The icon may not be there. Get one from:
http://www.bearfruit.org/blog/2007/08/09/eclipse-svg-icons
Together
- Copy the installation file to a temporary folder.
- Make a backup tec_dev_2006_linux_i.bin.bak
- Run the following command:
cat tec_dev_2006_linux_i.bin.bak | sed “s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_Kernel/” > tec_dev_2006_linux_i.bin
- Run the installer:
./tec_dev_2006_linux_i.bin
vmware Workstation
Installation from a bundle:
sudo sh VMware-Workstation-6.5.1-126130.x86_64.bundle
If your keyboard is not functioning correctly in VMware, add this line to ~/.vmware/config (create file if necessary):
xkeymap.nokeycodeMap = true
From within the guest, setup the vmware tools by:
- Select install tools from the VM toolbar.
- cd /tmp
- sudo tar zxpf /media/cdrom1/VMwareTools-7.8.6-185404.tar.gz
- cd vmware-tools-distrib
- sudo ./vmware-install.pl – select all default values
MySql
1)Install client and server
sudo apt-get install mysql-server
This should install the client and the server and should also run a setup program to configure root. If it doesn’t, try the following steps:
a) Install the client:
sudo apt-get install mysql-client
b)Configure root access to the server:
sudo mysqladmin -u root -h localhost password ‘mypassword’
sudo mysqladmin -u root -h myhostname password ‘mypassword’
c)Start the client:
mysql -u root -p
d) Create user:
create user ‘id’@'localhost’
identified by ‘pw’;
grant all on *.* to ‘id’@'localhost’;