dacker

نصب nginx در ایران

وب‌سرور و reverse proxy، از مخزن رسمی nginx.org. از مخزن داخلی dacker، بدون خطای ۴۰۳؛ توزیع را انتخاب کنید و دستور کامل را کپی کنید.

  • مجوز: BSD-2-Clause
  • منبع: nginx.org
  • آخرین تغییر:
  • سایت سازنده

دستور نصب

توزیع سرور

مرورگر شما انتخاب بدون JavaScript را پشتیبانی نمی‌کند؛ دستورهای همهٔ ترکیب‌ها زیر هم آمده‌اند.

nginx1.30.5

  • Ubuntu 24.04
  • 1.2 MB
  • امضا و بررسی‌شده
bash · Ubuntu 24.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-nginx.sources -o /etc/apt/sources.list.d/dacker-nginx.sources
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install nginx
  4. ۴راه‌اندازی سرویس
    # 4) Enable and start the servicesudo systemctl enable --now nginx
  5. ۵بررسی نصب
    # 5) Check the installationnginx -v
به‌جای فایل .sources، یک خط .list می‌خواهید؟
  1. جایگزین مرحلهٔ ۲
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/nginx noble main" | sudo tee /etc/apt/sources.list.d/dacker-nginx.list

nginx1.30.5

  • Ubuntu 22.04
  • 1.2 MB
  • امضا و بررسی‌شده
bash · Ubuntu 22.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-nginx.list -o /etc/apt/sources.list.d/dacker-nginx.list
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install nginx
  4. ۴راه‌اندازی سرویس
    # 4) Enable and start the servicesudo systemctl enable --now nginx
  5. ۵بررسی نصب
    # 5) Check the installationnginx -v

nginx1.30.5

  • AlmaLinux / Rocky / RHEL 9
  • 1.0 MB
  • امضا و بررسی‌شده
bash · EL 9
  1. ۱کلید امضای سازنده
    # 1) Import the vendor signing keysudo rpm --import https://repo.dacker.ir/el/keys/nginx.asc
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/el/repos/dacker-nginx.repo -o /etc/yum.repos.d/dacker-nginx.repo
  3. ۳نصب
    # 3) Installsudo dnf install nginx
  4. ۴راه‌اندازی سرویس
    # 4) Enable and start the servicesudo systemctl enable --now nginx
  5. ۵بررسی نصب
    # 5) Check the installationnginx -v

nginx1.30.5

  • AlmaLinux / Rocky / RHEL 8
  • 1.0 MB
  • امضا و بررسی‌شده
bash · EL 8
  1. ۱کلید امضای سازنده
    # 1) Import the vendor signing keysudo rpm --import https://repo.dacker.ir/el/keys/nginx.asc
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/el/repos/dacker-nginx.repo -o /etc/yum.repos.d/dacker-nginx.repo
  3. ۳نصب
    # 3) Installsudo dnf install nginx
  4. ۴راه‌اندازی سرویس
    # 4) Enable and start the servicesudo systemctl enable --now nginx
  5. ۵بررسی نصب
    # 5) Check the installationnginx -v

nginx1.26.1

  • CentOS 7
  • 806.8 KB
  • امضا و بررسی‌شده
bash · CentOS 7
  1. ۱کلید امضای سازنده
    # 1) Import the vendor signing keysudo rpm --import https://repo.dacker.ir/el/keys/nginx.asc
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/el/repos/dacker-nginx.repo -o /etc/yum.repos.d/dacker-nginx.repo
  3. ۳نصب
    # 3) Installsudo yum install nginx
  4. ۴راه‌اندازی سرویس
    # 4) Enable and start the servicesudo systemctl enable --now nginx
  5. ۵بررسی نصب
    # 5) Check the installationnginx -v

نسخه‌ها روی هر توزیع

محصول Ubuntu 24.04Ubuntu 22.04EL 9EL 8CentOS 7
nginx 1.30.51.2 MB 1.30.51.2 MB 1.30.51.0 MB 1.30.51.0 MB 1.26.1806.8 KB

N/A: سازنده این نسخه را برای آن توزیع منتشر نمی‌کند یا ساخته نمی‌شود (دلیلش در بخش دستور نصب آمده). «—»: این محصول برای آن خانوادهٔ توزیع ارائه نمی‌شود.

پیش از نصب

روی EL 8 اگر dnf بسته را به‌خاطر ماژول‌های AppStream فیلتر کرد، این پرسش را ببینید.

CentOS 7 به‌صورت best-effort نگه‌داری می‌شود: نسخه‌ها منجمدند و ممکن است از نسخهٔ توزیع‌های دیگر قدیمی‌تر باشند.

راهنمای نصب nginx برای هر توزیع

هر صفحه دستور کامل، نسخهٔ دقیق بسته‌ها و خطاهای رایج همان توزیع را دارد.

محصولات مرتبط

فهرست کامل بسته‌ها

همهٔ بسته‌هایی که هر مخزن برای هر توزیع دارد، از manifest مخزن.

nginx · Ubuntu 24.04 · 1.2 MB · ۱ بسته
بستهنسخه
nginx1.30.5-1~noble
nginx · Ubuntu 22.04 · 1.2 MB · ۱ بسته
بستهنسخه
nginx1.30.5-1~jammy
nginx · AlmaLinux / Rocky / RHEL 9 · 1.0 MB · ۱ بسته
بستهنسخه
nginx2:1.30.5-1.el9.ngx
nginx · AlmaLinux / Rocky / RHEL 8 · 1.0 MB · ۱ بسته
بستهنسخه
nginx1:1.30.5-1.el8.ngx
nginx · CentOS 7 · 806.8 KB · ۱ بسته
بستهنسخه
nginx1:1.26.1-2.el7.ngx