×

This article covers how to install Gradle on a Debian 10 machine. In fact, Gradle is an open-source tool for build automation Java, Groovy, and Scala development. It relies on the concepts of Ant and Maven to automate the building process.


How to Install gradle on Debian Using apt ?

Update apt database with apt using the following command:

$ sudo apt update

After updating apt database, We can install gradle using apt by running the following command:

$ sudo apt -y install gradle


How To Uninstall gradle on Ubuntu 21.10 ?

To uninstall only the gradle package we can use the following command:

$ sudo apt-get remove gradle

We can use the following command to remove gradle configurations, data and all of its dependencies, we can use the following command:

$ sudo apt-get -y autoremove --purge gradle



This article covers how you can easily configure the Nginx Web server as a reverse proxy by adding a configuration file. In fact, By doing this, you can protect your main server against different cyberattacks or you can utilize it to balance the load of incoming heavy traffic.



This article covers how to install the osTicket open source ticket system on Ubuntu 20.04 LTS Focal Fossa system. In fact, OsTicket allows you to manage, organize and archive your support request. It seamlessly routes inquiries created via email, web-forms, and phone calls into a simple, easy-to-use, multi-user, web-based customer support platform.


How to install osTicket with Nginx on Ubuntu ?

1. Update the system

First, log in to your server with sudo privileges and update the system with the latest stable version using the following command:

$ sudo apt update &&  sudo apt upgrade -y


2. Install LEMP Server

OsTicket requires Web server, PHP and Database Server to be installed on your server.

i. Install Nginx Web Server

You can install Nginx web server by the following command:

$ sudo apt install nginx -y

Now let's check Nginx service and To start the service manually, run the following commands:

$ sudo systemctl status nginx
$ sudo systemctl start nginx

Now enable nginx service to start at boot time by running the following command:

$ sudo systemctl enable nginx

ii. Install PHP and PHP-FPM

Next, you need to install PHP, PHP-FPM and some additional PHP modules which are required for OsTicket to run properly:

$ sudo apt install php php-mysql php-cgi php-fpm php-cli php-curl php-gd php-imap php-mbstring php-xml-util php-intl php-apcu php-common php-gettext php-bcmath

Above command will install php-7.2

Now edit php.ini file by running following command in terminal.

$ sudo vim /etc/php/7.2/fpm/php.ini

Uncomment cgi.fix_pathinfo variable and change its value to 0

cgi.fix_pathinfo=0

Now save and close the file.

Next, restart php7.2-fpm service and enable it at startup using the following command:

$ sudo systemctl restart php7.2-fpm
$ sudo systemctl enable php7.2-fpm

iii. Install and Configure MySQL Database server for OsTicket

From your terminal window, issue the following command to install the MySQL database server:

$ sudo apt install mysql-server

Now start MySQL service and enable it to start at boot time then check MySQL service status with the following command:-

$ sudo systemctl start mysql
$ sudo systemctl enable mysql
$ sudo systemctl status mysql

Next, secure MySQL installation with the following command:

$ sudo mysql_secure_installation

Answer all the questions as below:

Set root password? [Y/n] Y
New password:
Re-enter new password:
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

Next, log in to MySQL console as shown below:

$ sudo mysql -u root -p

Enter your Root password here.

Now you need to create the database for osTicket

run following command:

$ mysql> create database osticket_db;
$ mysql> grant all privileges on osticket_db.* to osticket_user identified by 'OsTicketPassw0rd@19';
$ mysql> flush privileges;


3. Download and Configure osTicket

Create a new directory for osTicket and then go to that directory:

$ sudo mkdir -p /var/www/osticket/
$ cd /var/www/osticket/

Next download latest osTicket setup using wget and Extract it using the following command:-

$ sudo apt-get install wget unzip
$ sudo wget https://github.com/osTicket/osTicket/releases/download/v1.14.1/osTicket-v1.14.1.zip
$ sudo unzip osTicket-v1.14.1.zip

You will get scripts and upload directory after extracting.

Next create an osTicket configuration file from ost-sampleconfig.php file using the following command:

$ sudo su -
$ cd upload/
$ cp ost-sampleconfig.php ost-config.php

Next, you need to change ownership of the osTicket web directory to the 'www-data' user and group.

$ sudo chown -R www-data:www-data /var/www/osticket/


4. Create OsTicket Virtual Host

Now create new virtual host configuration for OsTicket by running following command:

$ sudo vim /etc/nginx/sites-available/osticket.conf

Paste the configuration as below:

