đInstallation 3VM
Last updated
Last updated
nano /etc/network/interfaces
The purpose of the apt update command is to download for each package source the appropriate Packages (or Sources ) file and remove old versions of installed or upgradeable packages on the system that are no longer needed when upgrading.
We will configure the router so that it can share IP and Internet with clients.
nano /etc/sysctl.conf
nano /proc/sys/net/ipv4/ip_forward
The function of SSH is as a safe and reliable data transfer medium that can be used remotely. If you have used remote login applications such as Telnet before, SSH is a safer replacement application thanks to its secure shell technology.
nano /etc/ssh/sshd_config
DHCP is the abbreviation of Dynamic Host Configuration Protocol. DHCP is a protocol used for dynamic distribution of IP addresses on computer networks. By using DHCP you can configure the IP address on each device on the computer network automatically.
nano /etc/dhcp/dhcpd.conf
Next, we will determine which port we will provide this DHCP Server service to. Because I will provide services for Windows, I will use the ens37 interface as the port that will be provided to the DHCP Server
nano /etc/default/isc-dhcp-server
Before that, we have to change the Server IP according to the segment we have created. To change the IP address we must use the root user. If you are already in the root user, then we type command
nano /etc/network/Interfaces
The purpose of the apt update command is to download for each package source the appropriate Packages (or Sources ) file and remove old versions of installed or upgradeable packages on the system that are no longer needed when upgrading.
nano /etc/ssh/sshd_config
For Windows there is no special configuration because you already get a DHCP Server from the Router side. We only add Google's DNS so we can connect to the internet which will be used to install the required packages. The DNS are 8.8.8.8 and 8.8.4.4. The packages that will be used later are:
Putty
Filezilla
Web Browser
Command Prompt
In addition, we will configure SSH on the Router side to the Server. Ssh-keygen is a tool for generating new authentication key pairs for SSH. These key pairs are used to automate logins, single sign-on, and to authenticate hosts.