码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu14.04桌面版基本配置

时间:2015-06-25 21:23:51      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:ubuntu   基本配置   

1、设置root密码

sudo passwd

 

2、网络配置

自动获取

vi /etc/network/interfaces

auto eth0                  #开机自动加载

iface eth0 inet dhcp #DHCP获取

 

手动配置

vi /etc/network/interfaces

auto eth0

iface eth inet static

address 192.168.41.170

gateway 192.168.41.3

netmask 255.255.255.0

dns-nameservers 192.168.41.3

 

主机名

vi /etc/hostname

 

重启服务

/etc/init.d/networking restart

dmesg | grep eth#查看网卡

ifdown eth0

ifup eth0

 

3、更新源

163源

cd /etc/apt

mv sources.list sources.list.bak

wget http://mirrors.163.com/.help/sources.list.trusty

mv sources.list.trusty sources.list

apt-get update

 

4、安装基本软件

apt-get install openssh-server#ssh

apt-get install vim-gtk#vim

本文出自 “运维菜鸟的log” 博客,请务必保留此出处http://sjy000.blog.51cto.com/8412654/1665688

Ubuntu14.04桌面版基本配置

标签:ubuntu   基本配置   

原文地址:http://sjy000.blog.51cto.com/8412654/1665688

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!