<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>haohtml&#039;s blog &#187; ports</title>
	<atom:link href="http://blog.haohtml.com/index.php/tag/ports/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.haohtml.com</link>
	<description>haohtml&#039;s life and works blog</description>
	<lastBuildDate>Sat, 31 Jul 2010 10:45:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>用wget加快ports下载</title>
		<link>http://blog.haohtml.com/index.php/archives/1243</link>
		<comments>http://blog.haohtml.com/index.php/archives/1243#comments</comments>
		<pubDate>Sat, 18 Apr 2009 11:14:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器类]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/index.php/archives/1243</guid>
		<description><![CDATA[1.安装wget #cd /usr/ports/ftp/wget/ #make install clean   2.修改/etc/make.conf FETCH_CMD=wget -c -t 1 DISABLE_SIZE=yes #这行是必要的，否则&#8230;   如果你要wget穿透代理服务器，请加上下面两行 FETCH_ENV=http_proxy=http://proxy2.zsu.edu.cn:3128 FETCH_ENV=ftp_proxy=http://proxy2.zsu.edu.cn:3128 或者使用其他的穿越代理工具例如proxychains 或者socks5(runsocks) 则FETCH_CMD=proxychains wget或者runsocks wget]]></description>
			<content:encoded><![CDATA[<div>1.安装wget</div>
<div>#cd /usr/ports/ftp/wget/<br />
#make install clean</div>
<div> </div>
<div>2.修改/etc/make.conf</div>
<div>FETCH_CMD=wget -c -t 1<br />
DISABLE_SIZE=yes #这行是必要的，否则&#8230;</div>
<div> </div>
<div>如果你要wget穿透代理服务器，请加上下面两行<br />
FETCH_ENV=http_proxy=http://proxy2.zsu.edu.cn:3128<br />
FETCH_ENV=ftp_proxy=http://proxy2.zsu.edu.cn:3128</div>
<div>或者使用其他的穿越代理工具例如proxychains 或者socks5(runsocks)<br />
则FETCH_CMD=proxychains wget或者runsocks wget</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/1243/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ports中的make命令的可用参数</title>
		<link>http://blog.haohtml.com/index.php/archives/988</link>
		<comments>http://blog.haohtml.com/index.php/archives/988#comments</comments>
		<pubDate>Wed, 04 Feb 2009 05:51:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器类]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=988</guid>
		<description><![CDATA[我们经常使用ports来安装程序，ports中的make命令还可以有很多的功能：

引用
fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) into ${DISTDIR} as necessary.
fetch-list - Show list of files that would be retrieved by fetch.
fetch-recursive - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and dependencies into ${DISTDIR} as necessary.]]></description>
			<content:encoded><![CDATA[<p>我们经常使用ports来安装程序，ports中的make命令还可以有很多的功能：</p>
<div class="quote">
<div class="quote-title">引用</div>
<div class="quote-content"><strong>fetch</strong> &#8211; Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) into ${DISTDIR} as necessary.<br />
<strong>fetch-list</strong> &#8211; Show list of files that would be retrieved by fetch.<br />
<strong>fetch-recursive</strong> &#8211; Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and dependencies into ${DISTDIR} as necessary.<br />
<strong>fetch-recursive-list</strong> &#8211; Show list of files that would be retrieved by fetch-recursive.</div>
<p><strong>fetch-required </strong>- Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and dependencies that are not already installed into ${DISTDIR}.<br />
<strong>all-depends-list</strong> &#8211; Show all directories which are dependencies for this port.<br />
<strong>build-depends-list </strong>- Show all directories which are build-dependencies for this port.<br />
<strong>package-depends-list</strong> &#8211; Show all directories which are package-dependencies for this port.<br />
<strong>run-depends-list</strong> &#8211; Show all directories which are run-dependencies for this port.<br />
<strong>extract</strong> &#8211; Unpacks ${DISTFILES} into ${WRKDIR}.<br />
<strong>patch</strong> &#8211; Apply any provided patches to the source.<br />
<strong>configure</strong> &#8211; Runs either GNU configure, one or more local configure scripts or nothing, depending on what&#8217;s available.<br />
<strong>build </strong>- Actually compile the sources.<br />
<strong>install</strong> &#8211; 安装编译结果.<br />
<strong>reinstall</strong> &#8211; 安装编译结果，忽略“已经安装”错误.<br />
<strong>deinstall </strong>- 卸载这个安装.<br />
<strong>deinstall-all</strong> &#8211; Remove all installations with the same PKGORIGIN.<br />
<strong>package</strong> &#8211; Create a package from an _installed_ port.<br />
<strong>package-recursive</strong> &#8211; Create a package for a port and _all_ of its dependancies.<br />
<strong>describe </strong>- Try to generate a one-line description for each port for use in INDEX files and the like.<br />
<strong>checkpatch</strong> &#8211; Do a &#8220;patch -C&#8221; instead of a &#8220;patch&#8221;. Note that it may give incorrect results if multiple patches deal with the same file.<br />
<strong>checksum</strong> &#8211; Use distinfo to ensure that your distfiles are valid.<br />
<strong>checksum-recursive</strong> &#8211; Run checksum in this port and all dependencies.<br />
<strong>makesum</strong> &#8211; Generate distinfo (only do this for your own ports!).<br />
<strong>clean</strong> &#8211; Remove ${WRKDIR} and other temporary files used for building.<br />
<strong>clean-depends</strong> &#8211; Do a &#8220;make clean&#8221; for all dependencies.<br />
<strong>config</strong> &#8211; Configure options for this port (using ${DIALOG}). Automatically run prior to extract, patch, configure, build, install, and package.<br />
<strong>showconfig</strong> &#8211; 显示这个port的config选项<br />
<strong>rmconfig</strong> &#8211; 从这个port移除config选项</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/988/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD7 Apache2.2 PHP5 PostgreSQL8.3 Ports安装笔记</title>
		<link>http://blog.haohtml.com/index.php/archives/920</link>
		<comments>http://blog.haohtml.com/index.php/archives/920#comments</comments>
		<pubDate>Thu, 15 Jan 2009 10:25:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器类]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Freebsd7.0]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.51english.net.cn/?p=920</guid>
		<description><![CDATA[1、安装PostgreSQL8.3

用PREFIX指定安装路径/home/developer/opt/postgresql

#cd /usr/ports/databases/postgresql83-server
#make install clean PREFIX=/home/developer/opt/postgresql

2、安装apache2.2
#cd /usr/ports/www/apache22
#make install clean PREFIX=/home/developer/opt/apache
针对自己需要选择，如果需要支持pgsql,需要选中pgsql这项。可以使用make config命令重新选择。

3、安装php5
#cd /usr/ports/lang/php5
#make install clean PREFIX=/home/developer/opt/php
针对自己需要选择，一般选择apache,suhosin,multibyte这三项即可。可以使用make config命令重新选择。]]></description>
			<content:encoded><![CDATA[<p>1、安装PostgreSQL8.3</p>
<p>用PREFIX指定安装路径/home/developer/opt/postgresql</p>
<p>#cd /usr/ports/databases/postgresql83-server<br />
#make install clean PREFIX=/home/developer/opt/postgresql</p>
<p>2、安装apache2.2<br />
#cd /usr/ports/www/apache22<br />
#make install clean PREFIX=/home/developer/opt/apache<br />
针对自己需要选择，如果需要支持pgsql,需要选中pgsql这项。可以使用make config命令重新选择。</p>
<p>3、安装php5<br />
#cd /usr/ports/lang/php5<br />
#make install clean PREFIX=/home/developer/opt/php<br />
针对自己需要选择，一般选择apache,suhosin,multibyte这三项即可。可以使用make config命令重新选择。</p>
<p>4、安装php5扩展<br />
#cd /usr/ports/lang/php5-extensions<br />
#make install clean<br />
针对自己需要选择所需的扩展，需要使用postgresql,请选中pgsql项。其它根据自己需要选择。如果拿不准选择什么，可以用默认值，以后需要什么，可以重新到此ports 里单独选中需要的扩展安装。</p>
<p>5、安装ZendOptimizer<br />
cd /usr/ports/devel/ZendOptimizer<br />
make install clean</p>
<p>6、最后的准备工作</p>
<p>(1)到你的安装目录拷贝php.ini-dist到/usr/local/etc/php.ini,由于偶指定了安装目录，所以像下面这样做：<br />
#cp /home/developer/opt/php/etc/php.ini-dist /usr/local/etc/php.ini</p>
<p>(2)修改apache 的httpd.conf，让他支持php5<br />
#vim /home/developer/opt/apache/etc/apache22/httpd.conf<br />
如果httpd.conf中没有下面三行，则加入<br />
AddType application/x-httpd-php .php .phtml<br />
AddType applicatoin/x-httpd-php-source .phps<br />
LoadModule php5_module        libexec/apache22/libphp5.so</p>
<p>修改DirectoryIndex为：DirectoryIndex index.html index.php<br />
这样默认首页可以设成index.php</p>
<p>修改默认web主目录位置。</p>
<p>(3)修改php.ini文件，让他支持zendoptimizer.<br />
#vim /usr/local/etc/php.ini<br />
在最下面加入：</p>
<p>zend_optimizer.optimization_level=15<br />
zend_extension_manager.optimizer=&#8221;/usr/local/lib/php/20060613/Optimizer&#8221;<br />
zend_extension_manager.optimizer_ts=&#8221;/usr/local/lib/php/20060613/Optimizer_TS&#8221;<br />
zend_extension=&#8221;/usr/local/lib/php/20060613/ZendExtensionManager.so&#8221;<br />
zend_extension_ts=&#8221;/usr/local/lib/php/20060613/ZendExtensionManager_TS.so&#8221;</p>
<p>(4)建立pgsql数据库位置<br />
#mkdir /home/developer/opt/postgresql/pgsql/data<br />
#su root<br />
#chown -R pgsql /home/developer/opt/postgresql/pgsql/data</p>
<p>7、启动测试<br />
(1)启动postgresql<br />
#/home/developer/opt/postgresql/bin/pg_ctl -D /home/developer/opt/postgresql/pgsql/data</p>
<p>(2)启动apache<br />
#/home/developer/opt/apache/sbin/apachectl start</p>
<p>(3)在apache的web目录，放一个phpinfo文件，测试一下成功了没～<br />
<?php<br />
phpinfo();<br />
?></p>
<p>8、自启动<br />
(1)apache<br />
#cp /home/developer/opt/apache/etc/rc.d/apache22 /usr/local/etc/rc.d</p>
<p>在/etc/rc.conf中加入：<br />
apache22_enable=&#8221;YES&#8221;</p>
<p>(2)PostgreSQL<br />
#cp /home/developer/opt/postgresql/etc/rc.d/postgresql /usr/local/etc/rc.d/</p>
<p>在/etc/rc.conf中加入：<br />
postgresql_enable=&#8221;YES&#8221;<br />
postgresql_data=&#8221;/home/developer/opt/postgresql/pgsql/data&#8221;<br />
postgresql_flags=&#8221;-w -s -m fast&#8221;<br />
postgresql_initdb_flags=&#8221;&#8211;encoding=utf-8 &#8211;lc-collate=C&#8221;<br />
postgresql_class=&#8221;default&#8221;</p>
<p>9、其它<br />
OK,这样基本就行了，因为偶装的时候定义了安装目录，所以上面的命令都是按偶的安装目录打的，可以改成自己的安装目录：）</p>
<p>偶装php5-extensions时，里面的pgsql扩展没有安装成功，如果你也没有成功，可以到 /usr/ports/databases/php5-pgsql 里重新安装一下～</p>
<p>管理postgresql：<br />
pgsql的bin目录有psql这个脚本可以管理，偶这里运行失败。。</p>
<p>偶装了pgadmin3<br />
/usr/ports/databases/pgadmin3</p>
<p>基于web的phppgadmin，类似phpmyadmin这样的东东。<br />
/usr/ports/databases/phppgadmin</p>
<p>来源:http://blog.chinaunix.net/u2/84304/showart.php?id=1681712</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/920/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[推荐]用portsnap升级FreeBSD 6.0的port tree</title>
		<link>http://blog.haohtml.com/index.php/archives/830</link>
		<comments>http://blog.haohtml.com/index.php/archives/830#comments</comments>
		<pubDate>Sun, 11 Jan 2009 12:24:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器类]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[portsnap]]></category>

		<guid isPermaLink="false">http://www.51english.net.cn/?p=830</guid>
		<description><![CDATA[感觉FreeBSD 6.0最方便的改进就是增加了portsnap这个很方便的升级port tree软件，以前用恼人的portupgrade做port tree升级的时候总是感觉有点缺陷，方便性不够，而且做成crontab总是担心。现在FreeBSD 6.0下有了portsnap这个方便的工具，升级port tree就十分方便。
 
以下就是portsnap的几种简单用法：
第一次使用可以：portsnap fetch extract
以后使用只要：portsnap fetch update
放在cron里运行：portsnap cron]]></description>
			<content:encoded><![CDATA[<p>感觉FreeBSD 6.0最方便的改进就是增加了portsnap这个很方便的升级port tree软件，以前用恼人的portupgrade做port tree升级的时候总是感觉有点缺陷，方便性不够，而且做成crontab总是担心。现在FreeBSD 6.0下有了portsnap这个方便的工具，升级port tree就十分方便。</p>
<p>以下就是portsnap的几种简单用法：<br />
第一次使用可以：<strong>portsnap fetch extract</strong><br />
以后使用只要：<strong>portsnap fetch update</strong><br />
放在cron里运行：<strong>portsnap cron<span id="more-830"></span></strong></p>
<p><strong>以下对比是portgrade的麻烦几步：</strong></p>
<ol>
<blockquote>
<li>/usr/ports/sysutils/portgrade/make install clean</li>
<li>/usr/ports/net/cvsup/cvsup-without-gui/make install clean</li>
<li>vi ports-supfile</li>
<li>cvsup -g -L 2 ports-supfile</li>
<li>portsdb -Uu</li>
<li>pkgdb -F</li>
<li>portupgrade -acCv</li>
</blockquote>
</ol>
<p>portsnap的服务器列表配置文件在/etc/portsnap.conf只要修改SERVERNAME=这个选项可以用离你最近的portsnap服务器(如：SERVERNAME=portsnap.hshh.org)。</p>
<p>portsnap真的十分方便，用FreeBSD 6.0的朋友们都用portsnap来升级port tree吧，一起丢弃麻烦的portupgrade。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/830/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD在安装ports时缩短下载时间</title>
		<link>http://blog.haohtml.com/index.php/archives/827</link>
		<comments>http://blog.haohtml.com/index.php/archives/827#comments</comments>
		<pubDate>Sat, 10 Jan 2009 12:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器类]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://www.51english.net.cn/?p=827</guid>
		<description><![CDATA[方法A: 使用代理。

在/etc/make.conf中设置：
FETCH_ENV= "HTTP_PROXY=IP[:端口]"
如果需要，在FETCH_ENV值后面加入空格，
HTTP_PROXY_AUTH=basic:*:user:password

方法B: 在其它机器上fetch

make fetch-recursive
...
然后将/usr/ports/distfiles拿走。


方法c:使用wget/axel加速你的port下载]]></description>
			<content:encoded><![CDATA[<pre><strong>方法A: 使用代理。</strong>

在/etc/make.conf中设置：
FETCH_ENV= "HTTP_PROXY=IP[:端口]"
如果需要，在FETCH_ENV值后面加入空格，
HTTP_PROXY_AUTH=basic:*:user:password

<strong>方法B: 在其它机器上fetch</strong>

make fetch-recursive
...
然后将/usr/ports/distfiles拿走。

<strong>方法c:使用wget/axel加速你的port下载</strong>

以下所述功能均通过修改make.conf实现

对于wget
========
FETCH_CMD= wget
FETCH_BEFORE_ARGS= -c -t 1
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes #这行是必要的，否则...

前面3行也可以换成
FETCH_CMD=wget -c -t 1

如果你要wget穿透代理服务器，请加上下面两行
FETCH_ENV=http_proxy=http://proxy2.zsu.edu.cn:3128
FETCH_ENV=ftp_proxy=http://proxy2.zsu.edu.cn:3128

或者使用其他的穿越代理工具例如proxychains 或者socks5(runsocks)
则FETCH_CMD=proxychains wget或者runsocks wget

什么？不知道wget是什么？那就先
cd /usr/ports/ftp/wget/
make install clean

对于axel
========
同样，也可以使用axel来替换fetch来进行多线程下载
FETCH_CMD=axel
FETCH_BEFORE_ARGS= -a
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes
或者只写一行
FETCH_CMD=axel -a

axel 穿透代理服务器的方法与wget一致

axel在/usr/ports/ftp/axel位置

添加更快的port下载站点
====================
另外，加上以下两行可以在让make先从更快的站点下载port

MASTER_SITE_OVERRIDE= \
ftp://ftp2.tsinghua.edu.cn/mirror/FreeBSD/ports/distfiles/ \
ftp://freebsd.csie.nctu.edu.tw/pub/FreeBSD/ports/distfiles/ \
ftp://ftp.hk.freebsd.org/pub/FreeBSD/ports/distfiles/ \
ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/
这个是教育网的设置，公网的兄弟可以看着办啦</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/827/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>利用 portupgrade快速更新通过ports安装的软件</title>
		<link>http://blog.haohtml.com/index.php/archives/814</link>
		<comments>http://blog.haohtml.com/index.php/archives/814#comments</comments>
		<pubDate>Fri, 09 Jan 2009 12:04:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器类]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[portupgrade]]></category>

		<guid isPermaLink="false">http://www.51english.net.cn/?p=814</guid>
		<description><![CDATA[portupgrade 是一个软件，用于快捷便利地升级软件

cd /usr/ports/sysutils/portupgrade

make install clean

安装上它]]></description>
			<content:encoded><![CDATA[<p>　　要使用预编译的 package 而不是 ports 来进行安装， 需要指定 <code class="OPTION">-P</code>。 如果指定了这个选项， <strong class="APPLICATION">portupgrade</strong> 会搜索 <tt class="ENVAR">PKG_PATH</tt> 中指定的本地目录， 如果没有找到，则从远程站点下载。 如果本地没有找到， 而且远程站点也没有成功地下载预编译包， 则 <strong class="APPLICATION">portupgrade</strong> 将使用 ports。 要禁止使用 port， 可以指定 <code class="OPTION">-PP</code>。</p>
<pre class="SCREEN"><samp class="PROMPT">#</samp> <kbd class="USERINPUT">portupgrade -PP gnome2</kbd></pre>
<p>　　如果只想下载 distfiles (或者， 如果指定了 <code class="OPTION">-P</code> 的话， 是 packages) 而不想构建或安装任何东西， 可以使用 <code class="OPTION">-F</code>。要了解更多细节， 请参考 <a href="http://www.freebsd.org/cgi/man.cgi?query=portupgrade&amp;sektion=1&amp;manpath=FreeBSD+6.2-RELEASE+and+Ports"><span class="CITEREFENTRY"><span class="REFENTRYTITLE">portupgrade</span>(1)</span></a>。</p>
<p>以上信息来自FreeBSD手册内容!</p>
<p>==========================================</p>
<p>portupgrade 是一个软件，用于快捷便利地升级软件</p>
<p>cd /usr/ports/sysutils/portupgrade</p>
<p>make install clean</p>
<p>安装上它</p>
<p>然后用cvsup更新ports树</p>
<p>然后运行</p>
<p>portupgrade -r pkg_name</p>
<p>升级单个软件和与其相关的</p>
<p>其中 pkg_name 是 pkg_info 中显示的名字</p>
<p>portupgrade -ar 就会自动更新全部了。</p>
<p>如果加上 P 参数，则先看是否有已经编译好的 pkg 下载，直接从 pkg 升级，省去自己编译。</p>
<p>下载站点可以通过修改 /usr/local/etc/pkgtools.conf 更改</p>
<p>portupgrade -arR 升级所有已经安装的软件，并且检查依赖关系</p>
<p>=======================</p>
<p>1、更新ports</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>cvsup -gL 2 -h cvsup.freebsdchina.org /usr/share/examples/cvsup/ports-supfile</p></blockquote>
<p>2、你portupgrade 没有升级多半是你没更新 ports tree</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>portupgrade -aryP</p></blockquote>
<p>-a 表示升级全部。如果指定某一项，可以</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>portupgrade -ryP</p></blockquote>
<p>建议：既然你之前没升级过，建议用 -a 。-P 会让程序先找有没有编译好的pkg。</p>
<p>建议修改 /usr/local/etc/pkgtools.conf ，将里面 PKG_SITE 加上pkg_site_builder 。</p>
<p>3、从ports安装eclipse3.0</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>cd /usr/ports/java/eclipse<br />
make install clean</p></blockquote>
<p>4、设置$JAVA_HOME</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>vi .profile<br />
export JAVA_HOME=/usr/local/jdk1.4.2</p></blockquote>
<p>3.设置$CLASSPATH</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/814/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用ports方式安装apache时,如何指定安装路径</title>
		<link>http://blog.haohtml.com/index.php/archives/802</link>
		<comments>http://blog.haohtml.com/index.php/archives/802#comments</comments>
		<pubDate>Fri, 09 Jan 2009 09:36:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[网络编程]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://www.51english.net.cn/?p=802</guid>
		<description><![CDATA[在FreeBSD中,使用ports方式安装apache时,可以使用以下命令指定apache的安装路径 #make PREFIX=/usr/local/apache install]]></description>
			<content:encoded><![CDATA[<p>在FreeBSD中,使用ports方式安装apache时,可以使用以下命令指定apache的安装路径</p>
<p>#make PREFIX=/usr/local/apache install</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/802/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>升级FreeBSD的ports</title>
		<link>http://blog.haohtml.com/index.php/archives/782</link>
		<comments>http://blog.haohtml.com/index.php/archives/782#comments</comments>
		<pubDate>Thu, 01 Jan 2009 11:04:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[js框架]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://www.51english.net.cn/?p=782</guid>
		<description><![CDATA[Xinsoft-BSD# cp /usr/share/examples/cvsup/ports-supfile /root
Xinsoft-BSD# vi /etc/make.conf

# added by root [Xinoft] 2006-02-05 03:52:11
# for cvsup
# Block_CVSUP :: begin

SUP_UPDATE= yes
SUP= /usr/local/bin/cvsup
]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Courier New;">Xinsoft-BSD# cp /usr/share/examples/cvsup/ports-supfile /root<br />
Xinsoft-BSD# vi /etc/make.conf<br />
</span></p>
<p><span style="font-family: Courier New;"># added by root [Xinoft] 2006-02-05 03:52:11<br />
# for cvsup<br />
# Block_CVSUP :: begin</span></p>
<p><span style="font-family: courier new,courier,monospace;">SUP_UPDATE= yes<br />
SUP= /usr/local/bin/cvsup<br />
SUPFLAGS= -g -L 2</span></p>
<p><span style="font-family: courier new,courier,monospace;"># cvsup[1-9].tw.FreeBSD.org<br />
SUPHOST= </span><a href="ftp://ftp.freebsdchina.org/"><span style="font-family: courier new,courier,monospace;">ftp.freebsdchina.org</span></a></p>
<p><span style="font-family: courier new,courier,monospace;">SUPFILE= /usr/share/examples/cvsup/stable-supfile<br />
PORTSSUPFILE= /root/ports-supfile<br />
DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile</span></p>
<p><span style="font-family: courier new,courier,monospace;">MASTER_SITE_BACKUP?= \</span></p>
<p><a href="ftp://ibm.tju.edu.cn/pub/FreeBSD/ports/distfiles/$%7BDIST_SUBDIR%7D//"><span style="font-family: courier new,courier,monospace;">ftp://ibm.tju.edu.cn/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\</span></a><br />
<a href="ftp://ftp.freebsd.org.cn/pub/FreeBSD/ports/distfiles/$%7BDIST_SUBDIR%7D//"><span style="font-family: courier new,courier,monospace;">ftp://ftp.freebsd.org.cn/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\</span></a><br />
<a href="ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/$%7BDIST_SUBDIR%7D/"><span style="font-family: courier new,courier,monospace;">ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/</span></a><br />
<span style="font-family: courier new,courier,monospace;"># Block_CVSUP :: end</span><br />
<span style="font-family: courier new,courier,monospace;">Xinsoft-BSD# cd /usr/ports/<br />
Xinsoft-BSD# make update</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/index.php/archives/782/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
