Topics Based on Linux related articles

How to Setup password less SSH Authentication in Linux

  • Create RSA Key pair for accessing SSH Service

[root@testserver01 ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:

How to include PHPMailer Library in Drupal 8

 

This step should have been completed upon the installation of Drupal 8 for getting PHPMailer function


Install Composer

# curl -sS https://getcomposer.org/installer | php

 

Move Composer binary to usr bin path

# mv composer.phar /usr/bin/composer

 

Check Composer Version

# composer --version

 

Go to Drupal root Directory and execute

How to install MySQL 5.7 in Centos 7 Server

 

This step should have been completed upon the installation of MySQL 5.7, but if you haven’t, you can complete it with:

System Updates

yum update

 

Install Repository

yum -y install yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm

 

Now you are ready to install MySQL 5.7 with:

yum -y install mysql-community-server

 

Firewall Configuration

How to Install Stable Nginx on RHEL9

  • Add Nginx Stable Repo

[root@testsvr01 ~]# vi /etc/yum.repos.d/nginx.repo

[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

  • Install Nginx Stable 

root@testsvr01 ~]#  yum install nginx -y

[root@testsvr01 ~]# nginx -v
nginx version: nginx/1.24.0
 

Subscribe to Linux