Docker install on Linux Mint 19 Tara

When installing a Docker on Linux Mint you can experience an error saying that Docker doesn’t have a release file for your distribution.

It’s happen because the Docker repository at doesn’t know about Linux Mint’s code name tara.

To solve this issue you have to provide Ubuntu code name for which the Docker is providing a repository. And this replacement will work because Linux Mint is built on top of Ubuntu.

So, to add the Docker repository to your Mint’s distribution you have to use:

In this step, we are simply replacing the Linux Mint codename (returned by lsb_release -cs) with the Ubuntu base codename (returned by . /etc/os-release; echo "$UBUNTU_CODENAME").

Installing and starting the H2 database on Ubuntu/Linux Mint

It is a very simple and straightforward task. Download the H2 zip file (for example Version 1.3.176 (2014-04-05), Last Stable).
Open a terminal window
And then run:

This should start the H2 server tool and open a browser window that lets you connect to a database.

H2 server tool


A bit of typing, few clicks and it’s installed and running.

How to install Tomcat Server 7 on Linux Mint 17.3?

Apache Tomcat™ is an open source software implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. For more details about you can visit apache official site .

1. Check your JAVA installation

Java is mandatory to run Apache Tomcat, Use the below command to check whether Java is installed on your system or not.

If no, Install OpenJDK or Oracle Java before proceeding Tomcat Installation.

2. Downloading Apache Tomcat Archive file.

Use the this Tomcat 7 link to download the latest stable release of Apache Tomcat 7 Archive file or use the following command to download Tomcat 7.0.68 from Apache server.

After completed download please extract this archive file in /opt directory. Of course you may change this location depending on your setup.

3. Setup Environment Variable.

Before starting Tomcat, Configure environment variables by adding entry in ~/.bashrc file, So that system environment can set on system boot up with the following command.

4. Start Tomcat.

5. Access Apache Tomcat.>

Open your web browser and navigate to http://localhost:8080 or http://your-server-ip-address:8080 or By default tomcat serving port number 8080 (make sure no other app is running using this port).

6. Setup User Accounts.

If you want to access Server Status, Manager App & Host Manager in tomcat, you need to add manager-gui and admin-gui rols under conf/tomcat-users.xml file.

  • manager-gui : Control Server Status & Manager App
  • admin-gui : Control Host Manager

You can access those things by adding the UserName and password to manager-gui and admin-gui rols (Use your username & password instead of us). Stop tomcat service and add user and roles to your conf/tomcat-users.xml file under tomcat-users then save + exit and start tomcat that’s it.

7. Create Tomcat7 Init Script

Create a init file /etc/init.d/tomcat7 using following content. Below you will find my init file for the user maro:

Now execute following commands to set proper permissions and symbolic links for init script.

And it’s DONE!