论坛
门户
内部优惠
喜欢
话题
VIP会员
搜索
新浪微博
登录
注册
100%
100%
首页
>
操作系统
>
linux技巧
>
Ubuntu 12.04重装手记
回复
« 返回列表
灯火互联
管理员
注册日期
2011-07-27
发帖数
41778
QQ
火币
41290枚
粉丝
1086
关注
100
加关注
写私信
打招呼
阅读:
4196
回复:
0
[系统教程]
Ubuntu 12.04重装手记
楼主
#
更多
只看楼主
倒序阅读
发布于:2013-01-08 15:14
保存
100%
100%
[]
1
Ubuntu 12.04重装手记
硬盘分配: C盘后面200M挂在/boot,F盘后面1.2G的swap,再后面33G挂在/
一. 制作U盘启动盘
安装UltraISO,打开要装的iso,点启动-写入硬盘镜像-选择U盘(有个下拉菜单选USB-HDD+)-格式化-写入。
有的U盘启动不了,换一个试试就OK
二安装
不要选“卸载已存在的ubuntu并重新安装”,否则可能引起启动异常
不要选择“安装过程中下载更新”,慢死……
三 安装后的配置
1.配置
软件
源
先在Ubuntu软件中心-编辑-软件源中搜索最快的服务器做为校外服务器
再在/etc/apt/sources.list 开头加入:
#----------------------- xidian -------------------------
deb
http://ftp.xdlinux.info/ubuntu/
precise main multiverse restricted universe
deb
http://ftp.xdlinux.info/ubuntu/
precise-backports main multiverse restricted universe
deb
http://ftp.xdlinux.info/ubuntu/
precise-proposed main multiverse restricted universe
deb
http://ftp.xdlinux.info/ubuntu/
precise-security main multiverse restricted universe
deb
http://ftp.xdlinux.info/ubuntu/
precise-updates main multiverse restricted universe
deb-src
http://ftp.xdlinux.info/ubuntu/
precise main multiverse restricted universe
deb-src
http://ftp.xdlinux.info/ubuntu/
precise-backports main multiverse restricted universe
deb-src
http://ftp.xdlinux.info/ubuntu/
precise-proposed main multiverse restricted universe
deb-src
http://ftp.xdlinux.info/ubuntu/
precise-security main multiverse restricted universe
deb-src
http://ftp.xdlinux.info/ubuntu/
precise-updates main multiverse restricted universe
注意:precise是12.04的代号,更具版本不同做相应修改:
quantal (12.10) precise (12.04) oneiric (11.10) natty (11.04) maverick (10.10) lucid (10.04)
使用 sudo apt-get update 同步本地包数据库。
使用 sudo apt-get upgrade 升级所有已安装的软件包。
2.其他安装配置
设置root密码 sudo passwd root
修改别名设定:在 ~/.bashrc 加入alias ag='sudo apt-get ' 之类
系统设定值: /etc/profile、/etc/bashrc
个人设定值: ~/.bash_profile、~/.bashrc
导入原来的vimrc
装mplayer2, w32codecs, smplayer2
w32codecs 不能直接装 (
http://www.deb-multimedia.org/
)
需要在/etc/apt/sources.list 添加
deb
http://www.deb-multimedia.org
squeeze main non-free
或者 deb
ftp://ftp.deb-multimedia.org
squeeze main non-free
或者 deb
http://www.deb-multimedia.org
stable main non-free
或者 deb
ftp://ftp.deb-multimedia.org
stable main non-free
然后 apt-get install w32codecs
MPlayer2 PPA源安装,打开终端,输入命令:
sudo add-apt-repository ppa:motumedia/mplayer-daily
sudo apt-get update
sudo apt-get install mplayer2
如果你不想使用这个新版本,而是想返回以前旧版本,可输入下面的命令:
sudo apt-get install mplayer
新版本就会被移除,安装旧版本。
SMPlayer2 PPA源安装,打开终端,输入命令:
sudo add-apt-repository ppa:smplayer2/daily
sudo apt-get update
sudo apt-get install smplayer2
安装git : apt-get instal git git-core
喜欢
0
评分
0
最新喜欢:
淘宝天猫隐藏优惠券地址
回复
100%
发帖
回复
« 返回列表
普通帖
您需要登录后才可以回帖,
登录
或者
注册
100%
返回顶部
关闭
最新喜欢