You can use command line to upgrade Ubuntu desktop or a headless server. Speaking of servers, it is recommended that you upgrade Ubuntu on a test server before doing it on a production server.
If you use SSH to log into your Ubuntu server, it’s a good idea to keep your OpenSSH session alive by adding the following line in /etc/ssh/sshd_config file on your server.
Save and close the file. Then restart SSH daemon.
systemctl restart ssh
To upgrade to Ubuntu 18.04, first run the following command to upgrade existing software.
apt update && apt dist-upgrade
Then make sure you have update-manager-core package installed.
apt install update-manager-core
After that, run the following command to begin the upgrade process.
Then follow the on-screen instruction to upgrade to Ubuntu 18.04. Once the upgrade is finished, reboot your Ubuntu desktop or server. To check your Ubuntu version, run:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
You also need to re-enable third-party repositories such as PPA because they are disabled during upgrade.
Attention: this update will not work on dedikuoti.lt OpenVZ servers except KVM servers.
OpenVZ container will return this message:
This version of the GNU libc requires kernel version 3.2 or later. Please upgrade your kernel before installing glibc.
Apache Tomcat is a web server and servlet container that is used to serve Java applications. Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies, released by the Apache Software Foundation. This tutorial covers the basic installation and some configuration of the latest release of Tomcat 9 on your Ubuntu 16.04 server.
Continue reading “How To Install Apache Tomcat 9 on Ubuntu 16.04”
If you are on Debian or Ubuntu and using Google official repositories for Google Chrome Remote Desktop, you might have received the following error while updating your system.
E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
sudo apt update
And you will be prompted to accept the new Origin of the repository
Do you want to accept these changes and continue updating from this repository? [y/N]
And that’s it.
Working with the terminal using a command interface is very fast and effective way of doing stuff. But have you tried working with the terminal, listening to a music via headphones and having a terminal warning or tab-completion beep / bell turned ON at the same time? Well it can be very annoying. Listening to the PC Speaker beeps via headphones is very close to a feeling of hitting your head with a hammer. Even without headphones this beeping bell sound is very annoying.
Continue reading “Turn off beep / bell on linux terminal”
Although you’ve got the errors you’re still able to connect to the machine:
and install the ifupdown package
apt-get install ifupdown
and reload the machine.
This guide explains how to set up software RAID1 on an already running LVM system (Ubuntu 18.04). The GRUB2 bootloader will be configured in such a way that the system will still be able to boot if one of the hard drives fails (no matter which one).
I do not issue any guarantee that this will work for you!
Continue reading “How to set up software RAID1 on a running LVM system (incl. GRUB2 configuration) (Ubuntu 18.04)”