CentOS7通過yum安裝Openresty

2021-09-22 21:12:44 字數 564 閱讀 6339

在 centos 系統上使用新的官方 yum 源的方法是:

sudo yum install -y yum-utils

sudo yum-config-manager --add-repo

這兩條命令就設好新源了。目前支援 centos 6 x86_64 和 centos 7 x86_64,同時不再依賴 epel 源。

在 fedora 系統上使用新的官方 yum 源的方法是:

sudo dnf config-manager --add-repo
執行這一條命令就可以設定好新源了。目前支援 fedora 24 x86_64,fedora 25 x86_64 和 fedora 26 x86_64。

新倉庫同時支援 amazon linux x86_64:

sudo yum install -y yum-utils

sudo yum-config-manager --add-repo

之後

# yum install openresty

即可

centos7通過yum安裝mysql

yum list installed grep mysql 如果有的話 就全部解除安裝 yum y remove 資料庫名稱yum search libaio 檢索相關資訊 yum install libaio 安裝依賴包如果找不到wget命令則先yum install wget wget新增 my...

centos7通過yum安裝docker筆記

yum源安裝 1 更新yum yum update 2 刪除舊版本 yum remove docker docker client docker client latest docker common docker latest docker latest logrotate docker logr...

Centos7通過yum安裝python 3

rhel以及他的衍生發行版如centos scientific linux為了穩定,官方的rpm repository提供的rpm包往往是很滯後的,當然了,這樣做這是無可厚非的,畢竟這是伺服器版本,安全穩定是重點,官方的rpm repository提供的rpm包也不夠豐富,很多時候需要自己編譯那太辛...