Added some starting scripts for debian
This commit is contained in:
parent
00ae831504
commit
40f0b6d215
2
debian-bookworm/helpful-workstation.sh
Normal file
2
debian-bookworm/helpful-workstation.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
29
debian-bookworm/install-software/install-dockge.sh
Normal file
29
debian-bookworm/install-software/install-dockge.sh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Add Docker's official GPG key:
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install ca-certificates curl
|
||||||
|
sudo install -m 0755 -d /etc/apt/keyrings
|
||||||
|
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
|
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
|
|
||||||
|
# Add the repository to Apt sources:
|
||||||
|
echo \
|
||||||
|
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
|
||||||
|
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||||
|
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
sudo apt-get update
|
||||||
|
|
||||||
|
# Install Docker
|
||||||
|
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
|
|
||||||
|
# Create directories that store your stacks and stores Dockge's stack
|
||||||
|
mkdir -p /opt/stacks /opt/dockge
|
||||||
|
cd /opt/dockge
|
||||||
|
|
||||||
|
# Download the compose.yaml
|
||||||
|
curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml
|
||||||
|
|
||||||
|
# Start the server
|
||||||
|
docker compose up -d
|
||||||
|
|
||||||
|
# If you are using docker-compose V1 or Podman
|
||||||
|
# docker-compose up -d
|
15
debian-bookworm/install-software/install-snapstore.sh
Normal file
15
debian-bookworm/install-software/install-snapstore.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Gets snapd
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install snapd
|
||||||
|
|
||||||
|
# Gets the latest
|
||||||
|
sudo snap install snapd
|
||||||
|
|
||||||
|
# Actually installs snapcraft
|
||||||
|
sudo snap install snapcraft --classic
|
||||||
|
|
||||||
|
# Enable service
|
||||||
|
sudo systemctl enable snapd
|
||||||
|
|
||||||
|
# Install snap-store
|
||||||
|
sudo snap install snap-store
|
Loading…
x
Reference in New Issue
Block a user