Gak masalah, daripada manyun....!!
Sunday, February 14, 2010
.:: Gak masalah, daripada manyun ::.
Posted by
norman_crops
at
3:17 PM
0
comments
.:: Facebook Chat di Pidgin melaui XMPP-Jabber ::.
Posted by
norman_crops
at
2:30 PM
0
comments
.:: Install JDBC (Java-MySQL Connector) ::.
Cuma mau jadi catatan aja, kemarin bos kesulitan untuk menghubungkan GlassFishnya dengan MySQL. Ternyata setelah dilakukan debug, connector ke MySQL belum terinstall di Java nya.
Langsung aja download JDBC buat MySQL di mirror kambing tepatnya di sini . Sebagai catatan agar bisa menggunakan JDBC Connector ini, PC kita harus terinstall Java terlebih dahulu. Cara install JDBC yang dilakukan pada posting ini juga sederhana, hanya copy paste, lah bagaimana caranya..?
- Download Java-MySQL connector di sini
- Ekstrak paket : #tar –zxvf mysql-connector-java-5.1.10.tar.gz
- Copy file mysql-connector-java-5.1.10-bin.jar ke path Java (/opt/java/jre/lib/ext/)
- Install selesai.
Setelah diinstall, koneksi bisa dilakukan. Sederhana ternyata.
Selengkapnya....
Posted by
norman_crops
at
10:18 AM
0
comments
Sunday, November 1, 2009
.:: Restart XServer dengan Ctrl+Alt+BackSpace di Jaunty ::.
-- Install "dontzap"
$sudo apt-get install dontzap
$sudo dontzap -datau
$sudo dontzap -eDimana option -d untuk mendisable --> -d, --disable Set "DontZap" to "False" (Ctrl+Alt+Backspace restarts the xserver). Sedangkan option -e untuk enable --> -e, --enable Set "DontZap" to "True" (Ctrl+Alt+Backspace does not restart the xserver).
Lalu logout secara manual dan login kembali. Setelah itu coba logout kembali dengan mengetikan Ctrl+Alt+BackSpace. Dan tarraaa...Xserver restart.
NB : Sebenernya ada cara lain yang mungkin jarang dipake orang, yaitu dengan menekan tombol --> Alt kanan+PrintScreen+k
Posted by
norman_crops
at
10:55 AM
0
comments
Thursday, October 29, 2009
.:: Gratisan SMS lewat Facebook ::.
- Login ke account Facebook anda (Jangan ke account orang laen ya..!)
- Masuk ke sini http://apps.facebook.com/chatsms/
- Klik tombol allow
- Klik tombol Add to Profile (agar aplikasi langsung ada di profile anda)
- Akan muncul popup yang menanyakan "add ChatSMS to your profile?", klik tombol add.
- Selanjutnya buka halaman profile facebook anda, di sisi kiri ada widget chatsms. Dan ada telah dapat menggunakan aplikasi tersebut.
- Cara penggunaan : Ganti nama negara menjadi Indonesia, masukan nomor HP yang dituju tanpa angka 0 di awalan, lalu isikan isi sms nya, dan klik tombol send sms.
Selesai.
Posted by
norman_crops
at
3:13 PM
0
comments
Saturday, October 24, 2009
.:: Menambah SWAP di CentOS ::.
Cek partisi SWAP :
#swapon -sCek partisi / yang akan kita ambil space, buat SWAP :
#df -hBuat SWAP file tambahan dengan perintah data dump (dd) :
#dd if=/dev/zero of=/swapbaru bs=1024 count=2048000Ket :
if=/dev/zero, /dev/zero sebagai file input
of=/swapbaru, tulis file output ke /swapbaru
bs=1024, bs (block size) sebesar 1024
count=2048000, hanya meng’copy 2048Mb ( 2GB) blok untuk input
Buat file SWAP yang baru di dump tadi :
#mkswap /swapbaruAktifkan file SWAP yang baru tadi, digabungkan dengan partisi SWAP yang sudah ada :
#swapon /swapbaruCek keberadaan SWAP baru yang telah ditambahkan :
#swapon -sAkan ada 2 baris untuk SWAP, berupa partisi dan file SWAP yang ditambahkan
/swapbaru none swap sw 0 0
Selesai..
Posted by
norman_crops
at
8:51 AM
0
comments
Wednesday, October 7, 2009
.:: How free are you ? ::.
norman@web12:~$ vrms
Non-free packages installed on web12.norman.int
fglrx-modaliases Identifiers supported by the ATI graphics driver
linux-restricted-modules- Non-free Linux 2.6.28 modules helper script
linux-restricted-modules- Restricted Linux modules for generic kernels
nvidia-173-modaliases Modaliases for the NVIDIA binary X.Org driver
nvidia-180-modaliases Modaliases for the NVIDIA binary X.Org driver
nvidia-71-modaliases Modaliases for the NVIDIA binary X.Org driver
nvidia-96-modaliases Modaliases for the NVIDIA binary X.Org driver
opera The Opera Web Browser
rar Archiver for .rar files
sl-modem-daemon SmartLink software modem daemon
tangerine-icon-theme Tangerine Icon theme
unrar Unarchiver for .rar files (non-free version)
Reason: Modifications problematic
Contrib packages installed on web12.norman.int
flashplugin-installer Adobe Flash Player plugin installer
flashplugin-nonfree Adobe Flash Player plugin installer (transitional pack
flashplugin-nonfree-extra Adobe Flash Player platform support library for Esound
msttcorefonts transitional dummy package
nvidia-common Find obsolete NVIDIA drivers
ttf-mscorefonts-installer Installer for Microsoft TrueType core fonts
12 non-free packages, 0.8% of 1589 installed packages.
6 contrib packages, 0.4% of 1589 installed packages.
Posted by
norman_crops
at
6:11 PM
0
comments
Monday, September 14, 2009
.:: Blok atau IJinkan Traffic ICMP denga IPTABLES ::.
Disini gw coba akan bagi sedikit ilmu yang gw juga baru dapet, yaitu memblok atau mengijinkan traffic ICMP dengan Iptables, begini :
Secara default semua rule firewal adalah tertutup untuk semua port.
Case 1 : Mengijinkan permintaan datang ICMP dari Client
#iptables -A INPUT -p icmp --icmp-type 8 -s 0/0 -d $IP_SERVER -m state
--state NEW,ESTABLISHED,RELATED -j ACCEPT
#iptables -A OUTPUT -p icmp --icmp-type 0 -s $IP_SERVER -d 0/0 -m state
--state ESTABLISHED,RELATED -j ACCEPT
Case 2 : Menginjikan permintaan keluar ICMP dari Server
#iptables -A OUTPUT -p icmp --icmp-type 8 -s $IP_SERVER -d 0/0 -m state
--state NEW,ESTABLISHED,RELATED -j ACCEPT
#iptables -A INPUT -p icmp --icmp-type 0 -s 0/0 -d $SERVER_IP -m state
--state ESTABLISHED,RELATED -j ACCEPT
Case 3 : Blok permintaan datang ICMP dari Client
# iptables -A INPUT -p icmp --icmp-type 8 -j DROP
Case 4 : Blok permintaan keluar ICMP dari Server
#iptables -A OUTPUT -p icmp --icmp-type 8 -j DROP
Posted by
norman_crops
at
10:25 PM
0
comments
Wednesday, September 9, 2009
.:: Proxy Support di Ubuntu ::.
- Proxy support for Synaptic Package Manager. --> Start the software and click Settings-> Preferences-> Network Tab. Click Manual Proxy Configuration and enter your proxy information. If you have to login to the proxy then use the host format username:password@host.
- Proxy support for apt-get package management --> Define the http_proxy variable in the format http://host:port/. If you have to login then use the format http://username:password@host:port/. To define this variable add the following lines to the root login file /root/.bashrc.
export http_proxy
- Proxy support for Mozilla Firefox --> Start Mozilla then click on Edit->Preferences. In the General section click on Connection Settings. Enter your proxy infomation here. If you have to authenticate against your proxy then Mozilla will prompt you for a username and password.
- Proxy support for the Gnome desktop --> Click on Computer->Desktop Preferences->Network Proxy . Enter your proxy information here. How do you enter proxy auth here?
Posted by
norman_crops
at
10:24 AM
0
comments
Friday, August 21, 2009
.:: Login User tanpa Password di Jaunty ::.
- Buat user baru yang akan digunakan login tanpa menggunakan password.
$sudo passwd impol { isikan password }
atau via GUI fsdfsf
- Hapus password untuk user tersebut
Cari baris :
impol:x:1001:1001::/home/impol:/bin/bash
Hapus 'x' nya, sehingga menjadi :
impol::1001:1001::/home/impol:/bin/bash
- Edit login agar tanpa password
Cari baris yang memuat modul pam_unix.so dan ubah opsi dibelakangnya yang mengikuti menjadi hanya "nullok" , sehingga menjadi auth [success=1 default=ignore] pam_unix.so nullok
- Coba logout system dan coba login dengan user yang dimodifikasi tanpa menggunakan password tadi, sampai sini harusnya user tersebut dapat langsung login tanpa konfirmasi password, soalnya yang sudah saya lakukan tersebut tanpa meminta konfirmasi lagi.
Posted by
norman_crops
at
12:56 AM
0
comments

