Server – ServerGigabit Network https://www.servergigabit.com/guide VPS Hosting | Dedicated Server Fri, 09 Jan 2026 08:29:40 +0000 en-US hourly 1 https://wordpress.org/?v=6.9 https://www.servergigabit.com/guide/wp-content/uploads/2020/07/cropped-GIGABIT_logo-1-32x32.png Server – ServerGigabit Network https://www.servergigabit.com/guide 32 32 Easy and Complete Guide to Install Docker on Ubuntu https://www.servergigabit.com/guide/kb/install-docker-on-ubuntu Wed, 29 Oct 2025 07:29:35 +0000 https://www.servergigabit.com/guide/?post_type=kb&p=4153 Here’s a step-by-step guide to Install Docker on Ubuntu (20.04, 22.04, or later) — clean, safe, and following Docker’s official documentation. Step 1: Uninstall Old Versions (if any) sudo apt remove docker docker-engine docker.io containerd runc Step 2: Update Packages and Install Dependencies sudo apt update sudo apt install -y ca-certificates curl gnupg lsb-release Step 3: Add Docker’s Official GPG Key…

The post Easy and Complete Guide to Install Docker on Ubuntu appeared first on ServerGigabit Network.

]]>
Install Docker on Ubuntu

Here’s a step-by-step guide to Install Docker on Ubuntu (20.04, 22.04, or later) — clean, safe, and following Docker’s official documentation.

Step 1: Uninstall Old Versions (if any)

sudo apt remove docker docker-engine docker.io containerd runc

Step 2: Update Packages and Install Dependencies

sudo apt update
sudo apt install -y ca-certificates curl gnupg lsb-release

Step 3: Add Docker’s Official GPG Key

sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg

Step 4: Add the Docker Repository

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
  https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Step 5: Install Docker Engine

sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Step 6: Verify Docker Installation

Check the version:

docker --version

Run the test image:

sudo docker run hello-world

You should see a message saying “Hello from Docker!”

(Optional) Step 7: Run Docker Without sudo

To avoid typing sudo for every command:

sudo usermod -aG docker $USER
newgrp docker

Then test:

docker ps

Done! You now have Docker Engine, Docker Compose, and Buildx installed and ready to use on Ubuntu.

 

If you need to know about Docker, you can visit here.

 

The post Easy and Complete Guide to Install Docker on Ubuntu appeared first on ServerGigabit Network.

]]>
Where is vhost file on linux? https://www.servergigabit.com/guide/kb/where-is-vhost-file-on-linux Mon, 06 Mar 2023 15:35:03 +0000 https://www.servergigabit.com/guide/?post_type=kb&p=2958 Where is vhost file on linux? The location of the vhost file can vary depending on the web server you are using. For example, if you are using Apache, the virtual host configuration files are typically located in the /etc/apache2/sites-available/ directory (on Ubuntu or Debian-based systems) or /etc/httpd/conf.d/ (on CentOS, Fedora or RedHat-based systems). The files usually have a .conf…

The post Where is vhost file on linux? appeared first on ServerGigabit Network.

]]>
Where is vhost file on linux?

The location of the vhost file can vary depending on the web server you are using.

For example, if you are using Apache, the virtual host configuration files are typically located in the /etc/apache2/sites-available/ directory (on Ubuntu or Debian-based systems) or /etc/httpd/conf.d/ (on CentOS, Fedora or RedHat-based systems). The files usually have a .conf extension.

If you are using Nginx, the virtual host configuration files are typically located in the /etc/nginx/sites-available/ directory. These files also have a .conf extension.

It’s important to note that the exact location of the virtual host configuration files may be different on your specific Linux distribution or web server setup.

The post Where is vhost file on linux? appeared first on ServerGigabit Network.

]]>