diff options
| author | D Delmar Davis <don@suspectdevices.com> | 2026-07-27 23:10:45 -0700 |
|---|---|---|
| committer | D Delmar Davis <don@suspectdevices.com> | 2026-07-27 23:10:45 -0700 |
| commit | 6a2a68c54b74f8c3e7d70d6660abc825cbe9df3d (patch) | |
| tree | 6dcb8c301ee6419aa91705f73665644e46ce6c75 | |
| parent | 975f888e8da1e72d349d497de25836fb87530468 (diff) | |
Zoe Draft
| -rw-r--r-- | docs/buildnotes/image.png | bin | 0 -> 93305 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/backup.png | bin | 0 -> 93305 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/go2dashboard.png | bin | 0 -> 48109 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/login.png | bin | 0 -> 74242 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/password.png | bin | 0 -> 82381 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/proceed.png | bin | 0 -> 82932 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/really.png | bin | 0 -> 104851 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/restore.png | bin | 0 -> 59099 bytes | |||
| -rw-r--r-- | docs/buildnotes/images/server-name.png | bin | 0 -> 56737 bytes | |||
| -rw-r--r-- | docs/buildnotes/virgil.md | 4 | ||||
| -rw-r--r-- | docs/buildnotes/zoe.md | 96 |
11 files changed, 98 insertions, 2 deletions
diff --git a/docs/buildnotes/image.png b/docs/buildnotes/image.png Binary files differnew file mode 100644 index 0000000..80d3c8e --- /dev/null +++ b/docs/buildnotes/image.png diff --git a/docs/buildnotes/images/backup.png b/docs/buildnotes/images/backup.png Binary files differnew file mode 100644 index 0000000..80d3c8e --- /dev/null +++ b/docs/buildnotes/images/backup.png diff --git a/docs/buildnotes/images/go2dashboard.png b/docs/buildnotes/images/go2dashboard.png Binary files differnew file mode 100644 index 0000000..1b06476 --- /dev/null +++ b/docs/buildnotes/images/go2dashboard.png diff --git a/docs/buildnotes/images/login.png b/docs/buildnotes/images/login.png Binary files differnew file mode 100644 index 0000000..c65ac3e --- /dev/null +++ b/docs/buildnotes/images/login.png diff --git a/docs/buildnotes/images/password.png b/docs/buildnotes/images/password.png Binary files differnew file mode 100644 index 0000000..08c9fc9 --- /dev/null +++ b/docs/buildnotes/images/password.png diff --git a/docs/buildnotes/images/proceed.png b/docs/buildnotes/images/proceed.png Binary files differnew file mode 100644 index 0000000..ee1ac7f --- /dev/null +++ b/docs/buildnotes/images/proceed.png diff --git a/docs/buildnotes/images/really.png b/docs/buildnotes/images/really.png Binary files differnew file mode 100644 index 0000000..a657262 --- /dev/null +++ b/docs/buildnotes/images/really.png diff --git a/docs/buildnotes/images/restore.png b/docs/buildnotes/images/restore.png Binary files differnew file mode 100644 index 0000000..c2ddac5 --- /dev/null +++ b/docs/buildnotes/images/restore.png diff --git a/docs/buildnotes/images/server-name.png b/docs/buildnotes/images/server-name.png Binary files differnew file mode 100644 index 0000000..74c2a09 --- /dev/null +++ b/docs/buildnotes/images/server-name.png diff --git a/docs/buildnotes/virgil.md b/docs/buildnotes/virgil.md index 8b67efb..54a0ac2 100644 --- a/docs/buildnotes/virgil.md +++ b/docs/buildnotes/virgil.md @@ -95,5 +95,5 @@ root@tk2022:~# curl -x 192.168.31.228:3128 http://archive.ubuntu.com/ubuntu/ ## References: -- https://oneuptime.com/blog/post/2026-03-02-how-to-disable-systemd-resolved-and-use-etc-resolv-conf-directly-on-ubuntu/view -- https://www.digithink.com/rethinkeverything/norouter/wireguard-and-tinyproxy/
\ No newline at end of file +- [https://oneuptime.com/blog/post/2026-03-02-how-to-disable-systemd-resolved-and-use-etc-resolv-conf-directly-on-ubuntu/view](https://oneuptime.com/blog/post/2026-03-02-how-to-disable-systemd-resolved-and-use-etc-resolv-conf-directly-on-ubuntu/view) +- [https://www.digithink.com/rethinkeverything/norouter/wireguard-and-tinyproxy/](https://www.digithink.com/rethinkeverything/norouter/wireguard-and-tinyproxy/)
\ No newline at end of file diff --git a/docs/buildnotes/zoe.md b/docs/buildnotes/zoe.md new file mode 100644 index 0000000..c6361f5 --- /dev/null +++ b/docs/buildnotes/zoe.md @@ -0,0 +1,96 @@ +# zoe - Standing up the new Unifi OS Server + +I run unifi switches and access points. To manage them I had been using the unifi provided docker containers. Recently ubiquity started promoting their on prem version of their cloud software. + +This is me installing this on an incus container and off of a docker vm. + +## Standing up the container + +```sh +incus launch trixie/cloud -p default -p merlot zoe -c security.privileged=true -c security.nesting=true -c security.syscalls.intercept.sysinfo=true -c security.syscalls.intercept.setxattr=true -c cloud-init.network-config="$(cat <<EOF +version: 2 +ethernets: + eth0: + addresses: + - 192.168.128.60 + gateway4: 192.168.128.1 + nameservers: + addresses: + - 192.168.128.2 +EOF +)" +``` + +## Installing the unifi os server software + +```sh +update.sh +apt install curl wget podman kmod nano net-tools openssh-server -y +echo -e '[storage]\ndriver = "vfs"\nrunroot = "/run/containers/storage"\ngraphroot = "/var/lib/containers/storage"' | sudo tee /etc/containers/storage.conf +mkdir -p /run/containers/storage +mkdir -p /var/lib/containers/storage +wget https://fw-download.ubnt.com/data/unifi-os-server/b828-linux-x64-5.1.19-e38d0b0e-b462-403d-9861-f57f25772106.19-x64 +chmod +x ./b828-linux-x64-5.1.19-e38d0b0e-b462-403d-9861-f57f25772106.19-x64 + ./b828-linux-x64-5.1.19-e38d0b0e-b462-403d-9861-f57f25772106.19-x64 +apt install -y nginx libnginx-mod-stream +mv /etc/nginx/sites-enabled/default /tmp/ +cat >/etc/nginx/nginx.conf<<EOD +# ---- simplest redirection I could figure out + +user www-data; +worker_processes auto; +pid /run/nginx.pid; + +include /etc/nginx/modules-enabled/*.conf; + +events {} + + +stream { + + upstream unifi { + server 192.168.128.60:11443; #don't like the hard coded foo here + } + + server { + listen 443; + proxy_pass unifi; + } +} + +http { + server { + listen 80 default_server; + listen [::]:80 default_server; + server_name _; + return 301 https://$host$request_uri; + } + + access_log /var/log/nginx/access.log; + error_log /var/log/nginx/error.log; + include /etc/nginx/conf.d/*.conf; + include /etc/nginx/sites-enabled/*; +} +EOD +nginx -t +sytemctl enable --now nginx +``` + +## Transferring data to new server. + +- Start with a back up from the previous console +  +- Initialize application + -  + -  + -  + -  +- Log in + -  + -  +- Restore data from backup. + -  +## References + +- [https://discussion.scottibyte.com/t/self-hosted-unifi-os-in-an-incus-container/673](https://discussion.scottibyte.com/t/self-hosted-unifi-os-in-an-incus-container/673) +- [https://computingforgeeks.com/install-unifi-os-server-ubuntu/](https://computingforgeeks.com/install-unifi-os-server-ubuntu/)
\ No newline at end of file |
