Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
CentOS Linux 5/6 Install Mysql Database Server
To install MySQL server on CentOS 5/6, follow these steps:rn rn Add the MySQL repository: rn rn rn rn wget https: / / dev.mysql.com / get / mysql57 - community - release - el6 -9. noarch.rpmrnsudo yum localinstall mysql57 - community - release - el6 -9. noarch.rpmrn rn rn rn Install the MySQL server
HowTo: Deleting Directories in Linux
To delete a directory in Linux, you can use the rmdir command. However, if the directory is not empty, you will get an error message. To delete a directory and all its contents, including any subdirectories and files, you can use the rm command with the -r (recursive) option. For example:rn rn rn rm
How To Install MySQL Client Only on CentOS 6/7/8
To install the MySQL client on CentOS 6/7/8, follow these steps:rn rn Update the package database: rn rn rn rn sudo yum update rn rn rn rn Install the MySQL client: rn rn rn rn sudo yum install mysqlrn rn rn rn Verify the installation by connecting to the MySQL server: rn rn rn rn mysql -h host -u u
Linux / Unix: Unicode and HTML Characters Lookup By Name or Number
There are several tools you can use to lookup Unicode and HTML characters by name or number on Linux/Unix systems.rn rn Unicode Character Search: The Unicode Character Search tool allows you to search for Unicode characters by name, code point, or character. rn HTML Entity Lookup: The HTML Entity Lo
gnome-terminal: There Was An Error Creating The Child Process For This Terminal
The error message "There was an error creating the child process for this terminal" usually indicates a problem with starting the shell process in the gnome-terminal. There could be several reasons for this error, including:rn rn Permission issues with the shell executable: Ensure that the shell exe
SSH: Use Remote Bash / KSH source Command Set Variable Locally From a Remote Server
You can use the remote source command with the ssh command to set a variable locally from a remote server. Here's an example in bash:rn rn rn VAR =$(ssh user @remote-server "source ~/.bashrc; echo \$VAR" )rn rn rnIn this example, the ssh command connects to the remote server as user , sources the ~/
Set/Export: http_proxy With Special Characters In Password Under Unix / Linux
You can set the http_proxy environment variable with a password that contains special characters by URL encoding the password. The URL encoding replaces special characters with their hexadecimal representation. Here's an example of setting the http_proxy variable with a password that contains spe
HowTo: Linux Limit A Specific User’s Shell Account Network Bandwidth Using Bash Shell and Trickle
To limit the network bandwidth of a specific user’s shell account in Linux, you can use the trickle command. Trickle is a user-space bandwidth shaper that can be used to limit the network bandwidth of individual programs. n Here is how to limit the network bandwidth of a specific user’s
MySQL/MariaDB Server: Bind To Multiple IP Address
To bind a MySQL/MariaDB server to multiple IP addresses, you can follow these steps:rn rn Open the MySQL/MariaDB configuration file: rn rn rn rn sudo nano /etc/mysql/my.cnfrn rn rn rn Locate the bind-address directive and comment it out or delete it: rn rn rn rn # bind-address = 127.0.0.1 rn rn rn r
Debian / Ubuntu: Install Latest Version Of OpenSHOT on-Linear Video Editor
To install the latest version of OpenShot on Debian or Ubuntu, follow these steps:rn rn Add the OpenShot PPA (personal package archive) to your system: rn rn rn rn sudo add-apt-repository ppa:openshot.developers/pparn rn rn rn Update the package list: rn rn rn rn sudo apt - get update rn rn rn rn In
What Is SELinux?
SELinux (Security-Enhanced Linux) is a Linux kernel security module that provides a mechanism for enforcing mandatory access control (MAC) policies. MAC is a type of access control that restricts the actions that can be performed by processes and users on a system. n SELinux was developed by the Uni
Gracefully Restart Nginx Web Server After Changes Made In a Config File
rn rn rn rn rn To gracefully restart an Nginx web server after making changes to a configuration file, you can use the following command:rn rn rn nginx -s reloadrn rn rnThis command sends a SIGHUP signal to the Nginx master process, which causes the master process to reload its configuration fil
How To Bash Shell Find Out If a Variable Is Empty Or Not
In bash shell, you can check if a variable is empty or not using the following syntax:rn rn rn if ; then rn echo "Variable is empty" rn else rn echo "Variable is not empty" rn fi rn rn rnThe -z operator checks if the length of the string stored in the $VARIABLE_NAME is zero, indicating that the vari
OpenBSD / FreeBSD / NetBSD: PF Firewall List Rules
In OpenBSD, FreeBSD, and NetBSD, you can list the rules in a PF firewall using the following command:rn rn rn pfctl -srrn rn rnThis command will display a list of the rules in the firewall, including both the filter and the nat rules. The output of this command provides information about the directi
CentOS/RHEL v5/6 Update Command
In CentOS/RHEL version 5 and 6, you can update your system using the following command:rn rn rn yum update rn rn rnThis command will update all installed packages to the latest version available in the configured repositories. You can run this command regularly to keep your system up-to-date with th
Linux: At What Time Cron Entries In cron.daily, cron.weekly, cron.monthly Run?
The specific time at which cron entries in cron.daily , cron.weekly , and cron.monthly run depends on the configuration of the system's cron daemon. By default, most systems run the scripts in cron.daily at 6:25 AM every day, the scripts in cron.weekly at 6:30 AM every week (typically on Sundays), a
OpenBSD Boot and Install Using PXE (Preboot Execution Environment)
Installing OpenBSD using PXE (Preboot Execution Environment) involves the following steps:rn rn Setting up a PXE server: You need to set up a PXE server that will host the OpenBSD installation files and provide them to the client system during the boot process. The PXE server can be a standalone sys
Debian / Ubuntu: Console Based Network Load Monitor
A console-based network load monitor on Debian and Ubuntu can be achieved using the vnstat tool. vnstat is a network traffic monitor that keeps a record of network traffic data and provides real-time statistics on the command line. Here's how to install and use vnstat :rn rn Install vnstat : rn r
CentOS / RHEL: Install ipset Administration Tool For IP Sets and IPTables
You can install the ipset administration tool on CentOS and RHEL by using the package manager yum . Here's how to install ipset :rn rn Update the package index: rn rn rn rn sudo yum update rn rn rn rn Install the ipset package: rn rn rn sudo yum install ipsetrn rn rnAfter the installation is comp
curl: If-Modified-Since Command Linux / Unix Example
The "If-Modified-Since" header is used in an HTTP request to ask the server to return the requested resource only if it has been modified since the specified date and time. This allows the client to avoid downloading a resource that hasn't changed. You can use the curl command with the -z or --ti
2,685 guides published.
