Install LAMP Stack on Ubuntu 20.04

Install LAMP Stack on Ubuntu 20.04

LAMP stack is a software stack that includes: Linux as a primary Operating system, Apache as a Web-Server, MySQL as a database, and PHP as a scripting language.
LAMP stack used to create an environment for Developing/Running PHP web applications and it’s one of the most popular software stacks out there. In this tutorial, we are going to learn how to install each one of the softwares of the LAMP Stack on the CentOS 8 machine.
(more…)

Setting Up NTP server on CentOS 7

What is NTP

NTP (Network Time Protocol) is a protocol used to synchronize computer times over a network, and it is one of the oldest TCP/IP protocol stack parts which is highly fault-tolerant and scalable. There are thousands of NTP servers around the world with access to highly precise atomic clocks and GPS clocks, NTP uses Coordinated Universal Time (UTC) to synchronize computer clock times with precision.
(more…)

How to install and use Screen on Linux

Screen is a terminal program for Linux which allows you to multiplex your terminal window and manage them simultaneously. it allows you to access multiple terminal sessions within a single terminal session. this tool is most useful when you are connected to a Linux system remotely like SSH sessions when you want to do multiple things and without Screen you need to do them one by one but using Screen you can do multiple things simultaneously. Screen also lets multiple remote systems connect to a specific screen session at once.
(more…)

How to install and use TCPdump on CentOS 7 / 8

TCPdump is a network analyzer utility that can monitor and log, TCP/IP traffic passing through the network and the device from which it is executed. TCPdump is open-source and it’s freely available under the BSD license. it is a command-line interface application and it can provide information about packets in several formats depending on the arguments used.
(more…)

How to Secure SSH on CentOS 8 and 7

SSH (also referred to as Secure Shell) is a protocol for remote login to a system securely. SSH provides several alternative options for strong authentication, and it protects the communications from both ends with strong encryptions. SSH is a secure alternative to non-protected protocols such as telnet or rlogin, and it also can provide file transfer services more securely than other common protocols.

In this article, we are not going to talk about obvious things such as “choosing strong passwords” etc. the more technical security hardening methods is the point of this tutorial.
(more…)