Back up any important data on the Ubuntu server
Make a backup - it cannot be stressed enough how important it is to make a backup of your system before you do this. Most of the actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell. Type the following commands to see current version:$ uname -mrs
$ lsb_release -a
Sample outputs:
Linux 3.2.0-51-generic x86_64 No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise
How do I upgrade to a newer version of Ubuntu, such as v14.04, from an older v13.10 on a server system?
Type the following command to update package list and instal the update-manager-core package if it is not already installed:$ sudo apt-get update
$ sudo apt-get install update-manager-core
Next, type the following command to upgrade the Ubuntu server to the latest release such as LTS 14.04 from the command-line. This is the recommended command as the server has no graphic environment or if the server is to be upgraded over a remote connection using ssh client:$ sudo do-release-upgrade
The do-release-upgrade will launch the upgrade tool. You need to follow the on-screen instructions.
Fixing and forcing upgrade
You may end up getting the following message on screen when you run sudo do-release-upgrade
Checking for a new Ubuntu release No new release found
Warning: The following method will check if upgrading to the latest devel (also known as unstable) release is possible via -d option.
To force upgrade pass the -d option to sudo do-release-upgrade command:
sudo do-release-upgrade -d
A note about upgrading from Ubuntu 13.10 on a desktop system
First, you need to remove all 3rd party binary drivers such as NVIDIA or AMD graphics card driver. Once removed and rebooted the desktop, press Alt+F2 and type in update-manager into the command box:
update-manager
Update Manager should open up and tell you: New distribution release '14.04 LTS' is available. Just click Upgrade and follow the on-screen instructions to upgrade your desktop systems.
Please note that all LTS desktop users need to wait till the first release called Ubuntu LTS v14.04.1 will be released by Canonical LTD. If you do not want to wait till LTS v14.04.1, pass the -d option to the update-manager command as follows to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS:
sudo update-manager -d
Reboot the server/desktop
Finally, reboot the system:$ sudo reboot
Verify, your new settings:$ lsb_release -a
$ uname -mrs
$ tail -f /var/log/app/log/file
Finally, reinstall 3rd party binary drivers.
相关推荐
Ubuntu Server 14.04升级Ubuntu Server 16.04 1、终端下执行命令 $ sudo apt-get update && sudo apt-get dist-upgrade 2、重启系统以完成更新的安装 $ sudo init 6 3、用命令安装更新管理器核心update-manager-...
官方推荐在ubuntu安装,本文选择在ubuntu14.04作为宿主系统。 系统更新 代码如下: sudo apt-get update && apt-get upgrade -y sudo reboot #最好重启一下 安装docker 代码如下: curl -s ...
To get a handle on which SQL Server versions are available, first you need to understand some nomenclature semantics. SQL Server 2008, which shipped in August 2008, is now into Service Pack 1 (SP1)...
Module1:Course Introduction(绪论)*Section1:Course IntroductionModule2:Hardware and Software Requirements(软硬件环境要求)*Section1:Hardware Requirements*Section2:Software RequirementsModule3:Upgrade ...
upgrade SMS 2003 to SCCM 2007
NULL 博文链接:https://sap.iteye.com/blog/574564
How_to_Upgrade_to_SSR_2011.pdf
The headline features, Rails API and ActionCable, are each looked at in detail, building small example projects to demonstrate how to build a JSON API, add real-time notifications to a page and how to...
sudo apt-get upgrade 先更新。。 Django的主流部署方式:nginx+uwsgi+django 第二步,安装nginx sudo apt-get install nginx 安装nginx,如果需要安装最新的nginx需从官网下载源码包进行手动编译。 nginx的大致文件...
3 Make It Personal—Fine-Tune the Look of Ubuntu to Your Taste .. . . 33 PART II Manage Ubuntu 4 Housekeeping: Update and Maintain Ubuntu ...... 53 5 Installing Peripherals ..........65 6 Beyond the ...
How to Cheat at Managing Windows Small Business Server 2003 deals only with the vital, and will be a huge relief to the hundreds of thousands of managers who probably never imagined they would be ...
Chapter 1, Upgrading to vSphere 6.5, will teach you how to upgrade your existing environment to the vSphere 6.5, and you will also learn how to migrate vCenter running onWindows to appliance. ...
version of a database to the current version. Chapter 3, "Getting Started with Oracle Enterprise Manager" This chapter introduces you to the Oracle Enterprise Manager and how to use it. Chapter 4, ...
抓包神器, charles-proxy4.2 非常好用Charles Web Debugging Proxy - Official Site... The latest version of Charles is 4.2. Read the Release Notes. Paid Upgrade for Charles 3 to Charles 4 C...
Apache Hadoop YARN is the modern distributed operating system for big data applications....And you’ll leave with all the knowledge of how to upgrade painlessly from 2.x to 3.x to get all the benefits.
46 upgrade to 60046 upgrade to 60046 upgrade to 60046 upgrade to 600
In the past I've shared books I've enjoyed which talk about how to use the Ubuntu desktop or how to trouble-shoot a server or how to use the command line. Those books tend to take things one step at ...
ES6 for Humans The Latest Standard of JavaScript: ES2015 and ...ES6 for Humans is a complete guide to writing ES6 and will enable you to start taking advantage of this exciting new version of JavaScript.
Using examples provided by the author and working in a cross-platform environment, readers will quickly learn how to: Use terminal emulators to access the command line and talk to the device ...
How and when to upgrade Techniques to build your own FreeBSD Advanced security features like blacklistd and packet filtering How to monitor and adjust performance Container-style virtualization ...