Upgrade Ubuntu 16.04/17.10 to Ubuntu 18.04 From Command Line

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.

nano /etc/ssh/sshd_config
ClientAliveInterval 60

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:

lsb_release -a


No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic

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.


How To Install Apache Tomcat 9 on Ubuntu 16.04

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”

DirectAdmin 1.55.0 has been released


DirectAdmin pleased to announce the release of DirectAdmin 1.55.0.

This is a major release with many new features and many bugfixes.
The full list of changes can be found here:

Some of notable items:






Source:  DirectAdmin

YUM: undefined symbol: CRYPTO_set_locking_callback

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]

If you cannot solve this problem yourself, please go to
the yum faq at:

Continue reading “YUM: undefined symbol: CRYPTO_set_locking_callback”

Error building curl 7.62.0 on Directadmin server against OpenSSL 1.0.1

If you have a custom installation of cURL to support of HTTP/2 and the recent version 7.62.0 fails to built with the error:

vtls/openssl.c: In function 'Curl_ossl_seed':
vtls/openssl.c:454:5: error: implicit declaration of function 'RAND_egd' [-Werror=implicit-function-declaration]
     int ret = RAND_egd(data->set.str[STRING_SSL_EGDSOCKET]?
cc1: some warnings being treated as errors
Makefile:2425: recipe for target 'vtls/libcurl_la-openssl.lo' failed
make[2]: *** [vtls/libcurl_la-openssl.lo] Error 1
make[2]: Leaving directory '/usr/local/directadmin/custombuild/curl-7.62.0/lib'
Makefile:1028: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/local/directadmin/custombuild/curl-7.62.0/lib'
Makefile:929: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

*** The make has failed, would you like to try to make again? (y,n): 

we’ve got a solution for you.

Continue reading “Error building curl 7.62.0 on Directadmin server against OpenSSL 1.0.1”