Oracle Database XE Server Linux Ubuntu

*Bagaimana cara menginstal Oracle Database XE Server pada sistem Linux desktop Ubuntu?.

*Sebuah database Oracle terdiri dari kumpulan data yang dikelola oleh sistem manajemen database Oracle. Anda dapat mendownload Oracle Database XE server untuk Debian, Mandriva, Novell, Red Hat dan Ubuntu Linux distribusi. Pertama anda perlu untuk mendapatkan database dan berjalan dalam rangka untuk menggunakan Oracle. Database Oracle telah memiliki reputasi di kalangan pengguna Linux baru sebagai sulit untuk diinstal pada sistem Linux. Sekarang Oracle Corporation telah dikemas versi terakhir untuk beberapa distro Linux yang populer dalam upaya untuk meminimalkan tantangan instalasi melampaui tingkat keahlian teknis yang diperlukan untuk menginstal server database.
Pastikan Anda memiliki cukup ruang disk dan memori

Jika Anda memiliki kurang dari 1GB memori jalankan dulu perintah berikut untuk membuat swap:


$ sudo dd if=/dev/zero of=/swpfs1 bs=1M count=1000
$ sudo mkswap /swpfs1
$ sudo swapon /swpfs1


Debian / Ubuntu Oracle instalasi

 Langkah pertama memodifikasi / file / etc apt / sources.list:


$ sudo vi /etc/apt/sources.list

 Tambahkan baris berikut :

deb http://oss.oracle.com/debian unstable main non-free

 Simpan dan tutup file tersebut. Selanjutnya impor kunci GPG.

$ wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -

 Update database paket :

$ sudo apt-get update

 Akhirnya menginstal 'oracle'

$ sudo apt-get install oracle-xe

 Outputnya :

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.20-15-generic linux-headers-2.6.20-15
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libaio
The following NEW packages will be installed:
libaio oracle-xe
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 221MB/221MB of archives.
After unpacking 405MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://oss.oracle.com unstable/non-free oracle-xe 10.2.0.1-1.1 [221MB]
....
...
.


Post-install konfigurasi

Anda harus mengkonfigurasi Oracle TCP / IP port dan parameter lainnya. Cukup ketik perintah berikut:


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

Outputnya:


 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]:
[Enter key]

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

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:
secret
Confirm the password:
secret

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:8080/apex"



Untuk mengakses Halaman database pergi ke http://127.0.0.1:8080/apex. Buka web browser dan ketik url (Anda perlu menggunakan nama pengguna "sistem" dan password konfigurasi sebelumnya)  







Referensi :
-Oracle Database 10g Express Edition Downloads
-Oracle dokumentasi online
-Database oracle artikel dari Wikipedia

  

Posting Komentar

0 Komentar