Support server installation on macOS
I try to host the manager on my macOS Server I have this issue. I have no idea where goes wrong
╰─ sudo wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash
> Verifying that Docker is installed .......... OK
> Verifying that Docker daemon is running ..... OK
mkdir: illegal option -- -
usage: mkdir [-pv] [-m mode] directory ...
Sorry! Something went wrong. If you can't figure this out, please copy and paste all this output into the Outline Manager screen, and send it to us, to see if we can help you.
same issue
It seems mkdir macOS doesn't support --mode=770. The install script is for Linux only.
You can download the script and edit to adjust as needed for macOS.
I've renamed the issue to be about supporting server installation on macOS, since we only currently support Linux.
I've renamed the issue to be about supporting server installation on macOS, since we only currently support Linux.
Thank you.
Until this is officially supported, I took a stab at updating the script to support macOS, since I wanted to run Outline on my M2 Mac mini sitting at home.
Here are the changes: https://github.com/oleg-codaio/outline-server/commit/b9b5a1a621e771d17c02536548696ecdf92721b5. Nothing too extensive - but Docker works a bit differently on macOS so I had to expose the ports explicitly. Also, at first things the VPN was really slow (3 Mbps) but after I turned on Rosetta in Docker settings, performance improved significantly (up to 100 Mbps, which is about the limit of the mobile network I tested with).
Instructions
- Install Outline with
brew install outline-server - Click "Set up Outline anywhere"
- Instead of running the provided command, run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/oleg-codaio/outline-server/b9b5a1a621e771d17c02536548696ecdf92721b5/src/server_manager/install_scripts/install_server.sh)"and follow the instructions