Wednesday, July 30, 2008

Amarok another Media Player for Linux

If you have read my post,Media Player for your Linux then you must have tried Exaile.

Well, Amarok is from what Exaile was inspired. So give it a try.

http://amarok.kde.org/





sudo apt-get install amarok

Saturday, July 26, 2008

9th sysadmin day

July 25th, 2008 (Last Friday Of July) 9th Annual System Administrator Appreciation Day

http://www.sysadminday.com/

Thursday, July 24, 2008

CHM viewer - gnochm

gnochm is a good chm viewer for your Ubuntu machine.



Install it by
sudo apt-get install gnochm

Start it by
Menu->Accessories->CHM Viewer

Twitter client, twitux

If you twitter then this little client in Ubuntu can be very handy for you.



Its called twitux.
Go to the site http://live.gnome.org/DanielMorales/Twitux

Install it by
sudo apt-get install twitux

Start it from
Menu->Internet->Twitux

Saturday, July 19, 2008

When Linux Hangs

Yes! Linux too hangs. By forcing a manual restart you can put your data at risk.

So when your desktop freezes you can use ATL+CTRL+BackSpace to restart X or GDM.

If that doesn't helps there are other important key sequences that can help you when your computer freezes. They prevent you from file system error during the crash. Also they gives some program to make emergency backup of unsaved work. They are called magic SysRq keys. Please note that they dont work on kernel panic.

To safely restart freezed system,

Press ALT+PrintScreen
While holding them press and release the following keys one by one.
R S E I U B

Please keep in mind that you need to press each key for 2-3 seconds.

These keys are the shortcut for:
Raw Sync tErminate kIll Unmount reBoot

To safely shutdown freezed system,

Press ALT+PrintScreen
While holding them press and release the following keys one by one.
R S E I U O

Please keep in mind that you need to press each key for 2-3 seconds.

These keys are the shortcut for:
Raw Sync tErminate kIll Unmount shutdOwn

There function is:
Raw take control of keyboard back from X
tErminate send SIGTERM to all processes, allowing them to terminate racefully
kIll send SIGKILL to all processes, forcing them to terminate immediately
Sync flush data to disk
Unmount remount all filesystems read-only
reBoot reboot the system
shutdOwn shutdown the system

For more http://en.wikipedia.org/wiki/Magic_SysRq_key

Thursday, July 17, 2008

free the fish - swimming fish in your desktop

Go to "run application" by pressing ALT+F2 and type free the fish
Voila! You have got guest in your desktop!!!!!

How to remove comments and blank lines from file

So often you need to remove comments and blank lines form configuration files.
You can do it in a very easy single step.

#grep -v ^$ file.conf | grep -v ^#

What it does is grep ^$ from your file. You must be saying I don't have any such character in my file. Actually those characters have their own meaning.

^ begging of the line
$ end of the line

So searching for ^$ means you are searching a blank line.
The -v option invert your search.
So #grep -v ^$ matches all the lines except the blank lines.

Again the pipe '|' sends those match to another grep command which matches any line begging with '#'. Then -v option again inverts the match giving you all the lines except comment and blank lines.

If you want the output in a file rather than screen then redirect it,
#grep -v ^$ file.conf | grep -v ^# > newfile

For more of the input/output and error redirection visit http://techspalace.blogspot.com/2008/06/devnull-2.html

device manager for Ubuntu

There are tools like lsusb, lspci, lspcmcia, lshw that provides wonderful information of your current hardware.

These tools are all command based and you wont find any wonderful GUI tools on the system menu.

If you want to see the details of your computer hardware in GUI mode then hardinfo is the program for you.



You can install it by:
sudo apt-get install hardinfo

Then launch application launcher by pressting ALT+F2 and typing hardinfo.

Thought the topic says this is not a device manager. It only displays information about the devices. So you can call it hardware information on Ubuntu.

Understanding routing table flags

Following command produces very handy routing table of your system.

#netstat -r
#route

The output is very handy and helps in troubleshooting your network problem. The flags if you can understand will help you much more. So here is the summary of the flags and their meaning.

Flag

Name

Meaning



1

RTF_PROTO1

Protocol specific routing flag 1

2

RTF_PROTO2

Protocol specific routing flag 2

3

RTF_PROTO3

Protocol specific routing flag 3

B

RTF_BLACKHOLE

Just discard pkts (during updates)

b

RTF_BROADCAST

The route represents a broadcast address

C

RTF_CLONING

Generate new routes on use

c

RTF_PRCLONING

Protocol-specified generate new routes on use

D

RTF_DYNAMIC

Created dynamically (by redirect)

G

RTF_GATEWAY

Destination requires forwarding by intermediary

H

RTF_HOST

Host entry (net otherwise)

L

RTF_LLINFO

Valid protocol to link address translation

M

RTF_MODIFIED

Modified dynamically (by redirect)

R

RTF_REJECT

Host or net unreachable

S

RTF_STATIC

Manually added

U

RTF_UP

Route usable

W

RTF_WASCLONED

Route was generated as a result of cloning

X

RTF_XRESOLVE

External daemon translates proto to link address

Wednesday, July 16, 2008

UNTUK PARA OPERATOR NISN SE NUSANTARA

