
The default configuration in nginx.conf file is; error_log /path/to/logfile-folder/error.log; change the above line with the following; error_log /path/to/logfile-folder/error.log debug; Restart NGINX.
Before applying a change to a logical volume (LV), it automatically creates a backup of the volume group (VG) and even an archive of the logical volume on which the operation is performed. This enables the restoration of the lost logical volume from the archive. To restore the LV, first fund the LV in the …
The methods below show how to extend a Volume Group (VG), a Logical Volume (LV), and a filesystem with a Physical Volume designated /dev/sda. (PV). Create a PV from a free disk or partition (e.g., a partition named /dev/sda1): # pvcreate /dev/sda1 Extend the VG name vg. /dev/sda1 is the existing PV path. # vgextend …
The owner and group of httpd-related processes is “apache” by default, as set in the apache configuration file (httpd.conf) shown below. User apache Group apache You can confirm the user name and group of httpd process by using the ps command as follows. $ ps -aux | grep httpd root 9773 0.0 0.0 4520 685 …
Meteor Lake processors, which will be Intel’s 14th-generation chips (following Raptor Lake) and are due in 2023, have already been spotted and photographed, or at least test versions of the chips have. A close-up capture of a wafer of Meteor Lake test chips (see below), quite possibly of the M-Series, in this first sighting of …
This guide explains how to enable HTTP Strict Transport Security (HSTS) on Apache HTTPD. The first step is to verify that Apache HTTPD headers module is enabled. Check the following text in /etc/httpd/conf.modules.d/00-base.conf or /etc/httpd/conf/httpd.conf. LoadModule headers_module modules/mod_headers.so Add the following text in /etc/httpd/conf.d/ssl.conf to <VirtualHost *:443> virtual host or for each SSL enabled virtual …
YUM command is used for installing, querying, deleting, and managing CentOS/AlmaLinux packages in local and remote repositories. Use the following YUM Cheat Sheet as a quick reference for commands and options.
Use the below command to find files above 200M in / or in /opt. You can specify certain file system on the command line replacing / or /opt/ # find / -xdev -size +200M # find /opt -xdev -size +200M
You may need to find files with specific permissions in a Linux server for audit and security reasons. You can use the Linux find command to achieve this task. The following command can be used to find files with (group or other or both) writable permission and SET UID set. # find / -perm /022 …