Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bare metal deployments #1055

Merged
merged 6 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/ROOT/pages/depl-examples/bare-metal.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Note that this URL must resolve to the server running this installation.

=== Install and configure the Infinite Scale Binary

* Download and install the Infinite Scale binary. To get the stable binary from ownCloud, visit {ocis-downloadpage-url}/{download-type}/?sort=time&order=desc[download.owncloud.com,window=_blank], select the version and the platform of choice and copy the link of the file. Replace `<file_url>` and `<version>` in the commands accordingly.
* Download and install the Infinite Scale binary. To get the stable binary from ownCloud, visit {ocis-downloadpage-url}/{download-type}/?sort=time&order=desc[download.owncloud.com,window=_blank], select the version and the platform of choice and copy the link of the file. Replace `<file_url>` and `<file_name>` in the commands accordingly.
+
--
Download the binary:
Expand All @@ -88,15 +88,15 @@ sudo wget -P {ocis_bin} <file_url>
+
[source,bash,subs="attributes+"]
----
sudo chmod a+x {ocis_bin}/ocis-<version>
sudo chmod a+x {ocis_bin}/<file_name>
----

* Create a link from the versioned ocis binary name to the final executable named `ocis`: +
Note when using a symbolic link like this, upgrading and/or testing is much easier.
+
[source,bash,subs="attributes+"]
----
sudo ln -s {ocis_bin}/ocis-<version> {ocis_bin}/ocis
sudo ln -s {ocis_bin}/<file_name> {ocis_bin}/ocis
----

* Check the version installed:
Expand Down
12 changes: 6 additions & 6 deletions modules/ROOT/pages/depl-examples/minimal-bare-metal.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ For those who want to skip reading the full document, use this summary of comman

IMPORTANT: With this approach, the system you install Infinite Scale on *must* have a GUI present. A headless system has different requirements and needs an extended setup, see xref:accessing-infinite-scale-other-than-localhost[Accessing Infinite Scale Other Than Localhost].

Define a stable binary to use as replacement for `<file_url>` via {ocis-downloadpage-url}/{download-type}/?sort=time&order=desc[download.owncloud.com,window=_blank], replace `<version>` in the command accordingly.
Define a stable binary to use as replacement for `<file_url>` via {ocis-downloadpage-url}/{download-type}/?sort=time&order=desc[download.owncloud.com,window=_blank], replace `<file_name>` in the command accordingly.

[source,bash,subs="attributes+"]
----
Expand All @@ -66,13 +66,13 @@ sudo wget -P {ocis_bin} <file_url>

[source,bash,subs="attributes+"]
----
sudo chmod a+x {ocis_bin}/ocis-<version>
sudo chmod a+x {ocis_bin}/<file_name>
----

[source,bash,subs="attributes+"]
----

sudo ln -s {ocis_bin}/ocis-<version> {ocis_bin}/ocis
sudo ln -s {ocis_bin}/<file_name> {ocis_bin}/ocis
----

[source,bash]
Expand All @@ -91,7 +91,7 @@ Congratulations, you now have access to your Infinite Scale instance.

== Installation

* To get the stable binary from ownCloud, visit {ocis-downloadpage-url}/{download-type}/?sort=time&order=desc[download.owncloud.com,window=_blank], select the version and the platform of choice and copy the link of the file. Check the sort order on the modification date to get the most recent releases on top. Depending on your system and preferences, you may want to save the binary in `{ocis_bin}`. Replace `<file_url>` and `<version>` in the commands accordingly.
* To get the stable binary from ownCloud, visit {ocis-downloadpage-url}/{download-type}/?sort=time&order=desc[download.owncloud.com,window=_blank], select the version and the platform of choice and copy the link of the file. Check the sort order on the modification date to get the most recent releases on top. Depending on your system and preferences, you may want to save the binary in `{ocis_bin}`. Replace `<file_url>` and `<file_name>` in the commands accordingly.
+
--
Download the binary:
Expand All @@ -106,15 +106,15 @@ sudo wget -P {ocis_bin} <file_url>
+
[source,bash,subs="attributes+"]
----
sudo chmod a+x {ocis_bin}/ocis-<version>
sudo chmod a+x {ocis_bin}/<file_name>
----

* Create a link from the versione ocis binary to the final executable named `ocis`: +
mmattel marked this conversation as resolved.
Show resolved Hide resolved
Note when using a symbolic link like this, upgrading and/or testing is much easier.
+
[source,bash,subs="attributes+"]
----
sudo ln -s {ocis_bin}/ocis-<version> {ocis_bin}/ocis
sudo ln -s {ocis_bin}/<file_name> {ocis_bin}/ocis
----

* Check the version installed:
Expand Down