نشانیها
- مخزن Elastic
https://mirror-elastic.pkg.shecan.ir/
Ubuntu و Debian
Shell
sudo install -d /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/elastic.asc https://mirror-elastic.pkg.shecan.ir/GPG-KEY-elasticsearch
echo "deb [signed-by=/etc/apt/keyrings/elastic.asc] https://mirror-elastic.pkg.shecan.ir/packages/9.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-9.x.list
sudo apt updateShell
sudo rm -f /etc/apt/sources.list.d/elastic-9.x.list /etc/apt/keyrings/elastic.asc
sudo apt updateShell
sudo apt install -y elasticsearchAlmaLinux، Rocky، RHEL و Fedora
/etc/yum.repos.d/elastic.repo/etc/yum.repos.d/elastic.repoINI
[elastic-9.x]
name=Elastic repository for 9.x packages
baseurl=https://mirror-elastic.pkg.shecan.ir/packages/9.x/yum
gpgcheck=1
gpgkey=https://mirror-elastic.pkg.shecan.ir/GPG-KEY-elasticsearch
enabled=1
type=rpm-mdShell
sudo rm -f /etc/yum.repos.d/elastic.repo
sudo dnf clean allShell
sudo dnf install -y elasticsearchنکتهها و محدودیتها
- apt و dnf امضای رسمی Elastic را بررسی میکنند. برای نسخهٔ ۸ در دستورها
9.xرا به8.xتغییر دهید. - فقط مخزنهای apt و yum (
packages/9.xو نسخههای دیگر) و کلید امضا میرور شدهاند؛ فایلهای tar.gz و zip بخش downloads و ایمیجهای docker.elastic.co میرور نشدهاند.