APT Security: What Are Advanced Persistent Threats?

This article covers an overview about APTs. An advanced persistent threat (APT) is among the most dangerous cyber threats a company can face.

These attacks are hard to detect and allow an intruder to hide within a network for months. While hackers stay in the system, a company suffers regular data losses and outages without knowing the cause of problems.

While advanced persistent threats were once considered specifically dangerous to government institutions and large enterprises, the threat landscape is constantly shifting. Now, no organization is safe from these types of attacks. 

Because they are difficult to detect, and remain in systems for long periods of time and cause devastating losses to their targets, it's important to educate ourselves.

Knowing what APTs are, how to recognize common signs of their presence in a network, and of course, staying diligent and having a good detection and response plan are essential in protecting any organization from this silent threat. 


What is difference between APTs and malware?

Most malware executes a quick damaging attack, but APTs take a different, more strategic and stealthy approach. 

The attackers come in through traditional malware like Trojans or phishing, but then they cover their tracks as they secretly move around and plant their attack software throughout the network.


Phases of APT attack:

A successful APT attack can be broken down into three stages: 

1. Network infiltration.

2. The expansion of the attacker's presence.

3. The extraction of amassed data—all without being detected.

Best Ubuntu APT Repository Mirror - How to get it

This article covers methods to find the best APT mirror on the Ubuntu server. 


To Find Best Ubuntu APT Repository Mirror Using Apt-smart:

Apt-smart is yet another command line tool written in Python. It helps you to find APT mirrors that provides best download rate for your location. It can smartly retrieve the mirrors by querying the Debian mirror list, Ubuntu mirror list and Linux mint mirror list and choose best mirror based on the country in which the user lives in. The discovered mirrors are ranked by bandwidth and their status (like up-to-date, 3-hours-behind, one-week-behind etc).

Another notable feature of Apt-smart is it will automatically switch to any other different mirrors when the current mirror is being updated. The new mirrors can be selected either automatically or manually by the user. Good thing is Apt-smart will backup the current sources.list before updating it with new mirrors.


To Install Apt-smart in Ubuntu:

Make sure you have installed Pip and run the following commands one by one to install Apt-smart:

$ pip3 install --user apt-smart
$ echo "export PATH=\$(python3 -c 'import site; print(site.USER_BASE + \"/bin\")'):\$PATH" >> ~/.bashrc
$ source ~/.bashrc


To List all mirrors based on rank:

To list all available ranked mirrors in the terminal, run:

$ apt-smart --list-mirrors

Or,

$ apt-smart -l


To Automatically update mirrors:

Instead of manually finding and updating the best mirror in Ubuntu, you can let Apt-smart to choose a best Apt mirror and automatically update the sources.list with new one like below:

$ apt-smart --auto-change-mirror

To get help, run:

$ apt-smart --help

Delete Repository And GPG Key On Ubuntu Systems

This article covers steps to delete the repository and GPG Key On Ubuntu. All packages are signed with a pair of keys consisting of a private key and a public key, by the package maintainer.

A user's private key is kept secret and the public key may be given to anyone the user wants to communicate.

Whenever you add a new repository to your system, you must also add a repository key so that the APT Package Manager trusts the newly added repository.

Once you've added the repository keys, you can make sure you get the packages from the correct source.


To remove Repository keys:

You can remove the repository key if it is no longer needed or if the repository has already been removed from the system.

It can be deleted by entering the full key with quotes as follows (which has a hex value of 40 characters):

$ sudo apt-key del "D320 D0C3 0B02 E64C 5B2B B274 3766 2239 8999 3A70"
OK

Alternatively, you can delete a key by entering only the last 8 characters:

$ sudo apt-key del 89993A70
OK

Once you have removed the repository key, run the apt command to refresh the repository index:

$ sudo apt update

You can verify that the above GPG key has been removed by running the following command:

$ sudo apt-key list

Ubuntu error Some index files failed to download

This article covers methods to fix #Ubuntu #error "Some index files failed to download". You can resolve this error by copying the contents of the sources list file from another functional Ubuntu system and paste them into your system's sources list file.

To install community-supported #software packages, proprietary packages, and packages not available under a completely free license, you might consider enabling the following repositories:
1. Universe – Community-maintained free and open-source software.
2. Restricted – Proprietary drivers for devices.
3. Multiverse – Software restricted by copyright or legal issues.

To enable these #repositories, invoke the commands below:
$ sudo add-apt-repository restricted
$ sudo add-apt-repository multiverse
$ sudo add-apt-repository universe

Then update your package lists:
$ sudo apt update

GlusterFS install CentOS 7

This article will guide you on the steps to install and setup #GlusterFS. 

GlusterFS is a scalable #network filesystem suitable for data-intensive tasks such as cloud storage and media streaming. 

GlusterFS has a client and #server component. Servers are typically deployed as storage bricks, with each server running a glusterfsd daemon to export a local file system as a #volume.

To install GlusterFS:

1. Have at least two nodes. CentOS 7 on two servers named "server1" and "server2".

2. Format and mount the bricks.

3. Installing GlusterFS.

4. #Iptables configuration.

5. Configure the trusted pool.

6. Set up a GlusterFS volume.

7. Testing the GlusterFS volume.

Captcha Option error in DNN Websites

This article will guide you on how to fix #Captcha Option #error in DNN Websites. We resolved the image not visible error even after enabling the Captcha option by editing the web.config file and checking the ASP.net version in DNN websites. 

#DNN #websites have systematically been targeted for #Spam New User Registrations. There has been some discussion around the how and why, and as much as we can tell, the problem is this:

1. Some script kiddy has bothered to write a bot that finds DNN websites. It is not even a good bot, because it is not capable of validating registrations to automated active email addresses. (If you are the creator of the bot… “YOU ARE DOING IT WRONG” as it is not going to bring the Google results you are looking for.)

2. The bot will attempt access to:  www.yoursite.com /?ctl=Register

Install Flameshot on Manjaro Linux 20 - Step by step guide ?

This article covers how to install Flameshot on Manjaro Linux 20.

Different methods to Install Debian (.deb) Package

This article covers how to install Debian (.deb) packages on Debian 11 Linux system. In fact, A file ending with ".deb" is called a Debian Software Package file, and it’s used to install apps on Linux. DEB files are used only in Debian-based Linux distributions like Ubuntu and its various flavors, Pop!_OS, Linux Mint, and others.

