このスレッドは未解決です(解決したらこちらで解決済にしてください)

日時: 2010/09/02 18:01
名前: Yaxa
URL: http://yaxa.jp
名前: Yaxa
URL: http://yaxa.jp
ミラーサーバー構築方法が分からないので質問させていただきました。
Googleで検索してみましたが、情報が少ない為質問させて頂きます。
yumミラーサーバーを構築する方法(手順)を教えてくないでしょうか?
centosのミラーに申し訳ないので、ミラーを作ろうと思いました。
Page: | 1 | 2 |

日時: 2010/09/03 08:21
名前: 愚者
URL:
名前: 愚者
URL:
私は以下のシェルスクリプトで自分専用ミラーを作ってます。
rsyncはミラー元サーバへの負担が大きいので、lftpを使った方がよいでしょう
#!/bin/bash
lftp -e 'mirror --delete --only-newer -X *isos/* /pub/Linux/CentOS/5.5 /home/wwwhome/public_html/centos/5.5 && exit' ftp://ftp
.jaist.ac.jp
apacheで上記シェルで指定したパスを公開するよう、/etc/httpd/conf/httpd.conf を書き換えます
あとは /etc/yum.repos.d/CentOS-Base.repo に以下のような感じで書き換えるだけです。
[base]
name=CentOS-$releasever - Base
baseurl=http://yum.example.net/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
priority=1
毎日5〜10分程度で同期されてます。

日時: 2013/07/30(Tue) 14:20
名前: 051902
URL: http://louisvuitton-ru.tumblr.com/
名前: 051902
URL: http://louisvuitton-ru.tumblr.com/
Leaf Qin once walks street a few an alleys? return to the oneself mansion house doorway inside the city.At this time? is seeing the ice son send two wear water cloud temple temple takes of beautiful looks female the monk come out.Those two female monks see leaf Qin? but also recognize and salute""once saw leaf's senior ……" then nose smile a responsibility to leave. Луи Витон http://louisvuitton-ru.tumblr.com/
Page: | 1 | 2 |
※質問を投稿後に自己解決された場合は、原因と行った対処を具体的に書き込み下さるよう、よろしくお願いします。