Skip to main content

Linux

Topics Based on Linux related articles

Upgrade PHP 7.4 to 8.1 in Centos / RHEL 7 Server

Submitted by nidheesh on Tue, 12/06/2022 - 21:59
  • Check Current PHP Version

[root@testsvr01 ~]# php -v
PHP 7.4.33 (cli) (built: Oct 31 2022 10:36:05) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

  • Install yum utils 

[root@testsvr01 yum.repos.d]# yum -y install yum-utils

How to Setup password less SSH Authentication in Linux

Submitted by nidheesh on Wed, 11/30/2022 - 13:43
  • 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

Submitted by nidheesh on Sat, 06/19/2021 - 20:33

 

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

Submitted by nidheesh on Sun, 12/06/2020 - 01:11

 

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