server {
listen 80;
server_name 13.52.217.10;   ## change server_name as per your domain name.
root /var/www/osticket/upload;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
index index.php index.html index.htm;

# Enable gzip
gzip on;
gzip_min_length 1000;
gzip_types text/plain application/x-javascript text/xml text/css application/xml;
set $path_info "";
location ~ /include {
deny all;
return 403;
}
if ($request_uri ~ "^/api(/[^\?]+)") {
set $path_info $1;
}
location ~ ^/api/(?:tickets|tasks).*$ {
try_files $uri $uri/ /api/http.php?$query_string;
}
if ($request_uri ~ "^/scp/.*\.php(/[^\?]+)") {
set $path_info $1;
}
location ~ ^/scp/ajax.php/.*$ {
try_files $uri $uri/ /scp/ajax.php?$query_string;
}
location / {
try_files $uri $uri/ index.php;
}
location ~ \.php$ {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
}

Here, You need to change server_name 13.52.217.10 as per your domain name.

Save the Nginx configuration file and exit.

Now activate the virtual host and test the configuration:

$ ln -s /etc/nginx/sites-available/osticket.conf /etc/nginx/sites-enabled/
$ nginx -t

Now restart nginx service:

$ sudo systemctl restart nginx


5. Install and configure osTicket

Now let's enter your domain name to get osTicket UI in any web browser.

Next Click on 'Continue' and you will be redirected to the osTicket configuration section.

Fill all required information and click “Install Now” button.

In the database settings, enter details as dbname, username, and password you have created during mysql setup.

Finally, Click on Install Now button

Next, change the permission of ost-config.php to remove write access by running the following command:

$ cd /var/www/osticket/upload/
$ chmod 0644 include/ost-config.php

For osTicket admin type your IP/domain name in the web browser.

For admin login/agent panel/Admin panel configuration type as following:

  • osTicket admin login - http://yourdomainname/scp/
  • osTicket agent panel - http://yourdomainname/scp/index.php
  • osTicket Admin panel configuration - http://yourdomainname/scp/settings.php



This article covers how to install Discourse on Ubuntu 20.04 LTS Focal Fossa system. In fact, Discourse is an open-source platform used for discussions forum, chat rooms, or as a mailing list management software.



This article covers how to install the FreeIPA on CentOS 8 system. In fact, FreeIPA is a free and open source identity management tool for managing centralized authentication along with account management, policy (host-based access control) and audit.


How to Open Required FreeIPA ports on Firewall ?

FreeIPA uses a number of ports to communicate with its services which must be opened on firewall to allow external connections. You can simply open all the required ports using the service names by running the command below:

$ firewall-cmd --add-service={freeipa-ldap,freeipa-ldaps,dns,ntp} --permanent
$ firewall-cmd --reload



This article covers the differences between Docker containers, LXD, and LXC. In fact, You can use any of these containers as per your working environment and the requirements as each container technology has its own advantage and the limitations. 



This article covers How to Install OrangeScrum on CentOS 8. In fact, Orangescrum is an open-source and collaboration web application for managing projects, teams, documents, tasks, and communicate with the team on important issues.



This article covers the process of installing the GoAccess real-time web log analyzer on Ubuntu 20.04 LTS Focal Fossa system. In fact, GoAccess is a free and open-source weblog analyzer tool used for the analysis of logs in real-time. You can analyze logs through a web browser or terminal. 

GoAccess provides very useful statistics to system administrators including, top visitors, bandwidth, referring sites and URLs, operating systems, IP location, reverse DNS, geolocation, HTTP status code, and much more.



This article covers how to test load in web servers using siege benchmarking tool. In fact, Siege is an HTTP load testing tool that you can use to send hundreds of concurrent visitors on your website at once to check how it will perform under pressure and how much availability your server can provide.


How to Install Siege on Ubuntu Linux system ?

It is a very easy task to install Siege on our Ubuntu server. Execute the following command to install siege on Ubuntu:

$ sudo apt-get install siege -y



This article covers how to easily install and configure the zulip chat application on your ubuntu Linux system. In fact, Zulip is a free and open-source chat application used for sharing private and public messages. It is a cross-platform software tool able to handle thousands of concurrent chat sessions. It can be integrated with GitHub, Jira, Stripe, Sentry, and more using third-party plugins. 




This article covers the process of installing Linux Dash in Ubuntu 20.04 LTS Focal Fossa system. In fact, Linux Dash is a Performance monitoring  dashboard written in PHP. Very lightweight web base application, and drop-in applets are provided, admin can have a look on Network performance, RAM status, Disk space available, Installed software information or currently running processes.


How to Install Nginx web server ?

To install Nginx, simply run the below command:

$ apt install nginx


How to install PHP 7.2 ?

To do this, simply run the command:

$ apt install php7.2 php7.2-curl php7.2-fpm


How to configure Linux Dash Nginx Server Block ?

To configure Nginx for Linux Dash, you need to create the server block configuration under /etc/nginx/sites-available directory:

$ vim /etc/nginx/sites-available/linux-dash

Add the following contents to the configuration file and make adjustments accordingly:

server {
    server_name     linuxdash.example.com;
    listen          80;
    root            /var/www/html;
    index           index.html index.php;
    access_log      /var/log/nginx/linuxdash_access.log;
    error_log       /var/log/nginx/linuxdash_error.log;
 
    location ~* \.(?:xml|ogg|mp3|mp4|ogv|svg|svgz|eot|otf|woff|ttf|css|js|jpg|jpeg|gif|png|ico)$ {
            try_files $uri =404;
            expires max;
            access_log off;
            add_header Pragma public;
            add_header Cache-Control "public, must-revalidate, proxy-revalidate";
    }
 
    location /linux-dash {
        index index.html index.php;
    }
 
    location ~ \.php(/|$) {
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_split_path_info ^(.+?\.php)(/.*)$;
            fastcgi_pass unix:/run/php/php7.2-fpm.sock;
            if (!-f $document_root$fastcgi_script_name) {
                    return 404;
            }
            try_files $uri $uri/ /index.php?$args;
            include fastcgi_params;
    }
}

Save the configuration file and quit.

Once that is done, you need to enable the Linux Dash site. This can be done by creating symbolic links from this server block configuration to the sites-enabled directory:

$ ln -s /etc/nginx/sites-available/linux-dash /etc/nginx/sites-enabled/

Next, remove the default Nginx site configuration:

$ rm -rf /etc/nginx/{sites-available,sites-enabled}/default



This article covers the process of installing FreeIPA open source identity management system on your Ubuntu 20.04 LTS Focal Fossa. In fact, FreeIPA is free and open source Identity, Policy, and Audit (IPA) suite sponsored by RedHat. It's an IPA solution combination of Linux (Fedora), 389 Directory Server, MIT Kerberos, NTP, DNS Bind, Dogtag, Apache web server, and Python.



This article covers the process of installing Mattermost on CentOS 8 system. In fact, Mattermost is an open source, self-hosted team chat and collaboration software.



This article covers how you can easily install Grafana on a Linux Mint 20 system. In fact, Grafana is capable of producing extremely fascinating charts and graphs with ability to manage and create your own dashboard for your apps or infrastructure performance monitoring.



This article covers how to install Docker engine on the Debian 11 bullseye system. In fact, Docker is a toolset to build applications and CI/CD pipelines to build, ship and run your applications in containers.



This article covers how to install ntopng on Ubuntu OS and access its web interface. In fact, Ntopng is an essential application for monitoring and troubleshooting network problems.


More about Ntopng

Ntopng basically is a network traffic probe that will monitor network usage. It is based on libpcap, a Library written as part of a larger program called TCPDump. Ntopng is based on Redis key value server rather than traditional database, leverages nDPI for protocol discovery, supports host geolocation, and can display real-time flow analysis for connected hosts.


Main Features of Ntopng:

  • Packet capture → Packet capture / transmission using basic hardware with PF_RING. Zero-copy package distribution across threads, applications, and virtual machines. Includes Libpcap support for seamless integration with legacy applications.
  • Traffic recording → Lossless network traffic recording of 10 Gbit and above with n2disk. Industry standard PCAP file format. It allows to quickly retrieve packages using BPF. Accurate traffic reproduction with disk2n.
  • Network probe → nProbe- NetFlow v5 / v9 / IPFIX extensible probe with plug-in support for L7 content inspection.
  • Report on the use of the IP protocol → Even going so far as to classify it by type of protocol.
  • Traffic analysis → High speed web based traffic analysis and flow collection using ntopng. Persistent traffic statistics in RRD format. Layer 7 analysis leveraging nDPI, an open source DPI framework. Even going so far as to classify the traffic according to the source / destination.
  • Geolocate and Overlay Hosts → This will be done on a geographic map.
  • Alert engine → We can capture anomalous and suspicious hosts.
  • Produce network traffic statistics → Using HTML5 / AJAX technology.
  • We will have full support for current network protocols → Including IPv4 and IPv6.



This article covers how to download, install and remove Browsh on your Ubuntu 20.04 LTS. In fact, Browsh is a free and open source text based command line web browser for Linux,BSD and Windows which supports HTML5, CSS3, JavaScript, and video, photos and WebGL content.



This article covers how to install, run, and remove Alpine on Debian 10, which is an amazing email client full of features to run in the terminal forever. In fact, Alpine is a CLI email client for BSD and GNU/Linux. 


How to install Alpine on Linux ?

For EL7:

$ sudo yum -y install alpine

For Fedora:

$ sudo dnf -y install apline

For Debian & Ubuntu & derivatives:

$ sudo apt -y install alpine



This article covers how to install GNS3 on Ubuntu 20.04 LTS OS. In fact, GNS3 is an incredibly powerful tool that virtualizes real network hardware and helps you to test and verify real-world network deployments. It provides a risk-free virtual environment to design and build a network with your considered size and even with no hardware. GNS3 can be installed on Windows, macOS, and on Linux. It supports Linux distributions (Ubuntu-based distributions 64 bit only) and emulates Linux switches and multiple Linux appliances.



This article covers the installation procedure of Ghost CMS on Ubuntu 20.04 LTS. In fact, Ghost is a lightweight, open-source Content Management System (CMS) and blogging platform built with Node.js. It is easy to install and update with Ghost-CLI.


How to Troubleshoot Ghost CMS ?

1. Troubleshoot the system for any potential issues when installing or updating Ghost:

$ ghost doctor

2. Get help about Ghost:

$ ghost --help



This article covers and easy step by step guide on how to install OpenMAINT on Ubuntu 20.04. In fact, OpenMAINT helps in management of mobile assets (buildings, infrastructure, etc.), plants and technical devices (electric panels, heating and cooling, light fixture, fire extinguishers, etc.), furniture, etc., and the related logistical, economical and maintenance activities (scheduled and corrective ones).



This article covers the complete Installation procedure of Sonar on Linux Mint system. In fact, Sonar is a Docker utility to manager image and tag information from Docker Hub. Basically, It can display information on Docker images, tags, and layers including the packages installed in those images.



This article covers how to install and setup free version of Bitwarden for individual use. Now start saving your passwords and other confidential information in your Bitwarden vault. Using Bitwarden you can easily and safely generate, store, and secure unique passwords from any location or device. It is compliant with Privacy Shield, HIPAA, GDPR, CCPA, SOC2 and SOC3 security standards and comes with AES-256 bit encryption, salted hashing, and PBKDF2 SHA-256.


How to Install Bitwarden via Snap ?

1. Open the terminal app (ctrl+alt+t) and run below Bitwarden password manager snap installation command:

$ sudo snap install bitwarden

2. After the installation you can open Bitwarden from the application menu or via this command.

$ bitwarden

3. It also comes with a command-line support. You can install the Bitwarden command-line cli app via the below command.

$ sudo snap install bw



This article covers how to deploy Mattermost on Ubuntu 20.04. Mattermost is an open source collaboration and messaging platform created with security and configurability in mind providing comparable functionality to Discord or Slack. It offers group, threaded and one-to-one messaging, unlimited search history and file sharing capabilities, two-factor authorization and notifications. Mattermost also provides webhooks and bot integration for further customization. It's accessible from every type of modern device due to its responsive web interface and dedicated mobile apps.

Now, you can easily connect with your team on Mattermost using a Desktop client. Even you can add multiple Mattermost servers to single desktop client and collaborate with different team users.



This article covers the step by step Installation procedure of Rust on Linux. Now you can write rust programs on Linux. In fact, The Rust programming language, more commonly known as rust-lang, is a powerful general-purpose programming language.

Developed by Mozilla and designed by Graydon Hoare, Rust programming language is syntactically similar to C++.

We can verify from the terminal for the version of the Rust programming language installed on our system. To do so, we enter this in our terminal:

$ rustc --version



This article covers a step by step guide on how to Install Syncthing on Linux Mint. Once this tool is installed on your system, you can readily use it for synchronizing your files within or across your network. Basically, Whenever you create, modify, or delete any data on one Syncthing machine it will automatically be replicated to other servers. 

To verify the version of Syncthing Installed on the system, run the following command:

$ syncthing --version


Features of Syncthing file synchronization:

  • It is easy to use through a cli and GUI through Synchthing-GTK.
  • Its data syncing fully automatic – Low interaction.
  • Synthing strives to be safe from data loss – Ensures no corruption on user's files.
  • It is universally available – Runs on both Windows and Linux.



This article covers how you can install and get started with the Cockpit web-administration tool for monitoring system statistics, metrics, and overall health. The cockpit is accessed through a web browser and its dashboard gives you a peek of your server's health alongside other system statistics such as network usage, disk space, and utilization, current users, system uptime, running processes, and system logs.




This article covers how to install and get started with the Glances monitoring tool on Ubuntu. 

To view more help, you can use the glances –help command.

By default, Glances is included in the Ubuntu default repository. You can install it with the following command:

$ apt-get install glances -y

After installing Glances, verify the installed version of Glances using the following command:

$ glances --version


Glances monitors and display the information about:

  • RAM, Swap, and free memory usage.
  • Average CPU load of the system.
  • Total active and sleeping processes.
  • Disk I/O.
  • Display file system space.
  • Display current date and time.



This article covers how to install the KONG API Gateway on Ubuntu 20.04. These Gateways provides services like Authentication, rate-limiting, analysis, logging etc., to your API endpoints.

To Start kong API, run the following commands:

$ kong migrations up #runs the database migrations
$ sudo kong start
$ curl -i http://localhost:8001

To Stop and see status of kong API, run the following commands:

$ sudo kong stop #stop kong
$ sudo kong health #kong status



This article covers how you can easily install Cockpit on your CentOS system and manage other Linux servers. With Cockpit, you can have a quick glance at the performance of all your added servers. Also, you can monitor system resources, start and stop services, shut down the system, install updates, view network activity (send/received). create or remove user accounts, access Terminal, and much more on the remote servers. Cockpit helps to save a lot of time by letting the administrators manage the remote servers that are spread across the network using a lightweight and intuitive interface. 


Benefits of Cockpit in our GNU/Linux servers:

  • It consists of systemd service manager for ease.
  • It has a Journal log viewer to perform troubleshoots and log analysis.
  • Storage setup including LVM was never easier before.
  • Basic Network configuration can be applied with Cockpit
  • We can easily add and remove local users and manage multiple servers.


To Install  and enable Cockpit packages from repository, run the command:

$ sudo yum install cockpit

Type "y" and it will start downloading and installing the required packages.

To enable the Cockpit with the following command:

# sudo systemctl start cockpit

or

$ sudo systemctl enable --now cockpit.socket


To confirm the status of Cockpit, run the command:

# sudo systemctl status cockpit



This article covers how to install Minikube on your Ubuntu 20.04 machine. Minikube is an open source tool that allows you to set up a single-node Kubernetes cluster on your local machine. The cluster is run inside a virtual machine and includes Docker, allowing you to run containers inside the node. 

Now, you can use the single-node Kubernetes with minikube to learn one of the most famous containers orchestration tools in the Cloud Native era. 


To enable and access kubernetes dashboard , run the command:

$ minikube dashboard

This will open the Kubernetes dashboard in the web browser.


To stop the minikube, run:

$ minikube stop

To delete the minikube, run:

$ minikube delete

To Start the minikube, run:

$ minikube start



This article covers how to install Gitea on Ubuntu 20.04 LTS. Gitea is a self-facilitated open-source git worker written in Go. It is a fork of Gogs . Gitea incorporates a store record supervisor, venture issue following, clients administrations, notices, implicit wiki, and considerably more. 

To Install Git on Linux, run the commands: 

$ sudo apt update
$ sudo apt install git

To Confirm Git Installation, execute the command: 

$ git --version



This article covers the best method of listing and cleaning the apt cache on your Ubuntu system. Ubuntu users can clean Apt archive cache using sudo apt-get clean and sudo apt-get autoclean commands. The apt-get is a APT package handling utility or the command-line tool for handling packages. These commands clears out the local repository. The autoclean command only removes packages and files that are no longer in use. Ubuntu users can also do the same task from Synaptic package manager. Open Synaptic, go to Settings > Preferences > File tab. Select to delete packages that are no longer in use.

To clean Apt archive cache folder on Ubuntu, run:

$ sudo apt-get update
$ sudo apt-get clean
$ sudo apt-get autoclean


  • clean – clean clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.
  • autoclean – Like clean, autoclean clears out the local repository of retrieved package files. The difference is that it only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to be maintained over a long period without it growing out of control. The configuration option APT::Clean-Installed will prevent installed packages from being erased if it is set to off.



This article covers how to install DockerSlim in the Linux system and how it can be used to optimize and secure Docker containers. DockerSlim has an interactive shell that you can use to slim and secure your containers.

You can open DockerSlim shell by typing docker-slim on you terminal.


The basic commands for dockerslim include:

  • Build – Analyzes, profiles and optimizes your container image then generates the supported security profiles.
  • xray – Used to perform a static analysis of a container image, you can use this command if you want to see what makes the container fat.
  • lint – Used to analyse container instructions in a DockerFile.
  • profile – Used to perform an analysis of the container image without generating an optimized image.



This article covers the installation and basic configuration of Elasticsearch on the CentOS system. For how to use Elasticsearch, visit the Quick start guide available on its website. Elasticsearch is an open source search and analytics engine that allows you to store, search, and analyze big volumes of data in real time. Elasticsearch powers millions of Applications that rely on intensive search operations such as e-commerce platforms and big data applications. 

Elasticsearch supports RESTful operations. This means that you can use HTTP methods (GET, POST, PUT, DELETE, etc.) in combination with an HTTP URI (/collection/entry) to manipulate your data. The intuitive RESTful approach is both developer and user friendly, which is one of the reasons for Elasticsearch's popularity.



This article covers how to Run Jenkins Server in Docker Container with Systemd. Jenkins is an opensource automation server that is designed to help software developers build, test and deploy applications and thereby streamline the continuous integration and delivery process. 

To create a system group for Jenkins, run the command:

$ sudo groupadd --system jenkins

Then create Jenkins system user:

$ sudo useradd -s /sbin/nologin --system -g jenkins jenkins

And finally add Jenkins user to docker group as shown:

$ sudo usermod -aG docker jenkins

To confirm that Jenkins user is added to the docker group, run the id command as shown:

$ id jenkins



This article covers how to install harbor on Ubuntu. The process is the same for all the other distribution of Linux. Harbor is a component of vSphere with Kubernetes. Harbor provides an enterprise-class registry service. 

Harbor is deployed in a dedicated system namespace on the Supervisor Cluster and is composed of several vSphere Pods. 

Image registries provide a centralized repository for an organization to store container images. 

Public image registries can be used to store container images. However, for security reasons, it is better to use an on-premises image registry. 

You use an on-premises image registry for the following purposes: 

Store container images securely. 

Control access to container images. 

vSphere with Kubernetes is integrated with Harbor and is also compatible with other container image registries. 


Harbor key features includes:

  • Security and vulnerability analysis.
  • Content signing and validation.
  • Extensible API and web UI.
  • Image replication.
  • Role-based access control.
  • Multitenant.


After Harbor installation has succeeded, access Harbor web console on https://registry_domain.

Then Login with:

  • Username: admin
  • Password: Set-in-harbor.yml



This article covers how to install Go on CentOS 8. Go language was designed to resolve the common criticisms of other languages while maintaining their positive characteristics and most widely used for writing servers these days.


Run the below command to see the version of the Go language:

$ go version



This article covers how to install GitLab on your local devices or server. Also, you will learn how to integrate the GitLab CE into our local Ubuntu system. GitLab CE, or Community Edition, is an open-source application primarily used to host Git repositories, with additional development-related features like issue tracking. It is designed to be hosted using your own infrastructure, and provides flexibility in deploying as an internal repository store for your development team, a public way to interface with users, or a means for contributors to host their own projects.



This article covers how to install Git on your Debian server and how to Setting up Git. With versioning tools such as Git, you can track changes, revert to previous stages, and branch to create alternate versions of files and directories.


How to Install Git with Default Packages on Debian?

1. First, use the apt package management tools to update your local package index. 

After updating the system, you can download and install Git:

$ sudo apt update
$ sudo apt install git

2. You can confirm that you have installed Git correctly by running the following command:

git --version



This article covers the best performing container management software tools that have served their purpose across all the platforms, i.e., Windows, macOS, and Linux, and have most seamlessly handled and deployed applications ranging from small-scale to large or enterprise-scale. Basically, Kubernetes, Docker, AWS ECS, Apache MESOS, and OpenShift are capable to autonomously design, deploy and manage any software application in any environment.



This article covers how to install Nginx on your Debian 9 server. Now you can deploy your applications and use Nginx as a web or proxy server. Nginx is more resource-friendly than Apache in most cases and can be used as a web server or reverse proxy.


To install Nginx on Debian:

1. Update our local package index so that we have access to the most recent package listings:

$ sudo apt update

2. We can now install nginx:

$ sudo apt install nginx

When prompted to confirm the installation, hit Enter to proceed. After that, apt will install Nginx and any required dependencies to your server.


Profiles available for Nginx:

  • Nginx Full: This profile opens both port 80 (normal, unencrypted web traffic) and port 443 (TLS/SSL encrypted traffic).
  • Nginx HTTP: This profile opens only port 80 (normal, unencrypted web traffic).
  • Nginx HTTPS: This profile opens only port 443 (TLS/SSL encrypted traffic).



This article covers how to install WordPress on Ubuntu 20.04 with Nginx HTTP Server and Let's Encrypt wildcard SSL Certificates. WordPress is a free, open-source, and most popular content management system that allows you to create a blog on the Internet.


You can install nginx, MariaDB, PHP and all the required PHP extensions with the following command:

$ apt-get install nginx mariadb-server php php-curl php-mysql php-gd php-intl php-mbstring php-soap php-xml php-xmlrpc php-zip php-fpm -y

Once the LEMP server is installed, start the Nginx and MariaDB service with the following command:

$ systemctl start nginx
$ systemctl start mariadb


Nginx's inbuilt features includes:

  • Nginx is built to work on low memory usage.
  • It can support extremely high concurrency.
  • Is Ipv6 enabled.
  • Supports reverse proxy with efficient caching.
  • Provides an inbuilt load balancer.
  • Supports WebSockets.
  • Optimized handling of index files, static files and provides auto indexing.
  • Is accompanied with FastCGI for efficient caching.



This article covers how to Install a LEMP Stack on Ubuntu 20.04 LTS. LEMP stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. LEMP stands for Linux OS, with the Nginx (pronounced like "Engine-X") web server, Data store in a MySQL database, and dynamic content is processed by PHP.


To install Nginx Web Server:

1.  Run the commands below to install Nginx.

$ sudo apt update
$ sudo apt install nginx

2. Allow traffic on port 80.

$ sudo ufw allow 'Nginx HTTP'

You can verify the change by running:

$ sudo ufw status



This article covers how to install Tig on your Ubuntu 20.04 system and hence interacting with Git all the more efficiently.
However, you can get rid of this utility any time you want by following the uninstallation procedure that we have shared with you in this guide.
Tig is a text-mode interface for git. It mainly serves as a Git repository browser. It can also assist in staging changes for commit at the chunk level.

Features of Tig:
1. Browses the commits in the current branch
2. Displays the commits for one or more specific branches
3. Compares two branches
4. Helps to see the changes for a single file
5. Displays the list of stashes
6. Shows references for branches, tags and remotes

To install tig on Ubuntu:
1. First update the system, run:

# sudo apt update

2. To install tig on ubuntu, run:

# sudo apt install tig


To uninstall tig on Ubuntu:
To completely remove tig from your Ubuntu machine, type;

# sudo apt remove tig -y



This article covers how you can install Jenkins on Ubuntu OS. For further information about Jenkins, visit its official documentation.

Jenkins is an open-source automation server that can be used to easily set up continuous integration and continuous delivery (CI/CD) pipelines.

Continuous integration (CI) is a DevOps practice in which team members regularly commit their code changes to the version control repository, after which automated builds and tests are run. 

Continuous delivery (CD) is a series of practices where code changes are automatically built, tested, and deployed to production.


To install Jenkins on Ubuntu 20.04 as a standalone service:

1. Run the following commands as root or user with sudo privileges or root to install OpenJDK 11:

$ sudo apt update
$ sudo apt install openjdk-11-jdk

2. Once the installation is complete, verify it by checking the Java version:

# java -version

3. Import the GPG keys of the Jenkins repository using the following wget command:

# wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -

4. Next, add the Jenkins repository to the system with:

# sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'

5. Once the Jenkins repository is enabled, update the apt package list and install the latest version of Jenkins by typing:

# sudo apt update
# sudo apt install jenkins

6. Jenkins service will automatically start after the installation process is complete. You can verify it by printing the service status:

# systemctl status jenkins



This article covers how to install Podman on your system. Podman is the drop-in replacement for Docker on the Red Hat/CentOS/Fedora environments. 

This new container technology improves on Docker by decentralizing the components necessary for container management. 

Instead of having a single daemon for everything, Podman uses individualized components that are only used when necessary. 

Another advantage of Podman is that it can work with pods, in similar fashion to Kubernetes. 


To install Podman with the command: 

$ sudo apt-get install podman -y

When the installation completes, verify the installation with the command: 

$ podman --version



This article covers how to install and use the Docker-compose on CentOS 8 system. By using the Docker-compose, you can deploy multiple Docker applications with container services through a single command. 

Basically, Docker Compose is a tool that can be used to define and run multiple containers as a single service. With Docker Compose, you can link multiple containers and deploy an application from a single command. 

It is mainly used in the development, testing and staging environment. 

Docker Compose uses a YAML file to define a complex stack in a file and running it with a single command.


To install Docker on CentOS:

1. Before starting, make sure you have Docker installed on your server. If not installed, you will need to add Docker-CE repository to your system. 

You can add it with the following command:

$ dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

2. Once the repository is added, install the latest version of docker using the following command:

# dnf install docker-ce --nobest -y
# systemctl start docker
# systemctl enable docker

3. You can verify the docker version with the following command:

$ docker --version



This article covers how to install ansible AWX on Ubuntu 20.04. You have got a basic idea about managing hosts, inventories, and projects from AWX ansible.

Ansible AWX is an open source tool which provides a web-based user interface, REST API, and task engine for easy and collaborative management of Ansible Playbooks and Inventories.

AWX allows you to centrally manage Ansible playbooks, inventories, Secrets, and scheduled jobs from a web interface. 


To Install Ansible on Ubuntu:

Run the following commands,

# sudo apt update
# sudo apt install ansible



This article covers how to perform Docker installation and Configuration. Also, you will learn how to install Docker CE on the CentOS 8 system. Docker container technology allows you to run applications in a specific and isolated environment.

Docker Community Edition (CE) is the new name for the free Docker product.

To Install Docker CE on Linux:
1. Remove all existing docker applications (that might currently be installed) in order to make sure we are using a clean installation.:

# yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine

2. Add an external repository that will help us obtain the Docker software:

# dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

3. Check what versions of docker we have in the repository:

# dnf list docker-ce

4. Install the version that best matches our CentOS server version:

# dnf install docker-ce --nobest

5. We can double-check if the installation was successful by using the version command:

# docker -v



This article covers how to install and configure Netdata on Ubuntu 20.04 LTS and different metrics visualized in it. Netdata provides an excellent solution for monitoring your single node in real-time. You can configure alarms and notifications which can be triggered when a certain event or threshold is exceeded.


To install Netdata on Ubuntu:

1. You can install netdata on Ubuntu by running the following commands.

$ sudo apt update 
$ sudo apt install netdata 

Press 'y' if confirmation prompted by the installer.

2. Edit netdata configuration file in your favorite text editor.

$ sudo vim /etc/netdata/netdata.conf 

3. After modifying its configuration file, you can Save your file and restart netdata service:

$ sudo systemctl restart netdata 



This article covers how to install docker, pull docker images from docker hub and run an application in a container. Also, you will learn how to create persistent data storage and map with docker containers.

The open-source Docker platform contains a docker engine, a runtime environment that is used to execute, builds, and orchestrates containers. 


Facts about Docker Compose configurations file:

1. version: Compose file version which is compatible with the Docker Engine. You can check compatibility here.

2. image: We use latest Nginx and Certbot images available in Docker hub.

volumes:

3. public: we have configured this directory to be synced with the directory we wish to use as the web root inside the container.

4. conf.d: here we will place the Nginx configuration file to be synced with the default Nginx conf.d folder inside the container.

5. certbot/conf: this is where we will receive the SSL certificate and this will be synced with the folder we wish to inside the container.

6. ports: configure the container to listen upon the listed ports.

7. command: the command used to receive the SSL certificate.


To Start Docker Containers:

You need to pass the -d flag which starts the container in background and leaves them running.

$ docker-compose up -d



This article covers how to install Cockpit on Ubuntu 20.04 system. Cockpit is a free and open source web console tool for Linux administrators and used for day to day administrative and operations tasks. 


To Install the Cockpit package on Ubuntu 20.04 LTS Server, run the command:

$ sudo apt update
$ sudo apt install cockpit -y

Once cockpit package is installed successfully then start its service using the following systemctl command,

$ sudo systemctl start cockpit

Run the following to verify the status of cockpit service,

$ sudo systemctl status cockpit


Features of Cockpit:

Cockpit allows you to perform:

1. Service Management – Start, stop, restart, reload, disable, enable, mask e.t.c

2. User Account Management – Add users, delete, Lock, assign Administrator role, set password, force password change, Add Public SSH keys e.t.c.

3. Firewall Management

4. Cockpit Container management

5. SELinux Policy management

6. Journal v2

7. iSCSI Initiator configurations

8. SOS-reporting

9. NFS Client setup

10. Configure OpenConnect VPN Server

11. Privileged Actions – Shutdown, Restart system

12. Join Machine to Domain

13. Hardware Device Management

14. System Updates for dnf, yum, apt hosts

15. Manage the Kubernetes Node



This article covers how to install and configure a Git server on Ubuntu. Git is basically a Version control system which allows you to keep track of your software at the source level. With Git, You can easily track changes, revert to previous stages, and branch to create alternate versions of files and directories.


To install Git on Ubuntu Server:

1. Run the following commands as sudo user:

$ sudo apt update && sudo apt install git

2. To install the git package on CentOS servers type:

$ sudo yum install git

3. Next, create a new user that will manage the Git repositories:

$ sudo useradd -r -m -U -d /home/git -s /bin/bash git

The user home directory is set to /home/git

All the repositories will be stored under this directory.



This article covers how to install and run Docker Compose on your Ubuntu 20.04 LTS machine. Docker Compose is yet another useful Docker tool. It allows users to launch, execute, communicate, and close containers with a single coordinated command. Essentially, Docker Compose is used for defining and running multi-container Docker applications.


To Install Docker Compose on Ubuntu:

1. Start by updating the default repository to ensure you download the latest Docker Compose:

$ sudo apt update

2. Then, upgrade the system to ensure all local packages and programs are up to date:

$ sudo apt upgrade

3. Then install Docker Compose from the Ubuntu repository by running:

$ sudo apt install docker-compose


To install Install curl on Ubuntu:

To download the binary package using an URL, you need curl. You can check whether you have this command-line utility by typing in the terminal window:

$curl

If the output displays "try 'curl --help' or 'curl --manual' for more information", move on to the next step. 

This message means curl is installed.

However, if the terminal says "command not found", you need to install curl with:

$ sudo apt install curl


To Check Docker Compose Version on Ubuntu:

To verify the installation, check the Docker Compose version by running:

$ docker–compose –version


To uninstall Docker Compose on Ubuntu:

Uninstalling Docker Compose from your Ubuntu system is a simple 3-step process.

1. Delete the Binary

First, delete the binary with the command:

$ sudo rm /usr/local/bin/docker-compose

2. Uninstall the Package

Then, use the apt remove command to uninstall the software:

$ sudo apt remove docker-compose

3. Remove Software Dependencies

Finally, remove the unwanted software dependencies by running:

$ sudo apt autoremove



This article covers how you can easily change the date, time, and timezone in your Debian system. To change your Debian system's timezone, run the sudo timedatectl set-timezone command followed by the long name of the time zone you want to set

Based on your convenience, you can either choose the command line or the GUI method. If you are using Ubuntu OS, you can visit our post on How to Change the Date, Time, and Timezone in Ubuntu 20.04 LTS .


Using the correct timezone is essential for many systems related tasks and processes. 

For example, the cron daemon uses the system's timezone for executing cron jobs, and the timestamps in the log files are based on the same system's timezone.

On Debian, the system's timezone is set during the install, but it can be easily changed at a later time.


To check the Current Timezone:

timedatectl is a command-line utility that allows you to view and change the system's time and date. It is available on all modern systemd-based Linux systems:

$ timedatectl


To modify Change Time Zone in Debian 10 / Debian 9:

1. Using /etc/localtime File. In this method, we will use /etc/localtime (link to the original time zone file) file to set the timezone for your system.

2. Using timedatectl command. In this method, we will use the timedatectl command to change the time zone in Debian.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com