Monday, April 16, 2007

Link Tutorial

On this page I'll include a list of links to other web sites that I enjoy. I may also include an explanation of what I like about the site.

For example, here's a link to a site that I look at every day:

Linux Command Line :

http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.aix.doc/cmds/aixcmds4/ps.htm

http://www.cs.washington.edu/orgs/acm/tutorials/intro-unix/unix_intro.html


Tutorial 6

Install NeroLinux pada SuSE 9.3

Download nerolinux-2.0.0.4-x86.rpm dari :
http://www.nero.com/en/NeroLINUX.html
NeroLINUX Demoversion

Cara I:
rpm -ivh nerolinux-2.0.0.4-x86.rpm

Cara II:
klik kanan pada nerolinux-2.0.0.4-x86.rpm
--> actions --> install With YaST

nerolinux akan segera terinstall dan siap pakai.
panggil dari:
KMenu --> Multimedia --> CD/DVD Burning --> NeroLinux
muncul tampilan isi cd key, masukkan:
1A2308094030236356952304

selesai................


Install BitTorrent pada SuSE 9.3

Download BitTorrent-4.2.1-1-Python2.4.noarch.rpm dari:
http://www.bittorrent.com/

Cara I:
Install bittorrent:
rpm -ivh BitTorrent-4.2.1-1-Python2.4.noarch.rpm

Cara II:
klik kanan pada file BitTorrent-4.2.1-1-Python2.4.noarch.rpm
--> actions --> install with yast

Install python-gtk dari YaST.

Memanggil bittorrent:
buka konsole ketik: bittorrent

Buat Icon untuk bittorent:
klik kanan pada desktop --> create new link to application
klik pada gambar roda gigi untuk memilih icon gambar.
pada kolom tab general isi: torrent
klik tab application pada kolom Command isi: '/usr/bin/bittorent'
klik OK

selesai..................


Install apt di SuSE 9.3

Download file rpm untuk SuSE 9.3 dari :
ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.3-i386/RPMS.suser-rbos
apt-0.5.15cnc7-0.suse093.rb0.i5>
apt-libs-0.5.15cnc7-0.suse093.r>

Cara I:
klik kanan pada file apt-0.5.15cnc7-0.suse093.rb0.i5>
--> actions --> install with yast

klik kanan pada file apt-libs-0.5.15cnc7-0.suse093.r>
--> actions --> install with yast

Cara II:
rpm -ivh apt-0.5.15cnc7-0.suse093.rb0.i5>
rpm -ivh apt-libs-0.5.15cnc7-0.suse093.r>


klik component list for SuSE-9.3 untuk configure apt:

#
# Repository created by: aptate (version 0.69.3)
# At: Mon Dec 12 03:43:47 MET 2005
# More info about aptate at: http://apt4rpm.sourceforge.net
#

rpm ftp://ftp4.gwdg.de/pub/linux/suse/apt SuSE/9.3-i386 kernel-of-the-day rpmkeys base update-drpm update-prpm update kde gnome misc mozilla openoffice samba3 ximian suser-rbos suser-jengelh jacklab suser-oc2pus suser-guru suser-gbv usr-local-bin suser-tcousin suser-scorot suser-scrute suser-jogley suser-ollakka funktronics packman packman-i686 wine suse-people suse-projects kde-unstable security-prpm security

rpm-src ftp://ftp4.gwdg.de/pub/linux/suse/apt SuSE/9.3-i386 kernel-of-the-day rpmkeys base update-drpm update-prpm update kde gnome misc mozilla openoffice samba3 ximian suser-rbos suser-jengelh jacklab suser-oc2pus suser-guru suser-gbv usr-local-bin suser-tcousin suser-scorot suser-scrute suser-jogley suser-ollakka funktronics packman packman-i686 wine suse-people suse-projects kde-unstable security-prpm security

copy file ini ke: /et/opt/sources

command apt:
Execute: apt-get install
This command will install the requested package including all dependant packages.

Execute: apt-cache search
Search for packages containing

Execute: apt-cache show or apt-cache showpkg
To show the contents of a package (similar to rpm -qip )

