Fli
09-21-2013, 02:21 PM
Please, can you help me solve this issue?
I installed OpenVZ template Ubuntu 12.04 on a VPS and canot connect via SSH.
I discovered that when i start SSH and Networking, its able to connect, but after reboot its back turned off. I assume i need to make it running on the boot.
In this case i want to ask you what i should do?
ANd what else to check to ensure this VPS can be used as a webserver. I mean what else services might be wrong?
vi /etc/rc.local
Quote:
exit 0
(contains only this except descriptions)
vi /etc/network/interfaces
Quote:
# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0
auto venet0:0
iface venet0:0 inet static
address vpsipishere
netmask 255.255.255.255
I spotted this idea on how to start on boot, but im unsure with etch0, how to apply? http://askubuntu.com/a/4974
Thanks for ideas
I installed OpenVZ template Ubuntu 12.04 on a VPS and canot connect via SSH.
I discovered that when i start SSH and Networking, its able to connect, but after reboot its back turned off. I assume i need to make it running on the boot.
In this case i want to ask you what i should do?
ANd what else to check to ensure this VPS can be used as a webserver. I mean what else services might be wrong?
vi /etc/rc.local
Quote:
exit 0
(contains only this except descriptions)
vi /etc/network/interfaces
Quote:
# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0
auto venet0:0
iface venet0:0 inet static
address vpsipishere
netmask 255.255.255.255
I spotted this idea on how to start on boot, but im unsure with etch0, how to apply? http://askubuntu.com/a/4974
Thanks for ideas