Category: Knowledgebase

Linux, Windows, Virtualization based technical articles, reviews, and How-TOs.

lvm vg lv

How to decrease /home and increase / on the same VG

Examine the current filesystem size. # df -h Check to see if any processes are using /home, then umount it and double-check. # umount /home# df -h Reduce the size of the /home filesystem. The below command will remove free space from the filesystem. # e2fsck -f /dev/mapper/vg_01-lv_home# resize2fs /dev/mapper/vg_01-lv_home 1G Now reduce /home with …

Read more

lvm disk

lvextend –resize do not resize ext4 filesystem

After running ‘lvextend’ with the ‘-r’ option as below. # lvextend -L <size> -r -v /path/of/logical-volume Instead of manually doing’resize2fs’ after performing the above lvextend command, the ext4 filesystem should Auto-resize itself. But instead, tune2fs shows the following output. # tune2fs -l /name/of/logical-volume tune2fs 1.38 (11-Aug-2007) tune2fs: Filesystem has unsupported feature(s) while trying to open …

Read more

apache chroot

How to chroot HTTPD configuration & installation

A chroot HTTPD setup creates a separate disk root directory for the Apache and its child processes, preventing attackers or other php/perl/python scripts from accessing or naming files outside of that directory. For Apache/HTTPD, this is known as a chroot jail. For Apache installation, create a base/root directory of your choice. The Apache chroot installation …

Read more


What is e-business: Definition, Components & Features

The term “electronic business” is abbreviated as “e-business.” It refers to using digital information and communication technologies to support or streamline business processes from planning to implementation. However, it can also refer to the operations of online stores and other web-based businesses. The lack of a widely accepted, precise definition of e-business has resulted from …

Read more

How to disable HTTP methods in Apache HTTPD?

To disable the HTTP options method on your CentOS or AlmaLinux based Linux server, you should add the following code in the .htaccess file. RewriteCond %{REQUEST_METHOD} ^(PUT|DELETE|TRACE|OPTIONS|CONNECT)$ [NC]RewriteRule .* - [F] The RewriteCond will check the HTTP method currently used by request, and RewriteRule will intercept that request creating a response with a 403 Forbidden …

Read more

How to resolve httpd error – Invalid command IndexOptions

While starting httpd with, systemctl httpd startyou may get the following error. # service httpd statusRedirecting to /bin/systemctl status httpd.service● httpd.service - The Apache HTTP ServerLoaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)Active: failed (Result: exit-code) since Fri 2021-1-01 10:42:33 EDT; 1s agoDocs: man:httpd(8)man:apachectl(8)Process: 17601 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)Main PID: 17601 (code=exited, status=1/FAILURE) July 06 …

Read more

Install Windows 11

How to install Windows 11 on any PC

Microsoft has given the minimum system requirements for installing Windows 11 on a PC or dedicated server. If your PC does not meet those requirements, you may not be able to install Windows 11 on your PC and might want to consider purchasing a new device. Here we will give you a quick step-by-step guide …

Read more

How to change the LiteSpeed connection timeout?

If you see errors like the following you need to change the LiteSpeed connection timeout setting. 2021-09-01 03:33:04.222931 [INFO] [12071] [] Lsapi connection state: 3, watching event: 25, respState: 1, m_iTotalPending:0, m_iPacketLeft:0, m_iCurRespHeader:12, req sent for 121 seconds,Total processing time: 121. Login to the cPanel server as root and access the LiteSpeed WebAdmin console. You …

Read more

How to update composer on cPanel server?

It is usually recommended to download Composer to a local user home directory and use a local version that skips workarounds as required by using a root-level version. Only root is able to update system-level Composer. Local users can update Composer only if they install Composer locally and are not using the root-level Composer provided …

Read more