For the user's convenience the package names do not contain the version number. If you want to know the version number of the currently installed package please execute 'rpm -q '.


Install MPlayer di SuSE 9.3

cara rpm I:

YaST --> Change Source of Installation --> Add --> HTTP
Server Name : packman.iu-bremen.de
Directory on Server : suse/9.3/
Klik OK

YaST --> Install and Remove Software
Search : mplayer

centang pada:
libpostproc
MPlayer
mplayerplug-in

Buka melalui:
Kmenu --> Multimedia --> Video Player --> MPlayer

selesai........................


cara rpm II:

uninstall dulu Kaffeine, xine-lib.
Download file dari http://packman.iu-bremen.de/suse/9.3/i586/:
w32codec-all-20050412-0.pm.0.i586.rpm
MPlayer-1.0pre7-pm.3.i586.rpm

Download file dari:
http://rpm.pbone.net/index.php3/stat/4/idpl/2026319/com/lzo-1.08-107.i586.rpm.html
liblzo.so.1 atau lzo-1.08-107.i586.rpm

Download file dari:
http://rpm.pbone.net/index.php3/stat/4/idpl/2384975/com/lame-SSE-3.97b-3.i686.rpm.html
libmp3lame.so.0 atau lame-SSE-3.97b-3.i686.rpm

Kemudian file yang di download tadi di install:
rpm -ivh w32codec-all-20050412-0.pm.0.i586.rpm
rpm -ivh lzo-1.08-107.i586.rpm
rpm -ivh lame-SSE-3.97b-3.i686.rpm

Buka melalui:
Kmenu --> Multimedia --> Video Player --> MPlayer

selesai........................


Install VLC di SuSE 9.3

Install dari cd suse 9.3:
libgnutls.so.12 atau gnutls
libxosd.so.2 atau xosd

Download dari:
http://linux.softpedia.com/progDownload/libdvdcss-Download-165.html
libdvdcss2-1.2.9-1.i386.rpm



Download dari:
http://packman.links2linux.org/index.php4?action=497&vn=4
faac-1.24-0.pm.2.i686.rpm

http://packman.iu-bremen.de/suse/9.3/i586/
a52dec-0.7.4-3.pm.1.i586.rpm
faad2-2.0-0.pm.5.i586.rpm
libavc1394-0.5.0-1.pm.1.i586.rpm
libdvbpsi3-0.1.4-0.pm.4.i586.rpm
libffmpeg0-0.4.9-4.pm.cvs20051016.i586.rpm
xvid-1.1.0-0.pm.2beta2.i586.rpm
vlc-0.8.2-1.pm.1.i686.rpm

tapi versi ini belum bisa baca wmv di suse 9.3
mungkin versi vlc-0.8.4a-1.pm.3.i686.rpm bisa


Cara menyelamatkan Data di Hardisk dengan live CD.

1.Siapkan live CD-nya, waktu itu saya memakai cd ubuntu 7.04

2.Hardisk yg mau di selamatkan

3. pastikan boot sequence-ya ada di CD-room

4.Pastikan juga CD-room dan Hardisknya terdeteksi oleh kompie

5.Masuk "start and install ubuntu"

6.Tunggu sampai live CD-nya masuk desktop, klo sudah tekan "(ctrl)(alt)(a)(f1)"untuk membuka konsole, dan untuk membuat windows baru "tekan(ctrl)(alt)(shift)(a).

7.Default ubuntu tidak mempunyai password root, tapi untuk berjalan sebagai root haruslah memakai "sudo"

8.jalankan "dmesg" lihat di situ terlihat di terbaca sebagai "hda1 or hdb1", di sini kita ambil yg terbaca adalah hda.

9.Klo sudah masuk ke "/media" dengan command "cd /media"

10.Buatlah satu direktory di dalam /media untuk mounting point hardisknya

11."sudo mkdir 1" dan "sudo mkdir 3"

12.klo sudah sekarang mounting hardisknya " sudo mount /dev/hda1 1 dan "sudo mount /dev/hda3 3

13.sekarang coba cek apakah hardisknya sudah ter mount atau belum..? "cd /media" trus lihat "ls"

