Skip to content

[OpenCloud] Add guide #1910

Open
Open
@benhiemer

Description

@benhiemer

Lately, I was asking myself if OpenCloud could be run on uberspace. That would be amazing.

I was trying to run the software on my uberspace. It worked but I do not know anything about hardening or a proper configuration. Anybody working on it, too? I would be happy to hear your feedback and/or to see a uberspace guide about it.


Here are my notes so far:

# Download the software.
[isabell@stardust ~]$ curl --location --output /home/$USER/bin/opencloud-2.0.0-linux-amd64 "https://github.com/opencloud-eu/opencloud/releases/download/v2.0.0/opencloud-2.0.0-linux-amd64"

# Check executable.
[isabell@stardust ~]$ curl --location --output /home/$USER/bin/opencloud-2.0.0-linux-amd64.sha256 "https://github.com/opencloud-eu/opencloud/releases/download/v2.0.0/opencloud-2.0.0-linux-amd64.sha256"
[isabell@stardust ~]$ cd /home/$USER/bin
[isabell@stardust ~]$ sha256sum --check opencloud-2.0.0-linux-amd64.sha256
opencloud-2.0.0-linux-amd64: OK
[isabell@stardust ~]$ rm /home/$USER/bin/opencloud-2.0.0-linux-amd64.sha256
[isabell@stardust ~]$ mv /home/$USER/bin/opencloud-2.0.0-linux-amd64 /home/$USER/bin/opencloud

# Make it executable
[isabell@stardust ~]$ chmod +x /home/$USER/bin/opencloud

# Port configuration
[isabell@stardust ~]$ uberspace web backend set / --http --port 9200

# Initialize
[isabell@stardust ~]$ /home/$USER/bin/opencloud init --insecure false --admin-password EmVRRuVXcvP5

Create supervisord ini (/home/$USER/etc/services.d/opencloud.ini):

  [program:opencloud]
  command=%(ENV_HOME)s/bin/opencloud server
  environment=PROXY_TLS="false",OC_URL="https://<your-domain>"
  autostart=yes
  autorestart=yes
  startsecs=60

Then go to https://isabell.uber.space and log in using admin as username and your chosen initial admin password (EmVRRuVXcvP5).


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions