[root@h105 ~]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Repository base is listed more than once in the configuration
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@h105 ~]# yum install php-gd
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Repository base is listed more than once in the configuration
Determining fastest mirrors
epel/metalink | 4.9 kB 00:00
* epel: ftp.cuhk.edu.hk
* extras: mirrors.pubyun.com
* updates: mirrors.pubyun.com
base | 4.0 kB 00:00 ...
base/primary_db | 4.5 MB 00:00 ...
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:04
extras | 3.4 kB 00:00
extras/primary_db | 37 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 5.2 MB 00:03
Resolving Dependencies
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.3-46.el6_7.1 will be installed
--> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.3.3-46.el6_7.1.x86_64
--> Running transaction check
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
php-gd x86_64 5.3.3-46.el6_7.1 updates 111 k
Installing for dependencies:
libXpm x86_64 3.5.10-2.el6 base 51 k
Transaction Summary
====================================================================================================================================
Install 2 Package(s)
Total download size: 162 k
Installed size: 426 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): php-gd-5.3.3-46.el6_7.1.x86_64.rpm | 111 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------
Total 528 kB/s | 162 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXpm-3.5.10-2.el6.x86_64 1/2
Installing : php-gd-5.3.3-46.el6_7.1.x86_64 2/2
Verifying : libXpm-3.5.10-2.el6.x86_64 1/2
Verifying : php-gd-5.3.3-46.el6_7.1.x86_64 2/2
Installed:
php-gd.x86_64 0:5.3.3-46.el6_7.1
Dependency Installed:
libXpm.x86_64 0:3.5.10-2.el6
Complete!
[root@h105 ~]#
[root@h105 ~]# exit
logout
[root@h105 ~]# su - root
[root@h105 ~]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.100.105 for ServerName
[ OK ]
[root@h105 ~]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。