• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Saturday, May 24, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Securing VPS/Servers

How to Upgrade to Ubuntu 12.04 (Precise)

How VPS by How VPS
November 2, 2018
in Securing VPS/Servers, Upgrading
0
0
SHARES
24
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Installing Available Updates
  2. Backing Up Your Linode
  3. Checking Your Kernel
  4. Stopping Services
  5. Starting a Screen Session
  6. Join our Community

How to Upgrade to Ubuntu 12.04 (Precise)

Deprecated

This guide has been deprecated and is no longer being maintained.

Ubuntu 12.04 is a long-term support (LTS) release that will be supported until April 2017. This guide explains how to upgrade your Linode from Ubuntu 10.04 LTS (Lucid) or Ubuntu 11.04 (Natty) to Ubuntu 12.04 LTS (Precise).

Preparing to Upgrade

Prepare your Linode for Ubuntu 12.04 LTS by installing available updates, backing up your Linode, checking your kernel, stopping services, and starting a screen session.

Installing Available Updates

You should install all available updates for Ubuntu 10.04 LTS or Ubuntu 11.04 before upgrading to Ubuntu 12.04 LTS. Here’s how:

  1. Update your package lists by entering the following command:

    sudo apt-get update
    
  2. Install the updates by entering the following command:

    sudo apt-get upgrade
    

Any available updates for Ubuntu 10.04 LTS or Ubuntu 11.04 will be installed on your Linode.

Backing Up Your Linode

It’s a good idea to back up your Linode before performing a major upgrade. That way, you can restore from backup if anything goes wrong during the upgrade process. If you subscribe to the Linode Backup Service, we recommend that you take a manual snapshot before upgrading to Ubuntu 12.04 LTS. If you use another backup service or application, we recommend that you make a manual backup now.

Checking Your Kernel

Verify that your Linode is using the latest supported kernel. See Applying Kernel Updates for more information.

Stopping Services

We recommend that you stop as many services as possible before upgrading to Ubuntu 12.04 LTS. This includes web server daemons (Apache and nginx), database servers (PostgreSQL and MySQL), and any other non-critical services. To stop a service, enter the following command, replacing apache2 with the name of the service you want to stop:

sudo service apache2 stop

Starting a Screen Session

We recommend that you start a screen session to ensure that the updates will continue to install in the unlikely event you are disconnected from the Linode during the upgrade process. Here’s how to install screen and start a screen session:

  1. Install screen by entering the following command:

    sudo apt-get install screen
    
  2. After installation has completed, start a screen session by entering the following command:

    screen
    
  3. If you are disconnected from your server, you can reconnect to the screen session by entering the following command:

    screen -Dr
    

You are now ready to install Ubuntu 12.04 LTS on your Linode.

Upgrading from Ubuntu 10.04 LTS

Here’s how to upgrade from Ubuntu 10.04 LTS to Ubuntu 12.04 LTS:

  1. If it’s not already installed, enter the following command to install the update-manager-core package:

    sudo apt-get install update-manager-core
    
  2. Open the release-upgrades file for editing by entering the following command:

    sudo nano /etc/update-manager/release-upgrades
    
  3. Verify that the following line is present in the file, and that Prompt is set to lts:

    Prompt=lts
    
  4. Upgrade your Linode to Ubuntu 12.04 LTS by entering the following command:

    sudo do-release-upgrade
    
  5. Follow the on-screen instructions to complete the installation process.

  6. When the upgrade process completes, verify that it’s running Ubuntu 12.04 LTS by entering the following command:

    cat /etc/lsb-release
    
  7. You should see output that resembles the following:

    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=12.04
    DISTRIB_CODENAME=precise
    DISTRIB_DESCRIPTION="Ubuntu 12.04"
    

Your Linode is now running Ubuntu 12.04 LTS.

Upgrading from Ubuntu 11.10

Here’s how to upgrade from Ubuntu 11.10 to Ubuntu 12.04 LTS:

  1. If it’s not already installed, enter the following command to install the update-manager-core package:

    sudo apt-get install update-manager-core
    
  2. Upgrade your Linode to Ubuntu 12.04 LTS by entering the following command:

    sudo do-release-upgrade
    
  3. Follow the on-screen instructions to complete the installation process.

  4. After your Linode boots, verify that it’s running Ubuntu 12.04 LTS by entering the following command:

    cat /etc/lsb-release
    
  5. You should see output that resembles the following:

    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=12.04
    DISTRIB_CODENAME=precise
    DISTRIB_DESCRIPTION="Ubuntu 12.04"
    

Your Linode is now running Ubuntu 12.04 LTS.

Upgrading from Previous Ubuntu Releases

If your Linode is running an release of Ubuntu older than 10.04 LTS, use the upgrade guides in the Troubleshooting section to upgrade to Ubuntu 10.04 LTS or Ubuntu 11.10 first. You may then upgrade your Linode to Ubuntu 12.04 LTS.

Join our Community

Find answers, ask questions, and help others.

This guide is published under a CC BY-ND 4.0 license.

Previous Post

ifconfig vs ip: What’s Difference and Comparing Network Configuration

Next Post

Let Sudo Insult You When You Enter Incorrect Password

Next Post

Let Sudo Insult You When You Enter Incorrect Password

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet