Sunteți pe pagina 1din 7

INSTALASI DEBIAN 7

1. Install
2. Language : English
3. Select your location (territory or area) : Other
4. Select your location (continent or region) : Asia
5. Select your location (territory or area) : Indonesia
6. Configure locales : United States
7. Configure the keyboard : American English
8. Configure the network (primary network interface) : eth0
9. Configure the network (hostname) : debianhost
10. Configure the network (domain name) : dika86.net
11. Root password : root
12. Re-enter password to verify : root
13. Full name for the new user : dika gst
14. Username for your account : dika86
15. Choose a password for the new user : admin
16. Re-enter password to verify : admin
17. Configure the clock : Western
18. Partition disks (partitioning method) : guided – use entire disk
19. Partition disks (select disk to partition) : SCSI3
20. Partition disks (partitioning scheme) : all files in one partition
21. Partition disks : Finish partitioning and write changes to disk
22. Partition disks : write changes to disks? : yes
23. Configure the package manager (scan another cd or dvd?) : No
24. Configure the package manager (use a network mirror?) : No
25. Configuring popularity-contest (participate in the package usage survey?) : No
26. Software selection (choose software to install) : pilih standard system utilities
27. Install the grub loader ? : Yes
28. Complete installation : Continue

SETTING NETWORK
1. Login sebagai super user  su  root
2. Untuk konfigurasi network Ketikan perintah nano /etc/network/interfaces
allow-hotplug eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.100.1
netmask 255.255.255.0
3. Save dengan menekan tombol Ctrl + X  Y  Enter
4. Aktifkan eth0 dan eth1, perintahnya adalah ifup eth0 dan ifup eth1
5. Restart network  /etc/init.d/networking restart ATAU service networking restart
6. Cek dengan ping ip yang telah dimasukan tadi  ping 192.168.100.1

INSTALASI DAN KONFIGURASI DNS SERVER


1. Masukkan DVD1 debian 7 terlebih dahulu
2. Kemudian ketikkan perintah  apt-cdrom add (untuk mengecek apakah dvd1 sudah terpasang)
3. Install paket dns  apt-get install bind9
4. Do you want continue? : y
5. Masuk ke direktori /etc/bind  cd /etc/bind
6. Ketikan ls untuk mengecek file yg ada pada direktori /etc/bind
7. nano named.conf.local
zone “dika86.net”{
type master;
file “/etc/bind/db.domain”;
};

zone “100.168.192.in-addr.arpa”{
type master;
file “/etc/bind/db.ip”;
};
8. Save  CTRL + X  Y  Enter
9. cp db.local db.domain
10. cp db.local db.ip
11. nano db.domain (isinya IP)
localhost diganti menjadi dika86.net
12. nano db.ip (isinya domain)
13. nano /etc/resolv.conf
search dika86.net
nameserver 192.168.100.1
14. /etc/init.d/bind9 restart
15. PENGECEKAN  DIG NAMADOMAIN / NSLOOKUP NAMA DOMAIN / NSLOOKUP
WEB SERVER

1. Sebelum install ketikan perintah eject kemudian masukan DVD1


2. Selanjutnya ketikan perintah apt-cdrom add kemudian ENTER
3. apt-get install apache2 lynx php5 mysql-server phpmyadmin
4. Do you want continue? Y
5. Password mysql : root
6. Verify password : root
7. Web server to reconfigure automatically : apache2  OK
8. Configure database for phpmyadmin with dbconfig-common ? : yes
9. Password of the database’s administrative user : root
10. Mysql application password for phpmyadmin : root
11. Password confirmation : root
12. nano /var/www/index.html
Edit sesuai kemampuan html anda
13. nano /var/www/info.php
<?
phpinfo();
?>
14. Cek dr client (win7)

15. PENGUJIAN
16. Buka GOOGLECHROME  KETIKAN NAMA DOMAIN SESUAI DNS / IP
17.dika86.net
18.dika86.net/info.php
19.dika86.86/phpmyadmin
.