Install RPM packages on Ubuntu 20.04 LTS - Step by step guide ?

This article covers how to install RPM on Ubuntu through different ways using the Alien package converter. In fact, It is better to prefer installing the packages from the default repositories or using the deb packages available at the official websites.


How To Uninstall rpm from Ubuntu 21.04 ?

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

$ sudo apt-get remove rpm

Install Tor on Ubuntu 20.04 - Step by step guide ?

This article covers how to install tor on Ubuntu 21.10. In fact, Tor is a connection-based low-latency anonymous communication system. Basically, Tor provides a distributed network of relays. Users bounce their TCP streams (web traffic, ftp, ssh, etc) around the relays, and recipients, observers, and even the relays themselves have difficulty learning which users connected to which destinations.

Install qt on Ubuntu 20.04 - Step by step guide ?

This article covers the installation of the Qt framework on the Ubuntu 20.04 system. In fact, Using QtCreator, we can develop different applications that use the graphical user interface. 

Install Git on Ubuntu 20.04 - Step by step guide ?

This article covers how to easily install Git on the Ubuntu 20.04 system. In fact, GIT is for developers that need a pretty straightforward version control system. Most software is collaborative efforts and sometimes can have hundreds of people with commits working on software development projects. It’s essential to track these commits customarily done in branches in most projects before merging into the master for release. It is easy to review and track down any incorrect commits and revert, leading to a much easier development if anything goes wrong.


How to Check Git Version ?

You can check to see what version of git you are currently running, if any, with the following command:

$ git --version

Install Firefox on Debian 11 - Step by step guide ?

This article covers how to install the latest version of Mozilla Firefox browser on Debian 11 system. In fact, firefox is Safe and easy web browser from Mozilla Safe and easy web browser from Mozilla.

Enable SSH on Ubuntu 20.04 - Step by step guide ?

This article covers how to enable ssh on Ubuntu 20.04 LTS Linux system. In fact, the idea behind using SSH is to establish a secure connection with another computer in the network. However, the remote computer must have a running SSH server, otherwise, we won't be able to connect it using command or SSH client from our local computer.


How to Generate Public and Private Keys for SSH ?

  • Open command line- Terminal or Prompt on your local system.
  • Enter SSH key generator command that will generate the  key ssh-keygen.
  • Hit the Enter key.
  • (optional) Then you can enter a password in order to add an additional barrier when establishing the connection. Otherwise, simply press the Enter key two times, if you don't want the system to ask for an additional password query.
  • Ultimately, two files are created in the hidden directory ".ssh" under your user directory: "id_rsa" and "id_rsa.pub". The "rsa" in the file name stands for the cryptography used, but you don't have to worry about it. The file extension "pub" stands for "Public", so it is the public key. Whereas the file without any extension is your private key.

Install LAMP in Ubuntu 20.04 - Step by step guide ?

This article covers how to install LAMP on Ubuntu 20.04 and run the Apache module of the PHP. In fact, PHP code can be executed via the Apache web server; PHP module of Apache and PHP-FPM.

Methods to Remove PPAs Package Added in Ubuntu Linux system

This article covers the different methods to remove packages in Ubuntu Linux. 


How to use PPA ?

Ubuntu provides a platform called Launchpad that enables software developers to create their own repositories. An end user i.e. you can add the PPA repository to your sources.list and when you update your system, your system would know about the availability of this new software and you can install it using the standard sudo apt install command like this.

To summarize:

  • $ sudo add-apt-repository <PPA_info> <– This command adds the PPA repository to the list.
  • $ sudo apt-get update <– This command updates the list of the packages that can be installed on the system.
  • $ sudo apt-get install <package_in_PPA> <– This command installs the package.


A repository is a collection of files that has information about various software, their versions and some other details like the checksum.

Each Ubuntu version has its own official set of four repositories:

  • Main – Canonical-supported free and open-source software.
  • Universe – Community-maintained free and open-source software.
  • Restricted – Proprietary drivers for devices.
  • Multiverse – Software restricted by copyright or legal issues.

Install Snort on Ubuntu 20.04 - Step by step guide ?

This article covers how to install Snort on Ubuntu 20.04. In fact, Snort monitors the package data sent and received through a specific network interface. NIDS can catch threats targeting your system vulnerabilities using signature-based detection and protocol analysis technologies. NIDS software, when installed and configured appropriately, can identify the latest attacks, malware infections, compromised systems, and network policy violations.

Install SQLite on Debian 11 - Step by step guide ?

This article covers how to install the latest version of SQLite on Debian 11 Bullseye. In fact, SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. 

How does sudo apt-get update work in Ubuntu / Debian Linux system ?

This article covers the sudo apt-get update command which is useful for all beginners and Linux users. In fact, To explore more about this command, run the apt-get update or apt update command on your Linux system. 


What does sudo apt-get upgrade command do?

  • The sudo apt-get update command is used to download package information from all configured sources.
  • The sources often defined in /etc/apt/sources.list file and other files located in /etc/apt/sources.list.d/ directory.
  • So when you run update command, it downloads the package information from the Internet. It is useful to get info on an updated version of packages or their dependencies.


How to Run sudo apt-get update command to update package index ?

Simply type apt-get command or apt command:

$ sudo apt update

OR

$ sudo apt-get update

Install LAMP Stack on AlmaLinux 8 - Step by step guide ?

This article covers how to install LAMP (Apache, MariaDB, and PHP) Stack on your AlmaLinux 8 system. In fact, LAMP compromises a web server ( Apache ), a database server ( MariaDB or MySQL ), and the PHP scripting language which supports dynamic web pages written in PHP. 

Install Telnet Server and Client on Ubuntu 20.04 LTS - Step by step guide ?

This article covers how you can easily install the Telnet server and client on your Ubuntu machines. In fact, Telnet is a command protocol that allows a user to connect to a remote host. It makes use of TCP/IP protocol to establish a connection with the remote computer.


The general format of the telnet command is:

telnet [hostname/ipaddress] [port number]


How to install telnet on AlmaLinux / Rocky Linux / CentOS / Fedora ?

Telnet command can be installed using YUM in all CentOS and Fedora distributions.

1. Execute the below command to install telnet:

# yum -y install telnet

