×

Install Nmap on Ubuntu 20.04 - Step by Step Process ?

This article covers different methods to install Nmap on Ubuntu. If you want to learn how to use nmap, visit our guide on 15 Mostly Used Nmap Commands for Scanning Remote Hosts .

Nmap works by sending data packets on a specific target (by IP) and by interpreting the incoming packets to determine what posts are open/closed, what services are running on the scanned system, whether firewalls or filters are set up and enabled, and finally what operating system is running.


To install Nmap on Ubuntu:

1. Make sure the software packages on your Ubuntu system are up-to-date with the command:

$ sudo apt-get update

2. To install NMAP on Ubuntu, run the command:

$ sudo apt-get install nmap

The system prompts you to confirm and continue by typing y and pressing Enter.

3. To verify the installation was successful and to determine the current version of Nmap:

$ nmap --version


15 Key Nmap Commands for Scanning Remote Hosts - Check them out now ?

This article covers Nmap commands that you can use to get started with scanning your remote hosts. There are hundreds upon hundreds of Nmap commands and Nmap scripts  that are used for scanning hosts and probing for any vulnerabilities.

Nmap, or Network Mapper, is an open source Linux command line tool for network exploration and security auditing. With Nmap, server administrators can quickly reveal hosts and services, search for security issues, and scan for open ports.

The Nmap tool can audit and discover local and remote open ports, as well as network information and hosts.

With the right Nmap commands, you can quickly find out information about ports, routes, and firewalls.


Install Emacs Editor in Ubuntu 20.04 - How to perform it ?

This article covers methods to install Emacs editor in the Ubuntu 20.04 system. Emacs is a text editor designed for POSIX operating systems and available on Linux, BSD, macOS, Windows, and so on.


Emacs is an open-source, cross-platform editor that is highly customizable and provides a user-friendly interface to its users. 

It Provide features like multiple editing modes, full Unicode support for scripts, text manipulation tools, and integration with numerous external tools like the shell and git clearly gives an indication of how powerful it is.


To Install Emacs on Linux:

You can check if your Linux system has emacs installed by simply running the following command:

$ emacs

If you get an error message such as "-bash: -bash:: command not found", then you need to install it.

To install the emacs packages, run the command:

$ yum install emacs

On Ubuntu, execute:

$ apt-get install emacs


To install Emacs using Snap on Ubuntu:

Execute the following command in the command line:

$ sudo snap install emacs --classic

Once this is done, you can find Emacs in your list of installed applications.


Create and Run a Shell Script in Linux Mint 20 - Step by Step process to perform this ?

This article covers the method of creating and running a shell script in Linux Mint 20.

With this, you can write and execute complex shell scripts in Linux Mint 20 very easily.


To write and execute a script:

1. Open the terminal. Go to the directory where you want to create your script.

2. Create a file with . sh extension.

3. Write the script in the file using an editor.

4. Make the script executable with command chmod +x <fileName>.

5. Run the script using ./<fileName>.


To save a .sh file in Ubuntu:

1. Run nano hello.sh.

2. nano should open up and present an empty file for you to work in.

3. Then press Ctrl-X on your keyboard to Exit nano.

4. nano will ask you if you want to save the modified file.

5. nano will then confirm if you want to save to the file named hello.sh.


To Make a Bash Script Executable in Linux:

1) Create a new text file with a . sh extension.

2) Add #!/bin/bash to the top of it. This is necessary for the “make it executable” part.

3) Add lines that you'd normally type at the command line.

4) At the command line, run chmod u+x YourScriptFileName.sh.

5) Run it whenever you need!


Install MariaDB on CentOS 8 - Step by step process ?

This article will guide you on how to install MariaDB on your CentOS 8 system. Now you can create new databases and grant privileges to other database users. Also, you can add users and create new databases for web or desktop applications which will be written in PHP, Python, and so on.

In MariaDB replication is faster whereas in MySQL replication is slower. 

MariaDB is Open Source whereas MySQL uses some proprietary code in its Enterprise Edition. 

MariaDB doesn't support Data Masking and Dynamic column while MySQL supports it. Comparatively MariaDB is faster than MySQL.


To uninstall MariaDB and install mysql:

1. Purge mariadb sudo apt purge mariadb-* Remove all databases ('Yes' answer)

2. Purge mysql sudo apt purge mysql-*

3. Remove folders: sudo rm -r /usr/share/mysql/ sudo rm -r /etc/mysql/ sudo rm -r /lib/systemd/system/mysql.service.

4. Now you can try to install oracle mysql: sudo apt install mysql-server.


MariaDB on Debian 10 - Step by step process to install it ?

This article will guide you on the different methods to conveniently install and start the MariaDB service on a Debian 10 system. Also, we dealt with how to easily remove MariaDB from your Debian 10 system. 

In MariaDB replication is faster whereas in MySQL replication is slower. 

MariaDB is Open Source whereas MySQL uses some proprietary code in its Enterprise Edition. 

MariaDB doesn't support Data Masking and Dynamic column while MySQL supports it. Comparatively MariaDB is faster than MySQL.

Since MariaDB is a fork of MySQL, the database structure and indexes of MariaDB are the same as #MySQL. 

This allows you to switch from MySQL to MariaDB without having to alter your applications since the data and data structures will not need to change. Data and table definition files are compatible.


To install #MariaDB on #Debian , follow these steps:

1. First update the apt packages index by typing: sudo apt update.

2. Once the packages list is updated, install MariaDB by running the following command: sudo apt install mariadb-server.

3. The MariaDB service will start automatically.


Process to install and configure Nagios on Linux ?

This article will guide you on how to install and configure the #Nagios #monitoring solution on Linux. We have also explained how to setup remote hosts for monitoring. Now you can easily monitor the health of #Linux #hosts and the services running on them.

Nagios is an open source monitoring system for computer systems. It was designed to run on the Linux operating system and can monitor devices running Linux, Windows and Unix operating systems (OSes).

Nagios provides complete monitoring of applications and application state – including Windows applications, Linux applications, UNIX applications, and Web applications.

To  install Nagios Plugins and NRPE daemon on the Remote Linux Host:

1. Install Required Dependencies.

2. Create Nagios User.

3. Install the Nagios Plugins.

4. Extract Nagios Plugins.

5. Compile and Install Nagios Plugins.

6. Install Xinetd.


Methods to shutdown Debian 10 from the command line and GUI ?

This article will guide you on how to shut down your Debian 10 system properly using different methods.

If you run a desktop environment, there is usually an option to "log out" available from the #application menu that allows you to shutdown (or #reboot) the system. 

Alternatively you can press the key combination Ctrl+Alt+Del.

To shut down #Linux:

1. To shut down the system from a terminal session, sign in or "su" to the "root" account. 

2. Then type ``/sbin/shutdown -r now''. It may take several moments for all processes to be terminated, and then Linux will shut down.


How To Exit Vim Text Editor Command ?

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.


How to know Ubuntu version via command line ?

This article will guide you on how to check your Ubuntu version so that you can apply patches and update versions for security and performance reasons. The Process of Checking the #Ubuntu version in the #terminal ? i. Open the terminal using "Show Applications" or use the keyboard shortcut [Ctrl] + [Alt] + [T]. ii. Type the #command "lsb_release -a" into the command line and press enter. iii. The terminal shows the Ubuntu version you're running under "Description" and "Release".


How to Check if your Linux Memory usage is running out

It is vital for you to check if your Linux memory is running low to help your server to stay optimized.