Saturday, January 27, 2007

Light WEight System Monitor aka. Conky



Light Weight Banyak Neh, favorit sih cuman 1, conky namanya, nah install di Ubuntu Dapper juga sederhana ko, so hereis conky..., rujuk aja ke situsnya di http://conky.sourceforge.net/
  • dwina@dwina-laptop:~$ sudo apt-get install conky
dah gitu copy file sample conkyrc ke home direktory kita.
  • dwina@dwina-laptop:~$ zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc
nah edit file .conkyrc itu sesuai selera anda;

yang ini yang sementara terpasang di sistem saya ;o))
____________

background no


use_xft yes
xftfont Terminus:size=8
xftalpha 0.8

update_interval 15.0
total_run_times 0
own_window no
double_buffer no
minimum_size 1000 5

draw_shades yes
draw_outline no
draw_borders no

stippled_borders 8
border_margin 1
border_width 1

default_color white
default_shade_color black
default_outline_color white

alignment top_left

gap_x 12
gap_y 12

no_buffers yes

uppercase no

cpu_avg_samples 2

net_avg_samples 2

override_utf8_locale no

use_spacer yes

TEXT

$nodename - $sysname $kernel on $machine
${offset 0}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 0}${color slate grey}${time %Z, }${color }${time %H:%M:%S}
${offset 0}${color slate grey}UpTime: ${color }$uptime
${offset 0}${color slate grey}Kern:${color }$kernel
${offset 0}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 0}${cpugraph 20,130 000000 ffffff}
${offset 0}${color slate grey}Load: ${color }$loadavg
${offset 0}${color slate grey}Processes: ${color }$processes
${offset 0}${color slate grey}Running: ${color }$running_processes

${offset 0}${color slate grey}Highest CPU:
${offset 0}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 0}${color lightgrey} ${top name 2}${top cpu 2}
${offset 0}${color lightgrey} ${top name 3}${top cpu 3}
${offset 0}${color lightgrey} ${top name 4}${top cpu 4}

${offset 0}${color slate grey}Highest MEM:
${offset 0}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 0}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 0}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 0}${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${offset 0}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
${offset 0}${membar 5,130}
${offset 0}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 0}${swapbar 5,130}

${offset 0}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 0}${fs_bar 5,130 /}
${offset 0}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 0}${fs_bar 5,130 /home}
${offset 0}${color slate grey}NET:
${offset 0}${color}Up: ${color }${upspeed eth0} k/s
${offset 0}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 0}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 0}${downspeedgraph eth0 20,130 000000 ffffff}

${color slate grey}/var/log/messages:
${color}${exec tail -n10 /var/log/messages}



Friday, January 26, 2007

IM Server di Linux Ubuntu Dapper


Kembali lage neh...

Just for my Own Blog Tut, biar nggak di forgettin ama ni Otak hehehe ;o)))

so ini nih ceritanya..., konon nun jauh disana di dunia per-Internetan, banyak sekali IM server yang bisa kita gunakan diantaranya jabber server, wildfire dgn Sparknya,

Namun ane pake aja si Wildfire, nyang kata orang mudah ko setup-Nye.. so I Think maybe it's Rite !

  1. Langkah pertama pastikan bahwa Java terinstall di sistem, tuk wildfire 3.11 dia minta spek java seri 1.50, sedangkan ubuntu dapper defaultnya masih java 1.40, so tuk install java 1.50 lihat di blog sebelumnya ;o))
  2. Donlot wildfire di http://www.jivesoftware.org/downloads.jsp#messenger
  3. pindahkan file tersebut ke direktory /opt
  4. lalu :
  • dwina@dhdwde /opt$ tar xzvf wildfire_3_1_1.tar.gz
kemudian edit file wildfired
  • dwina@dhdwde /opt$ sudo pico /opt/wildfire/bin/extra/wildfired
Pada file tersebut di marking (#) dan tambahkan teks berikut ; lalu di save.
#export WILDFIRE_USER=jive
export INSTALL4J_JAVA_HOME= /usr/lib/jvm/jdk1.5.0_06/

kemudian jalankan wildfire untuk mengetesnya ;
  • dwina@dhdwde /opt $ sudo /opt/wildfire/bin/wildfire start
jika ada pesan "no HUP" abaikan saja...

  • lalu arahkan browser anda ke http://127.0.0.1:9090/
Binggo !! its done, and lanjutin setup servernya lewat Interface WEbnya aja ;o))

nah jika ingin di aktifin/otomatis jalan setiap Boot Process, copy ke init.d dan update init daemonnya, ini stepnya :
  • dwina@dhdwde opt/$ sudo cp /usr/local/wildfire/bin/extra/wildfired /etc/init.d
  • dwina@dhdwde opt/$sudo update-rc.d wildfired defaults
Met Ber IM ria..., jangan lupa Sparknya di Install

NIh Yang TAmpak...

Java 1.50 on Ubuntu Dapper 6.06

hi folks...

Since Java on Ubuntu 6.06 default Repo was just on Version 1.40, here is the small step for upgrading your Java 1.4 on Ubuntu 6.06 to 1.50, hence thereis another java 1.60 was avaiable on java sites.

so hereis the step, download java, for this tip i'm just taking the JDK files
Setelah itu ubah attribut filenya menjadi file yang dapat di eksekusi, here is the command;
  • dwina@dhdwde$ sudo chmod a+x jdk-1_5_0_06-linux-i586.bin
after that we need to execute the program ;
  • dwina@dhdwde$ sudo ./jdk-1_5_0_06-linux-i586.bin
After execute the program, the directory name jdk1.5.0_06/ was there, we need to move the directory to the default directory of java on ubuntu 6.06
  • dwina@dhdwde$ sudo mv jdk1.5.0_06 /usr/lib/jvm/
after completion moved the directory we need to update the infromation
  • dwina@dhdwde$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.5.0_06/bin/java" 1
  • dwina@dhdwde$ sudo update-alternatives --set java /usr/lib/jvm/jdk1.5.0_06/bin/java
So check the java version;
  • dwina@dhdwde$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

;o))

Limewire In Ubuntu ,,, another P2P


hue.. gmana neh install lime wire di Ubuntu,.. well that its simple

here is the step..

- Aktifkan repositorynya untuk Multiverse dan Universe

- Krn Limewire itu di buat di platform Java, mau nggak mau kita musti mastiin paket-paket Java terinstall di sistem kita
  • dwina@dhdwde$ sudo apt-get install sun-java5-jre sun-java5-plugin.

- Lalu install paket alien, alien adalah aplikasi yang akan mengubah file .rpm menjadi .deb untuk dapat di install dalam sistem ubuntu linux yang berbasis debian linux
  • dwina@dhdwde$ sudo apt-get install alien

- Setelah itu download file Limewire yang berformat .rpm di situsnya


- Lalu kita konversi file .rpm tersebut apabila telah selesai di download ke dalam format debian dengan cara :

  • dwina@dhdwde$ sudo alien LimeWireLinux.rpm

- Setelah itu install dah file .deb yang terbentuk tadi

  • dwina@dhdwde$ sudo dpkg -i LimeWireLinux.deb
Met Menikmati Donlotannya yeee