Blog about System and Network

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 […]

Enable/Disable Dell iDRAC7 web service from SSH

Enable/Disable Dell iDRAC7 web service using “racadm” command via SSH. Step 1: Connect to and login to your server through SSH. (Default username “root” and password “calvin” ) Step 2: Now type the following command to display the status of the IDRAC web server service: # racadm get idrac.webserver Step 3: If the Enable setting is set […]

Move MySQL data to another folder cPanel/WHM

Due to the space issue in /var partition, I need to move the MySQL data to another partition. But before beginning the process let’s first create the full mysqldump first. Create the dump file. # mysqldump –all-databases | gzip > /home/alldatabases.sql.gz Uncheck monitor in WHM > Service Manager for Mysql and save the area. Now your […]