مهران میرزایی
مهران میرزایی
خواندن ۱ دقیقه·۲ سال پیش

;)

sudo apt update && apt upgrade -y

apt install curl socat -y

curl https://get.acme.sh | sh

~/.acme.sh/acme.sh --set-default-ca --server letsencrypt

~/.acme.sh/acme.sh --register-account -m <<EMAIL>>

~/.acme.sh/acme.sh --issue -d DOMAIN.com --standalone --force

~/.acme.sh/acme.sh --installcert -d DOMAIN.com --key-file /root/private.key --fullchain-file /root/cert.crt



bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install_en.sh)



x-ui restart

/etc/x-ui/db

/root/cert.crt

/root/private.key



curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py --output V2RayGen.py

sudo python3 V2RayGen.py --vmess


speedtest:

sudo apt-get install curl

curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash

sudo apt-get install speedtest

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 - --list

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 - --server 29806

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 - --list | grep -i hivelocity


لینک های مهم مورد نیاز


https://hub.docker.com/r/hossinasaadi/x-ui


https://github.com/hossinasaadi/x-ui


https://gist.github.com/henter/7d153a399e67e9f0808f?permalink_comment_id=1610937


===========================


دستور آپدیت سرور

apt update && apt upgrade -y


===========================

دستورات نصب پنل بر روی داکر

curl -fsSL https://get.docker.com | sh



mkdir x-ui && cd x-ui

docker run -itd --network=host \

-v $PWD/db/:/etc/x-ui/ \

-v $PWD/cert/:/root/ \

--name x-ui --restart=unless-stopped \

hossinasaadi/x-ui:latest



docker build -t x-ui .

============================






speedtestubuntudocker
MikroTik Certified Consultant (MTCNA , MTCWE)
شاید از این پست‌ها خوشتان بیاید