postfix smtp Must issue a STARTTLS command first

postfix mail server

When sending an email to a server, mail bounced with the following error message.

To fix the error, first enabled debug in postfix for the Remote-MTA, for this, edit file

Add the following lines. You need to remove these lines after debug is completed or your log file will get larger with debug […]

Read More…

How to install Docker on CentOS 8

Docker

RHEL replaced Docker on RHEL 8 (CentOS 8) with podman. To install Docker on CentOS, you can do the fallowing steps. Install yum-utils

Add Docker repository

Install Docker with

Enable docker to start on boot

Start docker

Check the status of the docker

Back to docker […]

Read More…

dmidecode

Linux

dmidecode is a tool for dumping a computer’s DMI (SMBIOS ) table contents in a human-readable format. This table contains a description of the system’s hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe […]

Read More…

How to find RAM details in Linux

Linux

To find RAM memory details (model number/manufacturer) in Linux, you can use the command

To show only model numbers, run

Once you find the Part Number, you can search in google for the part number to see more details about the RAM. On Ubuntu/Debian, you can install dmidecode with the command

On […]

Read More…

How to install LetsEncrypt SSL on Bitnami WordPress Server

wordpress

To install a free LetsEncrypt SSL certificate on bitnami WordPress installation, do the following log in to the server as user “bitnami” using SSH/putty. Run command

It will ask for the domain name. Enter domain names separated by space. After that you will be asked if you need to redirect the domain name to […]

Read More…

Uvicorn

Uvicorn is a lightning-fast ASGI server used to serve python ASGI frameworks like FastAPI, Django Channels, Quart, BlackSheep, etc… https://www.uvicorn.org To install Uvicorn, run

To run, you can use

See Python […]

Read More…

Running Apache VirtualHost under separate user with mpm-itk

Apache MPM ITK

mpm-itk allow you to run Apache VirtualHost under a specific user/group instead of under the Apache user/group. On Debian/Ubuntu Apache web server is run under user www-data. When you host multiple websites under an Apache server, running all sites under the same www-data user allows a hacker to access files of other sites if one […]

Read More…

How to fix Cpanel Server shared IP address show customer site

On a Cpanel Server, when you visit a shared IP address used by multiple websites, you will see the website of the first VirtualHost entry. This is not good when you have multiple customer websites as your other customers may visit the IP and see the site associated with the first VirtualHost entry and complain […]

Read More…

Install Elasticsearch with Docker

To Install Elasticsearch with Docker, first, you need to install docker on your server with command

Docker images for Elasticsearch are available from https://hub.docker.com/_/elasticsearch You can see all available versions at https://hub.docker.com/_/elasticsearch?tab=tags&page=1&ordering=last_updated To create an elasticsearch container, run

To run it in the background

To verify if ElasticSearch works, run

Back […]

Read More…

Visual Code Studio Missing Tabs for Open Files

visual code studio tabs missing

Sometimes working on Visual Code Studio, I lose Tabs shown on top of the editor, this happens when I type, maybe I press some key combination by accident. Once this happened, Visual Codde Studio won’t show tabs for all the open documents, instead, it just shows a tab for the active document. To fix this, […]

Read More…