Social Icons

Pages

Friday, 11 December 2009

IMPORT PDF TO OPENOFFICE.ORG

Pagi - Pagi iseng lanjutin baca milis KPLI Bogor, eehh.. ada thread yang ringan tapi butuh yaitu tentang import file pdf ke openoffice.org, tanpa pikir panjang langsung aja cobain.. oke gan, kite langsung aje ke TKP, cekidot..

1. Buka file terminal/console, klo dah muncul coba aja ketik perintah yang ada dibawah ini gan.. ---v

cnux-mecine ~ # apt-get install openoffice.org-pdfimport

note : klo belom masuk root pake sudo yoo depannyo..

2. KLo dah finished tuh installasi, langsung aje deh liat buka openoffice.org --nya.

pilih open, and then cari file pdfnya.. tuing..tuing.. jreeengg,, berhasilkan.. nii skrinsutnya gan.. cekidot..



tuh gan.. yang ad garis kotak itu adalah word yang bisa di edit. So, enjoy aja.. :-)

Monday, 24 August 2009

SETUP APACHE, MYSQL, & PHP on Tarball

Huaaaaaaaahhhh.. akhirnya setelah sekian lama dengan deadline yang begitu menyeramkan.. hingga terpaksa menyita waktu :((
(maklum newbie :D)..

Oke lets go on for install LAMP from tarball..

1. Pastikan semua paket yang akan di install ada paketnya yaitu :
a. mysql-5.0.45-linux-i686.tar.gz
b. httpd-2.2.11.tar.gz
c. php-5.2.1.tar.bz2
(This packages request from office (red.php-5.2.1), where, if php other version can cause error programme.. andai saja semua paket boleh apa aja, I can using yum installer :D)

2. Save all package on folder home atw apa keq (e.g disini /usr/local/src)

3. Then we start to installation mysql :
a. ~#groupadd mysql
(--make group mysql--)

b. ~#useradd -g mysql mysql
(-- make user mysql--)

c. ~#cd /usr/local/
(-- change dir. or into dir. for place saving mysql--)

d. ~#gunzip < /usr/local/src/mysql-5.0.45-linux-i686.tar.gz | tar xvf -
(--extrak mysql into dir. yg td qt masuk--)

e. ~#ln -s mysql-5.0.45-linux-i686.tar.gz mysql
(--make symbolic link to mysql, so we'll using mysql--)

f. ~#cd mysql
(--into dir.mysql (dir. hasil symlink)--)

g. ~#chown -R mysql .
(--change ownership user become mysql ([.] the main is for all/current dir.--)

h. ~#chgrp -R mysql .
(--change ownership group
become mysql ([.] the main is for all/current dir.--)

i. ~#scripts/mysql_install_db --user=mysql
(--go on installasi binary--)

j. ~#chown -R root .
(--change ownership become root--)

k. ~#chown -R mysql data
(-- change ownership
become mysql especially data folder--)

l. ~#vim /etc/profiles :
export PATH=/usr/local/mysql-5.0.45-linux-i686/bin:$PATH
(enter the script into /etc/profiles --> maksudnya adalah agar untuk
pemanggilan file binari mysql kita tidak usah masuk kedalam path mysql tersebut.
misal saya mau masuk ke mysql maka yang saya lakukan hanya :
~#mysql -uroot
in case klo skrip tersebut tidak digunakan then :
~#/usr/local/mysql/bin/mysql -uroot -pPassLo ---> panjang kan??

m. ~#mysqld_safe --user=mysql &
(--start mysql server--)

n. ~#mysql -uroot -pPassWlo
(--start mysql client/want to query--)

if you change password mysql, please using this step :
- mysql>use mysql;
- mysql>update user set password=PASSWORD("passwd_wish") where User='root';
- mysql>flush privileges;
- restart mysql

4. Installation Apache2 :
~# tar -xvzf /usr/local/src/httpd-2.2.11.tar.gz -C /usr/local/
~# cd httpd-2.2.11
~# ./configure --prefix=/usr/local/apache2 --enable-so <-- prefix = target directory
~# make
~# make install
<----- until here, apache has been install ------>
~#/usr/local/apache2/bin/apachectl start & <-- for stop ../apachectl stop

5. Installation PHP
~# tar -xvjf /usr/local/src/php-5.2.1.tar.bz2 -C /usr/local/
~# cd php-5.2.1
~# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
~# cp php.ini-dist /usr/local/lib/php.ini

please check on /usr/local/apache2/conf/httpd.conf :
LoadModule php5_module modules/libphp5.so
(--if php has already been install, so this script will be include to httpd--)
and then please add this script :
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

coba buat script php sederhana atau phpinfo.php untuk memastikan bahwa php & apachenya syncron, atau klo mau coba LAMP berhasil atau tidak bikin guest_book.php :P

note : & --> running process on background mode, so if you close the console then process will remain.

Sorry, this artikel using 2 bahasa, maklum masih belajar :P

Thursday, 16 July 2009

MerubahDesktopToTextMode Permanent

Akhirnya.. mencari - cari ditumpukan jerami akhirnya ketemui.. :D
Waktu itu aku pernah membuat dokumentasi untuk merubah tampilan Xwindows menjadi TextMode permanent atw waktu booting langsung masuk ke TextMode, tetapi dibuatnya pada sehelai kertas. Ketika aku mau mengedit tampilan itu kesemula (red - TextMode ke Xwindows) aku pun lupa bagaimana cara confignya. Akhirnya mencari - cari dan sambil mengingat - ingat pada beberapa kertas yang berceceran, ketemulah catatan kecil itu. Akupun langsung mencobanya dan ingatanku pun kembali. finally aku membuat dokumentasi pada catatan kecil seorang newbie alias diBlog ini.
Berikut langkah2nya (gampang koq) :

1. Edit file /etc/inittab (sebagai root)
[fedora@CNUX ~]# vim /etc/inittab


2. Find and Replace file dibawah ini :
id:5:initdefault: <--- replace angka 5 dengan angka 3

3. Mode off gnome :
[fedora@CNUX ~]# chkconfig gpm off

Selamat mencoba.. oiya, klo ingin merubah settingan kembali, langkah 2 ganti seperti semula dan langkah 3 off --> on. oke,,,

post on 16 july 2009 10:00

Saturday, 20 June 2009

ERROR SOLVE FOR YM ON PIDGIN

On the today precisely from morning and afternoon, I am feel bad for my pidgin. I think my pidgin on this OS is problematic. The time has been pass, night arrived, I trying pidgin and then I can't use pidgin on this OS, afterward I trying another pidgin at another OS, result I can't using again. I thing ISP "speda" has blocked for pidgin, but my friend give me information about pidgin. I look some reference and then I search in "mang google" so I found solved for this problem. Well, page server yahoo is down *maybe :D. Then I using another page server YM, by default YM using page server scs.msg.yahoo.com, so I change this domain with IP (using 66.163.181.170 or cn.scs.msg.yahoo.com). Finally I can using pidgin again.. huufhhh, my feel is happy :))

post on : June 20, 2009 01:00

Friday, 29 May 2009

COPY WEB DENGAN HTTRACK

Beuh.. bisa eksis di dunia bloger ternyata seneng ya.. kali ini saya mau membahas mengenai copyer web agar tuh sih web bisa dibaca offline browser (hari gini gag online..:p).
Oke langsung aja ke materi.. meskipun ini materi newbie banget gag ngaruh deh, yg penting saya punya documentation.:D. Materinya adalah "Mengambil Halaman Web dengan HTTRACK" agar dapat dibaca ketika kita offline. HTTRACK adalah software open source yang mantab bisa ambil isi semua file web, mungkin ada banyak software yang sejenis ini salah satuny yang saya tau adalah TELEPORT (tau deh ini "must be crack or not" :D).
Klo mau download softwarenya neeh disini, ada juga yang buat mikocok wedus :D bisa di unduh dimari, namanya juga open source berarti bisa digunakan pada platform yang beda. Oke next, untuk pembahasan mengenai instalasinya saya menggunakan cara yang mudah yaitu menggunakan jurus apt-get atau synaptic(biar cepet)..heheh...[installasi dilakukan pada ubuntu 8.04] .
caranya adalah :
1. masuk ke root dulu dong.

2. ketik neeh perintah :
root@adityas-nux:~#apt-get install httrack

3.klo udah coba untuk ketangguhanny :
a.bikin folder (boleh pke root boleh gag) . Misal buat folder w3school di /home/nm_user/
b.klo udah masuk tuh ke folder tadi, trs ketik perintah ini deh,buat copy web w3schools.com :
adityas@adityas-nux:/home/adityas/w3school#httrack http://w3schools.com/xhtml/default.asp
note: tau bisa tau gag deh tuh web di copy, sebab ada beberapa web yang gag bisa di copy yang udah saya pernah coba tuh web apache.org.

4.kalo uda beres semua.. Goyangkan pinggang ke kanan dan ke kiri.. :P

Bagi Linuxer yang dah pernah coba instalasi pke tarball kasih tau ya.. bizz ane males ngopreknya.. :D

---
wrote on Mei 29, 2009

Monday, 4 May 2009

TENTANG IOSTAT

Mungkin banyak yang sudah tau tentang penggunaan dari iostat ini. Maklum, aku masih newbie and pelupa..:D.. so, harus didokumentasikan.

Veris eh versi "man" iostat : “Report Central Processing Unit (CPU) statistics and input/out-put statistics for devices and partitions”.

klo kata en.wikipedia.com seeh : “iostat (input/output statistics) is a computer operating system monitoring tool used to collect and show storage input and output statistics”.

Oke sekarang coba untuk menginstall iostat. Biasanya seeh pada linux belom include (baru 2 OS linux jadi sample..^_^), tapi its oke, ada atau g ada yang penting tujuannya. Sekarang donlot dulu dong softwarenya neeh linknya http://www.linuxinsight.com/files/iostat-2.2.tar.gz atau disini. Iostat yang digunakan adalah versi 2.2. Nah sekarang mulai untuk tahap install :


::Ambil susu 1 gelas

::Cemilan 1 toples
[halah.. koq intall gini aja kaya mw begadang :D]

::masuk ke directory iostat yang tadi di donlot. Misal : /home/adityas/

::extraklah iostat-2.2.tar.gz :
[root@adityas-nux adityas]# tar xvzf iostat-2.2.tar.gz

::masuklah kedirektorinya, setelah itu ketik perintah ini :
[root@adityas-nux iostat-2.2]# make
bla...bla...bla...
[root@adityas-nux iostat-2.2]# make install
klo udah berhasil, setelah “make install” pasti ada bacaan :
install -d /usr/local/bin /usr/local/man/man8
install -o root -g root -m 755 -s iostat /usr/local/bin
install -o root -g root -m 644 iostat.8 /usr/local/man/man8
artinya tuh seeh paket ditaro di path /usr/local/.....(cape sebutinnya :D)

Instalasi selesai deh, gampang kan.. this is a simple install, right??
Setelah selesai kita test deh iostat-nya. Oups.. pasti dikiranya cuman ketik iostat yaa?? mmm.. padahal ada opsi lagi lho.. yaitu :
iostat [delay] [bnyk_data]
[root@adityas-nux iostat-2.2]# iostat 1 5

pasti hasil diatas kaya gini deh [klo di komputerku, sewaktu-waktu bisa berubah .. kaya jualan aja]

kps tps svc_t us sy wt id
50 4 3.1 6 1 0 92
0 0 0.0 3 1 0 96
0 0 0.0 2 1 0 97
0 0 0.0 2 1 0 97
0 0 0.0 3 1 0 96

klo mau jelas lagi liat aja di "man iostat" :D :D

Tuesday, 27 January 2009

SETTING DIAL-UP IM3 VOUCHER GPRS PADA UBUNTU 8.04

fuuuuhhhh,,,, akhirnya aku bisa berexpresi lewat karya tulis yg tidak formil ini lagi... :D. Pada tulisan kali ini aku akan mambahas tentang dial-up dengan menggunakan m3 yg menggunakan voucher gprs (klo di iklannya c 10/30 detik,,, aku blm itung tuh bener pa ga hargany :D). Oke anyway yg penting qt bisa ber-inet di mana2 dengan menggunakan hp. Langsung saja ada beberapa langkah neeh. Oiya, Hp yang aku gunakan adalah nokia 6300 dengan koneksi kabel data usb. Berikut adalah langkah2nya : Tapiiii....
Sebelum masuk ke langkah setting pada ubuntu 8.04, pastikan Hp N 6300 tersetting dengan baik alias:
  • pengatur konfig default : indosatgprs
  • jalur akses pilihan : SAT-internet
  • konfigurasi : indosatgprs
  • Account : indosatgprs
note : Jika kaga ada settinganny mungkin anda bisa hubungi dokter alias costumer care indosat m3 terdekat... :D
Kalo sudah lancar pada Hp maka "go on" to Hardy Heron. Berikut adalah langkah2nya :
Langkah 1 :
Mendeteksi apakah hp sudah terdeteksi. Dengan menggunakan perintah "lsusb"
adityas@adityas-nux:~$ sudo lsusb
[sudo] password for adityas:
Bus 004 Device 004: ID 174f:5212
Bus 004 Device 003: ID 0bda:0158 Realtek Semiconductor Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0421:04f9 Nokia Mobile Phones Nokia 6300 (PC-Suite mode)
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 15ca:00c3
Bus 001 Device 001: ID 0000:0000

Langkah 2 :
menyalin konfigurasi default pada kartu(tau kartu tau hp deh..heheh sory klo salah).
adityas@adityas-nux:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Langkah 3 :
Edit file /etc/wvdial.conf untuk pastiin phone, passwd, dan username.
adityas@adityas-nux:~$ sudo vim /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATX3 -----> yg di edit
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT + CGDCONT=1, "IP","WWW.INDOSAT-m3.NET" ------> ditambahin
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1# --------> masukin no
Password = indosat@durasi --------> masukin password (indosat@durasi)
Username = indosat@durasi --------> masukin username (indosat@durasi)
note: -------> (keterangan)

Langkah 4 :
aktifkan wvdial biar konek ke server.
adityas@adityas-nux:~$sudo wvdial

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATX3
ATX3
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT + CGDCONT=1, "IP","WWW.INDOSAT-m3.NET"
AT + CGDCONT=1, "IP","WWW.INDOSAT-m3.NET"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Tue Jan 27 11:39:38 2009
--> Pid of pppd: 6123
--> Using interface ppp0
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> local IP address 10.36.132.101
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> remote IP address 10.6.6.6
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> primary DNS address 124.195.15.100
--> pppd: ��[06][08]��[06][08][10]�[06][08]
--> secondary DNS address 124.195.15.98
--> pppd: ��[06][08]��[06][08][10]�[06][08]

taraaaaaaaaa... akhirnya bisa juga kan.. pokony klo udah terakhirny "pppd : blablablablablablal" langsung aja buka web browser nya coba deh ketik google.
Liat status bar nya "waiting for www.google.com". Selamat yaa udah berhasil.
 

Iklan

Content Here

My Facebook

Iklan

Content Here