Kamis, 30 Desember 2010

Ringkasan Cepat Hafal Membuat Server Debian

DNS

apt
nano

smk.db
smk

DHCP

apt
nano

FTP

apt
nano
mkdir
chmod
useradd
passwd
echo

WEB SERVER

apt
nano
mkdir
nano var buat index html

MAIL SERVER

apt
cp
nano
skel
maildir
adduser

WEBMAIL

apt
nano bind smk.db
squirrelmail-configure
cd /etc/apache2/sites-enabled/
nano webmail
Ln –s /usr/share/squirrelmail/ /var/www/web/webmail

SQUID

edit bind dulu
apt
nano /etc/squid/squid.conf

http_port 3128 transparent
icp_port 3130
chace mem 8 MB -> 16 MB
maksimum object size
minimum object size
chace_log /var
client netmask 255.255.255.0
di acl tam bah ( acl larangan url_regex -i "/etc/larangan" ) enter
http_access deny larangan
http_access allow all
save

nano /etc/larangan
restart squid

iptables -t nat -A PREROUTING -i etho -p tcp --dport 80 -j REDIRECT
--to-port 3128

Tidak ada komentar:

Posting Komentar