Minggu, 19 Februari 2012

Ringkasan Lanjutan dari Matkul Data Warehouse Data Mining di Stikom Balikpapan

Alhamdulilah berikut share ilmu Oracle di linux ,
dari Pak Abu Abdullah Adnan,melalui mahasiswa-mahasiswi Stikom Angkatan 2008 yakni :
1. Ery Ferdian Effendy
2. Winda Aristiya
3. Kurnia Indah

Vmare linux menggunakan alcohol
----------------------------------------------
Vmare -> file -> new -> custom -> I will manually configuration
Atur cd -> virtual -> F
Atur memory 1,5 gb -> pilih skip
Aktifkan alcohol
Mount-> oracle
----------------------------------
Partisi Linux Oracle
---------------------------------
Pilih custom ->new
Install OS Linux
/boot -> ext3 ->100mb
Swap -> 2 x Ram
/u01 -> ext3 8000mb
Sisanya -> fill maximum
-----------------------------------
Custom Package goup
1. Desktop X Windows
2. Gnome
3. Graphic Internet
4. Server configuration
5. FTP Server
6. Development Tools
7. Administration tools
8. System Tools
9. Dikosongin system usernya


-------------------
Install package
Perintahnya ;
$ cd Desktop
$ ls
$rpm –ivh blok package kemudian klik tengah mouse kemudian tekan enter.
Cth :
$ rpm –ivh compact…tekan enter.
-----------------------------
Bikin Alokasi kernel memory
Perintahnya
$gedit /etc/sysctl.conf tekan enter
sysrq = 0
kernel.core_uses_pid = 1
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144

Bikin group
Addgroup
$groupadd oinstall tekan enter
$groupadd dba tekan enter
$useradd -m –g oinstall –G dba oracle tekan enter
$passwd oracle tekan enter
Make directory :
Perintahnya :
Mkdir /u01/app tekan enter
Mkdir /u01/app/oracle tekan enter
Mkdir/u01/oradata tekan enter
Change owner of directory
Perintahnya:
Chown –R oracle:oinstall /u01 tekan enter
Change of mode:
Perintahnya:
Chmod –R 775 /u01 tekan enter
Klik action -> logout tekan enter
Pendefinisian jalur yang dipakai
Perintahnya:
$gedit .bash_profile tekan enter
ORACLE_BASE= /u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/10g ; export ORACLE_HOME
PATH=$PATH:ORACLE_HOME/bin; export PATH
Pilih save -> pilih exit (x)
Memeriksa jalur pathnya apakah sudah terbentuk atau tidak
$ source .bash_profile tekan enter
$ echo $ORACLE_BASE tekan enter
/u01/app/oracle
$ echo $ORACLE_HOME teka n enter
/u01/app/oracle/10g
$ echo $PATH tekan enter
Memulai Instalasi Oracle
$ cd /
$ ./media/cdrom/runInstaller tekan enter
---------------------------------------
Buat database konfigurasi
$ cd
$ dbca
---------------------------------------
JIka terjadi kesalahan dalam pembuatan database maka
1. didelete isi dari user and group
2. masuk file system -> root -> u01 -> move trash app
3. restart computer
4. kemudian masuk sebagai root
5. ulangi lagi cara buat groupnya

Tidak ada komentar:

Posting Komentar