Ubuntu 8.04安装Zend5.5


在Ubuntu 8.04下安装zend5.5真是麻烦啊,试了半天终于安成功了,还有点小问题就是中文不显示,安下面的安装步骤中的安装字体,也没有安装成功,还在继续研究中。

1. 下载ZendStudio-5_5_1.tar.gz

2. 解压缩出 ZendStudio-5_5_1.bin

3. 在非root用户下安装,如zack@zack-desktop:~$
./ZendStudio-5_5_1.bin

4. 安装后,从windows 系统下拷贝simsun.ttc字体,到zendstudio 安装目录下的/home/zack/Zend/ZendStudio-5.5.1/jre/lib/fonts/

5. 修改/home/zack/Zend/ZendStudio-5.5.1/jre/lib/fonts/fonts.dir 文件
将其他字体都替换成simsun.ttc
cd /home/zack/Zend/ZendStudio-5.5.1/jre/lib/fonts/
ls -al |grep ttf |awk ‘{print “perl -pi -e s/”$8″/simsun.ttc/g fonts.dir” }’ |sh

6. 创建应用程序
vi /usr/local/applications/ZendStudio5.desktop
[Desktop Entry]
Name=ZendStudio5
Comment=Zend Studio 5.5
Exec=/home/zack/Zend/ZendStudio-5.5.0/bin/ZDE
Icon=/home/zack/Zend/ZendStudio-5.5.0/bin/icon16_studio.png
Terminal=false
Type=Application
Categories=Application;Network;

完成.

如果ubuntu开启了桌面特效,运行Zend的时候,会显示灰页(空白页什么也看不到)解决办法:
sudo gedit ZDE

找到

debugOut “”
unset POSIXLY_CORRECT
if [ $DO_NOT_FORK ]

在这段代码上面加入

options=”$options -Dawt.toolkit=sun.awt.motif.MToolkit”

修改后的代码

options=”$options -Dawt.toolkit=sun.awt.motif.MToolkit”
debugOut “”
unset POSIXLY_CORRECT
if [ $DO_NOT_FORK ]


Zend Studio Enterprise 5.5 注册码

Name:crsky
Code:BC1EF3CD12182039

相关内容