SlideShare a Scribd company logo
1 of 9
26 Januari 2012                                        EXIT

INTERFAC
                  ROUTING   PROXY   DHCP   DNS       MAIL
    E




                  KONFIGURASI DEBIAN 5      Debian Lenny
INTERFACE
      Konfigurasi Debian 5 (Lenny)
                                                        Konfigurasi NIC

                                                                                     # nano /etc/network/interfaces

      # The loopback network interface
      auto lo
      iface lo inet loopback
      # The primary network interface
      auto eth0
      iface eth0 inet static
           address 192.168.4.118
           netmask 255.255.255.0
           network 192.168.4.0
           broadcast 192.168.4.255
           gateway 192.168.4.1
           # dns-* options are implemented by the resolvconf package, if installed
           dns-nameservers 192.168.18.81
           dns-search syaif.edu
      auto eth1
      iface eth1 inet static
           address 192.168.18.81
           netmask 255.255.255.0
           network 192.168.18.0
           broadcast 192.168.18.255


     N    Tambahkan settingan seperti contoh di atas pada konfigurasi NIC anda.



KKTKJ Smk Kelas XII                                                                                       Ahmad Syaifudin
ROUTING
      Konfigurasi Debian 5 (Lenny)
                                                   Konfigurasi Router

                                                                                             # nano /etc/rc.local
      ========                                                                               # nano /etc/sysctl.conf
      • rc.local                                                                             # nano /etc/resolv.conf
      ========
      iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
      iptables -t nat -A PREROUTING -s 192.168.18.0/24 -p tcp --dport 80 -j REDIRECT --to-ports 3128
      echo "1" > /proc/sys/net/ipv4/ip_forward
      ==========
      • sysctl.conf
      ==========
      net.ipv4.ip_forward = 1 (hilangkan tanda pagarnya)
      ==========
      • resolv.conf
      ==========
      search syaif.edu
      nameserver 192.168.18.81
      nameserver 192.168.4.1




     N    Tambahkan settingan seperti contoh di atas pada konfigurasi PC-Router anda.



KKTKJ Smk Kelas XII                                                                                              Ahmad Syaifudin
PROXY
      Konfigurasi Debian 5 (Lenny)
                                                          Konfigurasi Proxy

                                                                                   # apt-get install squid
      # Squid normally listens to port 3128                                        # nano /etc/squid/squid.conf
                                                                                      (Ctrl+w)  http_port 3128
      http_port 3128 transparent
                                                                                      (Ctrl+w)  acl connect
                                                                                      (Ctrl+w)  and finally deny
      acl CONNECT method CONNECT
      acl situs dstdomain "/etc/squid/situs"                                       # nano /etc/squid/situs
      acl lan src 192.168.18.0/24
      no_cache deny situs
      http_acces deny situs
      http_access allow lan
      cache_mgr saif@syaif.edu
      visible_hostname www.syaif.edu

      # And finally deny all other access to this proxy
      #http_access deny all

      =======
      File situs
      =======
      Masukkan alamat yang ingin di blokir di file situs




     N    “situs” dapar diganti apa saja, “dstdomain” dapat diganti “url_regex”.



KKTKJ Smk Kelas XII                                                                                     Ahmad Syaifudin
DHCP
      Konfigurasi Debian 5 (Lenny)
                                                         Konfigurasi DHCP
                                                                                  # apt-get install dhcp3-server
                                                                                  # nano /etc/dhcp/dhcpd.conf
      # A slightly different configuration for an internal subnet.
      subnet 192.168.18.0 netmask 255.255.255.0 {
          range 192.168.18.100 192.168.18.120;
          option domain-name-servers 192.168.18.81;
          option domain-name “syaif.edu";
          option routers 192.168.18.81;
          option broadcast-address 192.168.18.255;
          default-lease-time 600;
          max-lease-time 7200;
      }




     N       Range dapat diisi sesuai keinginan kita, tergantung jumlah client.



