Skip to content

Commit

Permalink
fix: added Marban & Marzban-node scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtheted authored Aug 3, 2024
1 parent 3059013 commit a2471a8
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions marzban/fa/docs/marzban-script.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
title: اسکریپت مرزبان
---

# اسکریپت مرزبان

اسکریپت‌های مرزبان برای راه‌اندازی پنل مرزبان یا مرزبان نود در این بخش وجود دارند.

## راه‌اندازی پنل مرزبان

- با دستور زیر مرزبان را روی سرور خود نصب کنید.
```bash
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install
```
- با دستور زیر فقط اسکریپت را نصب کنید تا کامندهای مرزبان را داشته باشید.
```bash
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install-script
```
- دستور زیر یک نمونه برای نصب ورژن خاصی از مرزبان است.
```bash
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install v0.5.2
```
::: tip نکته
- برای دیدن همه کامندهای مرزبان از کامند زیر استفاده کنید.
```bash
marzban help
```
:::

## راه‌اندازی مرزبان نود

- با دستور زیر مرزبان نود را روی سرور خود نصب کنید.
```bash
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban-node.sh)" @ install
```
- با دستور زیر مرزبان نود را با اسم دلخواه خودتان روی سرور نصب کنید.
```bash
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban-node.sh)" @ install --name marzban-node2
```
- با دستور زیر فقط اسکریپت را نصب کنید تا کامندهای مرزبان نود را داشته باشید.
```bash
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban-node.sh)" @ install-script
```
::: tip نکته
- برای دیدن همه کامندهای مرزبان نود از کامند زیر استفاده کنید.
```bash
marzban-node help
```
:::

0 comments on commit a2471a8

Please sign in to comment.