VHD VDI Debian (Langkah2Setting)
1. Menyiapkan file VHD VDI VBox
VBoxManage internalcommands sethduuid "C:\...\Moodle On Ubuntu 16.04 LTS server dg GUI Gnome.vhd"
VBoxManage internalcommands sethduuid "D:\Fajar Himawan Titip\VHD\Debian 10 server\VHD-Debian10Moodle3.8.3-Postgre-Nginx-PHP7.46fpm-ip200-Jurnalku.vdi\VHD-Debian10Moodle3.8.3-Postgre-Nginx-PHP7.46fpm-ip200-Jurnalku1.vdi"
2.
Login
root
passwd
3
nano /etc/network/interfaces
ping 8.8.8.8
nano /etc/resolv.conf
/etc/init.d/networking restart
4
nano /etc/network/interfaces
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug enp0s3
#iface enp0s3 inet dhcp
auto enp0s3
iface enp0s3 inet static
address 192.168.1.200
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.1.1
5
nano /etc/resolv.conf
nameserver 118.98.44.100
nameserver 118.98.44.10
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 192.168.137.1
nameserver 192.168.1.1
6
/etc/init.d/networking restart
7
nano /etc/hosts
127.0.0.1 localhost
192.168.1.200 debian.jurnalku.my.id debian
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
8.
Root access is disabled to Enabled
Some SSH servers can disable SSH logins for certain users and may even disable root logins by default. If you're using Open SSH server, you have to edit
nano /etc/ssh/sshd_config
PermitRootLogin yes
service ssh restart
No comments