Linux Process is a type of process that can be in a number of different states. The process enters these states from start till end. Process states in Linux are as follows: New/Ready: In this state, a new process is created and is ready to run. Running: In this state, the process is being executed. Blocked/Wait: In this state, the process is waiting for input from the user and if doesn't have resources to run such as memory, file locks, input, then it can remain in a waiting or blocked state. Terminated/Completed: In this state, the process has completed the execution or terminated by the OS. Zombie: In this state, the process is terminated but information regarding the process still exists and is available in the process table.
Swap space, as the name suggests, is basically a space on a hard disk that is used when the amount of physical memory or RAM is full. It is considered a substitute for physical memory. Its main function is to substitute disk space for RAM memory when real RAM does not have enough space to hold all programs that are executing, and more space is required. In simple words, it can be used as an extension of RAM by Linux.
Introduction Apache’s mod_rewrite module lets you rewrite URLs in a cleaner fashion, translating human-readable paths into code-friendly query strings. It also lets you rewrite URLs based on conditions. An .htaccess file lets you create and apply rewrite rules without accessing server configuration files. By placing the .htaccess file in the root of your web site, you can manage rewrites on a per-site or per-directory basis Prerequisites To follow this tutorial, you will need: One Ubuntu 18.04 server set up by following the Ubuntu 18.04 initial server setup guide. This includes a sudo non-root user and a firewall. Apache installed by following Step 1 of How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 20.04. Step 1 — Enabling mod_rewrite # sudo a2enmod rewrite This will activate the module or alert you that the module is already enabled. To put these changes into effect, restart Apache. ...
Comments
Post a Comment