mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-28 23:20:10 +08:00
commit
15a86fb4eb
@ -1,61 +0,0 @@
|
||||
Vic020的坑
|
||||
Daily Ubuntu Tips – Linux Kernel 3.12.7 Released – Here’s How To Upgrade In Ubuntu
|
||||
================================================================================
|
||||
Linux Kernel version 3.12.7 mainline has just been released and this brief tutorial is going to show you how to easily upgrade in Ubuntu. If you’re running Ubuntu 13.10 and below, chances are your system doesn’t have this latest kernel installed.
|
||||
|
||||
The Linux Kernel is the core of the Linux Operating System that includes Ubuntu. The kernel makes it possible for Ubuntu to communicate with your system hardware (Memory, CPU, Drives, etc). The kernel manages resources and handles all essential the parts of your machine.
|
||||
|
||||
Without the Linux Kernel, Ubuntu is only bunch of fancy applications without access to the hardware or essential parts of your machine. That’s why the Linux Kernel is so important.
|
||||
|
||||
### Why Upgrade Your Ubuntu Kernel? ###
|
||||
|
||||
The first thing to understand before upgrading your system’s kernel is that it could break your system and make it unusable. In fact, it’s not recommended to upgrade the kernel on your own. Canonical, the parent company of Ubuntu does a great job updating the kernel in Ubuntu.
|
||||
|
||||
They test and make sure the kernel installed is compatible with that edition of Ubuntu before releasing it. So, if your machine is working fine without issues, you should keep the current installed kernel.
|
||||
|
||||
On the other hand, if Ubuntu isn’t able to recognize all your system’s components or your machines isn’t functioning correctly, upgrading the Linux Kernel might just help.
|
||||
|
||||
That’s because newer kernels add newer drivers and features for newer machines.. If the current installed kernel doesn’t support some features on your machine, you should upgrade.
|
||||
|
||||
For more about kernel 2.12.7, [read the ChangeLog here][1].
|
||||
|
||||
### Upgrading The Linux Kernel. ###
|
||||
|
||||
To upgrade your kernel, run the commands below to update all packages and existing kernels.
|
||||
|
||||
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove
|
||||
|
||||
After updating your machine, restart your machine. It’s always good to restart after upgrading your system packages and kernel. Doing so allows for newer kernels to be applied.
|
||||
|
||||
Next, run the commands below to download Linux Kernel 3.12.7.
|
||||
|
||||
#### For 32-bit Machines, run the commands below. ####
|
||||
|
||||
cd /tmp && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207-generic_3.12.7-031207.201401091657_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207_3.12.7-031207.201401091657_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-image-3.12.7-031207-generic_3.12.7-031207.201401091657_i386.deb
|
||||
|
||||
#### For 64-bit System, run the commands below ####
|
||||
|
||||
cd /tmp && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207-generic_3.12.7-031207.201401091657_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207_3.12.7-031207.201401091657_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-image-3.12.7-031207-generic_3.12.7-031207.201401091657_amd64.deb
|
||||
|
||||
After downloading the version for your system, run the commands below to install it.
|
||||
|
||||
sudo dpkg -i *.deb
|
||||
|
||||
After installing, restart your machine and if everything went as described above, your system should have the latest stable kernel version installed.
|
||||
|
||||
![](http://www.liberiangeek.net/wp-content/uploads/2014/01/linuxkernel3127.jpg)
|
||||
|
||||
To uninstall kernel version 3.12.7, run the commands below.
|
||||
|
||||
sudo apt-get remove linux-headers-3.12.7-* linux-image-3.13.7-*
|
||||
|
||||
Enjoy!
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.liberiangeek.net/2014/01/daily-ubuntu-tips-linux-kernel-3-12-7-released-heres-how-to-upgrade-in-ubuntu/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.7
|
@ -0,0 +1,60 @@
|
||||
每日Ubuntu小技巧 - Linux Kernel 3.12.7发布,让我教你Ubuntu怎么升级
|
||||
================================================================================
|
||||
Linux Kernel 版本3.12.7主线已经发布了,而这篇简短的辅导文将会向你展示怎么简单地在Ubuntu升级。如果你正好运行Ubuntu13.10或者更低,还碰巧你的系统还不是安装最新的内核,读完吧。
|
||||
|
||||
Linux Kernel 是linux操作系统的核心,包括Ubuntu。内核使Ubuntu可以与系统硬件(内存,CPU,设备等等)通信。内核管理资源和掌管所有你的机器设备所有重要部分。
|
||||
|
||||
没有Linux Kernel , Ubuntu只是一串幻想应用而不能连接硬件或者你的机器所有重要部分。这就是为什么Linux Kernel如此的重要。
|
||||
|
||||
### 为什么升级你的Ubuntu Kernel ? ###
|
||||
|
||||
在升级前你的系统内核之前,这第一件需要知道的事情就是升级会可能会破坏你的系统或者是使它不稳定。事实上,并不推荐自己升级内核。幸运的是,Ubuntu的公司在Ubuntu内核升级上做得很好。
|
||||
|
||||
在新版本发布之前,他们测试并且确定内核的安装是兼容的。所以,如果你的设备工作良好没有问题,你应该保持现在安装的内核。
|
||||
|
||||
另一方面,如果Ubuntu不能认识所有系统的元件或者你的设备功能不正确,升级Linux kernel 也许会有帮助。
|
||||
|
||||
这事因为新的内核会增加新的驱动和功能为新的设备。。如果现在安装的内核不支持机器上的某些功能,你应该升一下级。
|
||||
|
||||
更多关于内核3.12.7,[点这里阅读更新日志][1]。
|
||||
|
||||
### 现在升级Linux Kernel ###
|
||||
|
||||
为了升级你的内核,运行下列命令来升级所有安装包和现存内核。
|
||||
|
||||
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove
|
||||
|
||||
升级完成后,重启你的设备。这是一个好习惯在安装完系统包和内核后重启。这样做允许新的内核能够被应用。
|
||||
|
||||
接下来,运行下列命令来下载Linux Kernel 3.12.7
|
||||
|
||||
#### 32位设备,运行下列命令 ####
|
||||
|
||||
cd /tmp && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207-generic_3.12.7-031207.201401091657_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207_3.12.7-031207.201401091657_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-image-3.12.7-031207-generic_3.12.7-031207.201401091657_i386.deb
|
||||
|
||||
#### 64位设备,运行下列命令 ####
|
||||
|
||||
cd /tmp && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207-generic_3.12.7-031207.201401091657_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-headers-3.12.7-031207_3.12.7-031207.201401091657_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.7-trusty/linux-image-3.12.7-031207-generic_3.12.7-031207.201401091657_amd64.deb
|
||||
|
||||
下载你的系统对应版本后,运行下列命令
|
||||
|
||||
sudo dpkg -i *.deb
|
||||
|
||||
安装完成后,重启你的设备,如果所有事情都按照上面描述的进行,你的系统应该拥有了最新的稳定内核版本。
|
||||
|
||||
![](http://www.liberiangeek.net/wp-content/uploads/2014/01/linuxkernel3127.jpg)
|
||||
|
||||
卸载内核3.12.7版本,使用下列命令
|
||||
|
||||
sudo apt-get remove linux-headers-3.12.7-* linux-image-3.13.7-*
|
||||
|
||||
享受~!
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.liberiangeek.net/2014/01/daily-ubuntu-tips-linux-kernel-3-12-7-released-heres-how-to-upgrade-in-ubuntu/
|
||||
|
||||
译者:[Vic___](http://blog.csdn.net/Vic___) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.7
|
Loading…
Reference in New Issue
Block a user