Linux nginx: Chroot (Jail) Setup

Setting up a chroot jail for Nginx on Linux can help to increase the security of your web server. A chroot jail is a way to isolate a process and its children from the rest of the system by restricting their access to a specific directory tree. Here are the steps to set up a … Read more

Linux: Set OR Change The Library Path

In Linux, you can set or change the library path using the LD_LIBRARY_PATH environment variable. This variable is used by the dynamic linker/loader to locate shared libraries at runtime. Here’s how to set or change the library path: To set the library path, open a terminal and enter the following command: export LD_LIBRARY_PATH=/path/to/library:$LD_LIBRARY_PATH Replace /path/to/library … Read more

UNIX: Set Environment Variable

In UNIX-based operating systems (such as Linux and macOS), you can set environment variables using the “export” command. An environment variable is a dynamic value that can be accessed by programs and scripts running in the shell session. To set an environment variable, follow these steps: Open a terminal or shell session. Type “export” followed … Read more

[ERROR] /usr/local/libexec/mysqld: unknown variable ‘thread_concurrency=8’

The error message you are seeing indicates that the MySQL server is not able to recognize the “thread_concurrency” variable that is set to a value of 8 in the configuration file. The “thread_concurrency” variable was used in older versions of MySQL to control the number of threads that are used to process queries. To resolve … Read more