2. Verify that the command is installed successfully:

# telnet localhost 22


How to install telnet on Ubuntu / Debian ?

Telnet command can be installed both in Ubuntu and Debian systems using the APT command.

1. Execute the below command to install telnet:

# apt-get install telnet

2. Verify that the command is installed successfully:

# telnet localhost 22

Install Nvidia Drivers on Ubuntu 20.04 LTS - Step by step guide ?

This article covers the complete procedure of installing Nvidia Drivers on your Ubuntu 20.04 LTS Focal Fossa system. In fact, Nvidia GPUs (graphics processing units) have exceptional parallel computing potential, much higher than that of CPUs. 


How to Install Nvidia Driver via Command Line on Ubuntu?

1. Search for Nvidia Drivers

Begin by Opening the terminal by pressing Ctrl+Alt+T or search for "terminal" in the Applications menu. Then, Run the following command:

$ apt search nvidia-driver

The output will display a list of available drivers for your GPU.


2. Update the System Package Repository

Before installing the driver, make sure to update the package repository. Run the following commands:

$ sudo apt update
$ sudo apt upgrade


3. Install the Right Driver for Your GPU

First, Choose a driver to install from the list of available GPU drivers. The best fit is the latest tested proprietary version. The syntax for installing the driver is:

$ sudo apt install [driver_name]

Here, we installed nvidia-driver-340, the latest tested proprietary driver for this GPU, so the command to run would be:

$ sudo apt install nvidia-driver-340


4. Reboot the System

Reboot your machine with the following command:

$ sudo reboot

Install Plex Media Server on Linux Mint 20 - Step by step guide ?

This article covers how to install Plex Media Server on Linux Mint 20. In fact, Plex is a streaming media server which enables one to store all the media content in one server and use a client to access them from another computer or a mobile device. 

Install ADB and Fastboot on Ubuntu 20.04 LTS - Step by step guide ?

This article covers the process to install the ADB and Fastboot on Ubuntu 20.04 LTS Focal Fossa system. In fact, ADB or Android Debug Bridge is a command-line utility that lets us control an android device from the computer itself. Its part of Google Android SDK & can be used to run shell commands or to copy the files to & from the device & also to install or remove the applications from the device.

Fastboot is basically a diagnostics mode that is used to modify the Android file system from the computer when the android device is in bootloader mode. It’s an alternative to recovery mode & is normally used to perform updates or to perform installations.



How to install ADB & Fastboot on Ubuntu systems ?

1. To install both the ADB & Fastboot, execute the following command from the terminal:

$ sudo apt-get install android-tools-adb android-tools-fastboot

2. Once the installation has been finished you can check the ADB version by running the following command:

$ adb version

Install Make on Ubuntu 20.04 - Step by step guide ?

This article covers how to install make on Ubuntu 20.04. In fact, Make package is an utility for directing compilation of system Software.


How to Fix the "make: command not found" Error in Ubuntu ?

1. Before fixing the error, first, you need to verify if make is installed on your system. To do so, use the ls function to check the content of the /usr/bin/make directory:

$ ls /usr/bin/make

2. Further on, check if you are able to execute the command with its absolute path:

/usr/bin/make --version

3. If the above methods don't work and display an error, then your system doesn't have make installed.

4. Update your system's repository list using APT:

$ sudo apt-get update

5. Then, install the make command:

$ sudo apt-get install -y make

6. If the aforementioned commands don't work, you can install make by downloading the build-essential package, as follows:

$ sudo apt install build-essential

The build-essential package consists of all the necessary packages related to package building and compilation. The make command is a part of these packages.

Install Perl on Ubuntu 20.04 - Step by step guide ?

This article covers how to install Perl on Ubuntu 20.04. In fact, Perl is a general-purpose, high-level, interpreted programming language. It is the acronym of Practical Extraction and Reporting Language, initially, Perl was designed as a scripting language to make report processing easier.


How to install Perl in Ubuntu ?

1. Refresh the local package repository and upgrade all packages to a newer version:

$ sudo apt update && sudo apt upgrade -y

2. Once your system gets updated, use the following command to install Perl in your system:

$ sudo apt install perl

Best Open-source Screenshot Tools for Ubuntu – How to Install and Use?

This article covers the best open source screenshot tools for Ubuntu Linux system. In fact, Screenshots come in handy especially when you want to illustrate or demonstrate something to a colleague or a friend or student. Most Linux distributions, including Ubuntu, come with their default screenshot tools. 

Install Chromium Browser on Ubuntu 20.04 - Step by step guide ?

This article covers the complete procedure of installing chromium on Ubuntu 20.04. In fact, In fact, Popular browsers like Google Chrome, Microsoft Edge, Opera, Vivaldi, and Brave, to name a few, are all based on Chromium. 

Chromium browser is different from Chromium OS. But they both are maintained by the Chromium Project.



How to Install Chromium on Ubuntu Graphically ?

1. Start the Ubuntu Software Center.

2. Search for Chromium Browser and click on the appropriate result.

3. Click on Install.

4. Wait for the installation to finish. Once completed, you will see the "Remove" button.

5. Start Chromium via the Application menu.


How to uninstall Chromium from Ubuntu ?

You can uninstall Chromium browser graphically through the Ubuntu Software center or using the below commands:

1. To uninstall chromium using apt run the following command:

$ sudo apt remove chromium-browser

2. To uninstall chromium using snap run the following command:

$ sudo snap remove chromium

Install Metasploit Framework on Ubuntu 20.04 - Step by step guide ?

This article covers how to install Metasploit Framework on Ubuntu 20.04 LTS OS. In fact, the Metasploit Framework is an open-source project that provides public resources for vulnerability research and code development. It allows security professionals to detect intrusions into their network and identify threats and vulnerabilities in various areas such as software, systems, or networks. Metasploit comes jam-packed with existing exploits but gives the framework to create your own custom exploits.


How to Access Metasploit Console ?

Metasploit provides a command-line utility called mfconsole to manage the Metasploit. You can access it using the following command:

$ msfconsole

You should see the Metasploit console.


Now, run the following command to show all available commands in msfconsole:

$ help

To display all available exploits, run the following command:

$ show exploits

To display all available payloads, run the following command:

$ show payloads

To show more information of any exploit, run the following command:

$ info exploit exploit-name

To show more information of any payload, run the following command:

$ info payload payload-name

To set the specific payload for your exploit, run the following command:

$ set PAYLOAD windows

To display all available target operating systems that can be exploited, run the following command:

$ show targets

To set your target's IP address, run the following command:

$ set RHOST target-ip-address

To set the local IP address for the reverse communications, run the following command:

$ set LHOST ip-address

Install PeaZip archive on Ubuntu 20.04 / LinuxMint / Debian Linux Distributions - Step by step guide ?

This article covers how to install the PeaZip utility on the Ubuntu 20.04 system as well as on LinuxMint and Debian distribution. In fact, PeaZip is a file archiving and managing utility. It is a free software utility that deals with approximately 180 formats of file archives. It is based on many open source technologies, essentially 7-zip, p7zip, FreeArc, as well as PEA projects.

Now, you can add compressed files and extract them using this tool. 

Install Cuda on Linux Mint 20 - Step by step guide ?

This article covers the process of installing Cuda on your Linux Mint 20 system. In fact, the Nvidia CUDA toolkit is an extension of the GPU parallel computing platform and programming model.

Install Vivaldi Browser on CentOS 8 - A step by step guide ?

This article covers the process of installing Vivaldi Web Browser on CentOS 8 systems. In fact, Vivaldi web browser is created for speed, privacy and secure browsing experience by blocking ads and trackers.

Install Puppet on Ubuntu 20.04 LTS - A step by step guide ?

This article covers the process of installing the Puppet on 20.04 LTS Focal Fossa system. In fact, Puppet is a free and open-source automated administrative engine for Linux, Unix, and Windows operating systems. It is used for deploying, configuring, and managing servers and performs administrative tasks such as adding users, installing packages, and many more.

Furthermore, It helps system admins to free up time and mental space by automating tasks on thousands of physical and virtual machines. It uses a client-server model. Where Puppet master controls configuration information for Puppet agents while Puppet agents talk to and pull down configuration profiles from the Puppet master.

For additional help or useful information, we recommend you to check the official Puppet website.

Install Telegram on Linux Mint 20 - A step by step process ?

This article covers the process of installing Telegram on Linux Mint 20. In fact, Telegram is a free and open-source instant messaging app that values user’s privacy and data encryption, which means as compared to Whatsapp all your messages will be on the company’s secure cloud in an encrypted form rather than on a local device. it is available for every mobile platform, Android, iOS, Windows Phone, Ubuntu Touch. Earlier it was not officially available for Desktop but recently developers have released it for Linux, Windows, and Mac OS desktop.

Install Node.js and Npm in Ubuntu - Step by step Process ?

This article covers the different ways to install Node.js in your Ubuntu system. Node.js is a popular back-end JavaScript runtime used for creating web servers and scalable network apps. The environment supports server-side scripting - producing dynamic content for web pages before they are served to the user.

NPM is a package manager for JavaScript and the default package manager for Node.js. As such, NPM is installed alongside Node.js as a recommended feature.

Install Strace on Linux Mint 20 - Step by step process ?

This article covers how you can install and use Strace very conveniently on your Linux Mint 20 system. In fact, Strace is a very powerful Troubleshooting tool for tracing system calls.

Install Prometheus on Ubuntu 20.04 LTS - Step by step process ?

This article covers the process of installing Prometheus open-source monitoring Software on your Ubuntu 20.04 LTS (Focal Fossa). In fact, Prometheus uses visualization tools like Grafana, which uses PromQL, a flexible query language to fetch data for monitoring and analysis.

To learn more about Prometheus, please see the official documentation.

Clear apt-cache on Debian 10

This article covers how to clear the cache created by apt in a completely safe way. It is faster and simpler than manually deleting the cache directory. apt (Advanced Packaging Tool) is the package installation and dependency management tool in Debian and other Debian-based distributions. It works on top of 'Dpkg' which is nothing but the Debian package installer.

The way apt installs packages is: it downloads the package for the required software, and additionally it downloads the packages for all the dependencies for the required software.

Install KeePass on Linux Mint 20

This article covers how you will be able to install the KeePass password manager on your Linux Mint 20 system. In fact, offers encryption algorithms AES-256, multiple User Keys,

Portable version for Windows 10/7/8; Auto-Type, Global Auto-Type Hot Key, and Drag & Drop of passwords. The user can export saved passwords to TXT, HTML, XML, and CSV Files. If you are using LastPass, Bitwarden, Dashlane, AnyPAssword, Code wallet, and many others, then importing passwords from them is also possible in KeePass.

KeePass password manager can also be used very efficiently with the Windows, macOS, iOS, or even Android operating systems.


How to Create Database for Keepass ?

If you already have a password database somewhere else then we can import them to Keepass. For that, click on the File and then Import option. However, if you want to start from scratch then we need to create a database file here on the software:

  • To create a KeePass database, click on the File option in the menu and select "New".
  • You can use the default location to save the Database given by the application or choose the one you want.
  • Give some name to your database.
  • Create a Master password that will use to encrypt the database.
  • And the application is ready to use.
  • After that, you can either add a new Password Entry manually into the database of KeePass to save your login information.

Install and Use FFmpeg on Debian 11

This article covers how to install and use the FFmpeg multimedia framework on Debian 11 bullseye distribution. In fact, FFmpeg is a cross-platform solution for streaming audio and video as well as recording and conversion. With FFmpeg, you can convert between various video and audio formats, set sample rates, capture streaming audio/video, and resize videos.


How to Install FFmpeg on Debian ?

1. Log in to SSH and Update Debian package lists:

$ sudo apt update

2. Install FFmpeg with the apt package manager:

$ sudo apt install ffmpeg

3. Check the installed FFmpeg version:

$ ffmpeg -version

Install Brave Browser on Debian 11 bullseye

This article covers How to Install Brave Browser on Debian 11. In fact, Brave is an open-source privacy-focused Internet web browser, which distinguishes itself from other browsers by automatically blocking online advertisements and website trackers in its default settings. 

Install LAMP Server on Debian 11

This article covers a step-by-step procedure of how you can install LAMP stack on the Debian 11 Bullseye server. In fact, LAMP is a popular opensource stack that stands for Linux Apache MySQL/MariaDB and PHP. It’s mostly used by front-end and back-end developers to test and host a website. The stack comprises of 3 components. First, we have  Apache, which is a web server. Then we have Mariadb, which is a fork of MySQL and PHP which is a server-side scripting language. All the components are absolutely free and opensource.


