WHAT'S NEW?
Loading...
Tutor Deb 8
Setelah service bind9 restart : nano /etc/apt/source.list ( perintah dibawah deb-src dienter, ditambah ( deb http:// kambing.ui.ac.id/debian/j essie main contrib non-free ) .
Lalu : apt-get update
WEB
· Masuk putty (run)
· Root
· Password 1
· Masuk winscp ( host name : IP eth0 . port : 1734 . user name : root . password : 1 . cari root yang ada tanda ( / ), maasuk var cari www, cari file wordpress di kiri, wordpress upload ( klik close ) .
· Cd /var/www/
· Unzip word (tab)
· Rm word (tab)
· Cd /var/www/wordpress/
· Cp wp-config-smaple.php wp-config.php
· Nano wp-config.php ( db-name : wordpress . db-user : root . db-password : 1 )
· Cd /etc/apache2/sites-available/
· Cp 000-default.conf wordpress.conf
· Nano wordpress.conf ( perintah server admin [ webmaster sampai belakang diganti . ( admin@tasya.com lalu enter ditambah ( SeverName : www.tasya.com, enter lagi tambah . ServerAlias : tasya.com . lalu tulisan html diganti wordpress )
· a2dissite 000-default.conf
· a2ensite wordpress.conf
· Service apache2 reload
· Cd /var/www/wordpress/
· Nano phpinfo.php ( ditambah perintah : <?php phpinfo(); ?> )
PROXY
· Apt-get install squid3
· Nano /etc/squid3/squid.conf ( perintah ctrl+w http_port 3128, setelah http_port 3128 lalu enter tambah cache_mem 16 MB.
· (enter tambah) cache_mgr tasya@tasya.com,
· (enter tambah) visible_hostname proxy.tasya.com
· lalu ctrl+w acl connect (enter lalu tambah), acl url dstdomain “ /etc/squid3/url.conf” ,
enter . acl key url_regex -i “/etc/squid3/key.conf”
tambahkan acl situs_https dstdomain .google.com
tambahkan acl situs_https dstdomain .google.co.id
enter . http_access deny url ,
enter . http_access deny key ,
enter. Acl lan src 172.16.10.0/24 ,
enter. http_access allow lan ,
enter. http_acces allow all
· ctrl+w http_access deny all (perintah ditambah pagar) ) .
CTRL + W http_access deny manager
enter tambahkan http_access deny CONNECT situs_https
· Nano /etc/squid3/url.conf (tambahkan yang ingin diblokir sperti .detik.com / .okezone.com)
· Nano /etc/squid3/key.conf ( perintah kata2x yg ingin di blok “detik, kompas” )
· Service squid3 restart
· Nano /etc/rc.local ,perintah ditambah (
iptables -t nat -F ,
enter . iptables -t nat -A POSTROUTING -s 172.16.10.0/24 -j MASQUERADE
enter . iptables -t nat -A PREROUTING -s 172.16.10.0/24 -p tcp --dport 80 -j DNAT --to 192.168.1.12:3128 (ip eth0)
FTP
· Apt-get install proftpd
· Nano /etc/proftpd/proftpd.conf ( ServerName “DEBIAN” diganti ftp.tasya.com . tulisan dari <Anonymouse ~ftp> sampai </anonymous> menghilangkan pagar .
· Service proftpd restart
Masuk google chrome :
1. 192.168.1.31/phpmyadmin
2. 192.168.1.31/phpinfo.php
3. 192.168.1.31/wp-admin
0 komentar:
Posting Komentar