How To Install Notepad++ on Ubuntu 16.04 LTS

Install Notepad++ on Ubuntu 16

Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License. For a while now there has been an alternative to Notepad++ called Notepadqq for Linux systems, including Ubuntu.. Notepadqq is not a bad editor, but probably not as feature-rich as Notepad++. In this tutorial we will show you how to install Notepad++ on Ubuntu 16.04 LTS.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Notepad++ on an Ubuntu 16.04 Xenial Xerus server.

Install Notepad++ on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Snapd.

Snap is a powerful package management system for Linux users, it probably the best and easiest way to install packages on Linux machine. To install Snap, run the commands below:

apt-get install snapd snapd-xdg-open

Step 3. Installing Notepad++ on Ubuntu.

To install Notepad++ run the commands below:

snap install notepad-plus-plus

Once installing the package, run the commands below to install a mandetory plugin:

snap connect notepad-plus-plus:process-control

And optional plugins below should probably be installed as well:

snap connect notepad-plus-plus:removable-media
snap connect notepad-plus-plus:hardware-observe
snap connect notepad-plus-plus:cups-control

Finally steps, next go to your Activities Overview and search for, the launch Notepad++.

Congratulation’s! You have successfully installed Notepad++. Thanks for using this tutorial for installing Notepad++ on your Ubuntu 16.04 LTS. For additional help or useful information, we recommend you to check the official Notepad++ web site.

How To Install Buddy on Ubuntu 16.04 LTS

Install Buddy on Ubuntu 16

Buddy is a continuous integration and delivery platform for GitHub, GitLab and Bitbucket with Docker-based builds and automatic deployments. In this tutorial we will show you how to install Buddy on Ubuntu 16.04 LTS.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Buddy on an Ubuntu 16.04 Xenial Xerus server.

Install Buddy on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Docker Engine.

Buddy requires the Docker Engine to run. Follow Docker installation instructions:

apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get -y update
apt-get -y install docker-ce

Step 3. Installing Docker Composer.

With the Engine installed, you can install Docker Compose which is also required by Buddy:

curl -L https://github.com/docker/compose/releases/download/1.14.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Step 4. Installing Buddy on Ubuntu 16.04.

To install Buddy Enterprise, run the following in the terminal:

curl -sSL https://get.buddy.works | sh && buddy install

Buddy Enterprise uses ports 80, 443 and 22 on the installation server. You will be asked for an alternative port if one of the ports is unavailable. When asking for the terms, simply confirm with “Enter”. When the installation is complete, change to the next tab.

Step 5. Accessing Buddy.

Buddy will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip and complete the required the steps to finish the installation.
buddy-web-interface

Congratulation’s! You have successfully installed Buddy. Thanks for using this tutorial for installing Buddy on your Ubuntu 16.04 LTS. For additional help or useful information, we recommend you to check the official Buddy web site.

How To Install Prometheus on Ubuntu 16.04 LTS

Install Prometheus on Ubuntu 16

Prometheus is an excellent open-source monitoring system which allows us to collect metrics from our applications and stores them in a database, especially a time-series based DB. The biggest advantage of Prometheus is the query language it provides for data processing.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Prometheus open-source monitoring on an Ubuntu 16.04 Xenial Xerus server.

Install Prometheus on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Nginx web server.

The first thing we must do is install NGINX on the system:

sudo apt-get install nginx
sudo systemctl start nginx
sudo systemctl enable nginx

Step 3. Installing Prometheus.

Prometheus has a Debian Package. To do this, import the package key into our machine:

GET https://s3-eu-west-1.amazonaws.com/deb.robustperception.io/41EFC99D.gpg | apt-key add -

Next, we’re ready to install all required packages in your system:

apt-get update
apt-get install prometheus prometheus-node-exporter prometheus-pushgateway prometheus-alertmanager

Once installed, you can confirm that the app is running by using this command:

service prometheus start
service prometheus status

Step 4. Accessing Prometheus.

Prometheus will be available on HTTP port 9090 by default. Open your favorite browser and navigate to http://yourdomain.com:9090 or http://server-ip:9090 and complete the required the steps to finish the installation.

prometheus-web-interface

