zoukankan      html  css  js  c++  java
  • Create Virtual Network with Virtualbox

    1. Create a virtual machine "ubs1" with ubuntu server 12.04, set its network as Host-only;

    2. Start this vm, configure the network manually: IP Address: 192.168.56.11, netmask, gateway and name server address use default value; Set hostname hubs1, domain name as "chadhome", set username "ubsu1"; install OpenSSH server;

    3. Create the second vm named "ubs2" with the same settings with above, IP Address is 192.168.56.22, hostname is hubs2, username is ubsu2;

    Now you can ssh between host and these 2 guests.

    How to enable guest to connect to internet with NAT/Host-only settings?

    Ubuntu

    1. Set network -> Adapter 1 as NAT, adapter 2 as Host-only (the order is import! you can't install host-only first then add nat?)

    2. add eth1 in /etc/network/interfaces

    CentOS

    1. /etc/sysconfig/network-scripts/ifcfg-eth1
  • 相关阅读:
    学习进度条73
    学习进度条72
    学习进度条71
    学习进度条70
    学习进度条69
    学习进度条68
    学习进度条67
    学习进度条66
    学习进度条65
    elasticsearch
  • 原文地址:https://www.cnblogs.com/darkmatter/p/3605637.html
Copyright © 2011-2022 走看看