Setup a Linux Server

Setup a Linux Server

How to Install Docker Compose on AlmaLinux 9

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration. Use curl to download the Compose file into the /usr/bin directory. Output: Next, set the correct permissions so that the docker-compose command is […]

How to Install Docker on AlmaLinux 9

Docker is a container engine that uses the Linux Kernel to create the containers on top of an operating system. Which is used to create, deploy and run the applications First, check and install any pending system updates. Adding Docker repository Enable the Docker CE repository by running the following command. Output: Installing the Docker-CE […]

Apache vs Nginx – Static Files

The same old question “What is faster, Apache or Nginx”, well I decided to test this on my own. I used the same machine with the same install with the same configurations to test this. I followed the QEMU install found on this site. Here and install Ubuntu 22 Server install. I then shut down […]

How to Rsync with non-standard SSH Port

How to Rsync with non-standard SSH Port Run the following command from the terminal to sync files/folders using Rsync with non-standard ssh port. Syntax: # rsync -arvz -e ‘ssh -p <port-number>’ –progress –delete user@remote-server:/path/to/remote/folder /path/to/local/folder For the purpose of this tutorial, I will be using two systems. Remote System Details: IP Address: 192.168.1.103 User name: […]

How to install OpenLiteSpeed web server on Ubuntu 

Update the system packages sudo apt-get updateInstall OpenLiteSpeed dependencies sudo apt-get install -y build-essentialsudo apt-get install -y rcs libpcre3-dev libexpat1-dev libssl-dev libgeoip-dev libudns-dev zlib1g-dev libxml2 libxml2-dev libpng-dev opensslInstall OpenLiteSpeed wget https://openlitespeed.org/packages/openlitespeed-1.4.34.tgztar -xzvf openlitespeed-1.4.34.tgzcd openlitespeed-1.4.34/sudo ./configuresudo make && sudo make installConfigure the Admin user and password for the Web server sudo /usr/local/lsws/admin/misc/admpass.shPlease specify the user name […]

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 […]

Scroll to top