Congratulation’s! You have successfully installed Prometheus. Thanks for using this tutorial for installing Prometheus open-source monitoring on your Ubuntu 16.04 LTS. For additional help or useful information, we recommend you to check the official Prometheus web site.

How To Install Angry IP Scanner on ubuntu 16.04 LTS

Install Angry IP Scanner on ubuntu 16

Angry IP Scanner is an open-source and cross-platform system scanner. It is very fast and simple to use platform that scans IP addresses and ports. TCP/IP(Angry IP) network scanner allows users to easily scan IP addresses within any range of your choice with a user friendly interface.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Angry IP Scanner on an Ubuntu 16.04 Xenial Xerus server.

Install Angry IP Scanner on ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gdebi

Step 2. Installing Angry IP Scanner.

Use the below commands to install Angry IP scanner on Linux Ubuntu:

wget http://github.com/angryziber/ipscan/releases/download/3.3.3/ipscan_3.3.3_amd64.deb

Next, the installation process by simply running the following command which triggers the installation:

gdebi ipscan_3.3.3_amd64.deb

Step 3. Accessing Angry IP Scanner.

Once the Angry IP Scanner installation is complete, You can launch the application straight from your Ubuntu dashboard. In the search field, you can type the application name and when the icon appears, you shall click on it to launch it.

Congratulation’s! You have successfully installed Angry IP Scanner. Thanks for using this tutorial for installing Angry IP Scanner on your Ubuntu 16.04 system. For additional help or useful information, we recommend you to check the official Angry IP Scanner web site.

How To Install Oracle Java on Ubuntu 17.10

Install Oracle Java on Ubuntu 17

Java is a programming language and computing platform. It was first released by Sun Microsystems in 1995. Many programs and scripts that require Java to run it, but usually Java are not installed by default on a VPS or Dedicated Server.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation JRE (Java Runtime Environment) and JDK (Java Development Kit) on Ubuntu 17.10 Artful Aardvark.

Install Oracle Java on Ubuntu 17.10 Artful Aardvark

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Oracle Java on Ubuntu 17.10.
Run the following commands to install the Oracle JDK by Oracle:

sudo apt-get update
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install java-common oracle-java8-installer

Please note that during the Java installation process, you will have to accept the Oracle License agreement in order to complete the installation.
Verify Installed Java version.

java -version

Result:

java version "1.8.1_74"
Java(TM) SE Runtime Environment (build 1.8.1_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)

Congratulation’s! You have successfully installed Java. Thanks for using this tutorial for installing Oracle Java (JRE or JDK) on Ubuntu 17.10 Artful Aardvark system. For additional help or useful information, we recommend you to check the official Java web site.

How To Install Firefox Quantum on Ubuntu 16.04 LTS

Install Firefox Quantum on Ubuntu 16

In this tutorial we will show you how to install and configure Firefox Quantum on Ubuntu 16.04 LTS. Mozilla today released Firefox 57 a.k.a Firefox Quantum. According to a Completely overhauled heart along with a revamped layout, Firefox Quantum has been built from the ground up to deliver a quick browsing experience while swallowing a limited amount of resources. Mozilla is calling Quantum the biggest update to the browser since its original release in 2004.

The browser now also comes with a new CSS engine Named Stylo which Takes better advantage of today’s devices featuring multi-core Processors to deliver a faster and simpler browsing experience. Firefox Will automatically prioritize busy tabs over inactive ones for better resource management. Mozilla claims that its approach to multiple Processes is exceptional and different from that of Chrome.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Firefox Quantum web browser on a Ubuntu 16.04 (Xenial Xerus) server.

Install Firefox Quantum on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Firefox Quantum.

First, add a repository for download Mozilla Firefox Quantum. Just follow this command:

sudo add-apt-repository ppa:mozillateam/firefox-next
sudo apt update
sudo apt upgrade
sudo apt install firefox

Once installed, open the Firefox Quantum from Ubuntu Dash.

Alternative Another Method:

cd /opt
sudo wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/57.0/linux-x86_64/en-US/firefox-57.0.tar.bz2
sudo tar xfj firefox-57.0.tar.bz2

Start Firefox 57 from the CLI:

