Blog about System and Network

How to enable TLS 1.3 in Nginx with OpenSSL Centos 7

tls-1.3

Here, we are going to enable TLS 1.3 on our production CentOS 7 server. OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. OpenSSL is a software library for applications that secure communications over computer networks against eavesdropping or need to identify the party […]

Docker Compose file for MySQL and phpMyAdmin

Docker Compose file for MySQL and phpMyAdmin

Here we are going to deploy MySQL and phpMyAdmin container through Docker compose file and also access the MySQL container from the Docker host MySQLWorkbench. What is Docker? Docker is an open-source containerization platform and uses OS-level virtualization to deliver software in packages called containers. It is written in Golang and developed by dotCloud Inc and now […]

Compile PHP 7.3.13 on CentOS 7 with OCI8 and MongoDB extens...

First Install Development Tools on CentOS 7. Download the latest stable PHP version 7.3.13 source code from its website.  “configure” is a script designed to aid a program to be run on a wide number of different computers. This will automatically use your system variables to configure and ready the source for your VPS. It […]

How to Install YOURLS on CentOS 7 using NGINX + HTTPS

In this guide, I will explain how to install YOURLS on a Centos7 VPS with MariaDB 10.4, PHP 7.3, and Nginx with HTTPS. YOURLS stands for Your Own URL Shortener. YOURLS is an open-source self-hosted application build with PHP which allows you to run your own URL shortening service. Also, check yourls.org! Learn more tweaks in the Wiki documentation. First […]

Upgrading the Firmware on a Cisco UCS C-240-M3 Server Using...

Upgrading the Firmware on a Cisco UCS C-240-M3 Server Using the HUU

Step 1: Download the HUU(Cisco Host Upgrade Utility) ISO software. Login with your credential and navigate to the following URL: http://www.cisco.com/cisco/software/navigator.html. In the middle column, search for “ucs c240 m3 rack server” Home > Servers – Unified Computing > UCS C-Series Rack Mount Standalone Server Software > UCS C240 M3 Rack Server Software > Unified […]

How to change LVM Volume Group Name and Troubleshoot “...

How to change LVM Volume Group Name and Troubleshoot “dracut-initqueue timeout error” in CentOS 7

Follow the below steps to change Volume Group Name from centos to fedora-01 Step1: Change Volume Name # vgs File descriptor 63 (pipe:[46003106]) leaked on vgs invocation. Parent PID 3767: -bash  VG     #PV #LV #SN Attr   VSize    VFree    centos   1   3   0 wz–n- <237.45g 56.00m # vgrename -v centos fedora-01 Step2: Update /etc/fstab and […]

Install GitLab Community Edition (CE) 11.10, Deploy SSL and...

Install Required Dependencies. # yum update # yum install policycoreutils-python curl Setup GitLab repo and install GitLab CE. Installation will take a while. # curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash # EXTERNAL_URL=”http://gitlab.bdn.com” yum install -y gitlab-ce Note: If you want to change your main URL, you can configure it in the GitLab main configuration file /etc/gitlab/gitlab.rb […]

Increase RAM for XenServer VM’s through Command Line ...

First shutdown the VM. Get the UUID from xe vm-list command. xe vm-list xe vm-shutdown uuid=6840d169-6abf-a2e4-a529-b2b6e2a5e03f Execute the Below command to configure the new RAM: xe vm-memory-limits-set uuid=6840d169-6abf-a2e4-a529-b2b6e2a5e03f static-min=32GiB dynamic-min=32GiB dynamic-max=32GiB static-max=32GiB Now start VM xe vm-start uuid=6840d169-6abf-a2e4-a529-b2b6e2a5e03f

cPanel/WHM apache log to remote syslog server

I don’t think there is any native support in cPanel service to send apache logs of the domain or any other logs on a remote server directly. Therefore, Some custom changes need to be made on a client-side from where logs are sent. First, let’s list out all the domain name from the cPanel/WHM server. […]

inode usage in cPanel /WHM Server

If you are facing an inode issue in your cPanel/WHM server then follow the below process. First, execute the below command it will show the total files count along with the folder path. sudo su – echo “Inode usage for: $(pwd)” ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv […]