이렇게 하면 cat ambari.repo
마지막 두 줄에
enable=1
합계가 표시되는 것을 볼 수 있습니다 priority=1
. 이것 뒤에 숨겨진 의미는 무엇입니까?
답변1
~에서man yum.conf
enabled Either `1' or `0'. This tells yum whether or not use
this repository.
그리고
During depsolving, when choosing the
best provider among several, yum will respect the priority of
each provider's repository (note that there are other factors
which yum considers, which may overweigh the repository prior-
ity). The value is an integer from 1 to 99, 1 being the most
preferred repository, and 99 being the least preferred one. By
default all repositories have the priority of 80.