ubuntu 10.04.4版本第一次安装注意点和说明

引语:linux现在主要有两个系,一个是Redhat系和debian系,redhat系有redhat,centos等版本操作系统,debian系有ubuntu等版本操作系统;可能大家习惯用了redhat系的linux,如果再用上debian系的ubuntu后会有好多很多的不同和需要注意的地方;

注意点如下:

1我第一次安装ubuntu10.04.4 server版本后,直到安装完都没有root这个用户的设置,只在安装过程有设置一般用户,这就导致我切换到root用户不知道密码,事实上我们第一次登陆系统后,我们要用以下命令修改root密码

  sudo passwd

   输入密码

   再次输入密码

 修改完后,su root,切换到root用户,输入刚刚修改的密码,就可以切换到root用户了,exit又可以退出root用户;

2第一次安装完后,我们用apt-get install package ,一般都会安装不了软件包,这时我们需要修改apt源,改为国内的163的源都可以;

  源的修改说明,源配置文件是/etc/apt/sources.list;

  使用说明:

  以Wily(15.10)为例, 编辑/etc/apt/sources.list文件, 在文件最前面添加以下条目(操作前请做好相应备份)

   

deb http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/  wily-backports main restricted universe multiverse

或者下载相应版本的sources.list, 覆盖/etc/apt/sources.list即可(操作前请做好相应备份)

3 ubuntu文本内容怎么复制和粘贴,用VI打开文本后,在命令行模式下按下V键,也即是进入可视化模式visual模式,然后光标上下左右选中文本内容,按下Y键复制,P键粘贴;

4 ubuntu的升级只能从一个版本到下一个版本,不能跨越升级,不然会出现伤害系统,比如:upgrading should only be done from one release to the next release (e.g. Ubuntu 12.04 to Ubuntu 12.10) or from one        LTS release to the next (e.g. Ubuntu 10.04 LTS to Ubuntu 12.04 LTS). 

posted @ 2016-12-05 23:50  王能武  阅读(655)  评论(0编辑  收藏  举报