-
Notifications
You must be signed in to change notification settings - Fork 30
Add tutorial for bare metal installation #94
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ad84e33
Tutorial on bare metal for Admin
Heiko-Pohl af191db
Update docs/admin/installation/bare-metal.md
Heiko-Pohl 09ae8b2
Update docs/admin/installation/bare-metal.md
Heiko-Pohl fac20ae
Update bare metal installation documentation
Heiko-Pohl 7e267c6
Update bare metal delte nodejs line
Heiko-Pohl 737c0c2
Update bare metal step 4 login
Heiko-Pohl ebd8503
Update bare metal refine conclusion
Heiko-Pohl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| --- | ||
| sidebar_position: 4 | ||
| id: bare-metal | ||
| title: Quickstart Bare - Metal | ||
| --- | ||
| <br/><br/> | ||
|
|
||
| ## User Guide for Installing OpenCloud | ||
| Follow the steps below to install and configure OpenCloud on your system.<br/> | ||
| This example is on Linux Ubuntu distribution! | ||
| <br/><br/> | ||
|
|
||
| --- | ||
|
|
||
| ### Step 1: Install Git and clone the repository | ||
|
|
||
| 1. Open a terminal. | ||
| 2. Update your package list: | ||
| ```bash | ||
| sudo apt update | ||
| ``` | ||
| 3. Install Git using the following command: | ||
| ```bash | ||
| sudo apt install git | ||
| ``` | ||
| 4. Clone the OpenCloud repository: | ||
| ```bash | ||
| git clone https://github.com/opencloud-eu/opencloud.git | ||
| ``` | ||
| <br/><br/> | ||
|
|
||
| --- | ||
|
|
||
| ### Step 2: Update system and install required packages | ||
|
|
||
| 1. Install the golang package: | ||
| ```bash | ||
| sudo apt install golang -y | ||
| ``` | ||
|
|
||
| 2. Install npm (Node Package Manager): | ||
| ```bash | ||
| sudo apt install npm -y | ||
| ``` | ||
|
|
||
| 3. Install corepack globally: | ||
| ```bash | ||
| sudo npm install -g corepack | ||
| ``` | ||
|
|
||
| 4. Enable `pnpm` using corepack: | ||
| ```bash | ||
| corepack enable pnpm | ||
| ``` | ||
| <br/><br/> | ||
|
|
||
| --- | ||
|
|
||
| ### Step 3: Build process and OpenCloud initialization | ||
|
|
||
| 1. Navigate to the OpenCloud directory: | ||
| ```bash | ||
| cd opencloud | ||
| ``` | ||
|
|
||
| 2. Run the generate process: | ||
| ```bash | ||
| make clean generate | ||
| ``` | ||
|
|
||
| 3. Build OpenCloud: | ||
| ```bash | ||
| make clean build | ||
| ``` | ||
|
|
||
| 4. Initialize OpenCloud with insecure configuration and set an admin password: | ||
| ```bash | ||
| ./bin/opencloud init --insecure true --admin-password admin | ||
| ``` | ||
|
|
||
| 5. Start the OpenCloud server: | ||
| ```bash | ||
| ./bin/opencloud server | ||
| ``` | ||
| <br/><br/> | ||
|
|
||
| --- | ||
|
|
||
| ### 4. Login | ||
|
|
||
| Login with your browser: | ||
| - [https://cloud.opencloud.test](https://cloud.opencloud.test) | ||
| - user: **admin** | ||
| - password: **admin** | ||
|
|
||
| Congratulations! You’ve successfully set up and launched OpenCloud! Happy hacking! | ||
|
|
||
| <img src={require("./img/bare-metal/login.png").default} alt="Admin general" width="1920"/> | ||
| <br/><br/> | ||
|
|
||
| --- | ||
|
|
||
| ### Conclusion | ||
|
|
||
| Your OpenCloud server is now running and ready to use 🚀 | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.