MAIL SERVER
1. apt-get install postfix
2. Do you want continue ? y
3. Postfix configuration : OK
4. General type of mail configuration : internet site  OK
5. System mail name : dika86.net  OK
6. Masukkan dvd2 kemudian ketikkan perintah apt-cdrom add
7. apt-get install courier-imap courier-pop
8. Do you want continue? : y
9. Saat penginstalan akan meminta dvd1 … jika sudah klik enter
10. Create directories for web-based administration ? : No
11. maildirmake /etc/skel/Maildir
12. adduser dika
Enter new unix password : 1
Retype new unix password : 1
Full name : dika gst
Room number : 2
Information correct? Y
13. adduser gst
Enter new unix password : 1
Retype new unix password : 1
Fullname : gst dika
Room number : 1
Information correct? Y
14. nano /etc/postfix/main.cf
Pada bagian paling bawah, tambahkan script berikut :
home_mailbox = Maildir/
15. dpkg-reconfigure postfix
16. Postfix configuration : OK
17. General type of mail configuration : internet site  OK
18. System mail name : dika86.net
19. Root and postmaster mail recipient : kosongkan  OK
20. Other destination to accept mail for (blank for none) : OK
21. Force synchronous updates on mail queue? No
22. Local networks : tambahkan 0.0.0.0/0 (dipaling ujung)  OK
23. Use procmail for local delivery ? : No
24. Mailbox size limit (bytes) : OK
25. Local address extension character : OK
26. Internet protocols to use : ipv4  OK
27. /etc/init.d/postfix restart
28. /etc/init.d/courier-imap restart
29. /etc/init.d/courier-pop restart
30. telnet mail.dika86.net 25
mail from: dika
rcpt to: gst
DATA
isikan pesan
.
quit
31. telnet mail.dika86.net 110
user gst
pass 1
STAT
retr 1
quit

WEBMAIL
32. apt-get install squirrelmail
33. nano /etc/apache2/apache2.conf
menuju ke paling bawah dan tambahkan script berikut ini :
Include “/etc/squirrelmail/apache.conf”
34. nano /etc/squirrelmail/apache.conf
cari script VirtualHost 1.2.3.4 …. Kemudian ganti script seperti dibawah ini :
<virtualHost *:80>
DocumentRoot /usr/share/squirrelmail
ServerName mail.dika86.net
</VirtualHost>
35. /etc/init.d/apache2 restart
36. Tes dari pc client … buka browser (internet explorer atau google chrome atau bebas naon we nu
aya)
37. Ketikan mail.dika86.net

INSTAL DAN KONFIGURASI SSH (merubah port default menjadi 1734)

1. apt-get install ssh


2. nano /etc/ssh/sshd_config
cari port 22 ganti menjadi port 1734
3. /etc/init.d/ssh restart
4. Buka aplikasi PUTTY
Hostname : isikan dengan nama domain anda
Port : 1734
OK  YES
exit

INSTALL WORDPRESS
1. Pada Client login ke phpmyadmin
Buat database dengan nama wordpress
2. Pada server (debian 7) ketikkan perintah  cd /var/
3. Kemudian ketikkan  ls
4. Kemudian ketikkan  mkdir www-data
5. Kemudian ketikkan  ls
6. UPLOAD aplikasi wordpress melalui winscp
7. Buka aplikasi winscp
Hostname : nama domain anda
Port : 1734
Username : root
Password : root

Lalu Pilih OK / UPDATE


8. Pada winscp ganti folder root menjadi / <root>
Masuk ke folder var kemudian cari www-data
Pindahkan file wordpress dari folder client (sebelah kiri) ke folder www-data
9. Ketikkan ls untuk mengecek apakah direktori www-data sudah ada
10. Kemudian untuk masuk ke direktori www-data, ketikkan perintah cd www-data/
11. Kemudian ls
12. Kemudian apt-get install unzip
13. Lalu ketikkan perintah unzip wordpress.zip
14. Ketik ls untuk mengecek isi file dari wordpress
15. Ketikkan mv wp-config-sample.php wp-config.php (perintah utk rename)
16. Lalu ketikkan nano wp-config.php
CARI dan GANTI :
‘database_name_here’ diganti menjadi ‘wordpress’
‘username_here’ diganti menjadi ‘root’
‘password_here’ diganti menjadi ‘root’
17. Ketik cd /etc/apache2/sites-available/
18. Ketik ls
19. Ketik cp default dika86.net
20. Ketik ls
21. Ketikkan nano dika86.net
CARI DAN EDIT :
ServerAdmin webmaster@dika86.net
ServerName www.dika86.net
ServerAlias dika86.net

DocumentRoot /var/www menjadi Document /var/www-data

<Directory /var/www/> menjadi <Directory /var/www-data/>


22. Ketik a2dissite default
23. Ketik /etc/init.d/apache2 reload
24. Ketik a2ensite dka86.net
25. Ketik /etc/init.d/apache2 reload
26. DARI CLIENT BUKA BROWSER
Masukkan URL  dika86.net/wp-login.php
Lalu isi sesuai selera anda
27. Wordpress siap untuk dihidangkan

S-ar putea să vă placă și