generated from imfing/hextra-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: marznode installation and admin guide, contribution guide (#2)
* docs(structure): admins guide, configuration, contribution guide * feat: multi lingual * docs: backend vpns * docs: installation * docs: marzndoe installation and setup
- Loading branch information
Showing
33 changed files
with
186 additions
and
4 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.
File renamed without changes.
Empty file.
Empty file.
Empty file.
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,5 @@ | ||
--- | ||
title: Configuration | ||
next: marzneshin | ||
weight: 3 | ||
--- |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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,4 @@ | ||
--- | ||
title: Developer Guide | ||
weight: 4 | ||
--- |
Empty file.
Empty file.
Empty file.
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,5 @@ | ||
--- | ||
title: Concepts | ||
next: users | ||
prev: docs/installation | ||
--- |
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,5 @@ | ||
--- | ||
title: Admins | ||
prev: inbounds-and-hosts | ||
weight: 5 | ||
--- |
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,5 @@ | ||
--- | ||
title: Inbounds & Hosts | ||
next: admins | ||
weight: 4 | ||
--- |
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,5 @@ | ||
--- | ||
title: Nodes | ||
next: inbounds-and-hosts | ||
weight: 3 | ||
--- |
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,6 @@ | ||
--- | ||
title: Services | ||
next: nodes | ||
prev: users | ||
weight: 2 | ||
--- |
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,6 @@ | ||
--- | ||
title: Users | ||
prev: concepts | ||
next: services | ||
weight: 1 | ||
--- |
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,5 @@ | ||
--- | ||
title: Installations | ||
next: marzneshin | ||
weight: 2 | ||
--- |
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,5 @@ | ||
--- | ||
title: Installing Marzneshin | ||
next: marznode | ||
weight: 1 | ||
--- |
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,91 @@ | ||
--- | ||
title: Marznode | ||
weight: 2 | ||
--- | ||
|
||
### Prerequesits | ||
|
||
- Docker | ||
- Docker Compose | ||
|
||
{{< callout type="info" >}} | ||
Make sure you have docker installed | ||
|
||
```sh | ||
$ curl -fsSL https://get.docker.com | sh | ||
``` | ||
|
||
{{< /callout >}} | ||
|
||
{{% steps %}} | ||
|
||
### Get Marznode | ||
|
||
Clone the marznode repository and spin up the container. | ||
|
||
```sh | ||
$ git clone https://github.com/marzneshin/marznode | ||
$ cd marznode | ||
``` | ||
|
||
### Configure certificate | ||
|
||
Copy the marzneshin certificate from dashboard in settings page to `/var/lib/marznode/client.pem`. | ||
|
||
### Setup Xray for marznode | ||
|
||
Move to `/var/lib/marznode/data` | ||
|
||
```sh | ||
mkdir -p /var/lib/marznode/data | ||
cd /var/lib/marznode/data | ||
``` | ||
|
||
Download the latest [Xray release](https://github.com/XTLS/Xray-core/releases/) for linux | ||
|
||
```sh | ||
wget https://github.com/XTLS/Xray-core/releases/download/v1.8.21/Xray-linux-64.zip | ||
``` | ||
|
||
Unzip and clean the Xray file | ||
|
||
```sh | ||
unzip Xray-linux-64.zip && rm Xray-linux-64.zip | ||
``` | ||
|
||
### Configure xray | ||
|
||
Copy the xray config file: | ||
|
||
```sh | ||
cp /root/marznode/xray_config.json /var/lib/marznode/xray_config.json | ||
``` | ||
|
||
Move the data to xray for marznode: | ||
|
||
```sh | ||
cp /var/lib/marznode/data/xray /var/lib/marznode/xray | ||
``` | ||
|
||
### Set the environment variables | ||
|
||
Based on the current steps, the `.env` file should follow as | ||
|
||
```sh | ||
XRAY_EXECUTABLE_PATH="/var/lib/marznode/xray" | ||
XRAY_ASSETS_PATH="/var/lib/marznoed/data" | ||
XRAY_CONFIG_PATH="/var/lib/marznode/xray_config.json" | ||
SSL_CLIENT_CERT_FILE="/var/lib/marznode/client.pem" | ||
SSL_KEY_FILE="./server.key" | ||
SSL_CERT_FILE="./server.cert" | ||
``` | ||
|
||
### Spin up docker compose | ||
|
||
Execute the following command inside the marznode folder: | ||
|
||
```sh | ||
docker compose up -f ./compose.yml -d | ||
``` | ||
|
||
{{% /steps %}} |
Empty file.
Empty file.
Empty file.
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,5 @@ | ||
--- | ||
title: Overview | ||
next: marzneshin | ||
weight: 1 | ||
--- |
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,5 @@ | ||
--- | ||
title: Marzneshin | ||
next: marznode | ||
weight: 1 | ||
--- |
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,5 @@ | ||
--- | ||
title: Marznode | ||
next: getting-started | ||
weight: 2 | ||
--- |
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