/opt/firefox/firefox

In order to create a quick launch icon in your desktop applications menu, issue the following commands in terminal:

cd /usr/share/applications/
sudo cp firefox.desktop firefox-quantum.desktop

Congratulation’s! You have successfully installed Firefox Quantum. Thanks for using this tutorial for installing Firefox Quantum web browser on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Firefox web site.

How To Install LEMP on Ubuntu 17.10

Install LEMP on Ubuntu 17

A LEMP software stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Nginx web server (which replaces the Apache component of a LAMP stack). The site data is stored in a MySQL database (using MariaDB), and dynamic content is processed by PHP. In this tutorial we will show you how to install LEMP on Ubuntu 17.10 Artful Aardvark.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation LEMP Stack on an Ubuntu Ubuntu 17.10 Artful Aardvark server.

Install LEMP on Ubuntu 17.10 Artful Aardvark

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Nginx on Ubuntu 17.10.

Install Nginx with apt-get, which is the default package manager for Ubuntu:

sudo apt-get install nginx

Start Nginx service using the following command:

sudo systemctl start nginx

You can verify that Nginx is really running by opening your favorite web browser and entering the URL http://your-server’s-address, if it is installed, then you will see this:
Welcome_to_nginx_cropped

Step 3 Configure Nginx web server.

To get Nginx to work with PHP correctly, we need to make changes to the Nginx configuration file. This guide we will be using a simple Nginx config file:

sudo nano /etc/nginx/sites-available/default

Copy the following into your text editor:

    server {
            listen       80;
            server_name  your_domain_name.com;
            root /usr/share/nginx/html;
            index index.php index.html;
            location / {
                    try_files $uri $uri/ =404;
            }
            error_page 404 /404.html;
            error_page 500 502 503 504 /50x.html;
            location = /50x.html {
                    root /var/www/html;
            }
            location ~ \.php$ {
                    try_files $uri =404;
                    fastcgi_pass unix:/var/run/php5-fpm.sock;
                    fastcgi_index index.php;
                    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                    include fastcgi_params;
            }
    }

Once you have finished editing the file restart Nginx with:

sudo nginx -t
sudo systemctl restart nginx

Step 4. Installing MySQL on Ubuntu 17.10.

To install MySQL in Ubuntu 17.10 run the following command:

sudo apt-get install mysql-server php7.0-mysql

Once complete, you can verify MySQL is installed by running the below command:

systemctl status mysql

By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL:

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- Remove anonymous users? [Y/n] y
- Disallow root login remotely? [Y/n] y
- Remove test database and access to it? [Y/n] y
- Reload privilege tables now? [Y/n] y

To log into MySQL, use the following command (note that it’s the same command you would use to log into a MySQL database):

mysql -u root -p

Step 5. Installing and Configuring PHP on Ubuntu 17.10

Install PHP on the Ubuntu 17.10 with the following command to begin the install:

sudo apt-get install php php-fpm php7.0-mysql

Once the installation is finished, edit the server php.ini file and change the cgi.fix_pathinfo parameter value to 0. By default it will be commented out with a semi-colon and the value set to 1 which practically ensures that PHP will attempt to execute the closest file available when a requested PHP file can’t be found. This is a bad security practice, so let’s change it. Execute the below command:

nano /etc/php/7.0/fpm/php.ini

Now find the cgi.fix_pathinfo line, uncomment it and set the value to 0. Save and close the file.

Your server should restart Nginx automatically after the installation of both MySQL and PHP. If it doesn’t, execute this command:

sudo systemctl restart nginx

To test PHP, create a test file named info.php with he content below. Save the file, then browse to it to see if PHP is working:

nano /usr/share/nginx/html/info.php

Copy the following into your text editor:

<?php phpinfo(); ?>

Try to access it at http://your_server_ip/info.php . If the PHP info page is rendered in your browser then everything looks good and you are ready to proceed further.

Congratulation’s! You have successfully installed LEMP stack. Thanks for using this tutorial for installing LAMP (Linux, Nginx, MySQL and PHP) in Ubuntu 17.10 Artful Aardvark system. For additional help or useful information, we recommend you to check the official Nginx, MySQL and PHP web site.