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

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Recently uploaded (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

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