Difference between revisions of "CTF: Instalasi CTFd di Ubuntu 22.04 dengan docker"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 46: | Line 46: | ||
cd ~ | cd ~ | ||
− | + | ||
− | + | Download CTFd | |
+ | |||
+ | git clone https://github.com/CTFd/CTFd.git | ||
==Referensi== | ==Referensi== |
Revision as of 12:04, 29 January 2023
Sumber: https://docs.ctfd.io/docs/deployment/installation
Spec:
VirtualBox Ubuntu 22.04 Memory 3G Core 2
Basic
sudo su apt update apt -y install net-tools
Install Docker
apt -y install curl curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" apt-cache policy docker-ce
sudo apt install -y docker-ce sudo systemctl status docker
Install Docker Compose
Sebagai user biasa
mkdir -p ~/.docker/cli-plugins/ curl -SL https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
Set permissions,
chmod +x ~/.docker/cli-plugins/docker-compose
Cek
docker compose version
Install CTFd
Sebagai user biasa
cd ~
Download CTFd
git clone https://github.com/CTFd/CTFd.git