ubuntu12.04安装教程

第一部分:准备Ubuntu12.04的启动盘

Ubuntu支持可移动盘和CDROM安装,笔者选择后者。在Ubuntu官网http://www.ubuntu.org.cn/download/desktop下载Ubuntu镜像文件(.iso),通过光盘刻录机将该镜像文件刻录到一张空白CD/DVD上。

 

第二部分:安装Ubuntu12.04

第一步、将CD/DVD启动盘插入光驱中,一般长按键盘左上角的Esc键,进入启动页面,选择CDROM安装。

第二步、分区

              安装时有三个选项,选择最后一个手动分区。自动分区Ubuntu会覆盖整个硬盘,手动分区可以选择安装大小,若计算机还要装其他系统,则选择手动分区。

              ubuntu至少分三个区,  / 、/home 和swap

   我的分区方案如下:

              主分区  /         6000M            根目录,用来存储用户的一些基本配置文件

              逻辑分区   /boot      200M            用于存储系统的引导文件

                             /home    50000M          用来存储用户的程序,文件,文档等等,剩余硬盘的最大空间

                             /usr        5000M           用来存放系统软件的地方,可自定义

               交换空间   swap       2048M          是让内存临时存储文件的专用空间,一般大小为内存的两倍,但不超过2G

               根据安装提示,依次填写安装,不再详述。

 

第三部分:整理Ubuntu12.04

第一步、    Ubuntu12.04更新源

                  安装完成,首先要做的就是更新源,因为系统自带的是欧洲官方源,速度较慢。

                  在终端输入:sudo  cp  /etc/apt/sources.list  /etc/apt/sources.list_backup

                                       sudo  gedit  /etc/apt/sources.list

                  将其替换为:

 #Ubuntu官方提供的其他软件(第三方闭源软件等)                 

deb http://archive.canonical.com/ubuntu/ precise partner
deb http://extras.ubuntu.com/ubuntu/ precise main

#骨头兄亲自搭建并维护的 Ubuntu 源
deb http://ubuntu.srt.cn/ubuntu/ precise main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-backports main restricted universe multiverse

#163的源,速度很快
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

#搜狐的源
deb http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse

#以下是教育网接入的服务器

#中国科学技术大学更新服务器
deb http://mirrors6.ustc.edu.cn/ubuntu/ precise main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ precise main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

#北京理工大学更新服务器
deb http://mirror.bit.edu.cn/ubuntu/ precise main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse

#上海交通大学更新服务器
deb http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

#厦门大学更新服务器
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ precise main restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-backports restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-proposed main restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-security main restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-updates main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ precise main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-backports main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-security main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ precise-updates main restricted universe multiverse

还有其他源地址,可参考官网:http://wiki.ubuntu.org.cn/Template:12.04source

保存之后更新,在终端输入:sudo  apt-get  update

第二步、中文输入法

              Ubuntu自带有ibus中文输入法,可在系统设置->语言支持->语言栏里,将键盘输入方式系统设为ibus

              按Ctrl+空格键,则可切换成ibus中文输入法。

              Ubuntu还支持scim、fctix中文输入法,配置方法参见官网:

 

 

                  

转载于:https://www.cnblogs.com/minzhang/archive/2013/03/18/2956543.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/274325.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

element ui 空格_空格是您的UI朋友。 大量使用它。

element ui 空格Originally published at marcandrew.me on July 30th, 2020.最初于 2020 年7月30日 在 marcandrew.me 上 发布 。 Ah good old White Space. One of the simplest things to add to your designs to improve both your UIs, and user experience. Let me shar…

solaris 11 vim的安装【转】

转自:http://www.itkee.com/os/detail-4a4.html 下面是安装方法,拿出来分享一下 ①下载软件的地方: ftp://ftp.sunfreeware.com/pub/freeware/intel/10/ http://artfiles.org/sunfreeware.com/pub/freeware/i386/10/ vim-7.2-sol10-x86-local…

看看老外是如何理解抽象类的

下面是我翻译的关于帮助理解抽象类的例子。 这是一个例子帮助我们理解抽象类。在我看来这是一个非常简单的方法。让我们一起来看看下面的代码&#xff1a; <?php class Fruit { private $color; public function eat() { //chew } publi…

qt 设计师缩放_重新设计缩放体验

qt 设计师缩放With the COVID-19 pandemic hitting countries across the world, a lot of people have now switched to video meetings. Be it for your official meetings, webinars, entertainment sessions — video meetings are the new normal. We saw these video mee…

安卓应用部件_设计应用程序小部件的痛苦和喜悦

