NextCloudPi – is a Nextcloud instance that is preinstalled and preconfigured and includes a management interface with all the tools you need to self host your private data in a single package
root@bpi-iot-jsho-minio-03:~# certbot certonly Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA? – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – 1: Spin up a temporary webserver (standalone) 2: Place files in webroot directory (webroot) – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Select the appropriate number [1-2] then [enter] (press ‚c‘ to cancel): 1 Plugins selected: Authenticator standalone, Installer None Please enter in your domain name(s) (comma and/or space separated) (Enter ‚c‘ to cancel): bpi-iot-jsho-minio-03.ddnss.eu Requesting a certificate for bpi-iot-jsho-minio-03.ddnss.eu Performing the following challenges: http-01 challenge for bpi-iot-jsho-minio-03.ddnss.eu Waiting for verification… Cleaning up challenges Subscribe to the EFF mailing list (email: josef.schuster@dpsolution.de).
IMPORTANT NOTES: – Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/bpi-iot-jsho-minio-03.ddnss.eu/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/bpi-iot-jsho-minio-03.ddnss.eu/privkey.pem Your certificate will expire on 2022-03-27. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run „certbot renew“ – If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let’s Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
If your TLS certificates do not have the IP SAN for the MinIO server host the MinIO Console may fail to validate the connection to the server use the MINIO_SERVER_URL environment variable and specify the proxy-accessible hostname of the MinIO server to allow the Console to use the MinIO server API using the TLS certificate
root@bpi-iot-jsho-minio-03:/# MINIO_SERVER_URL=“https://bpi-iot-jsho-minio-03.ddnss.eu:9000″ MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=<password> ./minio server –console-address „:9001“ /data/data{0…3}
https://bpi-iot-jsho-minio-03.ddnss.eu:9001
root@bpi-iot-jsho-minio-02:~# ./mc alias set myminio https://bpi-iot-jsho-minio-03.ddnss.eu:9000 admin <password> Added `myminio` successfully.
root@bpi-iot-jsho-minio-02:~#
root@bpi-iot-jsho-minio-02:~# ./mc –version myminio mc version RELEASE.2021-12-20T23-43-34Z
root@bpi-iot-jsho-minio-02:~# ./mc admin update myminio Server `myminio` updated successfully from 2021-12-20T22:07:16Z to 2021-12-29T06-49-06Z
root@bpi-iot-jsho-minio-03:~# cd .minio/certs root@bpi-iot-jsho-minio-03:~/.minio/certs# openssl req -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out public.crt -keyout private.key Generating a RSA private key ……………………………………………..++++ ……………………………………………..++++ writing new private key to ‚private.key‘ —– You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter ‚.‘, the field will be left blank. —– Country Name (2 letter code) [AU]:DE State or Province Name (full name) [Some-State]:Bavarian Locality Name (eg, city) []:St.Wolfgang Organization Name (eg, company) [Internet Widgits Pty Ltd]:JSHO Organizational Unit Name (eg, section) []:JSHO Common Name (e.g. server FQDN or YOUR name) []:bpi-iot-jsho-minio-03.fritz.box Email Address []:josef.schuster@dpsolution.de
root@bpi-iot-jsho-minio-02:~# ./mc admin info myminio ● 192.168.1.168:9000 Uptime: 34 minutes Version: 2021-11-24T23:19:33Z Network: 1/1 OK Drives: 4/4 OK
4 drives online, 0 drives offline
root@bpi-iot-jsho-minio-02:~#
root@bpi-iot-jsho-minio-02:~# ./mc admin update myminio Server `myminio` updated successfully from 2021-11-24T23:19:33Z to 2021-12-20T22-07-16Z
root@bpi-iot-jsho-minio-02:~#
root@bpi-iot-jsho-minio-02:~# ./mc admin info myminio ● 192.168.1.168:9000 Uptime: 10 minutes Version: 2021-12-20T22:07:16Z Network: 1/1 OK Drives: 4/4 OK
EnvironmentFile=/etc/default/minio ExecStartPre=/bin/bash -c „if [ -z \“${MINIO_VOLUMES}\“ ]; then echo \“Variable MINIO_VOLUMES not set in /etc/default/minio\“; exit 1; fi“
ExecStart=/usr/local/bin/minio/minio server $MINIO_OPTS $MINIO_VOLUMES
# Let systemd restart this service always Restart=always
# Specifies the maximum file descriptor number that can be opened by this process LimitNOFILE=65536
# Specifies the maximum number of threads this process can create TasksMax=infinity
# Disable timeout logic and wait until process is stopped TimeoutStopSec=infinity SendSIGKILL=no
[Install] WantedBy=multi-user.target
# Built for ${project.name}-${project.version} (${project.name})
root@bpi-iot-jsho-minio-01:~# systemctl status minio * minio.service – MinIO Loaded: loaded (/etc/systemd/system/minio.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2021-12-21 14:13:33 CET; 32s ago Docs: https://docs.min.io Process: 1555 ExecStartPre=/bin/bash -c if [ -z „${MINIO_VOLUMES}“ ]; then echo „Variable MINIO_VOLUMES not set in /etc/default/minio“; exit 1; fi (code=exited, status=0/SUCCE> Main PID: 1556 (minio) Tasks: 10 Memory: 50.1M CPU: 5.139s CGroup: /system.slice/minio.service `-1556 /usr/local/bin/minio/minio server –console-address :9001 /usr/local/share/minio/
Dez 21 14:13:33 bpi-iot-jsho-minio-01 systemd[1]: Starting MinIO… Dez 21 14:13:33 bpi-iot-jsho-minio-01 systemd[1]: Started MinIO. Dez 21 14:14:01 bpi-iot-jsho-minio-01 minio[1556]: You are running an older version of MinIO released 3 weeks ago Dez 21 14:14:01 bpi-iot-jsho-minio-01 minio[1556]: Update: Run `mc admin update` Dez 21 14:14:01 bpi-iot-jsho-minio-01 minio[1556]: API: http://192.168.1.168:9000 http://127.0.0.1:9000 Dez 21 14:14:01 bpi-iot-jsho-minio-01 minio[1556]: Console: http://192.168.1.168:9001 http://127.0.0.1:9001 Dez 21 14:14:01 bpi-iot-jsho-minio-01 minio[1556]: Documentation: https://docs.min.io
root@bpi-iot-jsho-minio-01:~# ./mc admin update myminio/ Server `myminio/` updated successfully from 2021-11-24T23:19:33Z to 2021-12-10T23-03-39Z root@bpi-iot-jsho-minio-01:~#
root@bpi-iot-jsho-minio-01:~# ./mc admin update myminio/ Server `myminio/` already running the most recent version 2021-12-10T23:03:39Z of MinIO root@bpi-iot-jsho-minio-01:~#
root@bpi-iot-jsho-tools-01:~# wget https://dl.minio.io/server/minio/release/linux-arm/minio –2021-11-30 14:25:14– https://dl.minio.io/server/minio/release/linux-arm/minio Auflösen des Hostnamens dl.minio.io (dl.minio.io)… 178.128.69.202 Verbindungsaufbau zu dl.minio.io (dl.minio.io)|178.128.69.202|:443 … verbunden. HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK Länge: 96468992 (92M) [application/octet-stream] Wird in „minio“ gespeichert.
minio 100%[================================================================>] 92,00M 5,53MB/s in 5m 5s
root@bpi-iot-jsho-tools-01:~# ./mc alias set myminio http://192.168.1.168:9000 admin <password> Added `myminio` successfully.
root@bpi-iot-jsho-tools-01:~# ./mc admin info myminio
● 192.168.1.168:9000
Uptime: 4 minutes
Version: 2021-11-24T23:19:33Z
Network: 1/1 OK
root@bpi-iot-jsho-tools-01:~# ./mc admin service restart myminio Restarting on service signal Restart command successfully sent to `myminio`. Type Ctrl-C to quit or wait to follow the status of the restart process. ….API: http://192.168.1.168:9000 http://172.17.0.1:9000 http://127.0.0.1:9000 RootUser: admin RootPass: <password>
Command-line: https://docs.min.io/docs/minio-client-quickstart-guide $ mc alias set myminio http://192.168.1.168:9000 admin <password>
Documentation: https://docs.min.io
Restarted `myminio` successfully.
root@bpi-iot-jsho-tools-01:~#
root@bpi-iot-jsho-tools-01:~# ./mc admin update myminio Server `myminio` already running the most recent version 2021-11-24T23:19:33Z of MinIO root@bpi-iot-jsho-tools-01:~#
root@bpi-iot-jsho-tools-01:~# ./mc admin service stop myminio
Stopping on service signal
Stopped `myminio` successfully.
root@bpi-iot-jsho-tools-01:~# MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=<password> ./minio server /data{1…4} –console-address „:9001“ & [1] 1757 root@bpi-iot-jsho-tools-01:~# Formatting 1st pool, 1 set(s), 4 drives per set. WARNING: Host local has more than 2 drives of set. A host failure will result in data becoming unavailable. Automatically configured API requests per node based on available memory on the system: 13 Status: 4 Online, 0 Offline. API: http://192.168.1.168:9000 http://172.17.0.1:9000 http://127.0.0.1:9000 RootUser: admin RootPass: <password>
To run Docker as a non-privileged user, consider setting up the Docker daemon in rootless mode for your user:
dockerd-rootless-setuptool.sh install
Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.
To run the Docker daemon as a fully privileged service, but granting non-root users access, refer to https://docs.docker.com/go/daemon-access/
WARNING: Access to the remote API on a privileged Docker daemon is equivalent to root access on the host. Refer to the ‚Docker daemon attack surface‘ documentation for details: https://docs.docker.com/go/attack-surface/
root@bpi-iot-jsho-tools-01:~# docker run hello-world Unable to find image ‚hello-world:latest‘ locally latest: Pulling from library/hello-world 9b157615502d: Pull complete Digest: sha256:cc15c5b292d8525effc0f89cb299f1804f3a725c8d05e158653a563f15e4f685 Status: Downloaded newer image for hello-world:latest
Hello from Docker! This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the „hello-world“ image from the Docker Hub. (arm32v7) 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.
To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com/
For more examples and ideas, visit: https://docs.docker.com/get-started/