Setting UP Docker, NextCloud on Debian Linux 12 (bookworm) [100% ready]

0

Clean Debian Version

for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done

Install Docker from docker.com

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
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
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo docker run hello-world

Install Nextcloud All In One

https://nextcloud.com/de/blog/how-to-install-the-nextcloud-all-in-one-on-linux/

https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md

Response

Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443
{"level":"info","ts":1709066806.031252,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[Tue Feb 27 20:46:46.034716 2024] [mpm_event:notice] [pid 140:tid 140331840051976] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations
[Tue Feb 27 20:46:46.034734 2024] [core:notice] [pid 140:tid 140331840051976] AH00094: Command line: 'httpd -D FOREGROUND'
[27-Feb-2024 20:46:46] NOTICE: fpm is running, pid 145
[27-Feb-2024 20:46:46] NOTICE: ready to handle connections

https://127.0.0.1:8080/containers
sudo docker run --init --sig-proxy=false --name nextcloud-aio-mastercontainer --restart always --publish 8080:8080 --env APACHE_PORT=11000 --env APACHE_IP_BINDING=0.0.0.0 --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config --volume /var/run/docker.sock:/var/run/docker.sock:ro nextcloud/all-in-one:latest

Check Ports

#This Command returns 0 when Port 11000 is available
nc -z 10.0.0.9 11000; echo $?

#Shows all active Listening Ports
sudo lsof -i -P -n | grep LISTEN

Zyxel WLAN Configuration

https://openwrt.org/toh/zyxel/nwa55axe

As the device uses a dual-image partition layout, OpenWrt can only installed on Slot A. This requires the current active image prior flashing the device to be on Slot B.

If the currently installed image is started from Slot A, the device will flash OpenWrt to Slot B. OpenWrt will panic upon first boot in this case and the device will return to the ZyXEL firmware upon next boot.

If this happens, first install a ZyXEL firmware upgrade of any version and install OpenWrt after that.

If it does not work just the same Zyxel binary again to change the Slot.

Leave a Reply

Your email address will not be published. Required fields are marked *