×

This article covers how to install and configure the latest Tor browser version on LinuxMint 20 system. In fact, now using the tor browser, you can browse privately and securely and visit all websites blocked by your ISP providers.


How to install Tor on Ubuntu 21.04 ?

1. We access the terminal in Ubuntu 21.04 and install Tor with the following command:

$ sudo apt install tor 

2. Install the browser itself with the following command:

$ sudo apt install torbrowser-launcher 


How to Remove Tor browser from Debian / Ubuntu / Linux Mint ?

If you are not happy with the Tor browser (installed via APT), you can remove it using the command below:

$ sudo apt purge torbrowser-launcher

If you installed it using Flatpak via software center, you can easily uninstall it from there. If you installed it from terminal, type in the following command:

$ flatpak uninstall com.github.micahflee.torbrowser-launcher



This article covers the Installation process of Bluefish editor on Linux Mint. You can now use it for web development in a variety of different programming languages. 



This article covers how to easily install TeamViewer on AlmaLinux 8. With TeamViewer you can control computer systems running Linux, Windows and Mac OS remotely as if you were sitting right in front of that system. It also provides a spontaneous support to unattended computers such as servers.



This article covers method to set up OpenVPN on Ubuntu 20.04. OpenVPN is a full featured, open-source Transport Layer Security (TLS) VPN solution that accommodates a wide range of configurations. OpenVPN is an open-source, fast, popular program for creating a VPN (Virtual Private Network). It uses both the TCP and UDP transmission protocols, and VPN tunnels are secured with OpenVPN protocol with SSL/TLS authentication, certificates, credentials, and optionally MAC address lock as well as multi-factor authentication.

Here, you will set up OpenVPN on an Ubuntu 20.04 server, and then configure it to be accessible from a client machine.

To confirm that the OpenVPN service is up and running by checking its status using the following systemctl command:

$ sudo systemctl status openvpn



This article covers how to start, stop and restart the httpd service on CentOS 8 system with the help of the systemctl command. Using this utility, you can easily control any systemd and server-wide service on your system. 

Linux provides fine-grained control over system services through systemd, using the systemctl command. Services can be turned on, turned off, restarted, reloaded, or even enabled or disabled at boot. If you are running Debian 7, CentOS 7, or Ubuntu 15.04 (or later), your system likely uses systemd.



This article covers how to install the Logwatch utility on your Linux server. With Logwatch, you will be able to keep an eye on your server logs and hence, you can quickly figure out any possible issues.

You can easily customize Logwatch to your preference by modifying the parameters in the /etc/logwatch/conf path. It also provides something extra in the way of pre-written PERL scripts for making log parsing easier.

All the default settings are defined in the /usr/share/logwatch/default.conf/logwatch.conf file. The recommended practice is to leave this file intact and instead create your own configuration file at the /etc/logwatch/conf/ path by copying the original config file and then define your custom settings.


