diff --git a/README.md b/README.md index 12e1e2f..990da5b 100644 --- a/README.md +++ b/README.md @@ -240,9 +240,31 @@ Run this on your VPS (requires root): curl -fsSL https://raw.githubusercontent.com/SamNet-dev/paqctl/main/paqctl.sh | sudo bash ``` -Alternative (mirror, for restricted regions): +If you're in a restricted region (Iran, etc.), try these methods in order: + +**Method 1: Mirror (recommended)** ```bash -curl -fsSL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh | sudo bash +curl -sL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh | sudo bash +``` + +**Method 2: Manual download on server** + +If method 1 hangs, download first then run: +```bash +curl -sL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh -o paqctl.sh +sudo bash paqctl.sh +``` + +**Method 3: Download from another system and SCP to server** + +If nothing works, download from a system with free internet and send to your server: +```bash +# On a system with free internet: +curl -sL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh -o paqctl.sh +scp paqctl.sh root@YOUR_SERVER_IP:/root/paqctl.sh + +# Then on the server: +sudo bash /root/paqctl.sh ``` > The installer automatically downloads the latest paqet release from GitHub. @@ -1368,9 +1390,31 @@ paqctl به صورت خودکار SOCKS5 را روی پورت آزاد بعدی curl -fsSL https://raw.githubusercontent.com/SamNet-dev/paqctl/main/paqctl.sh | sudo bash ``` -جایگزین (میرور، برای مناطق محدود): +اگر در ایران هستید یا دسترسی مستقیم ندارید، به ترتیب این روش‌ها را امتحان کنید: + +**روش ۱: میرور (پیشنهادی)** ```bash -curl -fsSL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh | sudo bash +curl -sL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh | sudo bash +``` + +**روش ۲: دانلود دستی روی سرور** + +اگر روش ۱ هنگ کرد، اول فایل را دانلود کنید بعد اجرا: +```bash +curl -sL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh -o paqctl.sh +sudo bash paqctl.sh +``` + +**روش ۳: دانلود از سیستم دیگر و ارسال به سرور** + +اگر هیچ‌کدام کار نکرد، فایل را از یک سیستم با اینترنت آزاد دانلود کنید و با SCP به سرور بفرستید: +```bash +# روی سیستمی که اینترنت آزاد دارد: +curl -sL https://dl.samnet.dev/SamNet-dev/paqctl/raw/branch/main/paqctl.sh -o paqctl.sh +scp paqctl.sh root@IP_SERVER:/root/paqctl.sh + +# بعد روی سرور: +sudo bash /root/paqctl.sh ``` سپس منوی تعاملی را باز کنید: