Setup a Linux Server

Setup a Linux Server

Author : Anthony

Procedure To Add a Swap File Under Linux

You need to use the dd command to create swap file. The mkswap command is used to set up a Linux swap area on a device or in a file. Step 1 – Login as the Root User Open a terminal window (select Applications > Accessories > Terminal) or login to remote server using the ssh client. Switch to […]

How to enable BBR on AlmaLinux 8

Requirements: BBR requires Linux kernel version 4.9 or above. Since AlmaLinux 8 comes with the 4.18.0 kernel, we can enable BBR right away. Run the following command to check available congestion control algorithms, Output: Run the below command to check the current congestion control algorithm used in your system, Output: Enabling TCP BBR in AlmaLinux […]

How To Fix WordPress Asking For FTP Credentials

If you find that WordPress is continually asking for your FTP credentials when you’re trying to install an update, you’re not alone. The error usually looks something like this: Connection Information To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember […]

Replace a single string in a large number of files in Unix

If you have Perl installed on your system With Perl, you can make the replacement from the Unix command line prompt. At the prompt, enter: perl -pi -e ‘s/old_string/new_string/g’ file_pattern Replace old_string with the string you want to replace and new_string with the replacement string. Replace file_pattern with the files you want to modify. This can be a shell wildcard, such as *.html. The […]

Using Apache Bench for Simple Load Testing

If you have access to a Mac or Linux server, chances are you may already have a really simple http load generating tool installed called Apache Bench, or ab. If you are on windows and have Apache installed, you may also have ab.exe in your apache/bin folder. Suppose we want to see how fast Yahoo can handle 100 requests, with […]

Scroll to top