Minimum :
- 1 CPU+ / 2 GB RAM / 4 MBit/sec
Recommandé :
- 2+ CPU / 4+ GB RAM / 8+ MBit/sec
sudo apt update -y && sudo apt upgrade -y
sudo apt install htop ca-certificates zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev tmux iptables curl nvme-cli git wget make jq libleveldb-dev build-essential pkg-config ncdu tar clang bsdmainutils lsb-release libssl-dev libreadline-dev libffi-dev jq gcc screen unzip lz4 -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
docker version
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/$VER/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
sudo groupadd docker
sudo usermod -aG docker $USER
realpath --relative-to /usr/share/zoneinfo /etc/localtime
- Sauvegarder le fuseau horaire
mkdir chromium
cd chromium
nano docker-compose.yaml
- User
- Password
- TZ
---
services:
chromium:
image: lscr.io/linuxserver/chromium:latest
container_name: chromium
security_opt:
- seccomp:unconfined #optional
environment:
- CUSTOM_USER=username
- PASSWORD=password
- PUID=1000
- PGID=1000
- TZ=Europe/London
- CHROME_CLI=https://github.com/FurkanL0 #optional
volumes:
- /root/chromium/config:/config
ports:
- 3010:3000 #Change 3010 to your favorite port if needed
- 3011:3001 #Change 3011 to your favorite port if needed
shm_size: "1gb"
restart: unless-stopped
- Exemple ;
cd $HOME && cd chromium
docker compose up -d
- Accéder à notre serveur ;
http://server-ip:3010/
https://server-ip:3011/
- Saisissez le nom d'utilisateur et le mot de passe que vous avez définis.
- Ensuite, vous pouvez télécharger des plugins et vous connecter via chrome comme si vous étiez connecté au serveur Windows.