安卓应用部件Some people say widgets are a thing of the past, but recently we faced a market for which this was one of the main features users were asking for. A bit of googling showed there are not a lot of useful articles covering widget design (most info…

ASP.NET MVC3中的ViewBag动态性

在MVC 3中的有一个新的ViewBag 动态特性&#xff0c;它主要是为了从Controller到view进行传值用的&#xff0c;类似有所使用的ViewData[] 字典类。对于ViewBag是如此的强大&#xff0c;意味着你能动态的set/get 值&#xff0c;增加任何数量的的额外字段而不需要强类型的检测。…

ux设计中的各种地图_UX设计中的空白

ux设计中的各种地图UX设计中的空白是什么&#xff1f; (What is white space in UX design?) This article will help you learn about white space and why it so important in UX design.本文将帮助您了解空白以及为什么空白在UX设计中如此重要。 White space is a very us…

花点时间了解消息,句柄和窗口

消息、句柄和窗口 一&#xff0c;为什么我要花时间研究这些东西 对于我个人来说我不想做码农&#xff0c;不想只知道拖控件&#xff0c;使用控件有的时候要了解一下底层&#xff0c;不知道你们有没有想过这样的一个问题&#xff0c;我们在C#中使用的的event事件是怎么触发这个事…

ux设计中的各种地图_如何在UX设计中使用颜色

ux设计中的各种地图Color is the mother tongue of the subconscious.颜色是潜意识的母语。 — Carl Jung—荣格 Color has more to say than meets the eye. As a building block of visual language, color highlights, guides attention, and unifies elements. In UX, co…

《Two Dozen Short Lessons in Haskell》学习(十八) - 交互式键盘输入和屏幕输出

《Two Dozen Short Lessons in Haskell》&#xff08;Copyright © 1995, 1996, 1997 by Rex Page&#xff0c;有人翻译为Haskell二十四学时教程&#xff0c;该书如果不用于赢利&#xff0c;可以任意发布&#xff0c;但需要保留他们的copyright&#xff09;这本书是学习 Ha…

figma设计_Figma中简单,可重复使用的设计系统

figma设计Putting together a design system may seem like an unnecessary hassle. It’s often easier to jump straight into designing things without having to worry about styles, components, or libraries. Some might even argue that when it comes to smaller pro…

WPF 关于鼠标事件和坐标

Mouse.GetPosition(window);可以在任何时间获得相对任意元素的鼠标位置 Mouse.Capture(el);可以让某个元素获得所有的鼠标事件不管他应不应该的到鼠标事件 Mouse.Capture(null);解除转载于:https://www.cnblogs.com/wangjixianyun/archive/2013/03/25/2980953.html

访问25%无法访问的人-如何设计可访问性

We’re increasingly dependent on the internet and computers for everything we do — this has become starkly more obvious through the COVID19 global pandemic.我们所做的一切都越来越依赖于互联网和计算机-通过COVID19全球大流行&#xff0c;这一点变得更加明显。 F…

DDD:实体如何处理外部依赖

场景 修改用户名时&#xff0c;要验证用户名的唯一性。 实现1 1 public class User 2 { 3   public void ChangeUsername(string newUsername) 4   { 5   //使用服务定位器获取IUsernameUniqueService &#xff0c;执行验证。 6   } 7 } 实现…

架构师论坛 创业_我在早期创业时作为设计师学到的东西

架构师论坛 创业For over 2 years at a young product company, I collaborated with talented engineering folks for a 0 → 1 suite of products. Here are my learnings and key takeaways. Of course, these are my views and do not represent those of my employers or …

HFileOutputFormat与TotalOrderPartitioner

最近需要为一些数据增加随机读的功能&#xff0c;于是采用生成HFile再bulk load进HBase的方式。 运行的时候map很快完成&#xff0c;reduce在sort阶段花费时间很长&#xff0c;reducer用的是KeyValueSortReducer而且只有一个&#xff0c;这就形成了单reducer全排序的瓶颈。于是…

qt按钮禁用和激活禁用_为什么试探法只是经验法则:禁用按钮的情况

qt按钮禁用和激活禁用Most user experience designers will be familiar with Jackob Nielsen’s 10 usability heuristics. They are widely cited and a great set of broad rules of thumb to follow when designing user interfaces.大多数用户体验设计师将熟悉Jackob Niel…

Teach Yourself Java 2 in 21 Days 书中样例代码实践

找了好几书JAVA的书&#xff0c;看了几章&#xff0c;都看不下去。 我觉得适合《Teach Yourself Java 2 in 21 Days》&#xff08;Rogers Cadenhead Laura Lemay&#xff09;还是适合我的。 孙卫琴那本&#xff0c;我感觉就罗嗦多了没到我点子上。 接口&#xff0c;抽象类这些内…

好奇心机制_好奇心问题

好奇心机制For my past two jobs I’ve posted a question every week in my team chat and learned so much about my co-workers. Give it a try! :D对于过去的两个工作&#xff0c;我每周都会在团队聊天中发布一个问题&#xff0c;并且对我的同事了解很多。 试试看&#xff…

20130328java基础学习笔记-循环结构for以及for,while循环区别

1.循环结构:for讲解class ForDemo{ public static void main(String[] args) { /* for(初始化表达式;循环条件表达式;循环后的操作表达式) { 执行语句;(循环体) } */ for(int x 1; x<3; x) { …