-
Notifications
You must be signed in to change notification settings - Fork 0
VM Mongo 01
cypx edited this page Nov 16, 2014
·
14 revisions
IPv4: 5.196.206.60
Virtual MAC: 02:00:00:4a:1e:55
OS: Ubuntu 14.04
Installed from VM-template
Configure network interface
$ vi /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 5.196.206.60
netmask 255.255.255.255
broadcast 5.196.206.60
post-up route add 37.59.46.254 dev eth0
post-up route add default gw 37.59.46.254
pre-down route del 37.59.46.254 dev eth0
pre-down route del default gw 37.59.46.254
dns-nameservers 8.8.8.8 8.8.4.4
Change hostname
$ echo "mongo-01" | sudo tee /etc/hostname
$ sudo vi /etc/hosts
127.0.0.1 localhost
127.0.1.1 mongo-01
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Managed via PVE interface:
- Global configuration:
- Input policy: Drop
- Output policy: Accept
- Proxmox server specific configuration
- Input Accept SSH macro