linux:yum_repository

文書の過去の版を表示しています。


yumプライベートリポジトリの構築

$ sudo yum install nginx createrepo
$ sudo firewall-cmd --permanent --add-service=http
$ sudo firewall-cmd --reload
$ sudo systemctl enable nginx.service
$ sudo systemctl start nginx.service
$ sudo vi /etc/nginx/nginx.conf

/pub/の設定を追記する。

    server {
    ...
        location ~ ^/pub/ {
            autoindex  on;
        }
  • linux/yum_repository.1381215563.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)