[root@cent580 ~]# rpm -V httpd S.5....T c /etc/httpd/conf/httpd.conf .....UG. /var/www/htmlマークの意味
Mark | Description |
---|---|
S | Size |
M | File mode (permission) |
5 | MD5 Checksum |
D | Device file major/minor number |
L | Symbolic linked to |
U | File owner's UID |
G | File owner's GID |
T | Last modified time |
#additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled=1 # 0 から 1で有効化 |
実行例 [root@cent580 yum.repos.d]# yum repolist Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * centosplus: ftp.iij.ad.jp * epel: sg.fedora.ipserverone.com * extras: ftp.iij.ad.jp * updates: ftp.iij.ad.jp リポジトリー ID リポジトリー名 状態 base/7/x86_64 CentOS-7 - Base 9,911 centosplus/7/x86_64 CentOS-7 - Plus 93 extras/7/x86_64 CentOS-7 - Extras 432 updates/7/x86_64 CentOS-7 - Updates 1,614 repolist: 24,787
[root@cent580 yum.repos.d]# yum install epel-release : [root@cent580 yum.repos.d]# yum repolist : epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,737* 外部リポジトリは標準リポジトリと競合する事があるため、不要な場合は enabled を 0 にし無効化しておくこと
# PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d proxy=プロキシーのURL (http://proxy:8080 など) proxy_username=認証ユーザ名 proxy_password=認証パスワード |