Main

拥抱开源 Archives

February 15, 2008

搜索

使用 PHP 和 Apache Solr 实现企业搜索--向 Web 应用程序中添加高级搜索引擎

用 PHP 构建自定义搜索引擎

sphinx.jpg

December 11, 2007

在Dreamhost上安装p7zip

p7zip7zip的linux版本。

下载p7zip的binary tarball

解压tarball到自己的home目录
cd /p7zip/src/path
编辑install.sh
修改DEST_HOME=/usr/local
为DEST_HOME=/your/home/path/usr/local

然后 mkdir -p /your/home/path/usr/local
./install.sh

November 30, 2007

hack FreeNAS

由於FreeNAS除在 /conf/config.xml 可存檔紀錄 其餘設定檔or程式皆在開機時才由 mfsroot.gz 解出or啟動時建立, webCGI 可設定部分不夠進階需自行更改 mfsroot.gz 增設

1. 新增群組&使用者
2. 啟動 FTPD、SSHD
3. 使用FTP連入抓取 /cf/mfsroot.gz
4. mfsroot.gz 傳到 FreeBSD Server (kernel 6.2-PRERELEASE 版本同 FreeNAS 0.68)
5. 解開 mfsroot.gz
gzip -d mfsroot.gz
6. 以建立RAM DISK方式將 mfsroot 載入 /dev/md1
mdconfig -a -t vnode -f /home/XXX/mfsroot
7. mount md1
mount /dev/md1 /mnt/
8. 複製編輯所需
增加繁體中文語系檔 lang-TraditionalChinese.inc
增加 csh.cshrc
增加 ee、grep....工具程式
/etc/inc/services.inc 服務設定檔 增加修改設定, 如 samba 要增加 ACC INFO MS WIN 等相關分享
9. umount md1
10. /dev/md1 卸除
mdconfig -d -u 1
11. 壓縮回 .gz
gzip -9 mfsroot
12. 使用putty連入FreeNAS
13. umount /cf
14. 將 /dev/ad0s1 mount 到臨時資料夾
15. 用FTP傳回 mfsroot.gz 蓋掉原本的
16. FreeNAS reboot

From:http://locy.blogspot.com/2007/02/hack-freenas.html

November 4, 2007

FreeBSD 7.0 Preview

FreeBSD 7.0 brings FreeBSD back to the forefront of OS performance on modern hardware (it's good to be back).
I Providing advanced features not available in other open source operating systems
I An attractive platform for both high end and embedded hardware.
I A new foundation for the years ahead.

Download PDF :FreeBSD 7.0 Preview.pdf

Waiting for the final release. :)

July 4, 2007

TinyButStrong

TinyButStrong(TBS)是一个可以让PHP脚本和HTML文件干净分离的PHP模板引擎。TBS设计成可以使用任何可视化HTML编辑器来编写TBS的HTML模板页。

May 28, 2007

如何把编译安装的程序添加到Applications的菜单里

今天早上下载了最新版的Pidigin
./configure
make
make install
安装完后发现并没有像apt-get install那样安装东东之后会出现在Applications菜单里
google了一下,找到答案,原来是需要添加一个*.desktop的文件到/usr/share/applications/里。
照猫画虎的搞了一个,终于搞定.

新版Pidgin不会像之前的Gaim那样运行QQ自动关闭了.体验中..

<< 1 2

About 拥抱开源

This page contains an archive of all entries posted to a one and a two in the 拥抱开源 category. They are listed from oldest to newest.

技术收藏 is the previous category.

撰村波声 is the next category.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.