• 欢迎访问极客公园网站,WordPress信息,WordPress教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入极客公园 QQ群
  • Git主题现已支持滚动公告栏功能,兼容其他浏览器,看到的就是咯,在后台最新消息那里用li标签添加即可。
  • 最新版Git主题已支持说说碎语功能,可像添加文章一样直接添加说说,新建说说页面即可,最后重新保存固定连接,演示地址
  • 百度口碑求点赞啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊http://koubei.baidu.com/s/gitcafe.net
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏极客公园吧

(总结)RHEL/CentOS 5.x使用yum安装zend-optimizer

原创总结 博客教主 13年前 (2011-07-04) 5250次浏览 1个评论

PS:刚才一朋友叫我帮忙弄个网店系统,我就准备先弄个演示站点给他看看,马上登上去在米国的这个VPS,wget下来shopex这个网店程序,开始安装,囧,居然出现乱码。google一下,原来是shopex的核心程序使用zend来加密了。而我这VPS没安装zend软件包。不想编译(哥现在最烦编译安装东西,可能以前玩LFS和gentoo时编译怕了,曾经最高纪录连续编译了3天3夜。现在懒了,不想折腾了。),于是找了一下zend-optimizer的yum源,直接安装使用没问题。

方法简单如下:

1、下载并运行这个脚本:
wget -q -O - http://www.atomicorp.com/installers/atomic | sh

2、运行完上面的脚本后,会看到/etc/yum.repos.d/目录下多了一个名字为atomic.repo的源,内容如下:

# Name: Atomic Rocket Turtle RPM Repository for CentOS / Red Hat Enterprise Linux 5 -
# URL: http://www.atomicrocketturtle.com/
# Note: This isn't covered by ASL support. -Scott
[atomic]
name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com
mirrorlist = http://www.atomicorp.com/mirrorlist/atomic/centos-5-$basearch
#mirrorlist = http://www.atomicorp.com/channels/atomic/centos/5/mirrors-atomic
enabled = 1
priority = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck = 1

# Almost Stable, release candidates for [atomic]
# Note these are not supported by anyone. -Scott
[atomic-testing]
name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com - (Testing)
mirrorlist = http://www.atomicorp.com/mirrorlist/atomic-testing/centos-5-$basearch
enabled = 0
priority = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck = 1

# Untested, Unstable, known buggy, and incomplete packages.
# Note, you shouldn't be here unless you are me. -Scott
#[atomic-bleeding]
#name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com - (Bleeding)
#baseurl = http://www.atomicorp.com/channels/atomic-bleeding/centos/5/$basearch/
#enabled = 0
#priority = 1

默认开启第一个就行。

3、使用yum安装zend-optimizer

yum install php-zend-optimizer

之后重启php-fpm或apache就可以使用了。

shopex这个网店程序几年没碰了,现在的版本果然功能强大!

网店前台:

网店后台:

参考:http://www.atomicorp.com/channels/atomic/


极客公园 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:(总结)RHEL/CentOS 5.x使用yum安装zend-optimizer
喜欢 (0)

您必须 登录 才能发表评论!

(1)个小伙伴在吐槽