24 April 2008

The sudo command

If you have come across Linux, you are probably aware of the command line. Ubuntu puts a lot of reliance upon the sudo command while working at the command line. This command is used in front of other commands to tell Ubuntu that you want to run the specified command with super user powers. This sounds really special, and it actually is. When you work using the sudo command, you can make wide-ranging changes to your system that impact the way it runs. Be extra careful when running any command prefixed with sudo, however; a wrong option or incorrect command can have devastating consequences.

The use of sudo is straightforward. All you have to do is enter it like this:

$ sudo command commandoptions

Just replace the word command with the command that you want to run, along with any options. For example, the following command opens your xorg.conf file in vi and enables you to make any changes as the super user before being able to save it:

$ sudo vi /etc/X11/xorg.conf

Whenever you execute a command using sudo, you are prompted for your password. This
is the same password that you use to log in to Ubuntu, so it is important that you remember it.

Sometimes, however, you may want to work with a classic root prompt instead of having to type sudo in front of every command (perhaps if you have to work with lots of commands at the command line that require super-user access, for example). sudo enables you to do this by using the sudo -i command. Again, you are prompted for your password, which you should enter, after which Ubuntu gives you the standard root prompt, as follows:

#

From here, you can execute any command without having to keep entering sudo.




source: Andrew Hudson, Paul Hudson, Ubuntu 7.10 Linux Unleashed, Sams Publishing, 2008

22 April 2008

Cara Instalasi Plugin Flash Player 9 di Ubuntu 7.10

Dari pengalaman pahit sebelumnya, mulai sekarang saya akan mencoba (sebisa mungkin) mendokumentasikan apa-apa yang sudah saya kerjakan di PC ini, terutama dengan sistem Linux Ubuntu 7.10 yang baru hari ini diinstall. Saya pikir membuat dokumentasi untuk Linux sangat penting karena saya kurang familier dengan linux. Dari tahun 2001 sampai sekarang, sudah sering pakai linux tapi hanya dalam kapasitas sekedar coba-coba, gak pernah belajar lebih dalam, jadi selalu lupa apa dan bagaimana di linux.

Dokumentasi pertama ini sudah saya tulis di file text, posting saja disini yaitu "cara instalasi plugin flash player 9". Ini yang pertama saya lakukan karena memang browsing kerjaannya he he.


Ini isi file dokumentasinya:


Cara install Adobe plugin flash player 9 untuk linux (Ubuntu 7.10)

download:
sumber : http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Linux
nama file : install_flash_player_9_linux.tar.gz

Cara install:
1. Masuk ke direktori tempat file plugin di simpan
file ini saya simpan di direktori /home/yessi/Master/Plugin_Flash_Player9.0
dari terminal, ketik: cd /home/yessi/Master/Plugin_Player9.0

tampil sbb:
yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0$

lihat isi direktori dengan perintah "ls" (untuk memastikan saja filenya ada di direktori ini)

yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0$ ls
install_flash_player_9_linux.tar.gz cara_install_flash_player_9

2. Ekstrak file tersebut dengan perintah "tar"

yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0$ tar xvfz install_flash_player_9_linux.tar.gz
lihat hasilnya:
yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0$ ls
cara_install_flash_player_9 install_flash_player_9_linux install_flash_player_9_linux.tar.gz

3. Masuk direktori install_flash_player_9_linux, kemudian mulai instalasi

yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0$ cd install_flash_player_9_linux
yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0/install_flash_player_9_linux$ sudo ./flashplayer-installer <--ENTER

yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0/install_flash_player_9_linux$ sudo ./flahplayer-installer
[sudo] password for yessi:

Copyright(C) 2002-2006 Adobe Macromedia Software LLC. All rights reserved.

Adobe Flash Player 9 for Linux

Adobe Flash Player 9 will be installed on this machine.

You are running the Adobe Flash Player installer as the "root" user.
Adobe Flash Player 9 will be installed system-wide.

Support is available at http://www.adobe.com/support/flashplayer/

To install Adobe Flash Player 9 now, press ENTER.

To cancel the installation at any time, press Control-C. <--ENTER

NOTE: Please exit any browsers you may have running.

Press ENTER to continue... <---ENTER

Please enter the installation path of the Mozilla, Netscape,
or Opera browser (i.e., /usr/lib/mozilla): <--ketik "/usr/lib/firefox" ENTER

----------- Install Action Summary -----------

Adobe Flash Player 9 will be installed in the following directory:

