Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
No Result
View All Result
Home Google Cloud

How to Upgrade to Ubuntu 18.04 Bionic Beaver

by Cloudbooklet
5 years ago
in Google Cloud, Compute Engine
How To Upgrade To Ubuntu 18.04 Bionic Beaver
ShareTweetSendShare
Readers like you help support Cloudbooklet. When you make a purchase using links on our site, we may earn an affiliate commission.

How to Upgrade to Ubuntu 18.04 Bionic Beaver. Ubuntu Bionic Beaver is the latest operating system with Long Term Support (LTS). This guide helps you how to upgrade to the latest Ubuntu 18.04. You might be having Ubuntu 16.04 with sudo privileges. This setup is tested on Google Cloud and this will work with other […]

ADVERTISEMENT

How to Upgrade to Ubuntu 18.04 Bionic Beaver. Ubuntu Bionic Beaver is the latest operating system with Long Term Support (LTS).

This guide helps you how to upgrade to the latest Ubuntu 18.04. You might be having Ubuntu 16.04 with sudo privileges. This setup is tested on Google Cloud and this will work with other servers too.

Backup Your System

To make sure you wont lose any data, it’s recommended to create a backup of your system before upgrading. There are many options to take a backup in Google Cloud. You can create a new image of your disk or new snapshot. How to Backup Google Cloud Compute Engine.

ADVERTISEMENT

Update Packages

Go your SSH terminal and perform the following steps on by one.

You might also like

How To Setup Ssh Keys On Ubuntu

How to Setup SSH Keys on Ubuntu 20.04

4 months ago
Draggan Ai Editing Tool Install And Use Draggan Photo Editor

DragGAN AI Editing Tool Install and Use DragGAN Photo Editor

4 months ago

Before upgrading your operating system it’s necessary to update all current packages to their latest version.

sudo apt-get update
sudo apt-get upgrade

Once completed again upgrade the packages which involves the changes in dependencies.

ADVERTISEMENT
sudo apt-get dist-upgrade

Once upgrading your packages is complete you can start to upgrade your Ubuntu OS.

Create a Firewall Rule

As upgrade procis started on port 1022 you need to allow connections on this port, so create a firewall rule in Google Cloud.

ADVERTISEMENT

So go to VPC Network >> Firewall rules and create a firewall rule.

Provide a name.

ADVERTISEMENT

In Targets select All instances in the network

In Source IP ranges enter 0.0.0.0/0

ADVERTISEMENT

In Protocols and ports check tcp and enter 1022

Click Create.

Get back to your SSH terminal.

If you are using UFW perform this below step to allow connections on this port in your firewall.

sudo ufw allow 1022

Upgrade Ubuntu

To upgrade your system you can use the do-release-upgrade tool. This tool checks for the latest new release and make the upgrade safer and easier.

Start the upgrade by running the following command.

sudo do-release-upgrade

You will be prompted to continue the process, type y followed by Enter to continue.

Output
Reading cache

Checking package manager

Continue running under SSH?

This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover.

If you continue, an additional ssh daemon will be started at port '1022'.
Do you want to continue?

Continue [yN] y

Now you will be prompted to allow connections on port 1022

Starting additional sshd 

To make recovery in case of failure easier, an additional sshd will be started on port '1022'. If anything goes wrong with the running ssh you can still connect to the additional one.

If you run a firewall, you may need to temporarily open this port. As this is potentially dangerous it's not done automatically. You can open the port with e.g.:

'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'

To continue please press [ENTER]

Click Enter to continue.

Now the upgrade tool will calculate the changes and provide you the prompt to continue or exit.

Calculating the changes

MarkInstall libpam-cap [ amd64 ] < none -> 1:2.25-1.2 > ( libs ) FU=1

Do you want to start the upgrade?

5 installed packages are no longer supported by Canonical. You can still get support from the community.

4 packages are going to be removed. 94 new packages are going to be installed.

426 packages are going to be upgraded.

You have to download a total of 198 M. This download will take about 25 minutes with a 1Mbit DSL connection and about 7 hours with a 56k modem.

Fetching and installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled.

Continue [yN] Details [d]

Enter y followed by Enter to continue.

This will take some time to complete the upgrade process. Once the process is completed you will be prompted to remove the obsolete packages.

Output
Remove obsolete packages?

29 packages are going to be removed.

Continue [yN] Details [d]

Enter y followed by Enter to continue.

Now upgrade will get competed and you need to restart your system for the changes to take effect.

Output
System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.

If you select 'y' the system will be restarted.

Continue [yN]

Enter y followed by Enter to continue.

Now your connection to the terminal will disconnect. After reboot when you access the SSH you will be greeted with the Bionic Beaver welcome message.

Output
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1026-gcp x86_64)

Now your Ubuntu system is upgraded to 18.04 LTS Bionic Beaver.

Tags: Compute EngineGoogle Cloud PlatformUbuntu 18.04
ShareTweetSendShare
Cloudbooklet

Cloudbooklet

Leave a Reply Cancel reply

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

Related Posts

Set Up Deep Learning With Nvidia, Cuda, Cudnn On Ubuntu

How to Set Up Deep Learning with Nvidia, CUDA, cuDNN on Ubuntu 22.04

7 months ago
How To Install Or Upgrade Php 8.2 On Ubuntu 22.04

How to Install or Upgrade PHP 8.2 on Ubuntu 22.04

9 months ago
How To Change Timezone On Ubuntu 22.04

How to Change Timezone on Ubuntu 22.04

1 year ago
How To Install Ansible On Ubuntu 22.04

How to Install Ansible on Ubuntu 22.04

1 year ago

Follow Us

Trending Articles

Ai Song Generator

10 Best AI Song Generator in 2023 (Free and Paid)

September 19, 2023

AI Annotation Jobs: Everything You Need to Know

10 Best AI Prompts for Writers to Improve Website SEO

5 Best Laptop for Minecraft in 2023: Top Picks for All Budgets

How to Delete Netflix Account Permanently

How to See all my Birthday Posts on Facebook

Popular Articles

Install Waifu Diffusion

How to Install Waifu Diffusion – Step-by-Step Guide

August 31, 2023

7 Best Lyric Video Maker Software for Music Lovers

5 Free Watermark Maker: Create Transparent Watermarks for Images Online

How to Use WhatsApp Pi – Personal AI Assistant for WhatsApp

7 Best AI YouTube Thumbnail Maker for Better Video Engagement

7 Best Deepswap AI Free Online Tools to Create FaceSwap Videos and Photos

Subscribe Now

loader

Subscribe to our mailing list to receives daily updates!

Email Address*

Name

Cloudbooklet Logo

Welcome to our technology blog, where we explore the latest advancements in the field of artificial intelligence (AI) and how they are revolutionizing cloud computing. In this blog, we dive into the powerful capabilities of cloud platforms like Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft Azure, and how they are accelerating the adoption and deployment of AI solutions across various industries. Join us on this exciting journey as we explore the endless possibilities of AI and cloud computing.

  • About
  • Contact
  • Disclaimer
  • Privacy Policy

Cloudbooklet © 2023 All rights reserved.

No Result
View All Result
  • News
  • Artificial Intelligence
  • Applications
  • Linux

Cloudbooklet © 2023 All rights reserved.