CEK DATA SISWA MUTASI DALAM KOTA/KAB DAN DARI LUAR KOTA/KAB dan JENIS LAPORAN LAINNYA
1. LOG IN KE : http://operator.jardiknas.org
2. MASUK KE MENU SISWA
3. KLIK MENU DOWNLOAD
4. KLIK MENU JENIS LAPORAN
(sesuai dengan kebutuhan anda Sebagai Operator NISN-Dapodik)
5. KLIK Daftar siswa mutasi belum disetujui per kota
6. KLIK box Lanjut
7. KLIK box Download - muncul box
8. SAVE FILE (terserah anda mau dimana or folder mana)
9. KLIK KANAN PADA FILE HASIL DOWNLOAD TADI
(open file nya pake Micrososft Excel)
10.EKSEKUSI dech file tadi
dengan menggunakan menu Approval Mutasi Siswa
dengan memasukkan NISN nya one by one

sekian, semoga membantu Sobat2 Operator Dapodik se-Nusantara

Friday, July 11, 2008

How Facebook stores billions of photo

Eqonomize track your income and expense



http://eqonomize.sourceforge.net/

Its very easy to use.

Simply add the category of your income and expenses. The default one is also very good.

Then whenever there is any income or expense simply go to that tab and fill them.

It also features split transaction, transfers, securities and schedule income or expense.

POSTINGAN YANG "MUNGKIN" PERLU UNTUK ANDA KUNJUNGI


Software untuk mencari crack & serial number
Seksologi Ebooks
Software untuk mempercepat komputer
Software untuk mempercepat koneksi internet
Software Kirim Email Massal
Software SEO Report
Software Website Submitter
Software Web Page Maker
Software untuk membuat beberapa java script
Software Data Recovery
Software Kalender Cantik di Desktop
Software Tampilan Jam dinding di desktop
Software untuk mengubah Icon pada Windows Explorer
Software Untuk mempercantik Icon di Desktop
Software untuk mengunci folder pada windows XP
Software untuk memproteksi dan menyembunyikan folder
Software untuk memperbaiki bad sector
Software Untuk Mencari File Duplikat dalam Hardisk
Memberi background pada flashdisk dan folder pada windows explorer
Software untuk Shutdown Otomatis
Software untuk mengubah gambar berwarna menjadi sketsa

Software untuk mengubah gambar biasa menjadi gambar lucu
Software Image Converter
Software untuk memotong file menjadi beberapa bagian
Software Untuk Memotong file MP3
Software Untuk Membuat Skin Winamp
Software Untuk Membuat File CHM
Software untuk membuat file PDF (1)
Software untuk membuat file PDF (2)
Software untuk mengubah file PDF ke Word
Software untuk mengedit file PDF
Software untuk menghapus password file PDF
Software untuk mengambil gambar dari file PDF
Software SysSense untuk melihat Earning Adsense
Software Quran In Word
Software Torent / Peer To Peer
Software untuk Screen Capture
Software Kamus Inggris-Indonesia
Software Kamus Arab-Indonesia
Membuat Banner
Font Jawa (Ha na ca ra ka)
Font Times New Arabic
Spelling Grammar Indonesia di Ms. Word
Koleksi gambar-gambar Bagus
CD Linux UBUNTU Gratis

Saturday, July 5, 2008

Friday, July 4, 2008

Tuesday, July 1, 2008

Cacti on Freebsd

cacti is a very useful tool for monitoring your devices on network.

While there are many tutorials on installation and use of cacti this tutorial aims on providing just enough information to make installation work and graphing possible.

Cacti requires that the following software is installed on your system.

* RRDTool 1.0.49 or 1.2.x or greater
* MySQL 3.23 or greater, 4.1.x or 5.x or greater
* PHP 4.3.6 or greater, 5.x greater highly recommended for
advanced features
* A Web Server e.g. Apache

On you freebsd box
# cd /usr/ports/net/cacti
# make config
enable plugins
# make && make install

This will take care of all the packages it requires like

* apache
* rrdtool
* net-snmp
* php5-extensions
* php5 (With MySQL and SNMP Support)
* mysql server

To start snmp, apache and mysql in every reboot type
# echo 'snmpd_enable="YES"' >>/etc/rc.conf

# echo '/usr/local/libexec/mysqld --user=mysql &' >> /etc/rc.conf
# echo '/usr/local/sbin/apachectl start' >>/etc/rc.conf


To configure your snmp run the following command
# snmpconf

If you are installing mysql for the first time then
# chown -R mysql:mysql /var/db/mysql

For Apache 2.x
You should make sure that the following line is present in your httpd.conf file.

LoadModule php5_module libexec/apache/libphp5.so


In httpd.conf itself

<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php5.c>
DirectoryIndex index.php index.php3 index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
</IfModule>
</IfModule>
<IfModule !mod_php3.c>
<IfModule mod_php5.c>
DirectoryIndex index.php index.html index.htm
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.html
</IfModule>
</IfModule>
</IfModule>


Or you can simply have

DirectoryIndex index.php index.html index.htm


Finally add these two lines

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


Add an alias for your cacti.

For eg: if you have your cacti setup on /usr/local/share/cacti then add an alias with

Alias /cacti /usr/local/share/cacti

Alternatively you can configure symbolic link too.

Now configure Mysql
First set root password
# mysqladmin --user=root password newpassword
# mysqladmin --user=root --password reload

Create a database for cacti
# mysqladmin --user=root --password create cacti

Import the default cacti database
# mysql cacti
Create a mysql username and password for cacti
# mysql --user=root --password mysql
mysql> Grant all on cacti.* to 'cactiuser'@'localhost' identified by 'password';

Edit the file include/config.php to reflect the current database changes.

Edit your crontab
# crontab -e
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&
1

Open your browser and access http://thewebser/cacti

This completes the instllation.

Creating graph, graph template, host template and other useful stuffs will be covered in next part of the tutorial.
I have data template and graph template for
Proxim wireless device like Tsunami showing SNR, signal and noise.
Deliberant wirelss device showing RSSI and channel.