Setting Routing Protokol
Cara redistribute Routing Protokol : ditulis pada router (routing protokol)
* OSPF ke EIGRP = redistribute eigrp 10 subnets
* EIGRP ke OSPF = redistribute ospf 10 metric 10000 1000 255 1 1500
* RIP ke EIGRP = redistribute eigrp 10 metric
* RIP ke OSPF = redistribute ospf 10 metric 1
Mengcopi tar
tar cf -. | (cd todir; tar xvfBp-)
Membuat Mount aktif saat boot
/etc/vfstab
Mengganti Hostname
/etc/hosts
/etc/hostname.nge0
/etc/nodename
Setting Telnet (untuk root)
Cd /etc/default
Vi login
Non aktifkan console
Setting MIRROR
- drvconfig
- jalankan smc->storage->enhanced storage
- State Database buat lock (Action->Create Replicate->pilih(lock) c1 dan c2
- enhanced storage (create mirror)
- Action->create volume (don’t create state database replicate)->concatenation(disk mau di mirror) d0
- Action->Create(don’t create) d1
- Memirrorkan
Action->pilih mirror(raid1)->d2 (metadisk)
- mount data (vfstab mount waktu boot)
$cd /dev/md/rdsk/
#newfs –m 0 /dev/md/rdsk/d2
#mount /dev/md/dsk/d2
- Mengecek Mirror
cd /usr/sbin
./metastat
KONFIGURASI PROXY
1. Cek port squid
# rpm –qa | grep squid
2. Konfigurasi squid
# vi /etc/squid/squid.conf
* —————————————
* menentukan http_port, default 3128, boleh 8000
http_port 3128
* Menentukan cache_mgr (alamat email)
cache_mgr wanda@hotelbumiwiyata.oke
* Menentukan cache_effective user & group
Default squid
* Menentukan visible_hostname (alamat web)
* Menentukan direktori untuk cache
Cache_dir ufs /var/spool/squid/cache
Besar 100 kb, 16 subfolder, 26 subfolder level 2
* —————————————-
3. Buat direktori cache
#mkdir /var/spool/squid/cache
4. Beri ijin akses
#chown –R squid.squid /var/spool/squid
5. Aktifasi/Inisiasi cache
#squid -Z
6. Restart squid
# service squid restart
# /etc/initd.d/squid restart
Setting Samba
1. Cek Paket Samba
# rpm –qa | grep samba
Samba
Samba Client
Samba-
2. Konfigurasi Samba (Smb.Conf)
# vi /etc/samba/smb.conf
* ————————-
* Global Setting
workgroup = bunga
netbios name = melati
Security = share
* ——————-
# Share Definisikan
*————————————-
[wanda]
comment = hello ini wanda
path = /home/wanda
read only = Yes
public = yes
* ————————–
3. Restart Samba
# service smb restart
# /etc/init.d/smb restart
4. Tes Samba
# Sub Client_L Local host
Password = (Enter)
Konfigurasi Samba Swat
# vi /etc/xinetd.d/Swat
Ganti disable = No
Restart xinetd
# /etc/init.d /xinetd restart
Buka Browser
http : //localhost:901
Setting POSTFIX
1. Cek Poket postfix/imap
# rpm –qa | grep postfix
# rpm –qa | grep imap
2. Postfikon postfix yang hidup
# /etc/init.d/sendmail stop
# /etc/init.d/postfix start
3. Cek port 25
# netstat –tan | grep 25
4. Konfigurasi postif
# vi /etc/postfix/main.cf
* ——————————————–
* Internet Host and Domain.Host
myhostname = mail.mawar.oye
mydomain = mawar.oye
* SENDING MAIL
myorigin = $mydomain
* RECEIVING MAIL
inet_interface = all
* my_destination = $ myhostname,$mydomain
* TRUST ANDRELAY CONTROL
My networks = 192.1680.0.0/24,127.0.0.0.018
* ———————————————————————-
1. Konfigurasi POP/IMAP server
# vi /etc/xinetd.d/ipop3
disable = Yes No
# vi /etc/xinetd.d/imap
disables = Yes No
2. Restart POP/IMAP/Postfix
# /etc/init.d/postfix restart
# /etc/init.d/xinetd restart
3. UJI STMP (25), POP (110), IMAP (143)
1. Samba Server
2. SquidServer
3. Dial-up Internet
Samba (File, Printer)
NFS (File)
Lpd (Printer)
Setting WEB SERVER
1. Cek httpd
# rpm –qa | grep httpd
2. Restart apache (httpd)
# service httpd restart# /etc/init.d/httpd restart
3. Lihat port 80
# netstat –tan | grep 8
4. Buka Browser
http://localhosthttp://127.0.0.1
5. Konfigurasi Apache
Bukalah file httpd.conf pd file # vi /etc/httpd/conf/httpd.conf
1. Aktifkan Servername
Server Name new.host.name : 80
# service httpd restart (restart ulang) 2. Web Hostinga. Konfigurasi pd Document Root
- Buka kembali file # vi /etc/httpd/conf/httpd.conf
- Cari data DocumentsRoot “/var/www/html”- Masuk ke dir # cd /var/www/html
- #vi index.html
- Restart Apache
- Buka Browser http://localhost
# cd /var/www/hml
# mkdir keu; #cd keu; # vi index.html
# mkdir sdm; #cd sdm; # vi index.html
# mkdir /var/web
* Buka file httpd.conf
* ————————
# DocumentRoot “/var/www/html”
DocumentRoot “/var/web”
* —————————–
* buat file pd /var/web
#cd /var/web
#vi index.html
*Restart Apache
*Buka Browser http://localhost
Pendukung :
# vi /etc/httpd/http.conf letak html
# /var/www/html
Direktori PHP
# /etc/php.ini
mysqld
a. UserDir
Buka httpd.conf, cari UserDir
#User Dir disable
UserDir Public_html
* Beri ijin akses pd home directory
# chmod 755 /home/wanda
#su wanda
#cd
#ls
#mkdir public_html
#cd Public_html
#vi index.html
b. VirtualHost
Buka httpd.conf
Cari
* ——————————
#Name Virtual Host
ganti
Name Virtual Host 192.168.0.
<Virtual Host 192.168.0. >
Server Admin root@localhost
DocumentRoot /home/wanda
Server name www.hotelbumiwiyata.oke
</Virtual Host>
* —————————————–
*Restart Apache
* Buka Browser http://www.hotelbumiwiyata.oke
3. Directory Index
Index.html index.php main.html
Pendelegasian pada server
$TTL 86400
$ORIGIN oke.
@ IN SOA ns.oke. root (
-
-
-
@ IN NS ns.oke.
@ IN MX 10 mail.oye.oke
ns IN A 19.168.0.113
melati IN NS ns.melati.oye
ns.melati IN A 192.168.0.118
mawar IN NS ns.mawar.oye
ns.melati IN A 192.168.0.119
sakura IN NS ns.melati.oye
ns.melati IN A 192.168.0.120
-
Archives
- November 2008 (5)
- October 2008 (2)
- August 2008 (1)
- February 2008 (4)
- January 2008 (1)
- July 2007 (19)
-
Categories
-
RSS
Entries RSS
Comments RSS