How to Install Apache webserver on your Linux system ?

1. To get started, log into your server instance and update the package lists with the below command:

$ sudo apt update

2. Once your packages are up to date, install the Apache webserver with the below command:

$ sudo apt install apache2 apache2-utils

3. Once installed, verify the status of apache to see if it is running, by executing the command:

$ sudo systemctl status apache2

4. If apache is not running, you can start and enable it on boot using the commands:

$ sudo systemctl start apache2
$ sudo systemctl enable apache2

Install Oracle Java 16 On Ubuntu 18.04 / 20.04 / 21.04 - A step by step Process ?

This article covers the right steps to successfully install Oracle Java 16 on Ubuntu 20.04. In fact, The Java JDK (Java Development Kit) is a software development environment used for developing Java Applications. The JDK is a collection of programming tools, notably JRE (Java Runtime Environment), Java (Loader for Java Application), Javac (Compiler), Jar (Archiver), etc. You can now proceed and start developing your Java applications with the enhanced features provided with the latest Java 16 version.

To Check the java version Installed on the system, sumply issue the following command:

$ java -version


How to Set Default Java Version on Ubuntu Linux system ?

1. You can Use the alternatives command to set the default java version.

Simply run the below command on the terminal:

$ sudo update-alternatives --config java

Then you will be given an output such as this to Select Java:

There are different choices for the alternative java (providing /usr/bin/java).


  Selection    Path                                         Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java   1111      auto mode
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java   1111      manual mode
  2            /usr/lib/jvm/jdk-11.0.12/bin/java             2         manual mode
  3            /usr/lib/jvm/jdk-16.0.2/bin/java              1         manual mode
* 4            /usr/lib/jvm/jdk1.8.0_301/bin/java            3         manual mode
Press  to keep the current choice[*], or type selection number: 1

2. Then, Enter the number below the selection column to set the default Java version and press Enter button to proceed.

Install GDebi on Linux Mint 20 - A step by step guide ?

This article covers the installation procedure of the GDebi tool on a Linux Mint 20 system. In fact, Gdebi is a lightweight deb packages installer is default in Ubuntu Desktop. It help you to Install and Manage Packages you downloaded from 3rd Party sites and Software centre.


How to Install GDebi through Command Line ?

If you don't have gdebi installed you'll get the below error:

$ sudo gdebi command not found

1. Update the APT Repository:

$ sudo apt-get update

2. Install Gdebi now:

$ sudo apt-get install gdebi

Install Pip on Ubuntu 18.04 System - Step by Step Procedure ?

This article covers how to install PIP on Ubuntu 18.04 for Python 3 and Python 2. In fact, PIP is the default package manager for Python packages which allows you to install, and manage Python packages in an easy and convenient manner. 


How to Install pip for Python3 ?

Pip3 can be installed on Ubuntu using the APT package manager. 

1. To start off, update the package lists as shown:

$ sudo apt update

2. To install pip3 run the command:

$ sudo apt install python3-pip

3. Verify that pip3 is installed by running the command:

$ pip3 --version


For assistance on more command options and usage of pip3, run the below command:

$ pip3 --help

Install CUDA on Ubuntu 20.04 - Step by Step Process ?

This article covers how to install CUDA on Ubuntu 20.04.

To install CUDA on Ubuntu,  execute the following commands:

$ sudo apt update
$ sudo apt install nvidia-cuda-toolkit

To Check your CUDA version, run the below command:

$ nvcc --version

Install ROS Noetic on Ubuntu 20.04 LTS - Step by Step Process ?

This article covers how to install ROS Noetic on Ubuntu 20.04 LTS. ROS (Robot Operating System) is an open-source project that provides a framework and tools for robotics applications. It helps to design complex software without knowing how certain hardware works.

Use Netflix on Ubuntu 20.04 - Easy way to do it ?

This article covers how you can enjoy your TV shows and Movies using Netflix on Ubuntu 20.04. You can simply install Google Chrome and start watching Netflix without any additional tools and requirements.

Install LAMP Stack on Rocky Linux 8 - Step by Step Process ?

This article covers how to install LAMP stack on Rocky Linux 8.4. You can now proceed to test or host your website and applications. A LAMP 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 Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP.


How to Install  and configure Apache Web Server ?

1. First, we will start by installing the Apache web server. To complete the installation, use the following command:

$ yum install httpd httpd-tools

2. Once the installation is complete, enable Apache (to start automatically upon system boot), start the web server and verify the status using the commands below:

$ systemctl enable httpd
$ systemctl start httpd
$ systemctl status httpd

3. To make your pages available to public, you will have to edit your firewall rules to allow HTTP and HTTPS requests on your web server by using the following commands:

$ firewall-cmd --permanent --zone=public --add-service=http 
$ firewall-cmd --permanent --zone=public --add-service=https 
$ firewall-cmd --reload
4. Verify that the web server is running and accessible by accessing your server’s IP address:
$ echo "Hello there, Apache webserver is now running" > /var/www/html/index.html

5. And restart tht Web Server to reflect the changes made:

$ systemctl restart httpd

From your browser,

http://IP_address


How to Install PHP on CentOS ?

1. To install PHP on your RHEL 8 use the command below:

$ yum install -y php-mysqlnd php-dom php-simplexml php-xml php-xmlreader php-curl php-exif php-ftp php-gd php-iconv  php-json php-mbstring php-posix php-sockets php-tokenizer

2. Now restart your web server so that Apache knows that it will be serving PHP requests as well:

$ systemctl restart httpd

Use tcpdump Command in Ubuntu 20.04 - Best Method ?

This article covers how to use the tcpdump command for troubleshooting and analyzing the network on your Linux system. tcpdump is the world's premier network analysis tool—combining both power and simplicity into a single command-line interface.

Basically, tcpdump is a valuable tool for anyone looking to get into networking or information security.

The raw way it interfaces with traffic, combined with the precision it offers in inspecting packets make it the best possible tool for learning TCP/IP.

Protocol Analyzers like Wireshark are great, but if you want to truly master packet-fu, you must become one with tcpdump first.

Clear Apt Cache on Ubuntu 20.04 - Best Method ?

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.

