`

VM&Ubuntu安装

 
阅读更多
                虚拟机&Ubuntu安装指南


一.安装虚拟机(VMware-workstation-full-9.0.1-894247.exe);

二.选择镜像文件(ubuntu-14.04-desktop-amd64.iso);

三.安装SSH(sudo apt-get install openssh-server, sudo apt-get install openssh-client);

四.安装防火墙(sudo apt-get install ufw);

五.关闭防火墙 sudo ufw enable(查看防火墙命令 sudo ufw status);

六.修改网络模式为桥接模式(点击VM—>Settings):


七.修改host文件(进入etc目录下  sudo gedit /etc/hosts);

八.修改root密码(root默认无密码,使用passwd 命令设置密码);

九.重启网络配置(service networks restart);

十.设置静态IP(先关闭静态IP:  ifconfig -eth0 down;  启动静态IP: ifconfig - eth0 up;  查看静态IP: ifconfig - a)


十一.使用secureCRT,putty,winscp,ssh 就可以连接了:


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics