-
- # rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
Copy code
# vi /etc/yum.repos.d/CentOS- Base.repo adds the following information
-
- [utterramblings]
- name=Jason's Utter Ramblings Repo
- baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
- enabled=1
- gpgcheck=1
- gpgkey=http ://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
Copy the code
Execute the command to upgrade automatically.
-
- yum update php -y
- yum install libmcrypt -y
Copy the code
It has been verified that it is OK.
When encountering an error, you can consider the following solutions.
Method 1: Change the URL
-
- rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
Copy code
Method 2: First download from the network to your local computer and then install it
-
- wget http://apt.sw.be/RPM-GPG-KEY.dag.txt
- rpm --import RPM-GPG-KEY.dag.txt
Copy the code
the above two All methods are available after testing.
|