Install GIMP on Ubuntu 20.04 - Best Method ?

This article covers the different methods to install GIMP on Ubuntu 20.04 system. Also, we have also elaborated on how to launch and remove GIMP from the system. With GIMP, you can perform almost any image editing task, from the simplest task to the most complex image manipulation technique.  Gimp can be used for photo retouching, image composition, and image authoring.


How to remove GIMP on Debian / Ubuntu ?

To completely remove the GIMP package from your system, run the following command:

$ sudo apt purge gimp
$ sudo apt clean

Next, remove the ~/.gimp directory in your home directory to get rid of the profile settings.

Top 5 Best Open-Source Screenshot Tools for Linux

This article covers the best functioning and currently available screenshot tools enabling Linux users across the globe. There are many screenshot tools, however, not all come with the open-source functionality that despite enabling the user to modify and adjust the tool according to their needs and requirements, also help to enhance and improving the performance and feature set of the too, thereby enabling every user of the tool. 

Therefore, the discussed tools are free and open-source which offer unlimited access to features and functionalities and ever enhancing the platform’s functionalities and performance.

To capture the entire desktop, simply press the PrtScr button. Captured images are saved in the 'Pictures' folder. Another easy way of capturing screenshots is using the SHIFT + PrtScr keyboard combination. This reveals a crosshair pointer that you can drag to grab the area that you wish to capture.

Enable SSH on Ubuntu 18.04 System - How to do it ?

This article covers how to install and Enable SSH service on Ubuntu 18.04 system. You can now login remotely to your server using any SSH client from Linux or Windows system. To increase security of SSH connection by Changing default SSH port to custom one on you system. Get more details about SSH server from official SSH site.

When establishing a remote connection between a client and a server, a primary concern is ensuring security. For Linux users, the best practice of accessing and managing your server remotely is through the cryptographic protocol known as Secure Shell (SSH).


How to Enable SSH on Ubuntu ?

1. To install SSH, first update the package repository cache with:

$ sudo apt-get update

2. Now install the OpenSSH software package by entering:

$ sudo apt-get install openssh-server

If prompted, type in your password and press y (yes) to permit the installation.

3. To verify the installation was successful and SSH is running use the command:

$ sudo service ssh status

The confirmation message that you are looking for is: Active: active (running).

Install phpMyAdmin with Apache on Debian 9 - Step by Step Process ?

This article covers step by step process to Install and Configure phpMyAdmin with Apache on Debian 9 system. The phpMyAdmin utility is a graphical database management tool. By installing phpMyAdmin, you no longer need to use a default command-line interface to manage your databases.


To install wget:

1. Access your terminal window, and update your software package lists using the following command:

$ sudo apt update

2. The wget utility allows you to download files directly from the terminal window. Enter the following command to install the wget tool:

$ sudo apt install wget -y


To install Apache on Debian:

1. Open a terminal window, and install Apache by entering the following command:

$ sudo apt install apache2 -y

2. Enter the following command to make sure the Apache service is running:

$ systemctl status apache2

In the output, you should see a green status that says active (running).


To Install PHP on Debian 10:

1. Install core PHP packages and Apache and MySQL plugins with the following command:

$ sudo apt install php php-cgi php-mysqli php-pear php-mbstring php-gettext libapache2-mod-php php-common php-phpseclib php-mysql -y

2. Once the installation process is complete, verify that PHP has been installed:

$ php --version

The system displays the current version of PHP, along with the date of the release.

Install Apache on Ubuntu 18.04 - Step by Step Process ?

This article covers how to successfully install Apache on your Ubuntu 18.04 server. The Apache HTTP server is the most widely-used web server in the world. It provides many powerful features, including dynamically loadable modules, robust media support, and extensive integration with other popular software.


To install Apache on Ubuntu:

1. Update your local package index:

$ sudo apt update

2. Install the apache2 package:

$ sudo apt install apache2

Install LAMP Stack on Ubuntu 18.04 - Step by Step Process ?

This article covers step by step process to install a LAMP stack on an Ubuntu 18.04 server. LAMP stack is a group of open-source software that is typically installed together to host dynamic websites. LAMP stands for Linux OS, with Apache web server, Data store in a MySQL database, and dynamic content is processed by PHP.


To Install Apache and Update the Firewall.

1. Install Apache using Ubuntu’s package manager, apt:

$ sudo apt update
$ sudo apt install apache2

2. Allow incoming HTTP and HTTPS traffic for this profile:

$ sudo ufw allow in "Apache Full"

Install Synaptic Package Manager on Linux - Step by Step Process ?

This article covers how to install the synaptic package manager on a Linux distribution of your choice and hence make the package management process all the more easier.

Synaptic is a lightweight GUI front end to apt package management system used in Debian, Ubuntu, Linux Mint and many other Debian/Ubuntu based distributions.


Main Features of Synaptic Package Manager:

1. install, remove, and upgrade packages.

2. upgrade your whole system.

3. search and filter the list of available packages.

4. perform smart system upgrades.

5. fix broken package dependencies.

6. edit the list of used repositories (sources.list).

Install Imagemagick on Linux Mint 20 - Step by Step Process ?

This article covers how to install Imagemagick on your system very conveniently and use it for editing your images.
However, you can also uninstall this tool from your system very easily at any time by following the tip that we have shared.
ImageMagick is a free and open-source application through which we can manage (i.e. create/edit/convert etc.) raster graphics. ImageMagick is typically used from command line.
Also we can use it from any programming language by using its interface like Magick.NET (.Net),IMagick (PHP), PerlMagick (Perl) etc.

To Install ImageMagick on Ubuntu 20.04 LTS:
1. First, make sure that all your system packages are up-to-date by running these following apt commands in the terminal.

$ sudo apt update
$ sudo apt upgrade

2. Install ImageMagick on Ubuntu system.

$ sudo apt install imagemagick

Install Amazon Web Service CLI on Linux Mint 20 - Step by Step Process ?

This article covers how to install the AWS CLI very conveniently on your Linux Mint 20 system and use it for managing the Amazon Web Services very efficiently.
The AWS or Amazon Web Service command line interface is a command line tool for manage our Amazon web services.
AWS CLI provides direct access to the Amazon Web Services public API.
As it is a command line tool, it can also be used to create scripts to automate your Amazon web services.