14.klo sudah sekarang pilihan anda mau di copy kemana Data di hardisk itu 1.antar server atau ke removable disk lainnya via usb port.

15.klo mau via usb port, langkah-nya sama dengan nomor 8 sampai 13, beda-nya di di baca sebagai sda atau sdb, cara copy-nya"cp -r fileygmaudicopy -t /media/removabledisknya.

16.Klo mau antar server anda harus memasukan IP terlebih dahulu, caranya masuk ke "cd /etc/networks/.

17.lakukannya perubahan atau edit via teks editor favorit anda, klo saya memakai "nano"

18.coba lihat "ls" di file yg bernama "interfaces" lakukan command "nano interfaces"

19.edit filenya di eth0 berikan IP,netmask,gateway

iface eth0 inet static
address 202.000.000.0
netmask 255.000.000.0
gateway 202.000.00.1

20.setelah di edit tekan (ctrl)(o) utk saving filenya.

21.lalu restart network-nya "/etc/init.d/networks restart

22.kalau sudah coba anda ping gateway anda atau ping ke ip server yg akan anda copy-kan file data hardisk anda.

23.klo sudah tinggal anda masuk ke direktory mounting point tadi "hda1 ke dir /1 " masuk ke data yg anda mau copy-kan.

24.Klo sudah jalankan scp "scp -r 'dataygmaudicopy' userservertarget@ipservertarget:/pathnya/userservertarget/direktorytarget

25.klo anda melakukannya dengan benar maka anda akan ditanyakan password untuk meneruskan scp tersebut ketikan "yes" dan masukan password server target' klo memang passwordnya benar "congrulations anda sudah mengcopy data anda lihat prosessnya di window anda . CMIIW


selesai...............................

Tutorial 5

Command Line ;

ps :
untuk melihat proses yg sedang berjalan.
ps -aux

kill :
untuk menghentikan proses yg sedang berjalan : kill 1095
menghentikan semua proses yg sedang berjalan : kill -9 -1

Melihat pesan error dan menghapus log
vi /var/log/httpd/error_log
rm /var/log/httpd/error_log
vi /var/log/nagios/nagios.log
rm /var/log/nagios/nagios.log


Melihat apa saja yg terinstal :
# rpm -qa | grep nagios

Install RPM :
# rpm -ivh nagios.rpm

Unintall RPM :
# rpm -e nagios.rpm

Unintall tar.gz :
# make uninstall
# make clean
# make dist
# make dist clean

http://www.cs.washington.edu/orgs/acm/tutorials/intro-unix/unix_intro.html

http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.aix.doc/cmds/aixcmds4/ps.htm

FreeBSD command line

# pkg_info | more
# cd /usr/ports
# make fetchindex
# setenv http_proxy proxy.top.net.id:8080
# make search name=nagios
# cd /usr/ports/net-mgmt/nagios
# make search name=nagios
# make search name=cvsup
# cd /usr/ports/net/cvsup-without-gui/
# time make install clean
# top -sl
# vi .cshrc
tambahkan: set autolist
# echo "/usr/X11.R6/bin/gnome-session" > ~/ .xinitrc
# sysintall



Install Gaim 1.5 di SuSE 9.3

Referensi : http://www.novell.com/coolsolutions/feature/1583.html

Install gaim versi Gaim v1.1.4

Install :

* glibc
* glibc-devel
* gtk
* gtk-devel
* glib2
* gcc
* gcc-c++
* pkgconfig


Download gaim-1.5.0.tar.gz dari: http://gaim.sourceforge.net/downloads.php

Masuk sebagai root :
tar zxfv gaim-1.5.0.tar.gz

Masuk ke folder gaim:
./configure
make
make install

Edit di gaim, tools --> accounns --> paulvoogen di klik biru --> modify --> show more options

Pager host : scs.msg.yahoo.com
Japan Pager host : cs.yahoo.co.jp
Pager port : 5050
File transfer host : filetran.msg.yahoo.co.jp
File transfer port : 80
Chat Room List Url: http://insider.msg.yahoo.com/ycontent/
Proxy type : Use Global Proxy Settings

selesai.....



Tutorial 4