Logwatch comes with a tiered approach and there are 3 main locations where configuration details are defined:

  • /usr/share/logwatch/default.conf/*
  • /etc/logwatch/conf/dist.conf/*
  • /etc/logwatch/conf/*


To install Logwatch on your server.

On Ubuntu:

$ sudo apt-get install logwatch

On Debian:

$ apt-get install logwatch



This article covers the best PDF Viewers you can install on your Ubuntu / Debian Linux system. 

PDF viewer list on Ubuntu 20.04 Focal Fossa Linux:

  • Evince PDF Viewer.
  • Okular PDF Viewer.
  • Atril PDF Viewer.
  • Adobe Reader PDF Viewer.
  • Zathura PDF viewer.
  • GNU gv PDF Viewer.


Okular is a default PDF viewer on Ubuntu 20.04 KDE Plasma Desktop. To install Okular PDF Viewer, simply run the command:

$ sudo apt install okular



This article covers the process of migrating to AlmaLinux from CentOS 8. AlmaLinux OS is a new RHEL fork from the team at CloudLinux. It is meant to be a free Linux Operating System, developed in close co-operation with the community, and for the community. As of this article update, the release of AlmaLinux available is not stable fit for production use. AlmaLinux OS is now stable and can be used in Production environments.


To Migrate from CentOS 8 To AlmaLinux 8.4.

1. Download the almalinux-deploy.sh script:

$ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh

2. Give the script execution bits:

$ chmod +x almalinux-deploy.sh

3. Then run the script with the commands below:

$ sudo bash ./almalinux-deploy.sh



This article covers how to easily migrate to Rocky Linux 8.4 from CentOS 8. Rocky Linux is a community enterprise operating system designed to be 100% compatible with RedHat Enterprise Linux. Rocky Linux dev team has created a migration script called migrate2rocky to easily convert an existing CentOS 8 system to Rocky Linux 8.


To Upgrade the current CentOS 8 Linux system to latest available version, run the command:

$ sudo dnf --refresh upgrade

After update is completed, Reboot your system:

$ sudo reboot



This article covers the process of installing Brackets on a Linux Mint 20 system. Once this code editor is installed on your system, you can conveniently use it for professional-level frontend development. 

Brackets is a modern open-source code editor for HTML, CSS and JavaScript that’s built-in HTML, CSS and JavaScript. It has two great features: quick edit and live preview. It was created for front end developers and designers and has a very attractive interface. Brackets is developed by Adobe and is focused on web designers and front-end developers.


To Install Brackets Code Editor on Ubuntu:

1. 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 Brackets Code Editor.

$ sudo snap install brackets --classic



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 and configure VNC Server on Ubuntu 20.04. Virtual Network Computing, or VNC, is a connection system that allows you to use your keyboard and mouse to interact with a graphical desktop environment on a remote server. It makes managing files, software, and settings on a remote server easier for users who are not yet comfortable with the command line.

After connecting to your server with SSH, update your list of packages:

$ sudo apt update

Now install Xfce along with the xfce4-goodies package, which contains a few enhancements for the desktop environment:

$ sudo apt install xfce4 xfce4-goodies

Once that installation completes, install the TightVNC server:

$ sudo apt install tightvncserver



This article covers the basics of service management in Linux Mint 20. Linux provides fine-grained control over system services through systemd, using the systemctl command. Services can be turned on, turned off, restarted, reloaded, or even enabled or disabled at boot.

The basic syntax for using the systemctl command is:

$ systemctl [<em>command</em>] [<em>service_name</em>]

Typically, you'll need to run this as a superuser with each command starting with sudo.


How to Restart a Service ?

To stop and restart the service in Linux, use the command:

$ sudo systemctl restart <em>SERVICE_NAME</em>

After this point, your service should be up and running again. You can verify the state with the status command.



This article covers how to run your own shell script as a systemd service. Basically, 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 use to manage system and application service on our Linux operating system.


How to Enable New Service in Linux?

1. To reload the systemctl daemon to read new file, execute:

$ sudo systemctl daemon-reload 

2. To enable the service to start on system boot, also start the service using the following commands:

$ sudo systemctl enable shellscript.service 
$ sudo systemctl start shellscript.service 

3. To verify the script is up and running as a systemd service:

$ sudo systemctl status shellscript.service



This article covers the most efficient, free, open-source, and cross-platform compatible office suites. Apache OpenOffice tops our list of the best office suites available in the market, however, the paradigms to follow, i.e., LibreOffice, OnlineOffice and Calligra also offer a competitive user experience and list of features. All the discussed paradigms incorporate a wide list of integrated tools that allow users to create, maintain and edit any kind of data, e.g., Calligra offers an enhanced list of ten different components (or tools) that allow users to almost do anything they want, from taking random notes to creating mathematical formulae, all features are provided in one enhanced and feature-packed paradigm. 

Microsoft Office is though a great competitor to the here discussed office suites, however, the paradigm is neither free nor open-source which makes its feature limited. The open-source paradigms offer a continuous platform to extend capabilities and functionalities thereby providing its users an unending sea of features and functionalities.

Office suite are a bundle of productivity software. The primary program contains a word processor, spreadsheet, and presentation software. It is a set of business applications with the same style of the user interface. 


Benefits of using free Office Suite:

  • Drafting documents
  • It helps you to calculate difficult formulas in minutes.
  • Allows you to writer blogs, articles, reports, with grammar correction tools.
  • Creating spreadsheets and presentations.
  • It helps you to keep track of what is going on.



This article covers how to add a user as well as how to remove it in case you no longer need it. We also described how to add and remove a user to and from a group. If you are using Ubuntu distribution, visit how to add or remove users in Ubuntu

You may need to create separate account for every user want to connect this system. To add new users in system there are two commands available in your system, useradd and adduser. adduser command is the enhanced version of useradd command. adduser command uses useradd command in backend. 



This article covers how to monitor socket connection using ss command. ss command is a tool that is used for displaying network socket related information on a Linux system. The tool displays more detailed information that the netstat command which is used for displaying active socket connections.

The basic ss command without any options simply lists all the connections regardless of the state they are in:

$ ss



This article covers method to Install bluefish editor on Ubuntu 20.04 system. Bluefish is a text editor. It is used to write code in various programming languages like: C, C++, JAVA, Python, HTML etc.

It is cross-platform, lightweight and easy to learn. It provides many features of IDE to support development and designing of applications.


To Install Bluefish on Ubuntu:

1. Add PPA (Personal Package Archive)

Use the following command to add PPA in our system:

$ sudo add-apt-repository ppa:klaus-vormweg/bluefish  

2. Update Repository

Use this command to update our local repository:

$ apt-get update  

3. Install Bluefish

After updating, now, use this command to install bluefish:

$ sudo apt-get install bluefish

4. Run Bluefish

Now, we can run bluefish either by using terminal or from the application manager.

Execute this command to open bluefish editor:

$ bluefish  



This article covers different methods of installation of brave browser software on Ubuntu. 


Main features of Brave web browser:

  • Search – Choose default search engine – Google, Bing, Yahoo, DuckDuckGo e.t.c.
  • Fast Browsing – According to its creators, Brave loads pages three times as fast out of the box with nothing to install, learn or manage.
  • Easy to switch to Brave – It's easy to import your settings from your old browser. You can do it during the welcome tour or later through the menus.
  • Support your favorite sites with Brave Rewards – with Brave Rewards activated, you can support the content creators you love at the amount that works for you.
  • Privacy and Security – Brave fights malware and prevents tracking, keeping your information safe and secure. Clearing of browsing data and a built-in password manager.
  • Form autofill which saves you time when working with forms.
  • Extensions/Plugins – Brave Desktop now supports most of the Chrome extensions in the chrome web store.



This article covers the different methods of Installing Django on Ubuntu 20.04. With it, you can easily perform creation of Django applications, superuser creation, and removal of Django. 

Django is a full-featured Python web framework for developing dynamic websites and applications. Using Django, you can quickly create Python web applications and rely on the framework to do a good deal of the heavy lifting.


How to install Django from Ubuntu repositories ?

1. First, update your local package index with apt:

$ sudo apt update

2. Next, check which version of Python you have installed. 18.04 ships with Python 3.6 by default, which you can verify by typing:

$ python3 -V



This article covers how to install vim, followed by some basics on using vim and then uninstalling it. Vim (Vi IMproved) is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing config files and programs written in shell, python, perl, c/c++ and more. 

Among the various text editors in the world of Linux, Vim (or Vi IMproved) stands out for its versatility and for the functions it offers. In fact, Vim is able to speed up code writing, providing some shortcuts to perform all the operations of modification, deletion or replacement of the text. 

Vim Text Editor also allows you to install different plugins through which transforming this simple text editor into a real IDE for programming in different languages.


How to Install vim using apt on Linux ?

1. Open terminal application. You can also press CTRL+ALT+T keyboard shortcut.

2. Update package database by typing the sudo apt update command.

3. Search for vim packages run: sudo apt search vim.

4. Install vim on Ubuntu Linux, type: sudo apt install vim.

5. Verify vim installation by typing the vim --version command.



This article covers how to Install Kdenlive video editor on a Linux Mint 20 system. Now you can use it very conveniently for producing professional quality edited videos. Kdenlive is a free and opensource video editing software, it is built on Qt and  KDE Framework libraries, and MLT Framework is used for video processing in Kdenlive and this is part of the official KDE project.


How to Install Kdenlive 20.04 in Ubuntu 20.04 / LinuxMint /Elementary OS ?

1. Add the official PPA

$ sudo add-apt-repository ppa:kdenlive/kdenlive-stable

2. Update the apt repository

$ sudo apt update

3. Install Kdenlive 20.04

$ sudo apt install kdenlive



This article covers the best Integrated Development Environments (IDEs) that despite providing a coding environment, also provide assistance and support along with speed and efficiency to enhance the software developers’ overall coding experience. PhpStorm, Eclipse, BlueFish, VSCode, and Sublime Text – all IDEs are part of our list of top-performing IDEs. Each IDE is cross-platform compatible thereby enabling software developers across all the platforms, i.e. Windows, macOS, and Linux, and making development easy, efficient and equal for all.

Basically, Developing software solutions is a need and demand of many users, companies, and enterprises across the globe. In this advanced world of information technology, it has almost become impossible to expect advancements and improvements or even sustenance without relying on a software solution.



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.



This article covers how to install the Curl command-line tool on CentOS 8 system. Through the curl command, users can download and upload files over the network. curl is a powerful command-line tool for transferring data from or to a remote server. With curl you can download or upload data using various network protocols, such as HTTP, HTTPS, SCP , SFTP , and FTP .


How to Install curl on CentOS ?

Curl package is available in the standard CentOS 8 repositories. 

To install it run the following command:

$ sudo dnf install curl

Once the installation is complete, verify it by typing curl in your terminal:

$ curl



This article covers how to install Vivaldi browser and concluded with its uninstallation method from a Linux system. Vivaldi is a next generation open source web browser that runs on Windows, Linux, macOS and on mobile devices. It comes with unique features and is created to be fast and secure browser that blocks ads and trackers. 

To Launch and Use Vivaldi Browser on Linux Mint 20:

Start the browser from terminal:

$ vivaldi


How to Install Vivaldi Web Browser on Linux Mint / Kali Linux ?

1. Start by importing the GPG key used for verification during installation.

$ sudo apt update
$ sudo apt -y install wget gnupg2 software-properties-common
$ wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | sudo apt-key add -

2. Then run the commands below to add the repository to your system.

echo 'deb https://repo.vivaldi.com/archive/deb/ stable main' | sudo tee /etc/apt/sources.list.d/vivaldi.list

3. A final step is the installation of Vivaldi Web Browser on Linux Mint / Kali Linux.

$ sudo apt update
$ sudo apt install vivaldi-stable

Hit the y key in your keyboard to start installation.



This article covers how to check OS version using different methods. You can get more information of Ubuntu releases at official site of the Ubuntu Releases.

If you are using Ubuntu 16.04 then you can Upgrade using this guide Upgrade Ubuntu 16.04 to Ubuntu 18.04 LTS.

Ubuntu is a free, open-source Linux-based operating system, which has a long list of release versions. Finding out which Ubuntu version is running on your system can be important when troubleshooting issues or searching for installation guides.


To check the Ubuntu version, use the following command in terminal:

$ lsb_release -a

This will display you some details about your distribution including Ubuntu version:

Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal



This article covers how to disable FirewallD and install and iptables on CentOS 7 server. The iptables service stores configuration in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables , while firewalld stores it in various XML files in /usr/lib/firewalld/ and /etc/firewalld/ . 

Note that the /etc/sysconfig/iptables file does not exist as firewalld is installed by default on Red Hat Enterprise Linux.

FirewallD is a complete firewall solution that can be controlled with a command-line utility called firewall-cmd. If you are more comfortable with the Iptables command line syntax, then you can disable FirewallD and go back to the classic iptables setup.


To Install and Use Iptables Linux Firewall:

1. Connect to your server via SSH.

2. Execute the following command one by one: 

$ sudo apt-get update 
$ sudo apt-get install iptables

3. Check the status of your current iptables configuration by running:

$ sudo iptables -L -v


Location of iptables rules on CentOS ?

CentOS 7 uses FirewallD by default. If you would like to manage iptables/ip6tables rules directly without using FirewallD, you may use the old good iptables-services service which will load the iptables/ip6tables rules saved in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables when it is started during boot time.



This article covers how to configure and manage the FirewallD service on your CentOS system. A Linux firewall used to protect your workstation or server from unwanted traffic. You can set up rules to either block traffic or allow through. You can add or delete or update firewall rules without restarting the firewall daemon or service. The firewall-cmd act as a frontend for the nftables. In CentOS 8 nftables replaces iptables as the default Linux network packet filtering framework. 


To Start and enable firewalld, run the commands:

$ sudo systemctl start firewalld
$ sudo systemctl enable firewalld

To Stop and disable firewalld, run the commands:

$ sudo systemctl stop firewalld
$ sudo systemctl disable firewalld

To Check the firewalld status, run the command:

$ sudo firewall-cmd --state

To Command to reload a firewalld configuration when you make change to rules, run the command:

$ sudo firewall-cmd --reload

To Get the status of the firewalld service, run the command:

$ sudo systemctl status firewalld



This article covers how to easily print out the uptime on any Linux distribution such as Debian and Ubuntu. You will learn how to easily perform an audit of your system's uptime. It's an important command for system administrators to know how long the system has been running. Uptime tool helps troubleshooting issues related to power and scheduling.


On any UNIX-like system, the uptime command will come pre-installed. That applies to Ubuntu as well. Verify the existence of the tool by running these commands:

$  which uptime
$ uptime --version


To check the system uptime, run the following command:

$ uptime



This article covers how to install Virt-Viewer on a Linux Mint 20 system. virt-viewer is a minimal tool for displaying the graphical console of a virtual machine. The console is accessed using the VNC or SPICE protocol. The viewer can connect to remote hosts to lookup the console information and then also connect to the remote console using the same network transport.


Functions of Virt Viewer: 

  • Connect to KVM virtual machines remotely via the SPICE remote desktop protocol.
  • Automatically adjust display resolution of the KVM virtual machines.
  • Use multiple monitors for the KVM virtual machines.
  • Passthrough USB devices from your computer to the KVM virtual machines.
  • Share folders from your computer to the KVM virtual machines.


To install Virt Viewer on Linux:

1. First, update the APT package repository cache with the following command:

$ sudo apt update

2. To install Virt Viewer on Ubuntu 20.04 LTS, run the following command:

$ sudo apt install virt-viewer --no-install-recommends --no-install-suggests

Then, confirm the installation, press Y and then press <Enter>.



This article covers the top-performing virtualization software specifically for Linux. Virtualization is the act of creating a "virtual machine" (VM) for every layer and system excerpted from the original, whether it is storage, hardware, computer network resources, or the operating system as a whole.

Virtualization is the process of developing virtual versions of operating systems, hardware platforms, storage devices, or computer network resources.

Basically, Some of the discussed virtualization paradigms are cross-platform such as XenProject, VirtualBox, and Microsoft Hyper-V, but Linux KVM and oVirt are specifically designed and created for the Linux operating systems.


A key advantage of running a virtual machine is that it allows you to run apps that would otherwise not be available due to having very different system requirements, which is one particular reason why virtualization has become so important in business.


The Top 5 Open Source Virtualization Software includes:

  • Xen Project.
  • VirtualBox.
  • KVM.
  • oVirt.
  • ProxMox.



This article covers how to create an Nginx server block configuration to host multiple website on a single CentOS server.

Server Blocks, often referred to as Nginx virtual host are a feature of the Nginx web server that allows you to host multiple websites on one server.

To Test NGINX configuration file, run the command:

$ sudo nginx --t

If the syntax is OK, the output tells you the test was successful.


To restart your Nginx web server and confirm that it's running as expected:

$ sudo systemctl restart nginx
$ sudo systemctl status Nginx


To Enable HTTPS on Domain Hosted on Nginx:

You may consider encrypting your domain using Lets Encrypt SSL to add a layer of protection and secure traffic to and from the webserver:

$ sudo dnf install certbot python3-certbot-nginx
$ sudo certbot --nginx



This article covers how to create apache virtual host files to host multiple domains on a single Ubuntu server. Each website published on the Internet is hosted on a web server (host), connected to the network with a public IP address and able to manage requests for web pages on a browser (client) such as Chrome, Firefox or Internet Explorer.

If you need to host a website on your machine, first, install a web server. Among those available, one of the best known is Apache, an open source software compatible with both Unix and Windows systems. 


How to Install Apache on Ubuntu ?

1. To install Apache 2 through the official Ubuntu repositories, proceed by typing:

$ sudo apt-get update
$ sudo apt install apache2

Since Apache communicates externally, it should be inserted among the exceptions of your Firewall. 

2. In case of using UFW, allow bidirectional communications between Apache and a Client by typing:

$ sudo ufw allow 'Apache Full'

3. Apache should already be running. To check its stateuse the command:

$ sudo systemctl status apache2



This article covers method to easily configure Apache virtual hosts. You repeat same procedure for multiple domain.

You can use yum to install Apache through CentOS's default software repositories:

$ sudo yum -y install httpd

Next, enable Apache as a CentOS service so that it will automatically start after a reboot:

$ sudo systemctl enable httpd.service


How to Set Up Local Hosts File ?

If you are on a Mac or Linux computer, edit your local hosts file with administrative privileges by typing:

$ sudo nano /etc/hosts

The details that you need to add are the public IP address of your VPS followed by the domain that you want to use to reach that VPS:

127.0.0.1   localhost
127.0.1.1   guest-desktop
server_ip_address example.com
server_ip_address example2.com

This will direct any requests for example.com and example2.com on our local computer and send them to our server at server_ip_address.



This article covers how to create a user with sudo privileges. You can now log in to your CentOS server with this user account and use sudo to run administrative commands.

Performing server administration as a non-root user is a best practice.

For security, your first task when deploying a CentOS instance is to create a non-root user with sudo access.


How to Add a New User Account on CentOS Linux System ?

1. To Create a new user account with the adduser command:

# adduser example_user

2. Set a strong password for the new user (new_user) with passwd.

# passwd new_user



This article covers how to Configure up Apache Virtual Hosts on a Debian 10 server. Using Apache Virtual Hosts you can host multiple domains on a single server. 

Apache will break its functionality and components into individual units so you can customize independently. The basic unit that describes an individual site or domain is called a virtual host.


How to configure Apache Virtual Hosts on Debian ?

Apache is a free and open source web server used web server in the world, and it is commonly used in Linux servers.

To install Apache:

1. Check whether apache is already installed and running on your server. You can do this with the following command:

$ dpkg -l apache2

2. If apache is not installed, you can do this by running the following commands. First, make sure that the system repositories are up to date:

$ apt-get update

3. To install the Apache web server, execute the following:

$ apt-get install apache2

4. After the installation is complete, you should enable Apache to start automatically upon server reboot with:

$ systemctl enable apache2

5. You can also check the status of your Apache service with the following command:

$ systemctl status apache2

If you want to secure your website with an SSL certificate, you can generate and Install a free Letsencrypt SSL certificate.



This article covers how to install an Apache web server on your Debian 9 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.


How to Install Apache ?

1. Let's begin by updating the local package index to reflect the latest upstream changes:

$ sudo apt update

2. Then, install the apache2 package:

$ sudo apt install apache2

 After confirming the installation, apt will install Apache and all required dependencies.


The Apache profiles begin with WWW:

1. WWW: This profile opens only port 80 (normal, unencrypted web traffic).

2. WWW Cache: This profile opens only port 8080 (sometimes used for caching and web proxies).

3. WWW Full: This profile opens both port 80 (normal, unencrypted web traffic) and port 443 (TLS/SSL encrypted traffic).

4. WWW Secure: This profile opens only port 443 (TLS/SSL encrypted traffic).


How to Manage Apache Process ?

To stop your web server, type:

$ sudo systemctl stop apache2

To start the web server when it is stopped, type:

$ sudo systemctl start apache2

To stop and then start the service again, type:

$ sudo systemctl restart apache2

If you are simply making configuration changes, Apache can often reload without dropping connections. To do this, use this command:

$ sudo systemctl reload apache2

By default, Apache is configured to start automatically when the server boots. If this is not what you want, disable this behavior by typing:

$ sudo systemctl disable apache2

To re-enable the service to start up at boot, type:

$ sudo systemctl enable apache2

Apache should now start automatically when the server boots again.



This article covers a review about Ubuntu 18.04 LTS (Bionic Beaver). You can find the Ubuntu 18.04 release notes on its official website.


Ubuntu 18.04.4 (Bionic Beaver) was released on February 12, 2020, the long-term support (LTS) release of the Ubuntu, this was the 4rd point release of the 18.04 LTS and it was available for desktop / laptop computers and servers. Ubuntu 18.04.4 desktop didn't support 32-bit CPU architecture, and is only available to install 64-bit (x86-64) versions. Compared to previous releases, this Ubuntu version includes security updates and fixed bugs.



This article covers methods to find out the processes that are listening to particular ports on your Linux system. A port is nothing but an endpoint of communication used in computer networks.

You have physical or wireless connections at the hardware level. At software or operating system level a port act as a logical construct that acts as communication port of network service such as SSH, HTTPD and more.

TCP and UDP are the most common port. TCP is an acronym for Transmission Control Protocol. UDP is an acronym for User Datagram Protocol.


How to Find Out Which Process Is Listening Upon a Port in Linux ?

1. netstat command or ss command – a command-line tool that displays network connections, routing tables, and a number of network interface statistics.

2. fuser command – a command line tool to identify processes using files or sockets.

3. lsof command – a command line tool to list open files under Linux / UNIX to report a list of all open files and the processes that opened them.

4. /proc/$pid/ file system – Under Linux /proc includes a directory for each running process (including kernel processes) at /proc/PID, containing information about that process, notably including the processes name that opened port.



This article covers how to easily install Visual Studio code on your Ubuntu 20.04 system. Visual Studio Code is an open-source cross-platform code editor developed by Microsoft.

It has a built-in debugging support, embedded Git control, syntax highlighting, code completion, integrated terminal, code refactoring and snippets.


To Install Visual Studio Code on Ubuntu:

1. First, update the packages index and install the dependencies by typing:

$ sudo apt update
$ sudo apt install software-properties-common apt-transport-https wget

2. Next, import the Microsoft GPG key using the following wget command :

$ wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -

And enable the Visual Studio Code repository by typing:

$ sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

3. Once the apt repository is enabled , install the latest version of Visual Studio Code with:

$ sudo apt update
$ sudo apt install code



This article covers steps to install Cinnamon desktop on your Ubuntu 20.04 system.
Want to try out the Cinnamon Desktop Environment?

Without installing Linux Mint, you can get the desktop packages in Ubuntu via a few commands.
Cinnamon is available in Ubuntu main repositories, though the package version is however a little old.
Ensure to enable universe repository and then use this command to install Cinnamon on Ubuntu 20.04:

$ sudo apt install cinnamon



This article covers how you can easily change the sudo password timeout by adding a single entry in the sudoers file. If you are using Vi instead of Nano, follow the instructions described here.
You use sudo for some command in the terminal, it asks for the password.

You enter the password, the command runs.
For the subsequent commands, even if they need superuser privileges, you don't need to enter the password again.
After a certain amount of time, when you try to use sudo, it asks for the password again.
It happens because there is a default timeout in Ubuntu and other Linux system for Sudo. In Ubuntu, this default sudo timeout is 15 minutes.
If you think 15 minute is too short or too long you can even change the sudo password timeout in Ubuntu.

To Change sudo password timeout in Ubuntu:
1. Open a terminal (Ctrl+Alt+T) and use the following command:

$ sudo visudo

It will open a file in nano text editor that contains some settings related to sudo.
In here look for the following line:

Defaults        env_reset

Replace above line with this one:

Defaults        env_reset, timestamp_timeout=XX

Where XX is the new timeout value in minutes.
Of course you have to replace the XX with the desired timeout value.
2. Once you are done changing the default sudo password timeout, use Ctrl+X to exit the editor.
It will give you option to save or cancel the changes.

Use Y to save the changes.



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 the VS code package on CentOS 8 using the command line application. Visual Studio Code is a free and open-source, cross-platform IDE or code editor that enables developers to develop applications and write code using a myriad of programming languages such as C, C++, Python, Go and Java to mention a few.


To Install Visual Studio Code on Debian, Ubuntu and Linux Mint:

1. Update your system by running the command.

$ sudo apt update

2. Once updated, proceed and install dependencies required by executing.

$ sudo apt install software-properties-common apt-transport-https

3. Next, using the wget command, download the repository and import Microsoft’s GPG key as shown:

$ wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
$ sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
$ sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

4. Once you’ve enabled the repository, update the system and install Visual Studio Code by running the command:

$ sudo apt update
$ sudo apt install code



This article covers how you can install Viber on your Ubuntu system. Also, you will learn how to remove Viber from Ubuntu in case you no longer need it.

Viber is an instant messaging and video calling app that allows you to send instant messages, photos, audio, video files, make free calls, and share your location with other Viber users. Viber was first released for smartphones, then later also developed for desktop users including Windows, Linux, and macOS. 


To Install Viber via Deb Package:

1. Issue the following command in Terminal to download Viber .deb installer file.

$ wget https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb

2. Issue the following command in Terminal in order to install the viber.deb package.

$ sudo apt install ./viber.deb


To Uninstall Viber from Ubuntu:

Run the below command to uninstall Viber from your Ubuntu desktop.

# sudo apt remove viber



This article covers the method of using ReactJS on a Ubuntu 20.04 system by installing NodeJS and required dependencies on it. 

Finally, we demonstrated to you the usage of ReactJS by creating a sample application.


To install npm on Ubuntu Linux, login into your server as a sudo user and invoke the command below:

$ sudo apt install npm

Once the installation is complete, you can verify the version of npm installed using the command:

$ npm --version


To install the tool, run the following npm command:

$ sudo npm -g install create-react-app


Once installed, you can confirm the version of installed by running:

$ create-react-app --version


How to Install ReactJS on Ubuntu 20.04? 

React or Reacts is a front-end JavaScript library that is used to develop UI components. It is managed by Facebook and open-source developers.

It makes it effortless to create and maintain interactive UI specifically for single-page applications. 

Many developers are using it because of its flexibility, integrity, and its feature to bring Html directly into JS. 

Many well-known corporations such as Facebook, Uber, and Instagram used the ReactJS framework to create interfaces.


To install npm, open up the terminal and type the following command:

$ sudo apt install npm


To verify if the installation is completed successfully, check the npm version through the command:

$ npm --version



This article covers how you can copy and paste text in the Linux Terminal. This saves the time that spends in typing the long commands and text.

When you enter a long command into the Terminal window that you found on the web or in a document, you can save yourself some time by easily copying and pasting the command at the prompt.


To Copy and Paste Text into the Linux Terminal:

1. To begin, highlight the text of the command you want on the webpage or in the document you found. 

2. Press Ctrl + C to copy the text.

3. Press Ctrl + Alt + T to open a Terminal window, if one is not already open. Right-click at the prompt and select "Paste" from the popup menu.

4. The text you copied is pasted at the prompt. 

5. Press Enter to execute the command.

6. You can also copy text from the Terminal window to paste into other programs. 

7. Simply highlight the text, right-click on it, and select "Copy" from the popup menu. 

You can paste this text into a text editor, word processor, and so on.



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 and compile Python3.9 using different methods, using PPA repo, compiling it from the source code, and installing it using the Linuxbrew tool.

We can now start using Python 3.9 for our projects.

Python is a high-level programming language, mostly used to write scripting and automation. It is a very popular language known for its simplicity and easy syntax. 

Python one of the best language for for artificial intelligence (AI).


To Install Python 3.9 on Ubuntu 20.04 using APT:

1. Update package list, type:

$ sudo apt update

2. Install software-properties-common package to easily manage distribution and independent software vendor software sources:

$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa

3. Now install python 3.9 using apt command:

$ sudo apt-get install python3.9

4. The following command can help to identify the proper install location of Python:

$ which python3

The execution of the above command produces the following output on console:

/usr/bin/python3



This article covers methods to fix Zoom Video Filters not Available in Linux.

Zoom Video Filters turned ON but no filters available

just close zoom and login when you reopen it. problem solved.

You need to sign up for a free account on Zoom to use video filters.


How to get video filters on Zoom?

Here are the steps to add video filters on Zoom:

1. Click on your profile picture which can be found in the top-right corner of the screen.

2. Click on the 'Settings' option from the dropdown menu.

3. From the Settings menu, click on the 'Video' tab which is the second option.

4. Here, you need to look for an option labelled 'Touch up my appearance'. You need to enable this feature by checking the box besides the option.


How to resolve Zoom video filters not showing ?

Several users on social media have been reporting that they are unable to view the Zoom filters on their computer. 

If you are one of the users facing this issue, you should note that you may not be able to see the filter if you are accessing the service using a web browser. 

You will need to install the latest version of Zoom desktop client on your system and sign in to view the filters.



This article covers steps to setup and new SFTP server by making the ssh configuration changes, adding new users, and assigning the required directory permissions. You can add as many users as you want or simply create a new group and make new users part of that group.

FTP is a great protocol for accessing and transferring files, but it has the shortcoming of being a clear text protocol. 

In other words, it's not secure to use over an internet connection, since your credentials and data are transmitted without encryption. 

The 'S' in SFTP stands for 'Secure' and tunnels the FTP protocol through SSH, providing the encryption needed to establish a secure connection.


To Configure SSH daemon on Ubuntu:

1. SFTP requires SSH, so if SSH server is not already installed on your system, install it with the following command:

$ sudo apt install ssh

2. Once SSH is installed, we need to make some changes to the SSHD configuration file. Use nano or your favorite text editor to open it:

$ sudo nano /etc/ssh/sshd_config

3. Scroll to the bottom of the file and add the following 5 lines at the very end and save file:

Match group sftp
ChrootDirectory /home
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp

4. Restart the SSH service for these new changes to take effect:

$ sudo systemctl restart ssh



This article covers how to secure Red Hat Enterprise Linux 8 with UFW. UFW may not be intended to provide complete firewall functionality, but it does provide an easy way to create and manage simple firewall rules.

A firewall is a way to protect machines from any unwanted traffic from outside. 

It enables users to control incoming network traffic on host machines by defining a set of firewall rules. 

These rules are used to sort the incoming traffic and either block it or allow through.

Note that firewalld with nftables backend does not support passing custom nftables rules to firewalld, using the --direct option.


How to start, stop, restart firewalld service on an RHEL 8?

By now you know about firewalld zones, services, and how to view the defaults. It is time to activate and configure our firewall.

1. Start and enable firewalld

$ sudo systemctl start firewalld
$ sudo systemctl enable firewalld

2. Stop and disable firewalld

$ sudo systemctl stop firewalld
$ sudo systemctl disable firewalld

3. Check the firewalld status

$ sudo firewall-cmd --state

4. Command to reload a firewalld configuration when you make change to rules

$ sudo firewall-cmd --reload

5. Get the status of the firewalld service

$ sudo systemctl status firewalld


When to use firewalld, nftables, or iptables:

1. firewalld: Use the firewalld utility for simple firewall use cases. The utility is easy to use and covers the typical use cases for these scenarios.

2. nftables: Use the nftables utility to set up complex and performance critical firewalls, such as for a whole network.

3. iptables: The iptables utility on Red Hat Enterprise Linux 8 uses the nf_tables kernel API instead of the legacy back end. 

The nf_tables API provides backward compatibility so that scripts that use iptables commands still work on Red Hat Enterprise Linux 8. For new firewall scripts, Red Hat recommends to use nftables.



This article covers how to install TeamViewer on Ubuntu 20.04 via the command-line and GUI. You can also explore our related how-tos for Debian  and CentOS .

TeamViewer is a cross-platform solution that can be used for remote control, desktop sharing and file transfer between computers.


To Install TeamViewer on Ubuntu:

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

Download the latest TeamViewer .deb package with the following wget command:

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

2. Install TeamViewer

Install the TeamViewer .deb package by issuing the following command as a user with sudo privileges:

$ sudo apt install ./teamviewer_amd64.deb

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


To Uninstall TeamViewer from Ubuntu System:

1. In order to uninstall TeamViewer from your system without removing any configurations you might have made, enter the following command as sudo:

$ sudo apt remove teamviewer

The system will prompt you with a Y/n option in order to begin the uninstall procedure. Please enter Y and hit Enter to begin. TeamViewer will then be removed from your system.

2. If you have made any configurations, you can remove TeamViewer and all those by using the following command:

$ sudo apt purge teamviewer



This article covers the complete installation guide of VirtualBox on the CentOS 8 system.

Oracle VirtualBox is a virtualization software solution that allows you to create and run virtual machines on a single hardware machine.

With VirtualBox, your existing operating system stays unaffected by the virtual environment.


To Start VirtualBox on Linux:

Use the command:

$ VirtualBox

The VirtualBox manager interface will prompt you.

Alternatively, you can use the graphical interface and access the application:

Application >> System Tools >> Oracle VM VirtualBox



This article covers how to password protect a file using Vim on Linux.  When password protecting a file, make sure you remember it, or else you will not be able to access your file.

You can also use a password management software if you find it difficult to remember passwords. Or visit our guide on how to install Teampass password manager on Ubuntu .

Always remember to appropriately secure text files that could contain secret info such as usernames and passwords, financial account info and so on, using strong encryption and a password.


To install VIM in Linux:

Vim is available in the repositories of most major distributions. 

So, use your distribution package manager to get installed.

For Debian based systems, use apt-get or apt package manager to install vim.

$ sudo apt-get install vim

For RHEL/CentOS based systems, use yum package manager to install vim.

$ sudo yum install vim-enhanced

For Fedora system, use dnf package manager to install vim.

$ sudo dnf install vim-enhanced

For openSUSE system, use zypper package manager to install pass.

$ sudo zypper in vim

For Arch Linux based systems, use pacman package manager to install vim.

$ sudo pacman -S vim



This article covers how you can download YouTube videos on Linux using the youtube-dl utility. The youtube-dl is a handy utility with a large feature set. However, there is a lot more you can do with this utility. To explore more features, visit its official documentation . To play the downloaded videos, you can use any media players like VLC , FFmpeg , and so on.

youtube-dl is a command-line program that lets you easily download videos and audio from more than a thousand websites. 


youtube-dl is a Python based small command-line tool that allows to download videos from YouTube.com, Dailymotion, Google Video, Photobucket, Facebook, Yahoo, Metacafe, Depositfiles and few more similar sites. 

It written in pygtk and requires Python interpreter to run this program, it's not platform restricted. It should run on any Unix, Windows or in Mac OS X based systems.


To Install YouTube-DL in RHEL/CentOS and Fedora:

The youtube-dl program can be installed by enabling epel repository under your systems. Once enabled, you can install using 'yum' package manager tool:

$ yum install youtube-dl

Also, if you wish to add any third party repository, you can still install it right away using curl or wget command:

$ curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl

OR

$ wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

Your system must have curl or wget packages installed to fetch the recent version youtube-dl file. If you don't have them, you may yum to get it.

After fetching the file, you need to set a executable permission on the script to execute properly:

$ chmod a+rx /usr/local/bin/youtube-dl


To Install YouTube-DL in Ubuntu/Linux Mint and Debian:

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install youtube-dl

Also, instead using any third party PPA, you can use curl or wget command to install latest version of youtube-dl script:

$ sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl

OR

$ sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

After downloading the script, set the executable permission:

$ sudo chmod a+rx /usr/local/bin/youtube-dl


To Update YouTube-DL,

Youtube-dl itself can be updated to the latest version using the following command:

$ youtube-dl -U



This article covers how to view standard log files for troubleshooting any Linux system. Linux system administrators often need to look at log files for troubleshooting purposes.

Linux and the applications that run on it can generate all different types of messages, which are recorded in various log files. Linux uses a set of configuration files, directories, programs, commands and daemons to create, store and recycle these log messages. 

Knowing where the system keeps its log files and how to make use of related commands can therefore help save valuable time during troubleshooting.


To view log files on Linux:

Open the Terminal or login as root user using ssh command. 

Go to /var/log directory using the following cd command:

# cd /var/log

To list files use the following ls command:

# ls


To Configure Log Files on Ubuntu and CentOS:

This section explains different mechanisms for configuring log files. Let's start with a CentOS example.

To view users currently logged onto a Linux server, enter the who command as a root user:

$ who

This also lists the login history of users. 

To view the login history of the system administrator, enter the following command:

$ last reboot

To view information of the last login, enter:

$ lastlog


To Execute Log Rotation on Linux:

Log files that have zeroes appended at the end are rotated files. That means log file names have automatically been changed within the system.

The purpose of log rotation is to compress outdated logs that are taking up space. Log rotation can be done using the logrotate command. This command rotates, compresses, and mails system logs.

logrotate handles systems that create significant amounts of log files. The command is used by the cron scheduler and reads the logrotate configuration file /etc/logrotate.conf. It's also used to read files in the logrotate configuration directory.



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.



This article covers how to install TeamViewer on the CentOS system. Additionally, you will learn how to install, launch, and update TeamViewer on CentOS.

We have also covered how to uninstall TeamViewer in case you no longer need it on your system. 

For some more help regarding TeamViewer, run teamviewer help in Terminal.

TeamViewer is a Robust cross-platform solution that provides secure remote access, remote control, and remote support solution across devices. 

The data traffic between devices are encrypted which makes the TeamViewer very secure. 

This software is available for “Linux, Windows, Mac, Chrome OS” and even for mobile devices like "iOS, Android, and so on".


To Install TeamViewer on CentOS 8:

1. Enable EPEL Repo on CentOS 8

You can install EPEL repo using the below command. This command will enable the repo if it is not already installed:

$ sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y

2. Now you can proceed further to install TeamViewer on CentOS 8:

$ sudo yum install teamviewer.x86_64.rpm -y

3. Once the package is installed you can start using team viewer:

$ teamviewer



This article covers how to install Flask on Ubuntu 20.04. Flask is a powerful web framework for any developer. Unlike Django , by default Flask doesn’t include ORM, form validation, or any other functionalities provided by third-party libraries. Flask is built with extensions in mind, which are Python packages that add functionality to a Flask application.

Flask packages are included in the official Ubuntu repositories and can be installed using the apt package manager. 

This is the simplest way to install Flask on Ubuntu 20.04, but not as flexible as installing in a virtual environment. 

Also, the version included in the repositories may lag behind the latest version of Flask.


To install Flask on Ubuntu 20.04:

1. Ubuntu 20.04 ships with Python 3.8. You can verify that Python is installed on your system by typing:

$ python3 -V

2. The recommended way to create a virtual environment is by using the venv module, which is provided by the python3-venv package. Run the following command to install the package:

$ sudo apt install python3-venv

3. Create a new directory for the Flask application and switch into it:

$ mkdir flask_app && cd flask_app

4. Run the following command inside the directory to create the virtual environment:

$ python3 -m venv venv

The command will create a directory called venv, which contains a copy of the Python binary, the Pip package manager , the standard Python library, and other supporting files. You can use any name you want for the virtual environment.

5. To start using the virtual environment, you need to activate it with the activate script:

source venv/bin/activate

6. Now that the virtual environment is activated, use the Python package manager pip to install Flask:

$ pip install Flask

7. To verify the installation, run the following command, which prints the Flask version:

$ python -m flask --version



This article covers how to install Apache web server on CentOS 8 distribution. With Apache we server, you can host web pages over the network. Apache is available within CentOS's default software repositories, which means you can install it with the dnf package manager.


To install Apache on CentOS:

1. Execute the command below to install the Apache package:

$ sudo dnf install httpd

After confirming the installation, dnf will install Apache and all required dependencies.

2. If you also plan to configure Apache to serve content over HTTPS, you will also want to open up port 443 by enabling the https service:

$ sudo firewall-cmd --permanent --add-service=https

3. Next, reload the firewall to put these new rules into effect:

$ sudo firewall-cmd --reload

After the firewall reloads, you are ready to start the service and check the web server.


To check your Apache Web Server:

1. Apache does not automatically start on CentOS once the installation completes, so you will need to start the Apache process manually:

$ sudo systemctl start httpd

2. Verify that the service is running with the following command:

$ sudo systemctl status httpd

You will receive an active status when the service is running.


To manage the Apache Process on CentOS:

Now that the service is installed and running, you can now use different systemctl commands to manage the service.

1. To stop your web server, type:

$ sudo systemctl stop httpd

2. To start the web server when it is stopped, type:

$ sudo systemctl start httpd

3. To stop and then start the service again, type:

$ sudo systemctl restart httpd

4. If you are simply making configuration changes, Apache can often reload without dropping connections. To do this, use this command:

$ sudo systemctl reload httpd

5. By default, Apache is configured to start automatically when the server boots. If this is not what you want, disable this behavior by typing:

$ sudo systemctl disable httpd

6. To re-enable the service to start up at boot, type:

$ sudo systemctl enable httpd

Apache will now start automatically when the server boots again.



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



This article covers how to perform installation and configuration of Apache web server on Debian 10.

Also, you will learn how to create virtual hosts on an Apache server and troubleshoot errors. These steps are almost the same for Ubuntu and LinuxMint distributions.

Apache HTTP Server is a free and open-source web server that delivers web content through the internet. It is commonly referred to as Apache and after development, it quickly became the most popular HTTP client on the web.


On most systems if you installed Apache with a package manager, or it came preinstalled, the Apache configuration file is located in one of these locations: /etc/apache2/httpd. conf. /etc/apache2/apache2.


Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart Apache:

1. Restart Apache 2 web server, enter: # /etc/init.d/apache2 restart. $ sudo /etc/init.d/apache2 restart.

2. To stop Apache 2 web server, enter: # /etc/init.d/apache2 stop.

3. To start Apache 2 web server, enter: # /etc/init.d/apache2 start.


To check running status of LAMP stack:

1. For Ubuntu: # service apache2 status.

2. For CentOS: # /etc/init.d/httpd status.

3. For Ubuntu: # service apache2 restart.

4. For CentOS: # /etc/init.d/httpd restart.

5. You can use mysqladmin command to find out whether mysql is running or not.



This article covers how to setup the NFS server and client on Mint. You will learn how to install the NFS server and client, configure and share NFS export directories, and mount/unmount the NFS shares on the client.

Network File System (NFS), is a distributed file system that allows various remote systems to access a file share. We all know that files should be stored on a central server for security and ease of backup. NFS provides us with a file sharing service that is easily managed and controls client access to resources.


To Install the NFS Client on the Client Systems:

1. Install the NFS-Common Package. As is the norm, begin by updating the system packages and repositories before anything else.

2. Create a NFS Mount Point on Client.

3. Mount NFS Share on Client System.

4. Testing the NFS Share on Client System.


A Network File System (NFS) allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network.


Benefits of setting up an NFS server:

1. Enables multiple computers to use the same files, so everyone on the network can access the same data.

2. Reduces storage costs by having computers share applications instead of needing local disk space for each user application.



This article Covers how to install the TermRecord application on CentOS 8. The TermRecord application allows you to better enjoy the recorded #Terminal content. 

TermRecord is a simple, open source, terminal session recorder with easy-to-share self-contained HTML output.

#TermRecord Stores these files as your own notes, email them to collaborators, use them as instructional examples, or whatever you wish.

TermRecord consumes output from the script command with timing information and can create a self-contained HTML file which replays the recorded session without needing to load anything from the web. 

These term sessions can be emailed and viewed on practically any device (including iPads etc.). 

The end user only needs a modern browser.


Features of TermRecord includes:

1. User friendly.

2. Detects the terminal size.

3. Nest sessions.

4. Cross-platform HTML-based output.

5. Stores the output as either JSON, embeddable JavaScript, or a static HTML file.

6. Written in Python.


To install on TermRecord #CentOS:

1. First of all, connect to your server via SSH and make sure that all of your system software is up to date. 

Run the following command to update the package list and upgrade all of your system software to the latest version available:

$ sudo yum update -y

2. Install Pip. 

Add the EPEL Repository:

$sudo yum install epel-release

Install pip:

$ sudo yum install python-pip

Once the installation has completed, you can verify that it was successful by using the following command:

$pip -V

3. Install TermRecord

Install TermRecord using the Python package manager (pip):

$sudo pip install TermRecord


How to use TermRecord on CentOS system ?

Taking a video of the terminal with TermRecord is rather simple, just run the following command (be attentive to capital letters):

TermRecord -o record.html

Note: We specify the output file in which the video will be recorded using the -o option. the .html format is the default format.

For more complex operations check out TermRecord --help



This article covers how to resolve the above maiadb problem "Job for mariadb.service failed because the control process exited with error code" which may arise during the installation of #MariaDB on #CentOS 8.

The /var/lib/mysql directory is not empty when MariaDB is installed, it contains e.g. the 'mysql' database and some other files. 

Recreating the folder, even with correct permissions, will not help you. 

Either MariaDB has not been successfully installed or the directory was removed. Reinstall MariaDB to get a working basic database system back.

Also, you can give access /var/log/mysql/* to mysql by running the command:

sudo chown mysql:mysql /var/log/mysql/*


MariaDB offers more and better storage engines, NoSQL support, provided by Cassandra, allows you to run SQL and NoSQL in a single database system. 

MariaDB also supports TokuDB, which can handle big data for large organizations and corporate users.


To view mysql error logs:

1. edit /etc/my.cnf [mysqld] log=/tmp/mysql.log.

2. restart the computer or the mysqld service service mysqld restart.

3. open phpmyadmin/any application that uses mysql/mysql console and run a query.

4. cat /tmp/mysql.log ( you should see the query )



This article will guide you on the different methods to #install #VirtualBox on Ubuntu 20.04 system. Now, you can create your first guest Linux machine or Windows environment on your Ubuntu system. 

#Xen is a popular, open-source virtual machine application that is officially supported by #Ubuntu. 

It provides high performance, but only supports a small number of host and guest operating systems. 

Ubuntu is supported as both a host and guest operating system, and Xen is available in the universe software channel.

If you want to explore more about the working of the Virtualbox then, you can visit the Official documentation of Virtualbox use from this page .

VirtualBox can be installed on #Windows, Linux, macOS, Solaris, and FreeBSD.


To find the #Linux version:

1. Open the terminal application (#bash shell).

2. For remote server login using the ssh: ssh user@server-name.

3. Type any one of the following command to find os name and version in Linux: cat /etc/os-release. lsb_release -a. hostnamectl.

4. Type the following command to find Linux kernel version: uname -r.



This article will guide you on steps to easily change the background of the Zoom application whenever he wants on #Ubuntu #Linux System. In this way, you can ensure efficient bandwidth utilization.

#Zoom is a very popular video communication tool for chatting, online meetings, screen-sharing, video conferencing etc. 

It is supported by most of the popular operating system like #Windows, Linux, Mac, and Android.

Zoom offers a few default image options to choose from, but it also allows you to upload your own image.

To make my background zoom better:

1. Click Settings. 

2. Click Virtual Background. 

Note: If you do not have the Virtual Background tab and you have enabled it on the web portal, sign out of the Zoom Desktop Client and sign in again. 

3. Click on an image to select the desired virtual background or add your own image by clicking +Add Image.



This article will guide you on methods to remove or #uninstall a program in #Linux #Mint 20. 

To uninstall a program, use the "apt-get" command, which is the general command for installing programs and manipulating installed programs.

If you want to remove a package, use the apt in the format; sudo apt remove [package name]. If you want to remove a package without confirming add –y between apt and remove words.

To uninstall an RPM package:

1. Execute the following command to discover the name of the installed package: rpm -qa | grep Micro_Focus. This returns PackageName , the #RPM name of your Micro Focus product which is used to identify the install package.

2. Execute the following command to uninstall the product: rpm -e [ PackageName ]


To clean up broken #packages in #Ubuntu:

i. Find your package in /var/lib/dpkg/info , for example using: ls -l /var/lib/dpkg/info | grep <package>

ii. Move the package folder to another location.

iii. Run the following command: sudo dpkg --remove --force-remove-reinstreq <package>



This article will guide you on how to start, stop, and restart the #network service on different Linux distribution like Ubuntu, #Debian, Linux Mint, and CentOS 8. Moreover, you can troubleshoot the network #error through the #NetworkManager tool on #CentOS 8.

Please don't stop services if you have a remote ssh connection that may create a problem.

Restarting networking on a desktop machine will cause dbus and a bunch of #service to stop and never be started again, usually leading to the whole system being unusable.

To restart a Linux service:

1. Linux provides fine-grained control over system services through #systemd, using the systemctl command.

2. To verify whether a service is active or not, run this command: sudo systemctl status apache2.

3. To stop and restart the service in Linux, use the command: sudo systemctl restart SERVICE_NAME.



This article will guide you on the steps to install #Webmin in your Linux system. Webmin comes with a very simple webserver called miniserv.pl that is capable of doing all that is necessary for Webmin to run. However, it is not as fast or memory efficient as a well-developed server such as #Apache.

To modify the default port, 10000 to 10101, open the /etc/webmin/miniserv. conf file and modify line 1 and 16. Now you can access the Webmin through url with new custom port.

To Install Webmin on #Ubuntu:

1. Log in to your Ubuntu #server.

2. Issue the command sudo nano /etc/apt/sources. list.

3. Hit [CTRL][x] and save the file.

4. Add the downloaded key with the command sudo apt-key add jcameron-key. asc.

5. Update apt with the command sudo apt-get update.

6. Install Webmin with the command sudo apt-get install webmin.



This article will guide you on the basic operations that you can perform on #MongoDB #tables or #collections. By following the very same syntax and operations, you can even write other complex #queries that can easily serve the purpose of your particular task.

MongoDB is almost 100 times faster than traditional database system like RDBMS, which is slower in comparison with the #NoSQL databases. MongoDB supports deep query-ability i.e we can perform dynamic queries on documents using the document-based query language that's nearly as powerful as #SQL.

To open a collection in MongoDB:

1. Finding the current database you're in. db.

2. Listing databases. show databases. 

3. Go to a particular #database. use <your_db_name>.

4. Creating a Database.

5. Creating a Collection. 

6. Inserting #Data.

7. Querying Data. 

8. Updating documents.



This article will guide you steps on how you stop, start, or restart a #service in #Ubuntu 20.04. service operates on the files in /etc/init. d and was used in conjunction with the old init system. #systemctl operates on the files in /lib/systemd . If there is a file for your service in /lib/systemd it will use that first and if not it will fall back to the file in /etc/init. To list all loaded services on your system (whether active; running, exited or failed, use the list-units subcommand and --type switch with a value of service. To Check running process in #Linux: 1. Open the #terminal #window on Linux. 2. For remote Linux server use the ssh command for log in purpose. 3. Type the ps aux command to see all running process in Linux. 4. Alternatively, you can issue the top command or htop command to view running process in Linux.



This article will guide you on steps of uploading a video to #Google #Drive within no time. If you upload files from compatible #programs like #Microsoft Word or #Excel, you can even edit them in Google Drive. By following this method, you can upload your video files with sizes ranging from a few #Bytes up to 5 TB. After uploading a file, you can create its copies, download it, share it with the people you want, or may even remove it.



This article will guide you on how to make a #Google #Drive #document read-only for yourself or for others by using any of the two methods that are suggested here. These #methods can be used with equal ease both by the experts as well as the naïve users since they are extremely simple to follow. To make a Google Drive folder not read only: 1. Open your Drive. 2. Click "new". 3. Select "folder". 4. Name your folder. 5. Select your folder by "single clicking" it. 6. Adjust your sharing settings by selecting the sharing icon. 7. Select "get shareable link". 8. Then copy and paste the link that is highlighted. Share this link with anyone you would like to have access to the folder.



This article will guide you on how to exit #vim text editor using various options. 1. Open a new or existing file with vim filename . 2. Type i to switch into insert mode so that you can start editing the file. 3. Enter or modify the text with your file. 4. Once you're done, press the escape key Esc to get out of insert mode and back to #command mode. 5. Type :wq to save and exit your file.



This article will guide you on how to use the root user on #OpenSUSE Linux and the sudo command.To use sudo, you need to install and configure sudo on the OpenSUSE #Linux server. The #sudo command allows you to run #programs with the security privileges of another user (by default, as the #superuser). Using the #sudoers file, system administrators can give certain users or groups access to some or all commands without those users having to know the root password.



This article will guide you on the steps to set up a secured VNC server up and running on your Ubuntu 20.04 server. This will help you to manage your files, software, and settings with a user-friendly graphical interface, and you will be able to run graphical software like web browsers remotely.



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.



This tutorial will guide you on how to write a simple shell script and run a script in Linux operating system with help of chmod and other commands.



This extract will guide you on how to save terminal output to a file when using Linux or Unix-like operating system with modern shell such as Bash or KSH including POSIX syntax.



This article will guide you on how to show or hide line numbers in vim / vi text editors using commands.



This article will guide you on how to add a new and existing user account to sudo in CentOS 8 by appending them to wheel group so that they can run admin commands.



This article will guide you on how to configure a Static IP address on CentOS 8.



This article will guide you through the processes of Installing VirtualBox, CentOS 8 as a Virtual Machine (VM) on VirtualBox.



This Tutorial will show you the easiest method of restarting a server based on a Webmin and Virtualmin control panel




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