Browser installation directory = /usr/lib/firefox

Proceed with the installation? (y/n/q): <-- "y" ENTER

Installation complete.


Perform another installation? (y/n): <-- "n" ENTER


Please log out of this session and log in for the changes to take effect.


The Adobe Flash Player installation is complete.

yessi@yessi-ubuntu-7:~/Master/Plugin_Flash_Player9.0/install_flash_player_9_linux$

Instalasi selesai :)

oleh Cepi 22 April 2008 19:26 WIB

Pentingnya Backup Data

Hari ini saya melakukan kesalahan fatal, bisa dibilang dan memang demikian karena keteledoran saya (human error).

Sebelumnya saya mencoba menginstall Linux Ubuntu 7.10 di PC Yessi (dual OS dengan WinXP) (sebelumnya pakai PCLinuXOS gak puas) tapi tidak pernah berhasil, selalu hang ketika memasuki step (tahapan) ke 4 dari 7 step semuanya (ada juga yang 6 step, tergantung option awal waktu booting). Pada tahap ini kita diminta untuk mengatur lokasi partisi untuk sistem linux. Saya selalu memilih opsi manual karena akan dibuat dual OS dengan Windows XP. Tidak tahu kenapa kok gagal terus padahal udah beberapakali saya atur partisinya, baik dengan tool partisi dari Ubuntu atau dengan Partition Magic di windows.


Lama-lama kesal juga akhirnya pada tahap ke 4 saya pilih opsi yang bukan manual (lupa tulisannya). Sekilas saya pikir opsi tersebut akan otomatis memilih partisi yang memiliki file sistem ext3 beserta swapnya untuk sistem linux. Karena tidak dicermati (tidak baca-baca dulu) saya klik terus saja tombol forward (next di windows). Finish.

Mulai curiga ketika booting, di GRUB Loader tidak ada OS lain selain Ubuntu. Mulai deg-degan.
Tidak cek ini itu dulu langsung saja saya restart, booting dengan CD Windows XP, dan ternyata memang, partisi HILANG semua, LOST, EUWEUH. Aduh, alah, kumaha yeuh (gima nih)??!!!??. yang ada cuma partisi sistem linux dan swapnya. Hardisk 80 GByte dilahap semua oleh Ubuntu 7.10.

Eng..ing..eng borogodododd...

