SlideShare a Scribd company logo
1 of 2
konfigurasi routing 
nano /etc/network/interfaces 
# this file describes the network interface available on your system 
# and now to activate them. for more information, see interface(5) 
#the loopback network interface 
auto lo 
iface lo inet loopback 
# the primary network interface 
auto eth0 
iface eth0 inet static 
address 192.168.1.100 
netmask 255.255.255.0 
gateway 192.168.1.1 
nameserver 8.8.8.8 
broadcast 192.168.1.255 
#zona LAN 
auto eth1 
iface eth1 inet static 
address 192.168.1.45 
netmask 255.255.255.0 
network 192.168.4.1 
broadcast 192.168.4.255 
setelah itu restart ip yang kita konfigurasikan 
/etc/init.d/networking restart 
setelah itu install resolv 
apt-get install resolvconf 
atau masuk ke nano /etc/resolv.conf 
edit : nameserver 8.8.8.8 
nameserver 192.168.1.10 
konfigurasi file sysctl.conf 
nano /etc/sysctl.conf 
cari kalimat: #net.ipv4.ip_forward = 1 (HAPUS PAGAR) 
echo 1 > /proc/sys/net/ipv4/ip_forward 
cat /proc/sys/net/ipv4/ip_forward 
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE 
iptables -t nat -n -L 
nano /etc/rc.local 
tambahkan : 
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE 
SETELAH SEMUA DI INSTALL LALU KITA REBOOT KOMPUTER SERVER 
nano /etc/resolv.conf nameserver 8.8.8.8 
nano /etc/network/option 
lalu isikan : ip_forward=yes 
spoofprotect=yes 
syncookies=no 
lalu "reboot"komputer PC 
agar hasil reboot tidak hilang maka cari comen 
nano /etc/resolvconf/ lalu tekan TAB, 
tambahkan nano /etc/resolvconf/resolv.conf.d/ TAB lagi 
nano /etc/resolvconf/resolv.conf.d/base
"INSTALL FTP" 
apt-get update 
apt-get install proftpd 
pilih bacaan standalone lalu OK 
lalu test di pc client dengan mengetik FTP//192.168.1.43/ IP SERVER KITA 
APABILA BERHASIL FTP AKAN MINTAK LOGIN 
"INSTALL WEBSEREVR" 
apt-get install apache2 
service apache2 start 
apt-get install bind9 
service bind9 start 
apt-get install apache2 php5 mysql-server 
isi nama user dan password 
menggati isi derektori it work 
cd /var/www 
nano index.html 
lalu kita coba di client atau web dengan mengetik ip server HTTP://192.168.4.43 
"INSTALL NTPD" 
apt-get install ntp ntpdate 
nano /etc/ntp.conf 
"INSTALL PROXY" 
apt-get install squid 
nano /etc/squid/squid.conf 
"INsTALL DHCP" 
apt-get install isc-dhcp-server 
nano /etc/dhcp/dhcpd.conf 
YANG DI EDIT 
/etc/init.d/isc-dhcp-server start 
/etc/init.d/isc-dhcp-server restart 
"INSTALL DNS" 
apt-get install bind9

More Related Content

What's hot

Building a moat bastion server
Building a moat   bastion serverBuilding a moat   bastion server
Building a moat bastion server
nseemiller
 

What's hot (20)

50 Perintah Dasar pada linux
50 Perintah Dasar pada linux50 Perintah Dasar pada linux
50 Perintah Dasar pada linux
 
Configuration of SFTP Server on CentOS 8.pdf
Configuration of SFTP Server on CentOS 8.pdfConfiguration of SFTP Server on CentOS 8.pdf
Configuration of SFTP Server on CentOS 8.pdf
 
Mongo db tailable cursors
Mongo db tailable cursorsMongo db tailable cursors
Mongo db tailable cursors
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instance
 
Linux02 install SSh
Linux02 install SShLinux02 install SSh
Linux02 install SSh
 
MySql Restore Script
MySql Restore ScriptMySql Restore Script
MySql Restore Script
 
Server readme
Server readmeServer readme
Server readme
 
Compcon 2016 Workshop
Compcon 2016 WorkshopCompcon 2016 Workshop
Compcon 2016 Workshop
 
Building a moat bastion server
Building a moat   bastion serverBuilding a moat   bastion server
Building a moat bastion server
 
Presentación1
Presentación1Presentación1
Presentación1
 
Cara Set Up FTP server di ubuntu
Cara Set Up FTP server di ubuntuCara Set Up FTP server di ubuntu
Cara Set Up FTP server di ubuntu
 
Project 2 how to install and compile os161
Project 2 how to install and compile os161Project 2 how to install and compile os161
Project 2 how to install and compile os161
 
2 how to-build_document_management_system
2 how to-build_document_management_system2 how to-build_document_management_system
2 how to-build_document_management_system
 
Definitive guide to setting up a lamp server using open source software
Definitive guide to setting up a lamp server using open source softwareDefinitive guide to setting up a lamp server using open source software
Definitive guide to setting up a lamp server using open source software
 
IPTables Lab
IPTables LabIPTables Lab
IPTables Lab
 