SSH-VNC-Krdc di SuSE 9.3

Memberi akses SSH :

YaST --> Security and Users --> Firewall --> Allowed Services

--> SSH --> Next --> Accept.

Coba :

[root]# ssh admin@10.10.10.210

Password : admin

Apabila ssh tidak jalan coba perintah :

# rm .ssh/known_host

Memberi akses VNC / Krdc :

YaST --> Security and Users --> Firewall --> Allowed Services --> Advanced.

Isi pada kolom TCP Ports : 5900 --> OK --> Next --> Accept.

Coba :

Kmenu --> System --> Remote Access --> Krdc.

Remote desktop : vnc:/10.10.10.215:0

--> Klik Connect --> OK.

Isi password : admin

Perintah Untuk Mapping Computer lain :


fish://10.10.10.211/root

fish://root@10.10.10.211/root


Merubah Owner dan Group di SuSE 9.3

su
password :
ls -l
chown admin1 root Voogen/
chgrp users root Voogen/

chmod :
Special, read = 4, write = 2, execute = 1
User , read = 4, write = 2, execute = 1
Group , read = 4, write = 2, execute = 1
Other , read = 4, write = 2, execute = 1

ls -l
'chmod 0755 coba1' atau 'chmod 755 coba1'
www.cs.washington.edu/orgs/acm/tutorials/intro-unix/unix_intro.html

Install Nagios pd Fedora Core 3


www.nagios.org
Download file nagios dari: http://prdownloads.sourceforge.net/nagios/nagios-2.0b4.tar.gz?download
Download file nagios-devel dari: http://dag.wieers.com/packages/nagios/
Download file nagios-plugins dari: http://dag.wieers.com/packages/nagios-plugins/

Intall file ;
[root@idc root] # rpm -ivh nagios-1.2-1.1.fc3.rf.i386.rpm
[root@idc root] # rpm -ivh nagios-devel-1.2-1.1.fc3.rf.i386.rpm
[root@idc root] # rpm -ivh nagios-plugins-1.4.0alpha1-1.i386.rpm


Tutorial 3

Blank Screen di Linux

Pada Fedora Core 3 :

Boot dari harddisk, biarkan blank

Tekan CTRL-ALT-F1

Login pake root

vi /etc/X11/xorg.conf

Edit pada :

Section "Screen" :

Modes "1024x768" "800x600" "640x480"

hapus "1024x768"

Selesai


Pada SuSE 9.3 :

Setelah prompt, ketik init 3

Ketemu prompt lagi, ketik yast2 atau SaX2 atau SaX2-vesa

Ulangi lagi langkah setting layar

Setelah OK, ketik init 5

atau masuk ke :
vi /etc/X11/xorg.conf
edit dan tambah bagian ini:
Section "Monitor"
# DisplaySize 260 200
HorizSync 31-48
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "CalcAlgorithm" "CheckDesktopGeometry"
VendorName "--> VESA"
VertRefresh 50-60
UseModes "Modes[0]"
EndSection

Selesai ....

Xwindows tidak tampil di SuSE 9.3


Pesan error :....
Fatal server error :...
Server is already active for display 0 if this server is no longer running,
remove /tmp/ ./X0-lock and start again.

Buka Console :

[root]# yast

YaST --> System --> /etc/Sysconfig Editor --> Desktop

--> Display manager --> DISPLAYMANAGER

--> isi kolom Setting of : DISPLAYMANAGER : kdm

YaST --> System --> /etc/Sysconfig Editor --> Desktop

--> Windows manager --> DEFAULT_WM

--> isi kolom Setting of : DEFAULT_WM : kde

--> Finish

Tutorial 2

Menginstall Thunderbird, Enigmail, GnuPG pada Red Hat 9.0

Menginstall Thunderbird


Buat Folder bernama thunder di /

Download file thunderbird-1.0.2.tar.gzdari http://www.mozilla.org/ Download Thunderbird 1.0.2 for Linux, English (9.9MB)

ke folder thunder.

tar -zxvf thunderbird-1.0.2.tar.gz

cd /thunderbird

./thunderbird




Menginstall Enigmail



Download file v0.90.2-tb-linux.xpi :

