Difference between revisions of "RHEL Yum"
From Hawk Wiki
(→Yum Management) |
|||
Line 9: | Line 9: | ||
yum install php-mbstring | yum install php-mbstring | ||
</pre> | </pre> | ||
+ | ==Yum Add or Disable Repo== | ||
+ | <pre> | ||
+ | #Add | ||
+ | yum-config-manager --add-repo repository_url | ||
+ | </pre> | ||
+ | Disable repo | ||
+ | |||
+ | see also | ||
+ | |||
+ | http://www.if-not-true-then-false.com/2010/yum-remove-repo-repository-yum-disable-repo-repository/ |
Revision as of 04:10, 4 April 2015
Yum Management
By default, Redhat repo does not contain php-mbstring in Amazon AWS. php-mbstring is required for phpMyAdmin, wordpress, etc.
To Install php-mbstring
yum repolist all # found rhui-REGION-rhel-server-optional in the list yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional yum search php- yum install php-mbstring
Yum Add or Disable Repo
#Add yum-config-manager --add-repo repository_url
Disable repo
see also
http://www.if-not-true-then-false.com/2010/yum-remove-repo-repository-yum-disable-repo-repository/