mount: unknown filesystem type ‘LVM2_member’.

When I try to mount a partition, I get the following error

This is because the disk is LVM. First of all identify the name of the volume group and logical volume.

Example

From the above result, we found the server has 3 logical volumes. The biggest volume is root. Other volumes […]

Read More…

Delayed block allocation failed for inode

On a CentOS server, reading files generated IO error. On /var/log/messages, I had the following error message

The problem is fixed by rebooting the server into rescue mode, then running the fsck command.

[…]

Read More…

qdbus: not found

When running a program Ubuntu server with XFCE, I get the error

The error is fixed by installing qbus

On CentOS, you need to install qdbus-qt5 package

[…]

Read More…

Nginx Rate Limiting

Nginx Web Server

Nginx web server support rate-limiting with module ngx_http_limit_req_module. Block WordPress wp-login.php attack To block the WordPress wp-login.php attack, add the following to http section of your nginx.conf file.

2r/2 = Lmit 2 requests per second. Inside server entry for the website, add

[…]

Read More…

Set Static IP in RHEL 8 OVH VPS

OVH Cloud VPS KVM

On OVH VPS running AlmaLinux 8, IPv4 IP address gets dropped. I have to connect to the server using KVM feature available in OVH control panel. I checked IP of the server with the command

It did hot show any IPv4 IP address. I checked the network configuration file

That had the following […]

Read More…

How to Convert CentOS 8 to Rocky Linux

You can convert your remote VPS or Dedicated Server running CentOS 8 to Rocky Linux easily by running the following commands.

Now verify your system can be converted with command

If all is good, you can convert CentOS 8 to Rocky Linux with the command

[…]

Read More…

How to clear Laravel cache

To clear laravel cache, run command

You can also delete compiled files from

[…]

Read More…

Install Cpanel Control Panel

To install the Cpanel/WHM control panel, run the following command as user root.

[…]

Read More…