Skip to content

Raft-Labs/server-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

CI/CD Pipeline Server setup

Run setup script

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Raft-Labs/server-setup/main/setup.sh)"

Docker Installation

The setup script will install Docker on your system. It includes the following steps:

  1. Add Docker's official GPG key.
  2. Add the Docker repository to Apt sources.
  3. Install Docker Engine and related components.
  4. Perform post-installation steps to manage Docker as a non-root user.

Swap File Creation

The setup script also includes an optional step to create a swap file. By default, it will create an 8GB swap file, but you can specify a different size as an argument.

Example

To run the setup script and create a swap file of 4GB, use the following command:

curl -fsSL https://raw.githubusercontent.com/Raft-Labs/server-setup/main/setup.sh -o setup.sh
chmod +x setup.sh
./setup.sh 4096 y

In this example, 4096 is the swap size in MB, and y indicates that the swap file should be set up.

About

Help Configure the Deployment Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages