View Single Post
  #47  
Old 12th January 2012, 07:49
m.xander m.xander is offline
Member
 
Join Date: Dec 2011
Posts: 81
Thanks: 5
Thanked 3 Times in 3 Posts
Default Re-install

OK... so I've spat the dummy and decided to re-install the whole server from scratch...

Parallels control panel allows to re-install the Ubuntu server back to the original state before I started.
So starting from the perfect server Ubuntu 10.04 starting at step 6-install vim-nox (which I didn't do, but instead first added the repositories as in step 8 in order to then install vim-gnome {just to get the fully blown vim} )

Step 7. vi /etc/network/interfaces - and I recall not being 100% sure of this on the first attempt. and also its a little different on my server.

vi /etc/network/interfaces
Code:
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


auto lo
iface lo inet loopback
        address 127.0.0.1
        netmask 255.0.0.0
        broadcast 127.255.255.255
        up ip route replace 127.0.0.0/8 dev lo


# Auto generated venet0 interfaces
auto venet0
iface venet0 inet static
        address 127.0.0.1
        netmask 255.255.255.255
        broadcast 0.0.0.0
        up route add -net 191.255.255.1 netmask 255.255.255.255 dev venet0
        up route add default gw 191.255.255.1

auto venet0:0
iface venet0:0 inet static
        address 202.130.46.114
        netmask 255.255.255.255
so then...
vi /etc/network/interfaces.template
Code:
auto lo
iface lo inet loopback
        address 127.0.0.1
        netmask 255.0.0.0
        broadcast 127.255.255.255
        up ip route replace 127.0.0.0/8 dev lo
Unfortunately at this stage I've re-installed the OS and only recall that I wasn't 100% sure about this except that address is 202.130.46.114
I've done a liffle googling about this and would like to know how to verify what my server's network details are for these...
Reply With Quote