PHP Stone

PHP FreeBSD MySQL Apache…
Subscribe

FreeBSD 7上安装Firefox 3

October 06, 2008 作者: frePerl 归宿: FreeBSD, 浏览器

由于使用FreeBSD7.0-p4版本,编译安装Gnome2.22时默认安装的firefox2,而firefox3已经成熟,而且在ports中已经存在,因此在查阅不到相关文档的情况下自行分析安装firefox3。

想到即使Windows下firefox3也只能全新安装,没有升级安装,因此估计freebsd下安装firefox3的方法是先删除firefox2,然后在ports中安装firefox3.

1. 更新ports tree,我这里更新后firefox版本是3.0.3

2. #cd /usr/ports/www/firefox
#make deinstall
//如果是packages方式安装的Gnome等桌面管理器,得用 #pkg_delete -f firefox

#cd /usr/ports/www/firefox3
#make install clean
我的笔记本配置很一般的,下载速度不快,加上编译安装完成也就耗时3小时左右。
www/firefox-i18n暂时只对firefox2的汉化有效,因此汉化只能依靠firefox本身的语言包来进行汉化,地址是:http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.3/linux-i686/xpi/ 假如你的版本是3.0.1,那么可以将链接的3.0.3更换为3.0.1,自然会找到响应版本的xpi文件来安装。简体中文是 zh-CN.xpi。

这样我就开始在freebsd7上体验firefox3了

FreeBSD下从ports安装Gnome2.22

October 01, 2008 作者: frePerl 归宿: FreeBSD

准备工作:

1.更新ports

2.重新编译内核

(一) 安装 Xorg
注:要完整地编译Xorg至少要4GB的剩余磁盘空间
ports: [x11/xorg]
#cd /usr/ports/x11/xorg
#make install clean
对于 Xorg 7.3 这个版本,可以不需要任何的配置文件就能运行:
%startx
阅读全文 →

FreeBSD下Apache问题收集

July 05, 2008 作者: phpStone 归宿: FreeBSD

1. No such file or directory: Failed to enable the ‘httpready’ Accept Filter

环境:FreeBSD 6.3-Release,Apache-2.2.8

相关模块:accf_http module (the function is to buffer incoming connections until a certain complete HTTP requests arrive.)用于检测请求的数据是否完整,否则抛弃,防止客户端恶意请求。 阅读全文 →

FreeBSD Ports-make问题收集

July 05, 2008 作者: phpStone 归宿: FreeBSD

(一)从port安装软件出现:cannot find -lgio-2.0错误

环境FreeBSD 7.0-RELEASE-p1,glib2.14.2

解决办法:升级glib2.14.2到glib-2.16.4

port: devel/glib20   阅读全文 →

firefox博客插件ScribeFire试用

May 06, 2008 作者: phpStone 归宿: 浏览器

忘了我是怎么发现ScribeFire的,刚好在弄部落格,所以直接安装适用了一下,感觉还不错。基本界面和WordPress的后台相差不大,方便的是只要打开firefox按F8就直接可以输入要发布的文章内容了。

可以管理多个博客,然后列出了已发布的文章列表。不过好像不能编辑已发布的文章。可以选择类别和选项。我想经常发布文章的博客虫虫们应该会比较喜欢。
直接到官网https://addons.mozilla.org/zh-CN/firefox/ 搜索下载吧!

FreeBSD,Gnome安装scim-fcitx

May 05, 2008 作者: phpStone 归宿: FreeBSD

在使用FreeBSD6.3-release的时候,使用scim或者fcitx一直很头大,scim用ports安装非常顺利,可是一用起来,我几乎所有的Gnome下应用程序都轮番崩溃;而fcitx则经常出现屏幕乱码的问题,而且我又偏爱scim.倒是7.0-release出来以前,我就知道有了scim-fcitx,可是一直没有使用。到最近系统直接升级倒7.0以后开始安装。

/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
*** Error code 阅读全文 →

海尔笔记本W66印象

April 20, 2008 作者: phpStone 归宿: 回收站

比较后悔当初没有多掏点米米买个好点的本本,前年国庆节买的这个海尔W66的本本现在用起来真难受。前阵子运行windows xp开一个网页都到了风扇呼呼地响的程度,于是重装了系统,发现安装原版windows xp的速度比刚买时至少慢上20分钟。

今天把FreeBSD6.2升级到7.0,在make buildworld阶段两次自动关机,经观察是cpu过热关机。只好暂停工作,等本本凉透了,再接着make buildworld,到凌晨1点半左右make buildworld 总算完全完成了。 阅读全文 →

FreeBSD Tips

April 06, 2008 作者: phpStone 归宿: FreeBSD

Out 0f order:

1. Can’t remember if you’ve installed a certain port or not? Try “pkg_info -Ix port_name”.

2. Lock the terminal ” lock -p”

3. Show swap infomation “swapinfo”

4. Show OS version ” uname -a”

5. Show time and date “date”

6. Show Calendar “cal”

7. Check file type “file filename “