ubuntu14.04安装注意事项
来源:互联网 发布:115网盘vip会员淘宝 编辑:程序博客网 时间:2024/06/15 20:56
1.虚拟机: 选择桥接
2.设置静态IP
sudo vi /etc/network/interfaces
修改为:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static #注意静态(static)
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1
修改DNS
sudo vi /etc/resolv.conf
nameserver 114.114.114.114 #114
nameserver 223.5.5.5 #阿里
nameserver 8.8.8.8#Google
重启网卡
sudo ifdown eth0
sudo ifup eth0
3.ssh配置
a.安装
sudo apt-get update
sudo apt-get install openssh-server
b.开启root
vi /etc/ssh/sshd_config
将PermitRootLogin without-password 改为
PermitRootLogin yes
重启ssh
restart ssh
4. 启用root
sudo passwd root
设置密码
5.如果安装是中文环境
请设置回英文:sudo vi /etc/default/locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
安装zhcon:apt-get install zhcon
6.修改apt源(选择aliyun)
vi /etc/apt/source.list(建议ssh登陆后在window环境修改后覆盖这样比较方便)
源如下:
deb http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
替换之后,apt-get update一下
- ubuntu14.04安装注意事项
- ubuntu14.04安装搜狗输入法注意事项
- win 7 下硬盘安装ubuntu14.04注意事项
- Win10+Ubuntu14.04系统故障以及Ubuntu安装注意事项
- win10 硬盘安装 Ubuntu14.04.5 注意事项
- 安装系统(window+ubuntu14.04+ubuntu16.04)==注意事项
- ubuntu14.04和window8.1双系统的安装和一些注意事项
- Windows8.1硬盘安装Ubuntu14.04双系统参考教程及多硬盘注意事项[图]
- Windows8.1硬盘安装Ubuntu14.04双系统参考教程及多硬盘注意事项
- ubuntu14.04创建超级用户root注意事项
- UBUNTU14.04 hadoop搭建的注意事项
- Ubuntu14.04安装JDK
- ubuntu14.04安装fcitx
- ubuntu14.04 安装LNMP
- Ubuntu14.04安装成功
- ubuntu14.04安装MySQL
- ubuntu14.04安装eclipse
- Ubuntu14.04 安装CodeBlocks
- ffwd:delegation is much faster than you think 阅读笔记_GeorgeLuo
- Spring Boot 自定义 Web 配置
- [bigdata-126] docker+squid3搭建代理服务器
- Andrid 永久隐藏导航栏与系统栏
- JavaScript 常用方法及基础语法个人练习实例录
- ubuntu14.04安装注意事项
- struts-2.3.20升级至struts-2.5.10流程及主要事项
- maven 总结
- Windows桌面应用程序(1-1-2-1st) 使用DirectX设备资源
- django admin源码解读(笔记)
- 【七月Python入门】 第四课面向对象基础
- 虚拟机克隆
- seekbar
- JavaScript中清空数组的三种方式