Service install scripts
This commit is contained in:
6
SETUP.md
6
SETUP.md
@@ -32,7 +32,7 @@ FIRST. Make sure your public key is configured for SSH! Else, next step will LOC
|
||||
|
||||
Then, run install.sh by getting it from the internet (wget is in busybox):
|
||||
```sh
|
||||
wget https://TODO
|
||||
chmod +x install.sh
|
||||
./install.sh
|
||||
wget https://git.plabble.org/Maurice/alpine-server-setup/raw/branch/main/setup.sh
|
||||
chmod +x setup.sh
|
||||
./setup.sh
|
||||
```
|
||||
@@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# echo "Installing Git & cloning installation scripts"
|
||||
apk add git
|
||||
git clone https://git.plabble.org/Maurice/alpine-server-setup.git ./config
|
||||
clear
|
||||
echo "Starting installation..."
|
||||
|
||||
# Install podman-openrc tool
|
||||
apk add cargo
|
||||
@@ -17,5 +15,7 @@ source ./podman.sh
|
||||
|
||||
cd "$base_dir"
|
||||
|
||||
read -n 1 -s -r -p "Press any key to start service installation..."
|
||||
|
||||
# Run update script with install argument to set up services
|
||||
source ./update.sh install
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
echo "Basic setup"
|
||||
echo "Basic setup..."
|
||||
|
||||
# Enable community repo
|
||||
sed -i 's|^#\(http.*/community\)$|\1|' /etc/apk/repositories
|
||||
@@ -14,6 +14,4 @@ EOF
|
||||
|
||||
# Allow local.d services
|
||||
rc-update add local default
|
||||
rc-service local start
|
||||
|
||||
rc-update add sysctl
|
||||
@@ -23,6 +23,7 @@ mount --make-rshared /
|
||||
EOF
|
||||
|
||||
chmod +x /etc/local.d/mount-rshared.start
|
||||
rc-service local start
|
||||
|
||||
# Allow ports >= 53 to be rootless bound, persistent
|
||||
echo "net.ipv4.ip_unprivileged_port_start=53" >> /etc/sysctl.d/podman.conf
|
||||
|
||||
Reference in New Issue
Block a user