This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: moved all linux relatex resources
- Loading branch information
1 parent
539f06a
commit d3afdb0
Showing
38 changed files
with
373 additions
and
193 deletions.
There are no files selected for viewing
This file contains 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
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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,11 @@ | ||
# reCluster distributions | ||
|
||
reCluster distributions. | ||
|
||
## [Alpine Linux](./alpine/) | ||
|
||
Alpine Linux distribution. | ||
|
||
## [Arch Linux](./arch/) distribution | ||
|
||
Arch Linux. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes
This file contains 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,62 @@ | ||
/* | ||
MIT License | ||
|
||
Copyright (c) 2022-2022 Carlo Corradini | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
|
||
# ================ | ||
# Base | ||
# ================ | ||
base | ||
cloud-init | ||
hyperv | ||
linux | ||
mkinitcpio | ||
mkinitcpio-archiso | ||
open-vm-tools | ||
openssh | ||
pv | ||
qemu-guest-agent | ||
syslinux | ||
virtualbox-guest-utils-nox | ||
# ================ | ||
# Installation | ||
# ================ | ||
archinstall | ||
parted | ||
# ================ | ||
# reCluster | ||
# ================ | ||
coreutils | ||
ethtool | ||
inotify-tools | ||
iproute2 | ||
jq | ||
ncurses | ||
nodejs | ||
npm | ||
openssh | ||
procps | ||
sudo | ||
sysbench | ||
tzdata | ||
util-linux | ||
yq |
File renamed without changes.
This file contains 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,7 @@ | ||
# reCluster documentation | ||
|
||
reCluster documentation. | ||
|
||
- [Installation](./installation.md) | ||
- [Requirements](./installation_requirements.md) | ||
- [Script](./installation_script.md) |
This file contains 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,69 @@ | ||
# Installation | ||
|
||
reCluster installation. | ||
|
||
## Requirements | ||
|
||
See [Installation requirements](./installation_requirements.md) for more information. | ||
|
||
## Steps | ||
|
||
1. Download the most recent `recluster.tar.gz` from [GitHub release](https://github.com/carlocorradini/reCluster/releases/latest) | ||
|
||
```sh | ||
wget https://github.com/carlocorradini/reCluster/releases/latest/download/recluster.tar.gz | ||
``` | ||
|
||
1. Unzip `recluster.tar.gz` | ||
|
||
```sh | ||
tar -xvzf recluster.tar.gz | ||
``` | ||
|
||
1. Generate certificates | ||
|
||
> **Warning**: Change `_ssh_passphrase` and `_token_passphrase` passphrase | ||
|
||
> **Info**: See [certs](../scripts/README.md#📑-certssh) for more information | ||
|
||
```sh | ||
_ssh_passphrase="password" | ||
_token_passphrase="password" | ||
_out_dir="configs/certs" | ||
mkdir "$_out_dir" # Create certs directory | ||
./scripts/certs.sh \ # Generate certificates | ||
--ssh-passphrase "$_ssh_passphrase" \ | ||
--token-passphrase "$_token_passphrase" \ | ||
--out-dir "$_out_dir" | ||
``` | ||
|
||
1. Start a PostgreSQL database instance | ||
|
||
> **Note**: Visit <https://www.postgresql.org> for more information | ||
|
||
1. Edit [configuration files](../configs/) to match your environment | ||
|
||
> **Note**: Remember to change `DATABASE_URL` in [`server.env`](../configs/server.env) | ||
|
||
1. Copy the text from `configs/certs/ssh.pub` and put it in the `ssh_authorized_keys` property of [`configs/config.yml`](../configs/config.yml) (`ssh-ed25519 ...`). | ||
|
||
> **Warning**: All files from `configs/certs` should be copied and saved in a well known and secure place | ||
|
||
1. Place all files and directories on a flash drive | ||
|
||
> **Note**: See <https://askubuntu.com/a/802675/1149269> for more information | ||
|
||
1. Pick a Linux distribution from [`distributions`](../distributions/) and install it | ||
|
||
> **Note**: For further information on how to install a distribution, see its accompanying `README.md` file | ||
|
||
> **Note**: Remember to connect the Power Consumption device | ||
|
||
1. Mount the flash drive on the node | ||
|
||
1. Launch `install.sh` installation script | ||
|
||
> See [Installation script](./installation_script.md) for more information | ||
|
||
1. Congratulations! You have successfully installed reCluster |
Oops, something went wrong.