This topic is about fixing the isssue when one cant connect VPS via SSH, because networking, SSH not ON

Hi, i applied an OpenVZ template (downloaded from: http://download.openvz.org/template/precreated/) on my VPS and i was unable to connect this VPS via SSH

Network error: Connection timed out
When checked networking and ssh if its running, it was NOT RUNNING.

service networking status
service ssh status

STARTING SSH AND NETWORKING

So i started it

service networking start
service ssh start

After this, i was able to login SSH!

ON REBOOT IS STOPPED, HOW TO AUTOSTART

But after command "reboot", services was stopped again (not started! So one need to make sure these services are start on vps boot. How to do it? What to do to make this system working as a webserver?

There is how to setups some service to start automatically on reboot: http://askubuntu.com/a/4974 . But im unsure if that is all which needs to be done?

Here is my: vi /etc/rc.local

exit 0
(contains only this except descriptions)

Conclusion - UBUNTU 12 SOMEHOW NOT COMPATIBLE WITH OPENVZ:

Ubuntu 12.04 OpenVZ template did not worked, even i tried setup SSH and Networking on boot according to this manual: http://internetlifeforum.com/general...ubuntu-redhat/

There someone speaks about Ubuntu 12.04 incompatibility with OpenVZ:
http://www.webhostingtalk.com/showthread.php?t=1158968

And There is more about Networking setup:
http://www.webhostingtalk.com/showthread.php?p=8805426