Senin, 25 Agustus 2008

Integration maven2 and eclipse

1.install subclipse
subclipse : http://subclipse.tigris.org/update_1.4.x















2. install ajdt
ajdt :http://download.eclipse.org/tools/ajdt/33/dev/update















3. install maven2 plugin dari http://m2eclipse.sonatype.org/update/

Install oracle XE di ubuntu

Tahapan nya:
1. download oracle-xe-universal_10.2.0.1-1.0_i386.deb dan libaio1_0.3.106-5ubuntu2_i386.deb

2. install libaio
$sudo dpkg -i libaio1_0.3.106-5ubuntu2_i386.deb

3. install oracle
$sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb

4.configure file /etc/init.d/oracle-xe
$sudo /etc/init.d/oracle-xe configure

5.setting oracle
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:8080

Specify a port that will be used for the database listener [1521]:1521

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:

Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8484/apex"

6.run http://127.0.0.1:8484/apex

Install Maven2 under Linux

Tahapan untuk install maven2 di Linux

1. download installer maven2 di http://maven.apache.org/download.html dan pilihlah format archive yang sesuai. Dalam hal ini saya mendownload apache-maven-2.0.9-bin.tar.gz dan menaruhnya di /home/priasa/opt

2. extrak file tersebut
$tar -zxvf installer_maven.tar.gz

3. tambahkan di .bashrc
export M2_HOME=/home/ardi/opt/apache-maven-2.0.9/
export M2=$M2_HOME/bin
export PATH=$PATH:$M2:$ANT_HOME/bin:$JAVA_HOME/bin:

4. uji instalasi
$ mvn --version
output...
Maven version: 2.0.9
Java version: 1.6.0_10-rc
OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"

Install java di Linux(ubuntu dlll)

Ada beberapa tahap untuk menginstall java di linux :

1. Download jdk di java.sun.com example : jdk-6u6-linux-i586.bin dan taruh di sembarang folder dalam hal ini saya mengggunakan /home/priasa/opt

2. Dari console ubah aktif direktori ke lokasi installer jdk
$cd /home/priasa/opt

3. Ubah hak akses installer dengan
$chmod 777 installer-jdk.bin

4. Instalasi jdk
$./installer-jdk.bin

5. Kemudian tambahkan
export JAVA_HOME=/home/ardi/opt/jdk1.6.0_10/
export PATH=$PATH:$JAVA_HOME/bin:

6. Selesai, cek dengan :
$java -version
outputnya :
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)