The APT (Advanced Package Tool) is a powerful package management tool for Debian based systems. It provides powerful command-line tool like “apt” or “apt-get”. Which is used to install, upgrade or remove a software package on your Debian system. In this tutorial, you will learn to how to uninstall or remove packages from a Ubuntu or Debian Linux system. How to Remove Packages via Command Line You can use “apt” command line tool for removing packages from your system. For older version of operating systems use “apt-get” command with the same options. Use one of the below options to remove,…
Author: Rahul
The netstat command generates displays that show network status and protocol statistics. It is a cross-platform utility available for Linux, macOS, or Windows systems. Which is very helpful troubleshooting the network configuration and issues. Identifying the application using ports on a system. The latest Linux operating systems have default installed this tool. But some of the minimal installation may not contain this tool in your system. In that case, this tutorial will help you to install netstat command on Linux system. How to Install netstat Command in Linux Generally the net-tools package provides the netstat command for most of the…
Systemd is a software application that provides an array of system components for Linux operating systems. It is the first service to initialize the boot sequence. This always runs with PID 1. This also helps us to manage system and application services on our Linux operating system. We can also run any custom script as systemd service. It helps the script to start on system boot. This can be helpful for you to run any script which required to run at boot time only or to run always. In our previous tutorial we have provides you instructions to run a…
This tutorial will help you to remove the start and ending double quotes from strings in a shell script. Where the string is stored in a variable. Remove Double Quote from a String The sed command line utility helps to easily handle this. A single-line sed command can remove quotes from the start and end of the string. sed -e ‘s/^”//’ -e ‘s/”$//’
pgAdmin is a more advanced alternative to phpPgAdmin. It is the most popular and feature-rich Open Source administration platform for the PostgreSQL database server. Which is available for Linux, Unix, macOS, and Windows operating systems. pgAdmin 4 is the enhanced version and is a complete rewrite of pgAdmin. This includes a desktop version written in NWjs as well as a web application that can be directly deployed on a web server. The desktop version helps you to access it from the local machine, while the web server enables you to access it from a remote system. In this tutorial, you…
PostgreSQL is a powerful, reliable, robust and open source object-relational database system. The latest version of this database system is PostgreSQL 13.2, while versions 12.6, 11.11, 10.16, 9.6.21, & 9.5.25 still getting regular updates. This tutorial describes how to install the latest PostgreSQL on Ubuntu 20.04 LTS Linux system. Also, include the steps to install pgAdmin4. Prerequisites A running Ubuntu 20.04 LTS system with shell access. Log in as a sudo user and press “CTRL+ALT+T” to open a terminal. Then install a few required packages. sudo apt update sudo apt install wget curl ca-certificates Step 1 – Install PostgreSQL in…
In this article you will learn to how to convert a PDF file to Image in Linux command line interface. Pdftoppm converts Portable Document Format (PDF) files to the color image files like PNG, JPG etc. Pdftoppm reads the PDF file and creates one PPM (image) file for each page. Before beginning this tutorial, you must have to install below package on your system. Use one of the following commands to install poppler package # On Ubuntu/Debian & Linux Mint sudo apt install poppler-utils # On CentOS/RHEL & Fedora sudo dnf install poppler-utils # On Arch Linux sudo pacman -S…
CloudFront is an popular caching and content delivery network service provided by the Amazon Web Services. It delivers data to users though its global data centers. CloudFront also make a local cache of content on its servers, which is further uses to quickie fulfill users requests. The Invalidation allows us to remove object(s) from the Cloudfront cache before it expires. It allows you to remove a specific object from cache as well use supported wildcard character to remove multiple objects. You can also remove all the objects from cache by using “/*” parameters to invalidation requests. In this tutorial, you…
Fail2ban is an tool used to improve server security from cyber attacks. It allows you to block remote ip addresses temporary or permanently based on defined settings. It helps you to secure your server and data from attackers. This tutorial decribed you the steps to install Fail2ban on a Debian 10 Buster Linux systems. Also provides you initial configuration with protect SSL using fail2ban. Prerequisites You must have a running Debian 10 system with console access. Login to your system with sudo privileged account. Step 1 – Installing Fail2ban Fail2ban Debian packages are available under the default apt repositories. You…
In the digital age, security is paramount. For Ubuntu server administrators, one of the essential tools to enhance security is Fail2ban. This powerful software aids in preventing unauthorized access by monitoring system logs for suspicious activities and implementing temporary bans on IP addresses that show signs of malicious behavior. This article provides a comprehensive tutorial on configuring Fail2ban in Ubuntu, ensuring your system is better protected against cyber threats. What is Fail2ban? Fail2ban is an intrusion prevention software framework that protects computer servers from brute-force attacks. It monitors log files (e.g., /var/log/auth.log, /var/log/apache/access.log) and temporarily or persistently bans IPs that…