zoukankan      html  css  js  c++  java
  • win7 vmware ubuntu16 xshell链接

    配置静态IP

    vim /etc/network/interfaces

    auto lo
    iface lo inet loopback

    auto ens33
    iface ens33 inet static
    address 192.168.220.100
    netmask 255.255.255.0
    gateway 192.168.220.2

    dns-nameservers 8.8.8.8 114.114.114.114

    vim /etc/resolv.conf(这个其实可以不用)

    nameserver 8.8.8.8
    nameserver 114.114.114.114

    /etc/init.d/networking restart (重启网络)

    ufw disable (关闭防火墙)

    sudo apt-get install openssh-server openssh-client  (安装链接服务)

  • 相关阅读:
    python023
    python019
    python018
    python017
    python016
    python013
    python012
    数据库,盘它!!!!
    网络编程
    面向对象简述
  • 原文地址:https://www.cnblogs.com/aifengguo/p/7607625.html
Copyright © 2011-2022 走看看