there is a nice software that tells you how much disk space that you have been using. This software names is filelight. you can install it using apt-get install filelight. Below is the screenshot.

Photobucket

jika suatu proses menjadi tidak responsive dan hang dan hal ini terjadi di windows maka kita akan menekan “ctrl+alt+del” utk menampilkan task manager dan mematikan proses yang hang tersebut. nah skrg apa yg akan kita lakukan jika hal ini terjadi di linux? utk solusinya aq mempunyai 2 cara

1. ketika kita berada di x-windows session maka cara yg bisa di lakukan adalah membuka virtual terminal. dengan menggunakan key ini. “ctrl+alt+F-key”
sebagai contoh kita menekan ctrl+alt+F1 dan kita akan masuk ke virtual terminal tty1. nah setelah masuk ke virtual terminal kita bisa menggunakan command ps utk mengetahui proses apa yg hang dan kita bisa mematikannya dari situ. dan setelah selesai tekan ctrl+alt+F7 utk kembali ke fungsi graphik.

2. cara yg kedua adalah dengan menggunakan ssh. jadi kalau suatu komputer hang dan terhubung ke network kita bisa menggunakan ssh dan me-remote ke komputer tersebut dan menjalankan command ps dan mematikan proses yang hang. sehingga komputer itu bisa jalan dengan normal kembali.

nah itu adalah cara-cara yg aq lakukan jika linux aq macet atau hang (mungkin karena kebanyakan buka aplikasi. hehehe….). apa teman2 punya cara yg lain selain yg dah di sebutkan disini? bisa di share kok. :-P

I was using google chrome alpha for linux. You can download it here
what I found most interesting is that I don’t have to install it, I just have to click it and the chrome browser is already open and ready to use. I guess because it’s still in development. And also this alpha version is being updated every hour. so there’ll be a lot of version when you go to the link I provided above. and yes the mac version is also provided there (although I still don’t have a mac due to budget issues. hehehe….) 

Well happy browsing using google chrome alpha anyone. :-P

google_chrome

command du menampilkan ukuran suatu folder atau file dalam bytes. Kita bisa menggunakan command ini utk menentukan berapa ukuran suatu folder dalam linux menggunakan terminal. Di bawah ini adalah contohnya.

root@yucie-desktop:/home/kamsis# du -s /home/kamsis
17460680    /home/kamsis

command diatas menampilkan ukuran dari folder yg ada di /home/kamsis. opsi -s menampilkan ukuran yg telah di kumpulkan. Jika kamu tidak menggunakan opsi -s maka command du akan menampilkan semua file dan folder beserta ukurannya secara rekursif sehingga agak sulit utk di baca.

root@yucie-desktop:/home/kamsis# du -sh /home/kamsis
17G    /home/kamsis

menambahkan opsi -h menampilkan ukuran file dalam format yg mudah di baca oleh manusia

utk tau lebih detail mengenai penggunaan du bisa di baca di terminal dengan mengetikkan ini

man du

source

Gvim as a GUI for vim

May 19, 2009

I just installed Gvim, a GUI version of vim and it’s really good. a lot of improvement. you can read all about it here. and you can install it in ubuntu by using apt-get. here is the screenshot.

Gvim

So I have been using wolframalpha to test out this new search engine and I have to say it’s kind of a nice things. This wolfram is designed to compute things. It will search the internet and crunches all the data and it will produce a solution. The first thing I try in wolfram is this keyword “internet users in indonesia” and it produce a number of 13 million.

well if you are a mathematic enthusiast you will find wolfram a bit helping

clipped from www.wolframalpha.com


Input interpretation:Mathematica form

Indonesia | internet users




Result:

13 million people  (2007 estimate)






Computed by Wolfram Mathematica
Source information ยปDownload as: PDFLive Mathematica
loading...
loading...


  blog it

if you want to activate apache in fedora the method is quite different from ubuntu. In ubuntu I usually use this command