KKTKJ Smk Kelas XII                                                                                   Ahmad Syaifudin
DNS
      Konfigurasi Debian 5 (Lenny)
                                                      Konfigurasi DNS                                          Halaman 1

                                                                                              # apt-get install bind9
      ===========                                                                             # nano /etc/bind/named.conf
      • named.conf
      ===========
      zone "syaif.edu" {
          type master;
          file "db.syaif";
      };

      zone "192.in-addr.arpa" {
          type master;
          file "db.192";
      };




     N    Setting DNS anda seperti settingan di atas, untuk mengedit tampilan di (#nano /var/www/index.html)



KKTKJ Smk Kelas XII                                                                                              Ahmad Syaifudin
DNS
      Konfigurasi Debian 5 (Lenny)
                                                       Konfigurasi DNS                                      Halaman 2

                                                               * copy db.127 di /etc/bind ke /var/cache/bind/db.192
      ==========                                               * copy db.local di /etc/bind ke /var/cache/bind/db.syaif
      • db.smkitsi                                             # nano /var/cache/bind/db.syaif
      ==========                                               # nano /var/cache/bind/db.192
      ;                                                        * Pengujian (#nslookup syaif.edu)
      ; BIND data file for local loopback interface                =======
      ;                                                            • db.192
      $TTL 604800                                                  =======
      @     IN    SOA syaif.edu. root.syaif.edu. (                 ;
                         2           ; Serial                      ; BIND reverse data file for local loopback interface
                      604800         ; Refresh                     ;
                       86400         ; Retry                       $TTL 604800
                     2419200         ; Expire                      @     IN    SOA syaif.edu. root.syaif.edu. (
                      604800 )       ; Negative Cache TTL                            1             ; Serial
      ;                                                                           604800           ; Refresh
      @              IN     NS syaif.edu.                                          86400           ; Retry
      @              IN A          192.168.18.81                                 2419200           ; Expire
      www            IN A          192.168.18.81                                  604800 )         ; Negative Cache TTL
      mail           IN A          192.168.18.81                   ;
                                                                   @     IN    NS syaif.edu.
                                                                   81.18.168 IN        PTR www.syaif.edu.
                                                                   81.18.168 IN        PTR mail.syaif.edu.



     N    Setting DNS anda seperti settingan di atas, dan perhatikan pemakaian tanda titik setelah URL.



KKTKJ Smk Kelas XII                                                                                             Ahmad Syaifudin
MAIL
      Konfigurasi Debian 5 (Lenny)
                                                   Konfigurasi Mail Server                                Halaman 1

                                                                                  # apt-get install postfix
      =======                                                                     # apt-get install dovecot-imapd
      • Postfix                                                                   # apt-get install courier-imap
      =======                                                                     # apt-get install courier-pop
      Ok  Internet Site  syaif.edu                                              # apt-get install squirrelmail
      ===================                                                         # apt-get install apache2
      • Courier-imap courier-pop                                                  # nano /etc/apache2/apache2.conf
      ====================                                                        # nano /etc/squirrelmail/apache.conf
      No                                                                          # maildirmake /etc/skel/Maildir
      ============                                              ===========
      • Apache2.conf                                            • Apache.conf
      ============                                              ===========
      # Include the virtual host configurations:                # users will prefer a simple URL like
      Include /etc/apache2/sites-enabled                        http://webmail.example.com
      Include /etc/squirrelmail/apache.conf                     #<VirtualHost 1.2.3.4>
                                                                # DocumentRoot /usr/share/squirrelmail
                                                                # ServerName webmail.example.com
                                                                #</VirtualHost>
                                                                <VirtualHost *:80>
                                                                DocumentRoot /usr/share/squirrelmail
                                                                ServerName mail.syaif.edu
                                                                </VirtualHost>



     N    Setting Mail Server anda seperti settingan di atas.



KKTKJ Smk Kelas XII                                                                                          Ahmad Syaifudin
MAIL
      Konfigurasi Debian 5 (Lenny)
                                                 Konfigurasi Mail Server                                         Halaman 2

                                                                                                # dpkg-reconfigure postfix
      ======================                                                                    # nano /etc/postfix/main.cf
      dpkg-reconfigure postfix                                                                  # adduser admin
      ======================
      Ok  Internet Site  smkitsi.edu  biarkan kosong  tambahkan (,192.168.18.81/24)  No  tambahkan
      (,192.168.18.81/24)  No  0  +  ipv4

      ========
      • main.cf
      ========
      inet_interfaces = all
      inet_protocols = ipv4
      home_mailbox = Maildir/




     N    Setting Mail Server anda seperti settingan di atas, admin dapat diganti nama anda alias terserah.



KKTKJ Smk Kelas XII                                                                                                  Ahmad Syaifudin

More Related Content

What's hot

Bundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPMBundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPMAlexander Shopov
 
101 3.3 perform basic file management
101 3.3 perform basic file management101 3.3 perform basic file management
101 3.3 perform basic file managementAcácio Oliveira
 
101 3.3 perform basic file management
101 3.3 perform basic file management101 3.3 perform basic file management
101 3.3 perform basic file managementAcácio Oliveira
 
3.3 perform basic file management
3.3 perform basic file management3.3 perform basic file management
3.3 perform basic file managementAcácio Oliveira
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库maclean liu
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDCJalpa Soni
 
RHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRadien software
 
Keeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runitKeeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runitMen and Mice
 
101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package managementAcácio Oliveira
 
SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmailAryman Gautam
 
RPM: Speed up your deploy
RPM: Speed up your deployRPM: Speed up your deploy
RPM: Speed up your deployfcrippa
 
Collaborate vdb performance
Collaborate vdb performanceCollaborate vdb performance
Collaborate vdb performanceKyle Hailey
 
Tópicos - LVS Instalacao Slack11
Tópicos - LVS Instalacao Slack11Tópicos - LVS Instalacao Slack11
Tópicos - LVS Instalacao Slack11Luiz Arthur
 
101 2.1 design hard disk layout
101 2.1 design hard disk layout101 2.1 design hard disk layout
101 2.1 design hard disk layoutAcácio Oliveira
 

What's hot (20)

Dns
DnsDns
Dns
 
Install oracle11gr2 rhel5
Install oracle11gr2 rhel5Install oracle11gr2 rhel5
Install oracle11gr2 rhel5
 
Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9
 
Bundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPMBundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPM
 
101 3.3 perform basic file management
101 3.3 perform basic file management101 3.3 perform basic file management
101 3.3 perform basic file management
 
101 3.3 perform basic file management
101 3.3 perform basic file management101 3.3 perform basic file management
101 3.3 perform basic file management
 
3.3 perform basic file management
3.3 perform basic file management3.3 perform basic file management
3.3 perform basic file management
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
 
RHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRHCE FINAL Questions and Answers
RHCE FINAL Questions and Answers
 
NFS and Oracle
NFS and OracleNFS and Oracle
NFS and Oracle
 
Keeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runitKeeping DNS server up-and-running with “runit
Keeping DNS server up-and-running with “runit
 
101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package management
 
SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmail
 
RPM: Speed up your deploy
RPM: Speed up your deployRPM: Speed up your deploy
RPM: Speed up your deploy
 
Collaborate vdb performance
Collaborate vdb performanceCollaborate vdb performance
Collaborate vdb performance
 
Tópicos - LVS Instalacao Slack11
Tópicos - LVS Instalacao Slack11Tópicos - LVS Instalacao Slack11
Tópicos - LVS Instalacao Slack11
 
Unix Basics For Testers
Unix Basics For TestersUnix Basics For Testers
Unix Basics For Testers
 
101 2.1 design hard disk layout
101 2.1 design hard disk layout101 2.1 design hard disk layout
101 2.1 design hard disk layout
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 

Viewers also liked

Materi 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC RouterMateri 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC RouterWalid Umar
 
Cara mengkonfigurasi router
Cara mengkonfigurasi routerCara mengkonfigurasi router
Cara mengkonfigurasi routerrisky_kartika
 
konfig routing paling cepat
konfig routing paling cepatkonfig routing paling cepat
konfig routing paling cepatBelajar Konfig
 
Riset akuntansi
Riset akuntansiRiset akuntansi
Riset akuntansidoniefendi
 
Hardware pada osi layer
Hardware pada osi layerHardware pada osi layer
Hardware pada osi layertukiman47
 
UNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOP
UNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOPUNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOP
UNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOPAmit Midha
 
Hardware komputer dalam Sistem Informasi Manajemen
Hardware komputer dalam Sistem Informasi ManajemenHardware komputer dalam Sistem Informasi Manajemen
Hardware komputer dalam Sistem Informasi ManajemenNailuredha Hermanto
 
Mikrotik ppt
Mikrotik pptMikrotik ppt
Mikrotik ppt044249
 
Important tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routingImportant tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routingjayeshpar2006
 
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLSBASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLSamiteshg
 
Introduction to router
Introduction to routerIntroduction to router
Introduction to routerFarhan Galib
 
WAN SDN meet Segment Routing
WAN SDN meet Segment RoutingWAN SDN meet Segment Routing
WAN SDN meet Segment RoutingAPNIC
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocolselvakumar_b1985
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 

Viewers also liked (20)

Materi 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC RouterMateri 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC Router
 
Cara mengkonfigurasi router
Cara mengkonfigurasi routerCara mengkonfigurasi router
Cara mengkonfigurasi router
 
Jaringan komputerwan
Jaringan komputerwanJaringan komputerwan
Jaringan komputerwan
 
konfig routing paling cepat
konfig routing paling cepatkonfig routing paling cepat
konfig routing paling cepat
 
Riset akuntansi
Riset akuntansiRiset akuntansi
Riset akuntansi
 
Hardware pada osi layer
Hardware pada osi layerHardware pada osi layer
Hardware pada osi layer
 
UNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOP
UNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOPUNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOP
UNDERSTANDING OOAD AND DESIGN PATTERNS USING UML AND JAVA-TRAINING WORKSHOP
 
1 introduction of OOAD
1 introduction of OOAD1 introduction of OOAD
1 introduction of OOAD
 
Hardware komputer dalam Sistem Informasi Manajemen
Hardware komputer dalam Sistem Informasi ManajemenHardware komputer dalam Sistem Informasi Manajemen
Hardware komputer dalam Sistem Informasi Manajemen
 
Ooad overview
Ooad overviewOoad overview
Ooad overview
 
Mikrotik ppt
Mikrotik pptMikrotik ppt
Mikrotik ppt
 
Important tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routingImportant tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routing
 
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLSBASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
 
Introduction to router
Introduction to routerIntroduction to router
Introduction to router
 
WAN SDN meet Segment Routing
WAN SDN meet Segment RoutingWAN SDN meet Segment Routing
WAN SDN meet Segment Routing
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocol
 
MikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port KnockingMikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port Knocking
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Presentation on router
Presentation on routerPresentation on router
Presentation on router
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 

Similar to Ahmad-debian

Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Edureka!
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS ConfigurationVinod Gour
 
Hands on Virtualization with Ganeti
Hands on Virtualization with GanetiHands on Virtualization with Ganeti
Hands on Virtualization with GanetiOSCON Byrum
 
2015.10.05 Updated > Network Device Development - Part 1: Switch
2015.10.05 Updated > Network Device Development - Part 1: Switch2015.10.05 Updated > Network Device Development - Part 1: Switch
2015.10.05 Updated > Network Device Development - Part 1: SwitchCheng-Yi Yu
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Kaan Aslandağ
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingBeni Krisbiantoro
 
Big Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and MesosBig Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and MesosHeiko Loewe
 
Oreilly Webcast 01 19 10
Oreilly Webcast 01 19 10Oreilly Webcast 01 19 10
Oreilly Webcast 01 19 10Sean Hull
 
Implementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyImplementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyA. S. M. Shamim Reza
 
Network configuration
Network configurationNetwork configuration
Network configurationengshemachi
 
Advanced DNS/DHCP for Novell eDirectory Environments
Advanced DNS/DHCP for Novell eDirectory EnvironmentsAdvanced DNS/DHCP for Novell eDirectory Environments
Advanced DNS/DHCP for Novell eDirectory EnvironmentsNovell
 
High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting Aleksey Korzun
 
Getting Started with Redis
Getting Started with RedisGetting Started with Redis
Getting Started with RedisDaniel Ku
 
Cisco asa dhcp services
Cisco asa dhcp servicesCisco asa dhcp services
Cisco asa dhcp servicesIT Tech
 
Razor, the Provisioning Toolbox - PuppetConf 2014
Razor, the Provisioning Toolbox - PuppetConf 2014Razor, the Provisioning Toolbox - PuppetConf 2014
Razor, the Provisioning Toolbox - PuppetConf 2014Puppet
 

Similar to Ahmad-debian (20)

Modul server debian 5
Modul server debian 5Modul server debian 5
Modul server debian 5
 
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
 
15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
Web Server Free Bsd
Web Server Free BsdWeb Server Free Bsd
Web Server Free Bsd
 
Hands on Virtualization with Ganeti
Hands on Virtualization with GanetiHands on Virtualization with Ganeti
Hands on Virtualization with Ganeti
 
2015.10.05 Updated > Network Device Development - Part 1: Switch
2015.10.05 Updated > Network Device Development - Part 1: Switch2015.10.05 Updated > Network Device Development - Part 1: Switch
2015.10.05 Updated > Network Device Development - Part 1: Switch
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
 
Big Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and MesosBig Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and Mesos
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 
Oreilly Webcast 01 19 10
Oreilly Webcast 01 19 10Oreilly Webcast 01 19 10
Oreilly Webcast 01 19 10
 
Implementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyImplementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case study
 
Network configuration
Network configurationNetwork configuration
Network configuration
 
Advanced DNS/DHCP for Novell eDirectory Environments
Advanced DNS/DHCP for Novell eDirectory EnvironmentsAdvanced DNS/DHCP for Novell eDirectory Environments
Advanced DNS/DHCP for Novell eDirectory Environments
 
High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting
 
Getting Started with Redis
Getting Started with RedisGetting Started with Redis
Getting Started with Redis
 
Cisco asa dhcp services
Cisco asa dhcp servicesCisco asa dhcp services
Cisco asa dhcp services
 
Linux04 dns 2
Linux04 dns 2Linux04 dns 2
Linux04 dns 2
 
Razor, the Provisioning Toolbox - PuppetConf 2014
Razor, the Provisioning Toolbox - PuppetConf 2014Razor, the Provisioning Toolbox - PuppetConf 2014
Razor, the Provisioning Toolbox - PuppetConf 2014
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Ahmad-debian

  • 1. 26 Januari 2012 EXIT INTERFAC ROUTING PROXY DHCP DNS MAIL E KONFIGURASI DEBIAN 5 Debian Lenny
  • 2. INTERFACE Konfigurasi Debian 5 (Lenny) Konfigurasi NIC # nano /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.4.118 netmask 255.255.255.0 network 192.168.4.0 broadcast 192.168.4.255 gateway 192.168.4.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.18.81 dns-search syaif.edu auto eth1 iface eth1 inet static address 192.168.18.81 netmask 255.255.255.0 network 192.168.18.0 broadcast 192.168.18.255 N Tambahkan settingan seperti contoh di atas pada konfigurasi NIC anda. KKTKJ Smk Kelas XII Ahmad Syaifudin
  • 3. ROUTING Konfigurasi Debian 5 (Lenny) Konfigurasi Router # nano /etc/rc.local ======== # nano /etc/sysctl.conf • rc.local # nano /etc/resolv.conf ======== iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -t nat -A PREROUTING -s 192.168.18.0/24 -p tcp --dport 80 -j REDIRECT --to-ports 3128 echo "1" > /proc/sys/net/ipv4/ip_forward ========== • sysctl.conf ========== net.ipv4.ip_forward = 1 (hilangkan tanda pagarnya) ========== • resolv.conf ========== search syaif.edu nameserver 192.168.18.81 nameserver 192.168.4.1 N Tambahkan settingan seperti contoh di atas pada konfigurasi PC-Router anda. KKTKJ Smk Kelas XII Ahmad Syaifudin
  • 4. PROXY Konfigurasi Debian 5 (Lenny) Konfigurasi Proxy # apt-get install squid # Squid normally listens to port 3128 # nano /etc/squid/squid.conf (Ctrl+w)  http_port 3128 http_port 3128 transparent (Ctrl+w)  acl connect (Ctrl+w)  and finally deny acl CONNECT method CONNECT acl situs dstdomain "/etc/squid/situs" # nano /etc/squid/situs acl lan src 192.168.18.0/24 no_cache deny situs http_acces deny situs http_access allow lan cache_mgr saif@syaif.edu visible_hostname www.syaif.edu # And finally deny all other access to this proxy #http_access deny all ======= File situs ======= Masukkan alamat yang ingin di blokir di file situs N “situs” dapar diganti apa saja, “dstdomain” dapat diganti “url_regex”. KKTKJ Smk Kelas XII Ahmad Syaifudin
  • 5. DHCP Konfigurasi Debian 5 (Lenny) Konfigurasi DHCP # apt-get install dhcp3-server # nano /etc/dhcp/dhcpd.conf # A slightly different configuration for an internal subnet. subnet 192.168.18.0 netmask 255.255.255.0 { range 192.168.18.100 192.168.18.120; option domain-name-servers 192.168.18.81; option domain-name “syaif.edu"; option routers 192.168.18.81; option broadcast-address 192.168.18.255; default-lease-time 600; max-lease-time 7200; } N Range dapat diisi sesuai keinginan kita, tergantung jumlah client. KKTKJ Smk Kelas XII Ahmad Syaifudin
  • 6. DNS Konfigurasi Debian 5 (Lenny) Konfigurasi DNS Halaman 1 # apt-get install bind9 =========== # nano /etc/bind/named.conf • named.conf =========== zone "syaif.edu" { type master; file "db.syaif"; }; zone "192.in-addr.arpa" { type master; file "db.192"; }; N Setting DNS anda seperti settingan di atas, untuk mengedit tampilan di (#nano /var/www/index.html) KKTKJ Smk Kelas XII Ahmad Syaifudin
  • 7. DNS Konfigurasi Debian 5 (Lenny) Konfigurasi DNS Halaman 2 * copy db.127 di /etc/bind ke /var/cache/bind/db.192 ========== * copy db.local di /etc/bind ke /var/cache/bind/db.syaif • db.smkitsi # nano /var/cache/bind/db.syaif ========== # nano /var/cache/bind/db.192 ; * Pengujian (#nslookup syaif.edu) ; BIND data file for local loopback interface ======= ; • db.192 $TTL 604800 ======= @ IN SOA syaif.edu. root.syaif.edu. ( ; 2 ; Serial ; BIND reverse data file for local loopback interface 604800 ; Refresh ; 86400 ; Retry $TTL 604800 2419200 ; Expire @ IN SOA syaif.edu. root.syaif.edu. ( 604800 ) ; Negative Cache TTL 1 ; Serial ; 604800 ; Refresh @ IN NS syaif.edu. 86400 ; Retry @ IN A 192.168.18.81 2419200 ; Expire www IN A 192.168.18.81 604800 ) ; Negative Cache TTL mail IN A 192.168.18.81 ; @ IN NS syaif.edu. 81.18.168 IN PTR www.syaif.edu. 81.18.168 IN PTR mail.syaif.edu. N Setting DNS anda seperti settingan di atas, dan perhatikan pemakaian tanda titik setelah URL. KKTKJ Smk Kelas XII Ahmad Syaifudin
  • 8. MAIL Konfigurasi Debian 5 (Lenny) Konfigurasi Mail Server Halaman 1 # apt-get install postfix ======= # apt-get install dovecot-imapd • Postfix # apt-get install courier-imap ======= # apt-get install courier-pop Ok  Internet Site  syaif.edu # apt-get install squirrelmail =================== # apt-get install apache2 • Courier-imap courier-pop # nano /etc/apache2/apache2.conf ==================== # nano /etc/squirrelmail/apache.conf No # maildirmake /etc/skel/Maildir ============ =========== • Apache2.conf • Apache.conf ============ =========== # Include the virtual host configurations: # users will prefer a simple URL like Include /etc/apache2/sites-enabled http://webmail.example.com Include /etc/squirrelmail/apache.conf #<VirtualHost 1.2.3.4> # DocumentRoot /usr/share/squirrelmail # ServerName webmail.example.com #</VirtualHost> <VirtualHost *:80> DocumentRoot /usr/share/squirrelmail ServerName mail.syaif.edu </VirtualHost> N Setting Mail Server anda seperti settingan di atas. KKTKJ Smk Kelas XII Ahmad Syaifudin
  • 9. MAIL Konfigurasi Debian 5 (Lenny) Konfigurasi Mail Server Halaman 2 # dpkg-reconfigure postfix ====================== # nano /etc/postfix/main.cf dpkg-reconfigure postfix # adduser admin ====================== Ok  Internet Site  smkitsi.edu  biarkan kosong  tambahkan (,192.168.18.81/24)  No  tambahkan (,192.168.18.81/24)  No  0  +  ipv4 ======== • main.cf ======== inet_interfaces = all inet_protocols = ipv4 home_mailbox = Maildir/ N Setting Mail Server anda seperti settingan di atas, admin dapat diganti nama anda alias terserah. KKTKJ Smk Kelas XII Ahmad Syaifudin