Connect linux using putty or others application using root user
example:
vnclicense -add ABCD1-EFGH2-IJKL3-MNOP4-QRST5
reference: https://www.realvnc.com/products/vnc/documentation/5.0/installing-removing/redhat
Connect linux using putty or others application using root user
example:
vnclicense -add ABCD1-EFGH2-IJKL3-MNOP4-QRST5
reference: https://www.realvnc.com/products/vnc/documentation/5.0/installing-removing/redhat
COMPRESS
tar -zcvf filename.tar.gz fileordirectory
EXTRACT to current directory
tar -zxvf filename.tar.gz
1. Link Download https://www.apachefriends.org/download.html
2. Simpan dan copy ke lokasi server linux (default /tmp)
3. Ubah hak akses lalu jalankan
4. Ikuti petunjuk dan kebutuhannya, xampp pada linux telah terinstall
5. Pada pertama kali yang bisa mengakses http://localhost/ hanya lokal, untuk mengaktifkannya (bisa diakses dari mana saja) edit file /opt/lampp/etc/extra/httpd-xampp.conf , lalu remark (#) Require local dan tambahkan dibawahnya Allow from all
6. Apabila anda menggunakan koneksi ke oracle, aktifkan terlebih dahulu oci8 dengan cara:
sudo /opt/lampp/lampp oci8
Please enter the path to your Oracle or Instant Client installation: <– default aja (tekan enter)
[/opt/lampp/lib/instantclient-11.2.0.3.0]
installing symlinks…
patching php.ini…
OCI8 add-on activation likely successful.
LAMPP: Stopping Apache with SSL…
LAMPP: Starting Apache with SSL…
7. Untuk mengaktifkan autostart pada services.msc (seperti diwindows) maka yang perlu dilakukan adalah sbb:
ln -s /opt/lampp/lampp /etc/init.d/lampp
service lampp start
chkconfig --levels 235 lampp on
Referensi : https://www.apachefriends.org/faq_linux.html & http://www.fedoraspot.com/2011/11/installing-lampp-xampp-for-linux-in.html
Jalankan via putty atau mobaXterm ke server yang dituju
Untuk 3 tahap ini buka 3 putty (putty pertama untuk jalanin create file, putty kedua untuk capture iostat, putty ketiga untuk capture vmstat). Dalam contoh kasus dibawah ini testing create file pada lokasi /oradata , lokasi ini dapat disesuaikan sesuai dengan kebutuhan anda.
Putty 1:
dd if=/dev/zero of=/oradata/testfile bs=1000000 count=89999
Putty 2:
iostat -xtnz 1 300 > /tmp/oradataiostat.log
Putty 3:
vmstat -xtnz 1 300 > /tmp/oradatavmstat.log
Note:
- Penggunaan CPU < 50%
- Service time <=10 ms
- iops <= 2400
- throughput <= 200 MBps
Referensi: Ujang Jaenudin
Contoh: menjalankan perintah sqlplus untuk menampilkan query sm2.sql
while true; do sqlplus strmadmin/oracle @sm2.sql; sleep 10; done
Syntax to clear cache memory:
sync; echo 3 > /proc/sys/vm/drop_caches
reference : http://ttux.net/post/clear-memory-cache-linux/
Display GNOME
/usr/bin/gnome-session --display $DISPLAY
Xterm
/usr/bin/X11/xterm -ls -display $DISPLAY
Xterm (Linux: Type 1)
/usr/X11R6/bin/xterm -ls -display $DISPLAY
Xterm (Linux: Type 2)
/usr/bin/xterm -ls -display $DISPLAY
Xterm (Solaris)
/usr/openwin/bin/xterm -ls -display $DISPLAY
Dtterm
/usr/dt/bin/dtterm -ls -display $DISPLAY
CDE
sh -c "LANG=C; DISPLAY=$DISPLAY; export LANG DISPLAY; /usr/dt/bin/Xsession"
For example you can using scp or rsync
scp -Cr /oradata/vbsupg2/*.* oracle@192.168.1.244:/oradata/VBSUPG2 rsync -e ssh /oradata/vbsupg2/*.* 192.168.1.244:/oradata/VBSUPG2 (without log) rsync -ave ssh /oradata/vbsupg2/*.* 192.168.1.244:/oradata/VBSUPG2 (with log)
reference : http://www.crucialp.com/resources/tutorials/…
example: date Thu Mar 21 10:31:18 CIT 2013 date -s "21 MAR 2013 19:49:00" Thu Mar 21 19:49:16 CIT 2013
DONT WANNA BE NUMBER ONE
Connor McDonald on SQL and the Oracle Database
Just another WordPress.com weblog
Jurnalisme Yang Dapat Dipercaya
Penampungan Serapah Tanpa Sumpah
Ayo Bangkit sobat..!!!!!
Orang Desa Yang Mencintai Desa dan Kebudayaannya
New Food and Art in Yogyakarta
Musafir Dunia Maya
My Reference on SQL Server
oeuvre
"Tuhan tidak menuntut kita untuk menang. Tuhan hanya meminta kita untuk berjuang tanpa henti.” -ean-
Street Photography is like a box of a chocolates, you're never know what you're gonna get - Thomas Leuthard -
Menuju Pribadi Muslim Sejati yang Bertaqwa
Manajemen Sholat, renungan spiritual, Teknologi Informasi
Mari berbagi kebaikan, pengalaman dan senyum denganku
Ceritanya saya, Pikirannya saya, Hatinya saya
sikathabis semua informasi disini
because anything is possible with Charisma