Friday, May 27, 2011
Download Apache2 for Ubuntu
http://kambing.ui.ac.id/ubuntu/pool/main/a/apr/libapr1_1.4.2-3ubuntu1_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apr-util/libaprutil1_1.3.9+dfsg-3build1_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apr-util/libaprutil1-dbd-sqlite3_1.3.9+dfsg-3build1_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apr-util/libaprutil1-ldap_1.3.9+dfsg-3build1_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.16-1ubuntu3_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apache2/apache2-utils_2.2.16-1ubuntu3_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.16-1ubuntu3_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apache2/apache2-mpm-worker_2.2.16-1ubuntu3_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/a/apache2/apache2_2.2.16-1ubuntu3_i386.deb
Tuesday, May 24, 2011
Download Paket Bind9 Ubuntu 10.10
http://kambing.ui.ac.id/ubuntu/pool/main/b/bind9/bind9utils_9.7.1.dfsg.P2-2_i386.deb
http://kambing.ui.ac.id/ubuntu/pool/main/b/bind9/bind9_9.7.1.dfsg.P2-2_i386.deb
Saturday, May 21, 2011
Membangun Intranet dengan Ubuntu
Konfigurasi IP Address
nano /etc/network/interfaces (enter)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.3.10
network 192.168.3.0
netmask 255.255.255.0
broadcast 192.168.3.255
gateway 192.168.3.1
auto eth1
iface eth1 inet static
address 192.168.4.10
network 192.168.4.0
netmask 255.255.255.0
broadcast 192.168.4.255
gateway 192.168.4.1
#Bila buat Virtual harus mengikuti eth0 gung, bila mau ganti ip harus teliti#
up ip addr add 192.168.3.11/24 brd 192.168.3.255 dev eth0 label eth0:0
up ip addr add 192.168.3.12/24 brd 192.168.3.255 dev eth0 label eth0:1
up ip addr add 192.168.3.13/24 brd 192.168.3.255 dev eth0 label eth0:2
up ip addr add 192.168.3.14/24 brd 192.168.3.255 dev eth0 label eth0:3
(bila selesai Ctrl+O enter Ctrl+X)
/etc/init.d/networking restart
reboot
Konfigurasi Virtual Host
nano /etc/apache2/sites-available/default /etc/apache2/sites-available/agung
(Sebelum di edit)
ServerAdmin webmaster@localhost
DocumentRoot /var/www
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
(Sesudah di edit)
ServerAdmin webmaster@agung.com
ServerName agung.com
DocumentRoot /var/www /agung
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
(Ctrl+O enter Ctrl+X)
mkdir /var/www/agung
nano /var/www/agung/agung.index
Agung Sandi
(Ctrl+O enter Ctrl+X)
a2dissite default
a2ensite agung
/etc/init.d/apache2 restart
#lalu coba di browser dengan mengetikan Agung.com pada address bar.#
Konfigurasi DNS
nano /etc/bind/named.conf.local
#isikan dipaling terbawah pada kolom#
zone “agung.com”{
type master;
file “/etc/bind/db.agung.zone”;
};
zone “3.168.192.in-addr.arpa”;{
type master;
file “/etc/bind/db.agung.rev”;
};
(Ctrl+O enter Ctrl+X)
cp /etc/bind/db.local /etc/bind/db.agung.zone
cp /etc/bind/db.127 /etc/bind/db.agung.rev
nano /etc/bind/db.agung.zone
#akan tampil halaman seperti ini lalu tinggal kamu edit
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.1
@ IN AAAA ::1
#ubah seperti yang ada di bawah#
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.agung.com. root.agung.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS agung.com.
@ IN A 192.168.3.10
@ IN AAAA ::1
@ IN MX 10 mail.agung.com
www IN A 192.168.3.11
mail IN A 192.168.3.12
ftp IN A 192.168.3.13
proxy IN A 192.168.3.14
(Ctrl+O enter Ctrl+X)
nano /etc/bind/db.agung.rev
#Sebelum#
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
1.0.0 IN PTR localhost.
#ubah seperti yang ada di bawah#
#Sesudah#
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.agung.com. root.agung.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS agung.com.
1.0.0 IN PTR agung.com.
(Ctrl+O enter Ctrl +X)
/etc/init.d/bind9 restart
#langsung test dengan sintax di bawah#
nslookup agung.com
Konfigurasi Samba
cp /etc/samba/smb.conf /etc/samba/agung
mv /etc/samba/agung smb.conf
nano /etc/samba/smb.conf
#Bila sudah masuk pada kolom tersebut coba agung delete semua huruf-huruf di dalamnya sehingga tidak bersisa. Lalu ketikkan sintax di bawah:#
[myshare]
path = /home/agung/myshare
available = yes
valid users = agung
read only = no
browseable = yes
public = yes
writeable = yes
(Ctrl+O enter Ctrl+X)
#lalu kamu buat directory dan user#
mkdir /home/agung/myshare
adduser agung
smbpasswd -a agung
nano /etc/samba/smbusers
#karna kosong coba agung isikan sintak di bawah ini#
system nameuser = agung
(Ctrl+O enter Ctrl+X)
smbd restart
testparm #lalu enter 2x#
Konfigurasi FTP
nano /etc/vsftpd.conf
#Hilangkan tanda crash pada kedua syntax ini coba anda cari.#
Sebelum di edit
#local_enable=YES
#write_enable=YES
Setelah di edit
local_enable=YES
write_enable=YES
(Ctrl+O enter Ctrl+X)
/etc/init.d/vsftpd restart
#setelah itu test#
netstat -tapn
ftp ftp.agung.com
Installasi dan Membangun jaringan dari Linux Debian
Tutorial Paket Tracert
SpeedUp3G CDMA USB Modem di Ubuntu Linux
Namanya rejekinya datangnya tanpa diduga-duga…
Ada temen nemu usb device dengan slot RUIM… setelah bertanya sama Om google ternyata device tersebut adalah Modem CDMA SpeedUp3G…
Sekarang bermodalkan modem nemu dan kartu perdana Fren Prabayar seharga Rp. 15.000,- saya berharap bisa Internetan
Setelah modem dicolokin saya check apakah devicenya dikenal dari perintah dmesg ternyata ada output
[ 87.876000] drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
Kemudian saya lakukan konfigurasi awal wvdial
wisu@is00193:~$ sudo wvdialconf
Password:
Editing `/etc/wvdial.conf’.Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 — OK
ttyACM0<*1>: ATQ0 V1 E1 Z — OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 — OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyACM0<*1>: Modem Identifier: ATI — ERROR
ttyACM0<*1>: Speed 4800: AT — OK
ttyACM0<*1>: Speed 9600: AT — OK
ttyACM0<*1>: Speed 19200: AT — OK
ttyACM0<*1>: Speed 38400: AT — OK
ttyACM0<*1>: Speed 57600: AT — OK
ttyACM0<*1>: Speed 115200: AT — OK
ttyACM0<*1>: Speed 230400: AT — OK
ttyACM0<*1>: Speed 460800: AT — OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OKFound an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
Kemudian saya tambahkan entry di /etc/ppp/pap-secrets dan /etc/ppp/chap-secrets masing2
username * password *
diantara kata2 tsb berupa tab bukannya spasi
Setelah itu saya edit file /etc/wvdial.conf untuk memasukkan setting2 spesifik Mobile-8 sebagai berikut
[Dialer m8]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Modem Name = CDMA
Modem Type = USB Modem
Phone = #777
Password = m8
Username = m8
Sekarang waktunya mencoba
wisu@is00193:~$ sudo wvdial m8
Yes!!! akhirnya terkoneksi dengan local IP address 10.128.48.179
Saat saya coba browse www.detik.com… koq… tampilan yang ada permintaan untuk menghubungi Customer Care Mobile-8
Ok… secara teknis… cara tersebut berhasil… tapi nyebelin deh… kayaknya anda musti pake Fren Pascabayar ato Maxsurf ato apaan namanya untuk bisa Internetan… ternyata sim card tersebut harus didaftarkan ke 444 terlebih dahulu….
Tapi… kayaknya… mendingan gw pake Wifi ato 3,5G… ada yang nemu lagi nggak ya…
Tutorial buat samba di linux
mv /etc/samba/herva smb.conf (enter)
nano /etc/samba/smb.conf (enter)
hapus semua isi, lalu isikan semua isi yang ada di bawah :
[Myshare]
path = /home/herva/Myshare
available = yes
valid users = herva
read only = no
browseable = yes
public = yes
writeable = yes
(ctrl+O enter ctrl+X)
adduser herva (enter)
smbpasswd -a herva (enter)
mkdir /home/herva/Myshare (enter)
nano /etc/samba/smbusers (enter)
system nameuser = alif
(ctrl+o enter ctrl+x)
smbd restart (enter)
testparm(enter)2x