Project 2 How to modify os161: A Manual
Project 2 How to modify os161: A ManualProject 2 How to modify os161: A Manual
Project 2 How to modify os161: A Manual
 
Project 2 how to modify OS/161
Project 2 how to modify OS/161Project 2 how to modify OS/161
Project 2 how to modify OS/161
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-list
 

Similar to Debian

Nuxeo5 - Continuous Integration
Nuxeo5 - Continuous IntegrationNuxeo5 - Continuous Integration
Nuxeo5 - Continuous Integration
PASCAL Jean Marie
 
Openstack kilo installation using rdo
Openstack kilo installation using rdoOpenstack kilo installation using rdo
Openstack kilo installation using rdo
Narasimha sreeram
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
Ahmed Mekkawy
 

Similar to Debian (20)

PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid UmarPENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 3 oleh Walid Umar
 
Nuxeo5 - Continuous Integration
Nuxeo5 - Continuous IntegrationNuxeo5 - Continuous Integration
Nuxeo5 - Continuous Integration
 
Linux
LinuxLinux
Linux
 
Samba
SambaSamba
Samba
 
Free ipa installation and cluster configuration, freeipa client connection
Free ipa installation and cluster configuration, freeipa client connectionFree ipa installation and cluster configuration, freeipa client connection
Free ipa installation and cluster configuration, freeipa client connection
 
Installing Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu InstanceInstalling Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu Instance
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Centos config
Centos configCentos config
Centos config
 
Hadoop on osx
Hadoop on osxHadoop on osx
Hadoop on osx
 
ONOS SDN Controller - Clustering Tests & Experiments
ONOS SDN Controller - Clustering Tests & Experiments ONOS SDN Controller - Clustering Tests & Experiments
ONOS SDN Controller - Clustering Tests & Experiments
 
Hadoop installation
Hadoop installationHadoop installation
Hadoop installation
 
Network configuration
Network configurationNetwork configuration
Network configuration
 
3 manual installation of open vpn
3 manual installation of open vpn3 manual installation of open vpn
3 manual installation of open vpn
 
Ftp server
Ftp serverFtp server
Ftp server
 
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
 
Sun raysetup
Sun raysetupSun raysetup
Sun raysetup
 
Openstack kilo installation using rdo
Openstack kilo installation using rdoOpenstack kilo installation using rdo
Openstack kilo installation using rdo
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
 
Dev ops
Dev opsDev ops
Dev ops
 
Tested install-isp config3-ubuntu-16-04
Tested install-isp config3-ubuntu-16-04Tested install-isp config3-ubuntu-16-04
Tested install-isp config3-ubuntu-16-04
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 

Debian

  • 1. konfigurasi routing nano /etc/network/interfaces # this file describes the network interface available on your system # and now to activate them. for more information, see interface(5) #the loopback network interface auto lo iface lo inet loopback # the primary network interface auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1 nameserver 8.8.8.8 broadcast 192.168.1.255 #zona LAN auto eth1 iface eth1 inet static address 192.168.1.45 netmask 255.255.255.0 network 192.168.4.1 broadcast 192.168.4.255 setelah itu restart ip yang kita konfigurasikan /etc/init.d/networking restart setelah itu install resolv apt-get install resolvconf atau masuk ke nano /etc/resolv.conf edit : nameserver 8.8.8.8 nameserver 192.168.1.10 konfigurasi file sysctl.conf nano /etc/sysctl.conf cari kalimat: #net.ipv4.ip_forward = 1 (HAPUS PAGAR) echo 1 > /proc/sys/net/ipv4/ip_forward cat /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -t nat -n -L nano /etc/rc.local tambahkan : iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE SETELAH SEMUA DI INSTALL LALU KITA REBOOT KOMPUTER SERVER nano /etc/resolv.conf nameserver 8.8.8.8 nano /etc/network/option lalu isikan : ip_forward=yes spoofprotect=yes syncookies=no lalu "reboot"komputer PC agar hasil reboot tidak hilang maka cari comen nano /etc/resolvconf/ lalu tekan TAB, tambahkan nano /etc/resolvconf/resolv.conf.d/ TAB lagi nano /etc/resolvconf/resolv.conf.d/base
  • 2. "INSTALL FTP" apt-get update apt-get install proftpd pilih bacaan standalone lalu OK lalu test di pc client dengan mengetik FTP//192.168.1.43/ IP SERVER KITA APABILA BERHASIL FTP AKAN MINTAK LOGIN "INSTALL WEBSEREVR" apt-get install apache2 service apache2 start apt-get install bind9 service bind9 start apt-get install apache2 php5 mysql-server isi nama user dan password menggati isi derektori it work cd /var/www nano index.html lalu kita coba di client atau web dengan mengetik ip server HTTP://192.168.4.43 "INSTALL NTPD" apt-get install ntp ntpdate nano /etc/ntp.conf "INSTALL PROXY" apt-get install squid nano /etc/squid/squid.conf "INsTALL DHCP" apt-get install isc-dhcp-server nano /etc/dhcp/dhcpd.conf YANG DI EDIT /etc/init.d/isc-dhcp-server start /etc/init.d/isc-dhcp-server restart "INSTALL DNS" apt-get install bind9