To the AWS CLI on Ubuntu With APT:
1. First we update the package listing cache with the following command in the terminal (Ctrl + Alt + T):

# sudo apt-get update

2. Now we are going to install the AWS CLI using the command:

# sudo apt-get install awscli

3. We will can check if AWS CLI is working correctly with the following command:

# aws --version

Install MongoDB on Ubuntu 20.04 LTS - Step by Step Process ?

This article covers how to install MongoDB on Ubuntu 20.04 LTS using either the apt package manager or by downloading and installing through the archive. For more information, visit MongoDB's official documentation.


MongoDB is an open-source and cross-platform document-oriented database system written in C++. It stores data in collections of JSON-like, flexible documents and used to create powerful websites and applications. 

Due to its scalability and high performance, it is used for building modern applications that require powerful, mission-critical and high-availability databases.


To Configure MongoDB on Ubuntu:

MongoDB default configuration file is located at /etc/mongod.conf

By default, each user will have access to all databases and perform any action. 

For production environments, it is recommended to enable the MongoDB authentication.

i. You can do it by editing the file /etc/mongod.conf:

$ nano /etc/mongod.conf

2. Add the following lines:

security:
  authorization: enabled

3. Save and close the file then restart the MongoDB service to apply the changes:

$ systemctl restart mongod


Advantages of MongoDB:

1. Absence of a schema

2. Based on the collections of various documents

3. A clear structure of every object

4. Highly scalable

5. Internal memory is used to store data, which lets us get data faster.

6. Data is stored as JSON objects.

7. MongoDB supports document-based queries

Install Skype on Debian 10 - Step by Step Process ?

This article covers how to easily install Skype on Debian 10. Skype is one of the most popular communication applications in the world.

It allows you to make free online audio and video calls and affordable international calling to mobiles and landlines worldwide.


To Skype on Debian Linux System:

Perform the following steps as root or user with sudo privileges to install Skype on your Debian Buster:

1. Open your terminal and enter the following wget command to download the latest Skype deb package:

$ wget https://go.skype.com/skypeforlinux-64.deb

2. Once the download is complete, install Skype by typing:

$ sudo apt install ./skypeforlinux-64.deb

That's it. Skype has been installed on your Debian desktop, and you can start using it.

Install Apache Maven on Ubuntu 20.04 - Step by Step process ?

This article covers methods to easily install Apache Maven on the Ubuntu system. You will also learn how to uninstall Apache Maven from Ubuntu if you ever need to do so.

Apache Maven is a free and open-source project management tool primarily for Java projects. It is based on POM and also used to build and manage projects written in C#, Ruby, Scala, and others.


To Install Apache Maven on Ubuntu:

1. Apache Maven is based on Java. So Java must be installed in your server. You can install the Java using the following command:

$ apt-get install default-jdk -y

2. By default, Apache Maven is available in the Ubuntu 20.04 default repository. You can install it with the following command:

$ apt-get install maven -y

3. Once the installation is completed, you can verify the Apache Maven version with the following command:

$ mvn -version

Install TeamViewer on Debian 10 - Step by Step process ?

This article covers how to install TeamViewer on Debian 10. TeamViewer is a cross-platform application that can be used for remote control, desktop sharing, online meetings, and file transfer between computers.


To install TeamViewer on Debian:

TeamViewer is proprietary computer software, and it is not included in the default Debian repositories.

TeamViewer maintains its own APT repository from which we’ll install the package, and update it when a new version is available.

1. Download TeamViewer

Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.

Use wget to download the latest TeamViewer .deb package:

$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

2. Install TeamViewer

Install the downloaded .deb package by typing the following command:

$ sudo apt install ./teamviewer_amd64.deb

When prompted Do you want to continue? [Y/n], type Y to continue the installation.

Install Go on Ubuntu 20.04 - Step by step process to do it ?

This article covers how to install Go on your Ubuntu 20.04 machine. Now you can start programming Go language. Go is a popular programming language created by Google. 

Many modern applications such as Docker, Kubernetes, and Caddy are written in Go.


To install Go on Ubuntu:

1. Use curl or wget to download the current binary for Go from the official download page. As of this writing, the current version is 1.12.9. 

Check the download page for updates, and replace 1.12.9 with the most recent stable version if necessary:

$ curl -O https://storage.googleapis.com/golang/go1.12.9.linux-amd64.tar.gz

Verify the .tar file using sha256sum:

$ sha256sum go1.12.9.linux-amd64.tar.gz

3. Extract the tarball:

$ tar -xvf go1.12.9.linux-amd64.tar.gz

4. Adjust the permissions and move the go directory to /usr/local:

$ sudo chown -R root:root ./go
$ sudo mv go /usr/local

Install Docker Compose on Ubuntu 20.04 - Step by step process to perform it ?

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

List Installed Packages in Ubuntu 20.04 - How to perform this task ?

This article covers how you can list installed packages on Ubuntu 20.04 LTS system. Also, you can also filter a specific package from the list and count the number of installed packages on your system.


You can list all installed packages with apt command or apt-get command on Ubuntu Linux.

You need to use the apt or apt-get or dpkg command to list all installed packages on an Ubuntu Linux server from the bash shell prompt.


To see what packages are installed on Ubuntu Linux:

1. Open the terminal application or log in to the remote server using ssh (e.g. ssh user@sever-name).

2. Run command apt list --installed to list all installed packages on Ubuntu.

3. To display a list of packages satisfying certain criteria such as show matching apache2 packages, run apt list apache.


To List all installed packages only:

The apt command displays both installed and packages available to install:

$ apt list --installed


To list or find out if a specific package installed or not:

Run package policy as follows:

$ apt list -a pkgNameHere

Install Mozilla Firefox on Ubuntu 20.04 - How to do it ?

This article covers how to install the Mozilla Firefox browser on the Ubuntu system. Mozilla Firefox is the official Internet browser for Ubuntu, therefore, most Ubuntu distros have it installed by default.

If your system lacks this browser due to any reason or if you have accidentally deleted it, we will tell you how to install it on your Ubuntu.


To update Firefox on Linux:

1. Click the menu button , click. Help and select About Firefox. On the menu bar click the Firefox menu and select About Firefox.

2. The About Mozilla Firefox Firefox window opens. Firefox will check for updates and download them automatically.

3. When the download is complete, click Restart to update Firefox.


