按照此地址使用yum命令安裝logstash,https://www.elastic.co/guide/en/logstash/8.1/installing-logstash.html#_yum
sudo yum install logstash
出現錯誤:
CentOS Linux 8 - AppStream 88 B/s | 38 B 00:00 錯誤:為 repo 'appstream' 下載元數據失敗 : Cannot prepare internal mirrorlist: No URLs in mirrorlist [root@localhost ~]# sudo yum install logstash CentOS Linux 8 - AppStream 91 B/s | 38 B 00:00 錯誤:為 repo 'appstream' 下載元數據失敗 : Cannot prepare internal mirrorlist: No URLs in mirrorlist
解決辦法參照:
https://www.cnblogs.com/bpzblog/p/13918199.html
https://blog.csdn.net/lisongyue123/article/details/110822915