sudo apt-get install apache2

and when I type http://localhost in firefox the apache message appear and I can use apache afterwards. But if you use fedora 10 then here is the method.

firstly you have to install this package

[root@kamsis html]# yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-shout php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel

then after you had finish with the installations you have to edit the file in

[root@kamsis html]# vim /etc/httpd/conf/httpd.conf
after you have open the file, look for the line starting with

DirectoryIndex

and change it into this line

DirectoryIndex index.html.var index.html index.htm index.shtml index.cgi index.php index.php3 index.pl

after you have save the changes then you need to configure the apache so it will start during boot time with command like this

[root@kamsis html]# chkconfig –levels 235 httpd on

and then start your apache

[root@kamsis html]# /etc/init.d/httpd restart

now if you type http://localhost in firefox then the apache’s message will appear and you have succesfully install apache in fedora 10.

I need to disable selinux because i cannot access my computer using samba. so to do this I edit the file here

[root@kamsis home]# vim /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing – SELinux security policy is enforced.
#       permissive – SELinux prints warnings instead of enforcing.
#       disabled – No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted – Targeted processes are protected,
#       mls – Multi Level Security protection.
SELINUXTYPE=targeted

then you just have to change to parameter from enforcing to disabled and then reboot your computer. Now you computer are free from SElinux.

actually at first I was a bit confuse of how to install konqueror in fedora 10, I kept trying to use command like this

yum install konqueror

but the output is that yum cannot find any package that name konqueror, so after much time searching in the internet I found that there is no package name konqueror in fedora repository. you have to install kdebase if you want to have konqueror in a gnome environment. so I do this

yum install kdebase

and I now have a fully functioning konqueror in fedora 10. :-P

Actually when I try to use fedora 10, I encounter 2 problems, I will explain them here

first problem
when I try to install fedora 10 using VIA for the graphic card, the mouse pointer become invisible. So I cannot see the mouse. but this can be easily fixed. firstly I have to install system-config-display
yum install system-config-display

after that I try to open folder located in /etc/X11/ and I find that xorg.conf file doesn’t exist, so I created it and fill it with the following configuration
 
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "PrintVGARegs" # [<bool>]
#Option "PrintTVRegs" # [<bool>]
#Option "I2CScan" # [<bool>]
#Option "VBEModes" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "ExaNoComposite" # [<bool>]
#Option "ExaScratchSize" # <i>
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoRAM" # <i>
#Option "ActiveDevice" # [<str>]
#Option "BusWidth" # [<str>]
#Option "Center" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "ForcePanel" # [<bool>]
#Option "TVDotCrawl" # [<bool>]
#Option "TVDeflicker" # <i>
#Option "TVType" # [<str>]
#Option "TVOutput" # [<str>]
#Option "DisableVQ" # [<bool>]
#Option "DisableIRQ" # [<bool>]
#Option "EnableAGPDMA" # [<bool>]
#Option "NoAGPFor2D" # [<bool>]
#Option "NoXVDMA" # [<bool>]
#Option "VbeSaveRestore" # [<bool>]
#Option "DisableXvBWCheck" # [<bool>]
#Option "MaxDRIMem" # <i>
#Option "AGPMem" # <i>
Option "HWCursor" "off"
Option "SWCursor" "on"
Identifier "Card0"
Driver "openchrome"
VendorName "VIA Technologies, Inc."
BoardName "UniChrome Pro IGP"
BusID "PCI:1:0:0"
EndSection

Then I restarted the Xserver using ctrl+alt+backspace and the mouse pointer is now visible

second problem
the problem that I am having is concerning the use of yum as installation of packages, it seems to me that yum has a bug. the bug appears when I try to install application using yum and it says that yum has been locked by a process name /var/run/yum.pid so after I spend time looking for answer in google I found out the solution is to remove the file

rm /var/run/yum.pid

then after that I can install the package using yum succesfully.