Welcome to CodePre.com

Commands and codes

How to install Laravel on DirectAdmin server

In this article, we will show you how to install Laravel on CentOS 7 VPS with DirectAdmin control panel. Laravel is a popular PHP open source web application framework with an expressive and elegant syntax. This guide should work just as well on other Linux VPS systems, but was tested and written for CentOS 7… read more »

How to install Docker CE on Linux system

You can download this article in PDF format via the link below to support us.Download the guide in PDF formatClose How to install Docker CE on Ubuntu / Debian / Fedora / Arch Linux and CentOS Linux systems? At the time of this writing, Docker has two major versions-Docker CE (Community Edition) and Docker EE… read more »

4 ways to find the number of CPU cores in Linux

In my previous post, we discussed how to find a list of the most consumed processes in Linux. We will now discuss how to find the number of CPU cores in Linux. Question: How to find the number of CPU cores in Linux? Using the Proc Filesystem You can use the proc filesystem to find… read more »

How to install Stress on Linux to create a workload

Want to put stress to create a workload (CPU or memory) on a Linux server. Learn how to install Stress on Linux so you can easily manage your Linux server workload. How do I install Stress on Linux? enable EPEL repository: In order to enable “Install stress on Linux”, you must first enable the EPEL… read more »

7 Nginx rewrite rules with Reg-Ex and Flags examples

The ability to Rewrite an incoming URL to a different URL based on your criteria is an essential feature for any web server. Nginx Rewrite is very powerful and flexible. In this article, we will explain the following examples based on Nginx Rewrite: Example using Nginx Rewrite $ 1, $ 2, .. Creating a controller… read more »

Linux env command tutorial for beginners (5 examples)

If your job involves doing things from the command line on Linux, then chances are you will be using the Bash shell. Did you know that there is an environment associated with processes that run through the shell? And, if you want, you can customize this environment specifically for this task. In this article, we… read more »

Linux Operating System »How to Secure Your LAMP Server

The LAMP stack that runs on Linux and consists of: Apache, MySQL / MariaDB, and PHP / Python / Perl is a very popular combination of free and open source software and is used to run millions of websites today. While many are opting for the more efficient Nginx-based LEMP stack over Apache, there are… read more »

Sidebar