See the HDD partitions:
sudo fdisk -l
Create a mount point and mount that partition:
sudo mkdir /mnt/F
sudo mount /dev/sda9 /mnt/F
Unzipping pc^2 zip file:
unzip -o pc2v8.zip (download the package)
Installing java:
sudo ./j2sdk-1_4_2_16-linux-i586.bin (download from Sun's site)
Setting the path variables for JAVA:
export JAVA_HOME=/mnt/F/ubuntu/j2sdk1.4.2_16
export PATH=$JAVA_HOME/bin:$PATH
Necessary configuration for java:
cd /usr/bin
sudo rm ./java
sudo rm ./java_vm
sudo rm ./javaws
sudo ln -s /mnt/F/ubuntu/j2sdk1.4.2_16/bin/java ./java
sudo ln -s /mnt/F/ubuntu/j2sdk1.4.2_16/bin/java_vm ./java_vm
sudo ln -s /mnt/F/ubuntu/j2sdk1.4.2_16/bin/javaws ./javaws
sudo ln -s /mnt/F/ubuntu/j2sdk1.4.2_16/bin/javac ./
This will enable gcc:
sudo aptitude install build-essential
manually restarting your network:
sudo /etc/init.d/networking restart
see the interface information:
sudo mousepad /etc/network/interfaces
/etc/hosts
/etc/hostname
No comments:
Post a Comment