Ubuntu Linux下安装Zend Studio

[size=medium] Ubuntu娱乐功能已经非常不错,无非是看看电影,听听歌,玩玩小游戏。接下来研究下Ubuntu下安装zend,google一下还真是有Zend for Linux,于是下载了下来,下面就将我的安装配置过程图文并茂地展示给大家:

第一步当然是解压zip,解压出来一个 bin 格式的安装文件, cp到我的用户目录home/ibm中,在终端地直接输入./ZendStudio-5_5_1.bin,安装便自动安装(需要jre支持,我已经提前安 装过了,安装命令是:sudo apt-get install sun-java6-jre sun-java6-jdk),过不了多久,便开始了界面安装,见图:

[img]http://www.okajax.com/uploads/allimg/081204/0722260.png[/img]

和Windows下的安装界面一样,一路NEXT即可。

请注意,在安装过程中可能会出现:

awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.17548/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

这可能是因为你安装的java的JRE与系统不兼容的结果,你可以在你的终端中输入如下命令来解决:

$ cp ZendSafeGuard-4_0_0.bin ZendSafeGuard-4_0_0.bin.bak
$ cat ZendSafeGuard-4_0_0.bin.bak | \
sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > \
ZendSafeGuard-4_0_0.bin


Note: If you are installing Zend Studio Client, replace all occurrences of "ZendSafeGuard-4_0_0.bin" with "ZendStudio-5_1_0.bin" or "ZendStudio-X_X_X.bin" if you are installing a different version.

After the installation is complete, you can delete both the installer and the installer's .bak file.

注意:如果你是安装 Zend Studio 客户端,请将所有的"ZendSafeGuard-4_0_0.bin"替换成"ZendStudio-5_1_0.bin",或者"ZendStudio-X_X_X.bin"(如果你安装的是其他Zend Studio版本的话)。安装完成之后,你可以删除安装文件和安装文件的.bak文件。

(答案来源:[url]http://hi.baidu.com/i0n_p/blog/item/bb855909659d1eae2fddd473.html[/url])

安装完毕后,打开软件,查看了下软件信息,发现软件许可到期时间是2008年12月3日,也就是一个月时间的试用期;在编码区输入汉字,发现全是口口(乱码),见图:

[img]http://www.okajax.com/uploads/allimg/081204/0722261.png[/img]

不急,一个一个解决它!首先要破解软件许可日期,在网上找到了一个在线生成zend studio序列号的网站,网址:http://www.zendstudio.net/libs/zendstudio5_5_1-keymaker-php/

然后就是解决中文乱码问题,网上有一个不错的解决办法:

1. 创建文件夹fallback
mkdir zend安装目录/ZendStudio-5.5.1/jre/lib/fonts/fallback
2. 复制字体simsun.ttc(WINDOWS系统的Fonts目录下面有这个字体) 到fallback后名字为simsun.ttf
cp simsun.ttc zend安装目录/ZendStudio-5.5.1/jre/lib/fonts/fallback/simsun.ttf
从新启动Zend,乱码问题解决了,见图:

[img]http://www.okajax.com/uploads/allimg/081204/0722262.png[/img]

OK,Zend Studio安装好了,开始工作![/size]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

DavidChan2024

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值