Ya sudahlah, data-data penting hilang semua, skripsi orang (yang sudah dan sedang diprogress), aplikasi yang pernah dibuat, dokumen pribadi (kenangan). Kalau lagu, film, software bisa nyari lagi, tapi data-data penting pribadi? :(

Yang menyakitkan dan menyesal adalah saya tidak pernah buat backupnya dalam bentuk CD atau jenis penyimpanan lainnya.

Akhirnya hari ini datang juga, data hilang semua (tak terbayangkan sebelumnya karena selama ini merasa aman dan baik-baik saja). Inilah akibatnya kalau segala sesuatu tidak dipelajari dengan baik terlebih dahulu. Tanya atau baca-baca dulu.

OK, saya coba instalasi ulang, hardisk partisi ulang. Pertama install Windows XP, selanjutnya install Ubuntu nya. Apa gerangan? BISA, LANCAR, GAK NGEHANG :( :) :(

Lemas deh, terlambat sudah, nasi sudah menjadi bubur.


19 April 2008

Ruang Kerja Baru

Kemarin baru pindah ke ruangan baru. Cukup melelahkan karena angkut-angkut barang kantor yang berat-berat. Yang bikin kucel adalah ketika naik atap untuk lepas kabel antena WIPLL (Wireless IP Local Loop). Di bawah ini sebagian foto yang saya ambil hari ini.



Ini meja kerja saya (sebenarnya siapa aja bisa pindah-pindah meja). Ada laptop, HP, remote AC dan segelas kopi. Hanya monitor aja yang kurang matching (CRT), soalnya monitor aslinya (DELL LCD 15") hilang kabel VGA nya (masih dicari).




Kalau ini untuk NMS (Network Manajemen System). Ada dua buah modem ADSL router wireless, ASUS(putih) dan PROLINK. satu untuk NMS dan satu lagi untuk speedy.



Nah yang ini pintu keluar kami (proxy squid freebsd). Sekali-kali kami main keluar melalui pintu ini, he he he. Baru selesai di clearkan cachenya, soalnya kemarin sempat ngadat. Pas dicek ternyata cachenya sudah kepenuhan (kok ga clear otomatis ya? padahal udah disetting di squid.conf nya. Ntar ja dicek lg)



Begh, di depan ruangan ada layar TV 47" 2 buah. kemarin Pak Herry, saya dan yadi yang pasangnya. Untuk pasang TV sebesar ini di dinding kita butuh meteran, waterpass, bor listrik, kunci pas dan obeng. Mudah kok pasangnya. sayang sampai hari ini belum dinyalakan karena ada kendala teknis.



Pemandannya kurang indah ni. Ini pemandangan dari jendela sisi belakang meja saya.

Masih ada bagian-bagian yang belum difoto, seperti mushola (blm resmi), dapur dan meja makan meja tempat ngobrol agak serius.


10 April 2008

Welcome back again Youtube and "Friends"

After a few days was blocked, We are in Indonesia finally can enjoys youtube and “friends” again.



Possibly you which outside of there has not known that in our country, Indonesia, be happened controversy about fitna movie which many circulating in internet. Our government through minister of communications and informatics finally sets mind to blocking sites that presenting the movie.

The sites was blocked are:
- Youtube
- Myspace
- Metacafe
- Rapidshare
- Multiply
- Liveleak
- Themoviefitna

Today I tried returns to access that sites, simply had been accessed again except “ themoviefitna.com”. I'm happy youtube has return. I have learning very much from this site. To rapidshare, thank you for your share. Hehe.

Welcome back again Youtube and “Friends”. I M U


09 April 2008

PCLINUXOS GNOME

This is my new desktop style.




Can you read the text at the picture above. That is "PCLINUXOS GNOME". Recently I have installing PCLINUXOS GNOME to my computer. I like this "tux" because it's "radically simple" altough I have not fully tried (how do you know it's radically simple?). he he he.

How about you?




08 April 2008

"Google Juga Manusia"

Now when accessing my blog, the Google errors. hah.. simply "Google Juga Manusia".ha ha ha.








note: "Google Juga Manusia", in English "Google Also Man". Popular words in Indoneisa, usually addressed to someone who is doing something outside the habit, either that intended or no.





05 April 2008

Blog via Email (Blogger)

This article posting via email cepi.supratmanATgmail.com. I never knew posting via email before :p

How I do this? It's very easy. This tutorial is for Blogger user only :p

1. After selecting your blog in the Dashboard, click tab Setting, click Email.

2. Add/Type string/name (this is the secret code) in the "Mail-to-Blogger Address".

That is the special email address to which you will mail your blog entries.

ex: cepitasik.viaemail@blogger.com

choose "Publish emails immediately "

3. Click Save Setting

Now, sent your article via email, remember this!

    To: Your blog's email adrress

    Subject : Article's Title


please try :)

Convert Word to PDF with Google Document

With Google Document, you can convert a word document file into PDF file. Of course you must have a google account first.

1. Open Google Document, http://docs.google.com
2. Sign in into your account
3. In your toolbar account, click upload
4. Browse your Word file then click upload file
5. Now, click File, select, Download file as, select PDF
6. Then appears “Export as PDF” window. You can edit first the properties of PDF document that will be save.
7. Click OK





03 April 2008

Quick Remove USB Flashdisk

In Windows XP, if you want to quickly remove USB Flashdisk without safely remove hardware you should changes for it's configuration.

First, Right click the USB Flashdisk then click properties.




Click Hardware tab, click the USB Flashdisk



Click Policies tab, click the USB Flashdisk



choose "Optimize for quick removal", click OK.

For better performace you must choose "Optimize for performance" but the usb flashdisk can't directly removed until you click "safely remove hardware" in the taskbar notification area.


02 April 2008

Hiren's 9.5

This is the new version of Hiren's.

I often using this tool for repairing a computer. I like this tool because it's very simple, complete and running up bootable. It's free too (correct me). Ever using it for removing password administrator (Windows XP :p), repairing bad sector, cleaning viruses, partitioning HD etc.

These utilities that included in Hiren's 9.5

- Partition Tools
- Disk Clone Tools
- Antivirus Tools
- Recovery Tools
- Testing Tools
- RAM (Memory) Testing Tools
- Hard Disk Tools
- System Information Tools
- MBR (Master Boot Record) Tools
- BIOS / CMOS Tools
- MultiMedia Tools
- Password Tools
- NTFS (FileSystems) Tools
- Dos File Managers
- Other Tools
- Dos Tools
- Windows Tools

Download here

More detail here