If you need to kill a process in the command line for a specific port in ubuntu. you can use the following command : If that doesn’t work you could also use $() for command interpolation :
Articles taggés:ubuntu
(SOLVED) How to Check Available Memory in Ubuntu Server ?
The free command The free command is the most widely used and without any doubt the most helpful, we will mention its usage first. This command is used to check information about the RAM usage by your system. Here is the command you will enter in the Terminal : For more other ways go here
(SOLVED) How to install JDK 11 on Ubuntu ?
To install openjdk-11 (JDK) on ubuntu you can use the following command : Read also : how to install docker on ubuntu ?
Solution : How to install Docker on Ubuntu server ?
To install Docker on Ubuntu we need to start by updating ubuntu packages : Then we will install the following packages : apt-transport-https, ca-certificates, curl , gnupg-agent, software-properties-common Then we install docker : Now we can check the docker version using :
How to close Ubuntu Server bash without stopping my spring boot application instance ?
If you deploy a java application in Ubuntu Server and you need to close the instance of shell script without stopping your application , you need to run your application through a script, it mean don’t execute your app directedly with the command : Just create a script.sh : Then execute the script with the […]
(SOLVED) The program ‘docker’ is currently not installed. You can install it by typing: sudo apt-get install docker
Problem : When you install Docker with the command : and you try to run docker it gives the following error !! The program ‘docker’ is currently not installed. You can install it by typing: sudo apt-get install docker Solution : Add Dependencies Add docker gpg key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add – (Security […]
(SOLVED) How to Install MySQL on Ubuntu server ?
To install MySQL on your Ubuntu server follow the steps below: 1. First, update the apt package index by typing: 2. Then install the MySQL package with the following command: 3. Once the installation is completed, the MySQL service will start automatically. To check whether the MySQL server is running, type:
Comment installer Java avec Apt-Get sur Ubuntu 16.04
introduction installer Java sur Ubuntu 16.04 : Java et la JVM (machine virtuelle Java) sont largement utilisés et requis pour de nombreux types de logiciels. Cet article vous guidera à travers le processus d’installation et de gestion de différentes versions de Java à l’aide de + apt-get +. Conditions préalables installer Java sur Ubuntu 16.04 […]

Install Java 8 JDK on Ubuntu
Install Java 8 JDK on Ubuntu : In this tutorial you will learn how to install latest Java 8 on Ubuntu or LinuxMint via PPA. The Oracle Java PPA installation works on Ubuntu 18.04 LTS, 16.04 LTS, 15.10, 14.04 LTS, 12.04 LTS and LinuxMint distributions. First add the PPA repository $ sudo add-apt-repository ppa:webupd8team/java $ […]