To Delete Firefox and all it's data from Ubuntu:

1. run sudo apt-get purge firefox.

2. Delete /etc/firefox/ , this is where your preferences and user-profiles are stored.

3. Delete /usr/lib/firefox/ should it still be there.

4. Delete /usr/lib/firefox-addons/ should it still be there.

Install Tor Browser on Ubuntu 20.04 - Step by Step process to do it ?

This article covers how you can install the Tor browser on Ubuntu 20.04 Linux distribution. Now, you can use and do web browsing privately and in a secure way on your system. You can visit your local websites, your network service providers may block this browser.

When you use the Tor Browser, the connection to the website you are viewing is encrypted and protected from network surveillance and traffic analysis.


To Install Tor Browser Launcher on Ubuntu:

1. Add the Tor Browser Launcher PPA repository using the following command: 

$ sudo add-apt-repository ppa:micahflee/ppa.

2. Once the repository is enabled, update the apt package list and install the Tor Browser Launcher package by typing: 

$ sudo apt update 
$ sudo apt install torbrowser-launcher.


To uninstall Tor Kali Linux:

1. Locate your Tor Browser folder. On Linux, there is no default location, however the folder will be named "tor-browser_en-US" if you are running the English Tor Browser.

2. Delete the Tor Browser folder.

3. Empty your Trash.


To Update Tor Browser on Ubuntu ?

To help keep you secure, Tor Browser will automatically update itself when a new version is released.

Execute the following commands in your terminal:

$ sudo apt update
$ sudo apt install torbrowser-launcher

Install Linux, Apache, MariaDB, PHP (LAMP) Stack on Debian 10 - Step by step process to do it ?

This guide will help you on how to #install the LAMP stack (Linux, Apache, MariaDB, and PHP ) in your #Debian system. 

LAMP stands for Linux, Apache, MySQL, and PHP. Together, they provide a proven set of software for delivering high-performance web applications.

For a web application to work smoothly, it has to include an operating system, a web server, a database, and a programming language. 

A LAMP Stack is a set of open-source software that can be used to create websites and web applications. 

LAMP is an acronym, and these stacks typically consist of the Linux operating system, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language.

To Install #LAMP stack on Ubuntu:

1. Update your system. sudo apt-get update.

2. Install Mysql. sudo apt-get install mysql-server mysql-client libmysqlclient-dev.

3. Install #Apache server.

4. Install #PHP (php7.0 latest version of PHP).

5. Install #Phpmyadmin (for #database).

Methods to uninstall programs from Debian 10 ?

This article will guide you on how to uninstall programs from Debian 10. The first method can be used if you prefer #GUI over #CLI. The second method can be used if you only intend to delete a program without its configuration files. The third mthod can be used if you intend to delete a program along with all of its configuration files. Finally, the fourth mthod can be used if you want to get rid of all the unused packages and dependencies altogether.

Whenever you add a repository using "add-apt-repository" command, it will be stored in /etc/apt/sources. list file. 

To delete a software repository from Ubuntu and its derivatives, just open the /etc/apt/sources. list file and look for the repository entry and delete it.

Running sudo apt-get update (or sudo aptitude update ) updates this on your local system. This is the step that actually retrieves information about what packages can be installed, including what updates to currently installed packages packages are available, from Internet sources.

To Uninstall Programs on #Debian:

1. Go to the Installed tab. 

2. It will list all the installed #applications in your system. 

3. From the list, search for the application you want to #uninstall and click the Remove button in front of it. 

4. When you click the Remove button, the following message will appear for you to confirm the decision.

Methods to check the status of laptop battery on Ubuntu 20.04 LTS ?

This article will guide you on different methods to view detailed information on your battery using both the #command line and UI.

To check your #battery health you'll want to open the app, click on the relevant battery item in the sidebar, and double-check that you're faced with the Details tab.

1. Use upower command to check battery status from command line:

Type the following command:

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0

2. Displaying #Linux Laptop Battery Status Using the apci #terminal command

The acpi command may not be installed by default so use apt-get command or yum command to install the same:

$ sudo yum install acpitool

3. Use /proc/acpi/ directory to get laptop battery info (deprecated method)

You can browse the same data by visiting /proc/acpi/ directory:

$ cd /proc/acpi/

$ ls -l

Steps to set up FFmpeg on Ubuntu 20.04 LTS ?

This article will guide you on steps to #install #FFmpeg on your Ubuntu 20.04 system and can use it for #video and #audio editing and #conversions from one format to another. FFmpeg is a vast and powerful collection of video and audio processing tools. Once you know the #command syntax, you can use it to manipulate video and audio files in basically any way that you can imagine. See the official documentation at FFmpeg's website https://www.ffmpeg.org/documentation.html to see everything it can do. To install FFmpeg on #Ubuntu: 1. Start by updating the packages list: sudo apt update. 2. Next, install FFmpeg by typing the following command: sudo apt install ffmpeg. 3. To validate that the package is installed properly use the ffmpeg -version command which prints the FFmpeg version: ffmpeg -version.

Steps to Install and Configure Nginx on Ubuntu Linux 18.04 LTS?

This tutorial will guide you on how to get Nginx server installed and configured on an Ubuntu Linux 18.04 LTS server.

Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or reverse proxy.


Nginx Configuration Files Structure

  • All configuration files are located in the /etc/nginx/ directory.
  • Nginx main configuration file is at /etc/nginx/nginx.conf.
  • It's best practice to create a separate configuration file of each domain for better maintainability.
  • New server blocks (configuration file) of each domain should be stored in /etc/nginx/sites-availabledirectory. You need to make symlink of these configuration files at /etc/nginx/sites-enabled to take in used by Nginx.
  • Activating server blocks is done by creating a symlink (a pointer) from the configuration file sites in a /etc/nginx/sites-enabled directory to the sites-enabled directory.
  • The default server web root directory is /var/www/html
  • It's best practice to to follow standard naming convention. Nginx server block files name should as domain name and must end with .conf extension. For example, your domain name is example.com then server block file name should example.com.conf
  • Nginx log files (access.log and error.log) are located in the /var/log/nginx/ directory. It's also recommended to have a different access and error log files for each server block.

How to perform Linux / Unix Rsync Copy for Hidden Dot Files and Directories Only?

This article will guide you on how to to use the rsync command to copy hidden dot files including directories.