[root@voogen paul]# wget http://www.mozilla-enigmail.org/downloads/enigmail-0.90.2-tb-linux.xpi

enigmail.org/downloads/enigmail-0.90.2-tb-li

buka Thunderbird

Klik Tab Tools --> Extentions --> Install, arahkan ke folder /home/paul/enigmail-0.90.2-tb-linux.xpi




Menginstall GnuPG



buat folder GnuPG

download file gnupg-1.4.1.tar.gz dari

http://www.gnupg.org/(en)/download/index.html ke folder GnuPg.

tar -zxvf gnupg-1.4.1.tar.gz

cd gnupg-1.4.1

./configure

make

make install

file gpg nya ada di: /usr/local/bin/gpg

buka Thunderbird
klik tab Enigmail --> Preferences, isi kolom GnuPG executable path ke /usr/local/bin/gpg.





Membuat Key Pair.



klik tab Enigmail --> OpenPGP Key Management --> Generate --> New Key Pair, isi Passphrase dengan password anda, centong pada Key does not expire, klik Generate key, kemudian simpan file tersebut di folder /home/paul.



Export Keys to File.



klik tab Enigmail --> OpenPGP Key Management --> File --> Export Keys to File, muncul tampilan Enigmail Confirm, klik yes, kemudian arahkan ke folder /home/paul.





Membuat New Account Setup



Klik Start --> Mozilla Tunderbird --> Profile Manager --> muncul tampilan

welcome to the Create Profile Wizard --> klik Next --> muncul tampilan

Completing the Create Profile Wizard dan isi kolom Enter new profile name:

Voogen --> klik Finish --> muncul tampilan Thunderbird – Choose User Profile,

klik pada Voogen, kemudian klik Start Thunderbird --> muncul tampilan New

Account Setup, klik Next --> muncul tampilan Identity --> isi Your Name:

Voogen --> isi Email Address: voogen@top.net.id --> muncul tampilan Server

Information --> klik POP --> isi Incoming Server; pop.top.net.id --> isi

Outgoing Server; smtp.top.net.id --> klik Next --> muncul tampilan User

Names --> isi Incoming User Name; voogen --> isi Outgoing User Name;

voogen --> klik Next --> muncul tampilan Account Name --> isi Account

Name; voogen@top.net.id --> klik Next --> muncul tampilan Congratulations

--> klik Finish --> muncul tampilan Enter Your Password --> isi dengan

password anda.



Membuat Folder


Klik Tab Tools --> Message Filters --> New --> muncul

tampilan Filter Rules --> isi kolom Filter name; mobile

--> kolom Subject arahkan ke To or CC --> kolom contains

tidak dirubah --> kolom kosong isi; mobile@top.net.id -->

beri chek list pada Move to folder --> klik tab New Folder

isi Name: Mobile --> klik kolom Local Folders, arahkan pada

choose this for the parent --> klik OK. -->muncul tampilan

Message Filters, klik pada mobile, kemudian klik Run Now

--> selesai. Ulangi langkah ini untuk alamat email yg lain.

SELESAI.

Short Icon pada Thunderbird

Klik kanan pada desktop --> Create New --> Link to Application.

--> Klik pd gbr roda gigi --> other icons --> Browser

/home/admin1/Thunderbird/thunderbird/icons/mozicon50.xpm --> open.

Pada Tab General berinama Email --> pada Tab Application --> Command :

/home/admin1/Thunderbird/thunderbird/ ./thunderbird -profilemanager

Remote Windows melalui SuSE 9.3

# rdesktop 10.64.69.119

Mapping SuSE 9.3

fish://root@10.64.69.215/home

Install LimeWire di SuSE 9.3

Download file LimeWire (Linux) v4.2.6 dari :

http://files.filefront.com/LimeWireLinuxbin/;3760360;/fileinfo.html

ke directory : /home/admin

Cara install limewire :

[admin] # sh ./LimeWireLinux.bin

Cara memanggilnya :

buka Run Command : /home/admin/LimeWire/./LimeWire


Install Printer Lexmark Z605 For SuSE 9.3

