Compare commits
2 Commits
v0.6.e-tva
...
v0.7.0-bb
Author | SHA1 | Date | |
---|---|---|---|
6844d05974 | |||
4621000ce1 |
@ -21,9 +21,9 @@ allow-hotplug enp0s9
|
|||||||
iface enp0s9 inet static
|
iface enp0s9 inet static
|
||||||
address 192.168.1.2
|
address 192.168.1.2
|
||||||
netmask 255.255.255.0
|
netmask 255.255.255.0
|
||||||
post-up ip route add 172.16.128.0/24 via 192.168.1.2
|
post-up /usr/sbin/ip route add 172.16.128.0/24 via 192.168.1.2
|
||||||
post-up ip route add 172.16.0.0/24 via 192.168.1.1
|
post-up /usr/sbin/ip route add 172.16.0.0/24 via 192.168.1.1
|
||||||
post-up ip route add 192.168.200.0/24 via 192.168.1.1
|
post-up /usr/sbin/ip route add 192.168.200.0/24 via 192.168.1.1
|
||||||
|
|
||||||
# up route add -net 172.16.128.0/24 gw 192.168.0.52
|
# up route add -net 172.16.128.0/24 gw 192.168.0.52
|
||||||
# up route add default gw 192.168.1.1
|
# up route add default gw 192.168.1.1
|
||||||
|
@ -21,8 +21,8 @@ allow-hotplug enp0s9
|
|||||||
iface enp0s9 inet static
|
iface enp0s9 inet static
|
||||||
address 192.168.0.52
|
address 192.168.0.52
|
||||||
netmask 255.255.255.0
|
netmask 255.255.255.0
|
||||||
post-up ip route add 192.168.1.0/24 via 172.16.128.254/24
|
post-up /usr/sbin/ip route add 192.168.1.0/24 via 172.16.128.254/24
|
||||||
post-up ip route add 172.16.0.0/24 via 172.16.128.254/24
|
post-up /usr/sbin/ip route add 172.16.0.0/24 via 172.16.128.254/24
|
||||||
|
|
||||||
# up route add -net 192.168.1.0/24 gw 192.168.0.52
|
# up route add -net 192.168.1.0/24 gw 192.168.0.52
|
||||||
# post-up /bin/bash /root/iptables-vpn
|
# post-up /bin/bash /root/iptables-vpn
|
||||||
|
@ -9,3 +9,6 @@ iface lo inet loopback
|
|||||||
allow-hotplug enp0s3
|
allow-hotplug enp0s3
|
||||||
iface enp0s3 inet dhcp
|
iface enp0s3 inet dhcp
|
||||||
|
|
||||||
|
allow-hotplug enp0s8
|
||||||
|
iface enp0s8 inet dhcp
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ apt-get update && apt-get upgrade -y
|
|||||||
# Install MySQL Server in a Non-Interactive mode. Default root password will be "root"
|
# Install MySQL Server in a Non-Interactive mode. Default root password will be "root"
|
||||||
echo "mysql-server mysql-server/root_password password root" | debconf-set-selections
|
echo "mysql-server mysql-server/root_password password root" | debconf-set-selections
|
||||||
echo "mysql-server mysql-server/root_password_again password root" | debconf-set-selections
|
echo "mysql-server mysql-server/root_password_again password root" | debconf-set-selections
|
||||||
apt-get -y install mariadb-server
|
apt-get -y install mysql-server
|
||||||
|
|
||||||
|
|
||||||
# Run the MySQL Secure Installation wizard
|
# Run the MySQL Secure Installation wizard
|
||||||
|
Reference in New Issue
Block a user