Tuesday, September 25, 2012
syncronize folder
Open the terminal, and run the sync command;
hari@MyNB:~$ sudo rsync -a folder1 folder2
"that command mean syncronize folder1 to folder2 "
that's it.... easy right ?
Saturday, September 22, 2012
Change Unity to Gnome on ubuntu 12.04
1. Add repository
sudo add-apt-repository ppa:gnome3-team/gnome3
2. Run repository update
sudo apt-get update
3. Install the gnome-shell
sudo apt-get install gnome-shell
4. Log out than login, but remember to choose the session first ... and Enter... violaaa... your gnome desktop ready to use...
Sunday, September 9, 2012
Install SMS Gateway di Ubuntu
1. Langkah pertama adalah install gammu dan gammu-smsd.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 008: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse
Bus 002 Device 009: ID 04d9:1203 Holtek Semiconductor, Inc. Keyboard
Bus 002 Device 007: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
root@TMA-PowerEdge-T110-II:~#
[ 1.800643] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.896399] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 2.192509] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.244389] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[30640.705668] usb 2-1.2: pl2303 converter now attached to ttyUSB0
#nano /root/.gammurc
port = /dev/ttyUSB0
model =
connection = at115200
synchronizetime = no
logfile = /var/log/smsdlog
logformat = nothing
use_locking =
gammuloc =
4. Untuk test apakah gammu sudah bisa connect dengan modem lakukan perintah #gammu --identify
# gammu --identify
Device : /dev/ttyUSB0
Manufacturer : Wavecom
Model : MULTIBAND 900E 1800 (MULTIBAND 900E 1800)
Firmware : 641b09gg.Q2403A 1320676 061804 14:38
IMEI : 012345678901234
SIM IMSI : 510101352454024
5. Buat database sms dan jalankan script mysql.sql di /usr/share/doc/gammu/examples/sql/mysql.sql
6. Supaya tidak muncul error " Error code: 2002, Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)" jalankan perintah
sudo mkdir /var/run/mysqld
sudo ln -s /opt/lampp/var/mysql/mysql.sock /var/run/mysqld/mysqld.sock
7. jalankan service gammu-smsdrc dengan perintah
/etc/init.d/gammu-smsd start
INGAT = apabila service gammu-smsdrc ini sudah jalan maka kalau menjalankan perintah gammu --identify akan tidak muncul hasilnya. harus matikan service gammu-smsdrc dulu.
8. Supaya service ini jalan otomatis apabila pc restart, taru perintah itu di file rc.local
9. Untuk melihat isi inbox di mysql
mysql> select ReceivingDateTime,TextDecoded from inbox;
+---------------------+-------------------------------------------+
| ReceivingDateTime | TextDecoded |
+---------------------+-------------------------------------------+
| 2012-09-09 17:56:01 | Sudah bisa connect tuh inbox gamunya. |
| 2012-09-09 17:54:10 | Hallo |
+---------------------+-------------------------------------------+
2 rows in set (0.00 sec)
Thursday, February 17, 2011
How to Install Grub On Ubuntu
1, Boot into your ubuntu
2. go to the terminal
( you just need to update you grub so that it can find the windows
installation, this can be done by the following command )
#:~$ *sudo update-grub2*
[sudo] password for ubuntu:
Generating grub.cfg ...
Found Debian background: apollo.tga
Found linux image: /boot/vmlinuz-2.6.31-15-generic
Found initrd image: /boot/initrd.img-2.6.31-15-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows xp (loader) on /dev/sda1
done
3. try reboot again , now you will see windows xp in grub menu
Monday, July 27, 2009
Cara koneksi 2 SQL Server 2005 setelah di registrasi
Setelah di daftarkan sql server 2005 yang akan di connect (caranya lihat di postingan sebelumnya). Di querry analyzer di jalankan
Exec sp_addlinkedserver 'NamaPC\NamaDatabase', N 'SQL Server'
GO
EXEC sp_addlinkedsrvlogin 'NamaPC','False', Null, 'sa','password sa '
GO
contoh :
GO
EXEC sp_addlinkedserver 'SEATTLESales', N'SQL Server'
GO
EXEC sp_addlinkedsvrlogin 'SEATLESales','False',Null,'sa',' '
Friday, July 10, 2009
Cara Register SQL Server 2005
1. Jalankan SQL Server Surface Area Configuration

akan muncul windows

setalah itu di set supaya SQL server yg akan di registrasi di allowkan untuk di remote

Kemudian, login ke SQL yang akan me register dengan cara :
- Klik menu Microsoft SQL Server Management Studio
- Klik menu File, Connect Object Explorer, akan muncul form login , isikan Server Name yang akan di register contohnya Monitoring, Authentication menggunakan SQL Server Authentication.

setelah itu akan muncul SQL Server yang ter register di bagian Object Explorer.

Thursday, February 19, 2009
Ubuntu 8.04 (Hardy Heron) di Axioo TVW 8162
Setelah beberapa kali hapus pasang (mungkin lima puluhan kalee)akhirnya linux bisa juga bertengger di axioo ku. Sebelumnya ada kabar notebook axioo gak bisa di installin linux... wuah.. deg2xan juga nih dengerinnya. Tapi mosok gak bisa sih... penasaran... hmmm .....setelah browsing sana sini tanya sana sini akhirnya ada petunjuk yang sangat penting nih.
Sebelumnya jalanin Live Cdnya aja susahnya setengah mati.. belum apa-apa dah hang. Dapet petunjuk.. coba deh tambahin option noapic acpi=off vga=798 di boot option. Nha bisa khan ?
Setelah coba LiveCD, sekarang coba deh install ke Hdd. Hati-hati untuk pemilihan create partisi, trus lanjutkan proses instalasinya. kalau dah selesai.. restart deh.
Setelah dengan susah payah install, ternyata... resolusi vga tidak memuaskan... hanya 800x600..wadow...Setelah tanya tanya paman google dan beberapa teman yang bisa linux akhirnya dapat cara untuk seting resolusi ke 1024x768 supaya nyaman dilihat. hmmmm caranya coba masuk ke terminal xterm. kemudian jalankan "sudo displayconfig-gtk" (tanpa tanda kutip).

Kemudian pilih setingan monitornya Generic LCD panel 1024x768 sudah itu klik OK. kemudian log out atau kalau mau ngikutin M$ restart PC. Hasilnya.... tada..... untuk setingan ini cukup lha... dari pada 800x640.. untuk setingan lain seperti koneksi ke internet dengan modem hwuaei 220.. nanti aja ya... tak jelasin di posting berikutnya.
Ini tampilan desktop ubuntu di axioo ku...