Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
How to enable TLS/SSL encryption with Glusterfs storage cluster on Linux
To enable TLS/SSL encryption with a GlusterFS storage cluster on Linux, you need to follow these steps:rn rn Generate a private key and a certificate signing request (CSR) for the GlusterFS server. You can use the openssl command line tool for this: rn rn rn rn openssl req - new -newkey rsa: 2048 -n
How to extract a .deb file without opening it on Debian or Ubuntu Linux
You can extract the contents of a .deb package file without opening it on Debian or Ubuntu Linux using the dpkg-deb command line tool. The following command will extract the contents of a .deb package file named package.deb to the directory extracted_files :rn rn rn dpkg-deb -R package .deb extracte
Ubuntu Linux Remove / Delete PPAs apt-get command
To remove or delete a Personal Package Archive (PPA) on Ubuntu Linux, you can use the following apt-get command: n n n sudo add -apt-repository -- remove ppa:<PPA_name> n n n Replace <PPA_name> with the actual name of the PPA you want to remove. For example, to remove the ppa:webupd8team
How to enable bash command autocomplete on Alpine Linux
Bash command autocomplete can be enabled on Alpine Linux by installing the bash-completion package and adding the following line to the ~/.bashrc file:rn rn rn if ; then rn . /usr/share/bash-completion/bash_completionrn fi rn rn rnHere are the steps to follow:rn rn Update the package list: rn rn rn
How to get common name (CN) from SSL certificate using openssl command
You can retrieve the Common Name (CN) from an SSL certificate using the openssl command line tool. The following command will extract the CN from a certificate file cert.pem :rn rn rn openssl x509 -noout -subject - in cert.pem | awk -F= '/CN=/ {print $2}' rn rn rnThe x509 option is used to specify t
How to Check Amazon Linux Version (EC2 Instance)
To check the version of Amazon Linux installed on an EC2 instance, you can use the following command in the terminal:rn rn rn cat /etc/os-releasern rn rnThis will display the version information, including the version number, in the output. For example:rn rn rn NAME= "Amazon Linux" rnVERSION= "2" rn
How to delete and remove files on Ubuntu Linux
To delete files in Ubuntu Linux, you can use the rm command in the terminal. Here are some examples of how to use the rm command:rn rn To delete a single file: rn rn rn rn rm file.txtrn rn rn rn To delete multiple files: rn rn rn rn rm file1.txt file2.txt file3.txtrn rn rn rn To delete a directory a
How to install and configure Jails on FreeNAS Corral 10
To install and configure Jails on FreeNAS Corral 10, follow these steps:rn rn Go to the FreeNAS web interface and log in. rn Go to the "Jails" section in the left menu. rn Click the "Add Jail" button. rn Enter a name for the Jail and select the jail type. For FreeNAS Corral 10, the jail type is "Tra
How to set and enable MariaDB slow query log
rn rn rn rn rn To enable and set up the slow query log in MariaDB, you need to modify the configuration file my.cnf and restart the MariaDB service. Here are the steps to enable the slow query log in MariaDB:rn rn Open the my.cnf configuration file: rn rn rn rn sudo nano /etc/my.cnfrn rn rn r
How to sudo without password on CentOS Linux
To run sudo without a password prompt on CentOS Linux, you can edit the /etc/sudoers file. Here's the process:rn rn Open the /etc/sudoers file using the visudo command: rn rn rn rn sudo visudorn rn rn rn Add the following line at the end of the file, replacing username with the name of the user who
How to reload or restart php-fpm 5/6/7/8 service
The process to reload or restart php-fpm depends on the operating system and the version of php-fpm you are using. Here are some common methods for reloading or restarting php-fpm: For php-fpm 5 and 6:rn rn To reload the service: rn rn rn rn sudo service php5-fpm reloadrn rn rnorrn rn rn sudo ser
How to set up MariaDB Master Slave replication with SSL on Ubuntu Linux
Setting up MariaDB Master-Slave replication with SSL on Ubuntu Linux involves the following steps:rn rn Install MariaDB on both the master and the slave servers. rn On the master server, open the MariaDB configuration file: rn rn rn rn sudo nano /etc/mysql/mariadb.conf.d/50-server.cnfrn rn rn rn Add
How to flush/clear the pfsense DNS forwarder cache
To flush the DNS forwarder cache in pfSense, you can follow these steps:rn rn Log in to the pfSense web interface. rn Navigate to Services > DNS Forwarder. rn Click the "Clear Cache" button located at the top of the page. rn rnThe DNS forwarder cache is now cleared and any changes to the DNS reco
How to increase and set upload size to 100MB in PHP-Apache
To increase the maximum upload size to 100 MB in PHP running on Apache, you can follow these steps:rn rn Open the PHP configuration file: rn rn rn rn sudo nano /etc/php/7.x/apache2/php.inirn rn rn rn Change the following values: rn rn rn rn upload_max_filesize = 100Mrnpost_max_size = 100Mrn rn rn rn
How to use LXD (Linux containers) in a shell script to create VM when the cloud instance launches
You can use LXD (Linux containers) in a shell script to create a virtual machine (VM) when a cloud instance launches by following these steps: n n Install LXD: n n n n sudo apt - get update nsudo apt - get install lxd n n n n Initialize LXD: n n n n sudo lxd init n n n n Create a new container: n n
How to disable fast mirror yum plugin in CentOS Linux server
To disable the fast mirror plugin in a CentOS Linux server, you can follow these steps:rn rn Open the Yum configuration file: rn rn rn rn sudo nano /etc/yum/pluginconf.d/fastestmirror.confrn rn rn rn Change the enabled setting to 0 : rn rn rn rn rnenabled= 0 rn rn rn rn Save and close the file. rn U
How to install GoAccess web log analyzer with Nginx on Linux or Unix
To install GoAccess web log analyzer with Nginx on Linux or Unix, you can follow these steps:rn rn Install GoAccess: rn rn rn sudo apt - get update rnsudo apt - get install goaccessrn rn rn rn Install Nginx: rn rn rn sudo apt - get update rnsudo apt - get install nginxrn rn rn rn Configure Nginx to
How to run multiple commands in sudo under Linux or Unix
You can run multiple commands as sudo by separating the commands with a semicolon (;) or by using a shell script.rn rn Using semicolon: rn rn rn rn sudo command1 ; sudo command2 ; sudo command3rn rn rn rn Using a shell script: rn rnCreate a shell script with the commands you want to run, make it exe
How to update and upgrade Pi-hole with an OpenVPN on Ubuntu/Debian Linux server
To update and upgrade Pi-hole on an Ubuntu/Debian Linux server with OpenVPN, you can follow these steps:rn rn Connect to your OpenVPN server: rn rn rn rn sudo openvpn --config client .ovpn rn rn rn rn Update the package lists: rn rn rn rn sudo apt - get update rn rn rn rn Upgrade the installed packa
How to run command or code in parallel in bash shell under Linux or Unix
You can run commands in parallel in the bash shell using the "&" operator to run a command in the background, and the "wait" command to wait for all background jobs to complete. For example:rn rn rn # Run command1 in the background rncommand1 & # Run command2 in the background rncomman
2,685 guides published.
