linux自架设magento环境

通过清心醉

linux自架设magento环境

由于CentOS 默认yum安装apache+php+mysql,安装magento会有三个模块是没有添加扩展的.
分别是:mcrypt, dom, gd。

而CentOS官方已经不再对mcrypt模块进行支持,作者所以使用了Fedora的扩展库,EPEL (Extra Packages for Enterprise Linux).

32位的可以去:http://mirrors.sohu.com/fedora-epel/6/i386/

64位的:http://mirrors.sohu.com/fedora-epel/6/x86_64/

搜索epel-release

如作者的64,下载扩展先:

rpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86
_64/epel-release-6-8.noarch.rpm

完成后#yum update 更新下
在中间会有个提示更新其他的咨询是否下载,按N,否则系统就会全部进行更新下载。

然后查看#yum repolist

[root@qingxinzui]# yum repolist

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* epel: mirrors.solfo.com
* extras: mirror-centos.hostingswift.com
* updates: mirror.hmc.edu
repo id       repo name                                            status
base          CentOS-6 – Base                                       6,367
epel          Extra Packages for Enterprise Linux 6 – x86_64       11,128
extras        CentOS-6 – Extras                                        15
updates       CentOS-6 – Updates                                    1,608
repolist: 19,118

说明已经有了.

接下来是安装:

# yum install php-mcrypt

提示:Is this ok [y/N]:

按y继续,会出现两次.

等安装完成后.

接下来是dom和gd扩展,这个比较简单.

# yum install php-xml

#yum install php-gd

#service httpd restart

 

关于作者

清心醉 administrator

发表评论

如果喜欢作者的文章,您可以打赏给作者:

TRC20(虚拟货币):


ERC20(虚拟货币):


Bitcoin(BTC):