Referrensi ;
http://ca.geocities.com/freshshelf@rogers.com/install_x1185.html
http://www.linuxlinks.com/portal/phpBB2/viewtopic.php?p=4421&

Download driver ;
CJLZ600LE-CUPS-1.0-1.TAR.gz
Driver for RedHat Linux 9.0
dari ;
http://downloads.lexmark.com/cgi-perl/downloads.cgi?ccs=229:1:0:389:0:0&os_group=Redhat&target=


buat folder lexmark seperti dibawah ini kemudian download file ke folder ini :
/home/paul/lexmark

tar -xzvf CJLZ600LE-CUPS-1.0-1.TAR.gz

sh z600cups-1.0-1.gz.sh -keep -target tmp

cd tmp

rpm -ivh z600llpddk-2.0-1.i386.rpm

rpm -ivh z600cups-1.0-1.i386.rpm --nodeps

Pastikan printer sudah terkoneksi.

Kemudian setting printer ;
YaST --> Hardware --> Printer --> Configure

Bila benar pada tampilan Printer Configuration tertulis ;
Available are :
Lexmark Z600 Series; Connection: //Lexmark/Z600%20Series

kemudian klik Configure...

Name for printing :
z600series

Description of Printer :
Lexmark Z600 Series

Location of Printer :
USB printer on //Lexmark/Z600%20Series

klik next

Select manufacturer :
Lexmark

Select model :
Z600 Color Jetprinter

klik next --> bila benar secara otomatis hasilnya pada Edit Configuration akan seperti ini :

Name and basic settings z600 Series
Printer model Lexmark Z600 Color Jetprinter
PPD file Lexmark Z600 v1.0-1 (Lexmark-Z600cj- cups.ppd.gz
Connection USB printer on
//Lexmark/Z600%20Series

klik OK --> Finish

Buka OpenOffice.org Writer
File --> Printer Settings
Name z600series
Type CUPS:z600series


Catatan ;

untuk melihat model-model printer ;
cd /usr/share/cups/model

lihat di /usr/share/cups/model bertambah file berwarna hijau bernama ;
Lexmark-Z600-lxz600cj-cups.ppd.gz

format file printer adalah ;
ppd.gz

untuk melihat versi Cups ;
rpm -q cups


Tutorial

Instal Flash Drive/USB Drive

Cara I :

Start application --> Run Command : Xterm

[ root ] # modprobe usb-storage

[ root ] # mkdir/mnt/flash

[ root ] # cd /mnt/flash

[ mnt/flash ] # ls

[ root ] # umount /dev/sda1


Cara II :

Memeriksa modul drive yg terinstal :

[ root ] # lsmod

usb-storage
usb-uhci
usbcore

Bila usb-storage sudah ada maka kita tidak perlu membuatnya lagi. Bila belum, maka kita buat :
[ root ] # modprobe usb-storage

Menghapus usb-storage :
[ root ] # rmmod usb-storage

Membuat direktory utk Flash Drive :
[ root ] # mkdir /mnt/flash

Menghapus direktory Flash :
[ mnt ] # rm -rf flash

Mengaktifkan direktory Flash :
[ root ] # mount /dev/sda1 /mnt/flash

Menon-aktifkan direktory flash :
[ root ] # umount /dev/sda1

Masuk ke direktory Flash :
[ root ] # cd /mnt/flash

Membuat file di direktory flash :
[ mnt/flash ] # touch coba
[ mnt/flash ] # vi coba
[ mnt/flash ] # ls

Mempercepat Browser Firefox

Referensi :
http://wiki.linux.or.id/Flash_disk

reference :

http://www.suse-tutorials.co.uk/

How to speed up Firefox

ketik di browser : about:config

cari baris : network.http.pipelining

klik dua kali hingga Value nya menjadi true

cari baris : network.http.proxy.pipelining

klik dua kali hingga Value nya menjadi true

cari baris : browser.turbo.enabled

klik dua kali hingga Value nya menjadi true

cari baris : network.http.pipelining.maxrequests

klik kanan, pilih New --> Integer

beri nama baru : nglayout.initialpaint.delay dan beri Value nya 0

kemudian restart firefox.

selesai.