<?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>JohnPuPu &#187; FreeBSD</title>
	<atom:link href="http://blog.johnpupu.tw/category/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johnpupu.tw</link>
	<description>博觀而約取，厚積而薄發!!!</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:02:13 +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>ifstated</title>
		<link>http://blog.johnpupu.tw/2010/07/29/ifstated/</link>
		<comments>http://blog.johnpupu.tw/2010/07/29/ifstated/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:03:57 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd carp ifstated]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=520</guid>
		<description><![CDATA[# cd /usr/ports/net/ifstated
# make install clean
# vim /etc/rc.conf
加入以下資料
## ifstated
ifstated_enable=&#8221;YES&#8221;
ifstated_flags=&#8221;-f /usr/local/etc/ifstated.conf&#8221;
# vim /usr/local/etc/ifstated.conf
# We want to startup
init-state starting
# net.inet.carp.preempt must be enabled (set to 1)
# for this to work correctly.
carp_up = &#8220;carp0.link.up&#8221;
state starting {
  init {
# Here we boot the box.
    if $carp_up
      set-state master
   [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2010/07/29/ifstated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD CARP</title>
		<link>http://blog.johnpupu.tw/2010/07/29/518/</link>
		<comments>http://blog.johnpupu.tw/2010/07/29/518/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:02:58 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd carp]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=518</guid>
		<description><![CDATA[1.
角色分為 Provider, Host
Provider 就是設定當Host 失連後可以取得原先在Host 上的ip 的主機
Host 就是我們的Client
2.
先 compile Kernel 加入 ( Provider, Host 都要)
device carp 
3.
設定 rc.conf
設定 host
hostname=&#8221;hosta.example.org&#8221;
ifconfig_fxp0=&#8221;inet 192.168.1.3 netmask 255.255.255.0&#8243; ## 原本的網卡設定
cloned_interfaces=&#8221;carp0&#8243; ## carp 網卡
ifconfig_carp0=&#8221;vhid 1 advskew 10 pass testpass 192.168.1.50/24&#8243; ## vhid 在host/provider 都要一致 pass 的部份 兩台也要一樣
設定 provider
hostname=&#8221;provider.example.org&#8221;
ifconfig_fxp0=&#8221;inet 192.168.1.5 netmask 255.255.255.0&#8243;
cloned_interfaces=&#8221;carp0&#8243; ## provider 可以不只當做一台host 的 backup
ifconfig_carp0=&#8221;vhid 1 advskew 100 pass testpass 192.168.1.50/24&#8243;
## [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2010/07/29/518/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>samba 帳號匯入 及 symbolic link</title>
		<link>http://blog.johnpupu.tw/2010/06/28/samba-%e5%b8%b3%e8%99%9f%e5%8c%af%e5%85%a5-%e5%8f%8a-symbolic-link/</link>
		<comments>http://blog.johnpupu.tw/2010/06/28/samba-%e5%b8%b3%e8%99%9f%e5%8c%af%e5%85%a5-%e5%8f%8a-symbolic-link/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 21:56:19 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=509</guid>
		<description><![CDATA[今天在移機時遇到的問題
從 samba 3.0 移到 samba 3.4
帳號的部份
man pdbedit
       -i passdb-backend
           Use a different passdb backend to retrieve users than the one
           specified in smb.conf. Can be used to import data [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2010/06/28/samba-%e5%b8%b3%e8%99%9f%e5%8c%af%e5%85%a5-%e5%8f%8a-symbolic-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD branches 支援時限</title>
		<link>http://blog.johnpupu.tw/2010/04/02/freebsd-branches-%e6%94%af%e6%8f%b4%e6%99%82%e9%99%90/</link>
		<comments>http://blog.johnpupu.tw/2010/04/02/freebsd-branches-%e6%94%af%e6%8f%b4%e6%99%82%e9%99%90/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 10:00:09 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=497</guid>
		<description><![CDATA[The current supported branches and expected EoL dates are:
  +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+
  &#124;  Branch   &#124;  Release   &#124;  Type  &#124;   Release date  &#124;  Estimated EoL  &#124;
  &#124;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#124;
  &#124;RELENG_6   &#124;n/a         &#124;n/a  [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2010/04/02/freebsd-branches-%e6%94%af%e6%8f%b4%e6%99%82%e9%99%90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>快快樂樂打造你自已的port</title>
		<link>http://blog.johnpupu.tw/2009/12/17/%e5%bf%ab%e5%bf%ab%e6%a8%82%e6%a8%82%e6%89%93%e9%80%a0%e4%bd%a0%e8%87%aa%e5%b7%b2%e7%9a%84port/</link>
		<comments>http://blog.johnpupu.tw/2009/12/17/%e5%bf%ab%e5%bf%ab%e6%a8%82%e6%a8%82%e6%89%93%e9%80%a0%e4%bd%a0%e8%87%aa%e5%b7%b2%e7%9a%84port/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 17:12:33 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ports FreeBSD perl]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=486</guid>
		<description><![CDATA[以我自已弄的Net-POP3-SSLWrapper為例
# mkdir /root/Net-POP3-SSLWrapper
# vim Makefile

# New ports collection makefile for:  p5-Net-POP3-SSLWrapper
# Date created:       16 December 2009
# Whom:         johnpupu &#60;johnpupu @gmail.com&#62;
#
# $FreeBSD$
#

PORTNAME= Net-POP3-SSLWrapper
PORTVERSION=  0.02
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= johnpupu@gmail.com
COMMENT=  Perl extension for simple POP3S wrapper for Net::POP3

BUILD_DEPENDS=  [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/17/%e5%bf%ab%e5%bf%ab%e6%a8%82%e6%a8%82%e6%89%93%e9%80%a0%e4%bd%a0%e8%87%aa%e5%b7%b2%e7%9a%84port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache-worker &amp; php5 &amp; mod_fastcgi</title>
		<link>http://blog.johnpupu.tw/2009/12/16/apache-worker-php5-mod_fastcgi/</link>
		<comments>http://blog.johnpupu.tw/2009/12/16/apache-worker-php5-mod_fastcgi/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 17:22:20 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[apache php fastcgi]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=469</guid>
		<description><![CDATA[
cd /usr/ports/www/apache22
make WITH_MPM=worker install clean


cd /usr/ports/lang/php5; make install clean


cd /usr/ports/www/mod_fastcgi
make install clean

httpd.conf 中新增or把註解拿掉這兩行
LoadModule fastcgi_module     libexec/apache22/mod_fastcgi.so
Include etc/apache22/extra/httpd-mpm.conf
編輯
/usr/local/etc/apache22/extra/httpd-mpm.conf

    ThreadLimit 512
    StartServers 1
    MaxClients 512
    MinSpareThreads 1
    MaxSpareThreads 512
    ThreadsPerChild 512
    MaxRequestsPerChild 0

新增/usr/local/etc/apache22/Includes/fastcgi.conf

AddType [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/16/apache-worker-php5-mod_fastcgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dovecot-lda</title>
		<link>http://blog.johnpupu.tw/2009/12/12/dovecot-lda/</link>
		<comments>http://blog.johnpupu.tw/2009/12/12/dovecot-lda/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 09:01:30 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=461</guid>
		<description><![CDATA[dovecot.conf

auth default {
  socket listen {
    master {
      # Master socket provides access to userdb information. It&#039;s typically
      # used to give Dovecot&#039;s local delivery agent access to userdb so it
      # can find mailbox locations.
 [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/12/dovecot-lda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeNAS 得到iXsystems 支持</title>
		<link>http://blog.johnpupu.tw/2009/12/06/freenas-%e5%be%97%e5%88%b0ixsystems-%e6%94%af%e6%8c%81/</link>
		<comments>http://blog.johnpupu.tw/2009/12/06/freenas-%e5%be%97%e5%88%b0ixsystems-%e6%94%af%e6%8c%81/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 16:31:34 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=459</guid>
		<description><![CDATA[前一陣子FreeNAS 說0.7 是最後一版了
以後會轉成Linux 平台上 叫coreNAS
後來 剛剛看到消息說iXsystem 的工程師會大幅度的改寫
而FreeNAS Project 也會繼續下去了
目前會先昇上FreeBSD 8 
看起來 可以繼續下去~~
]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/06/freenas-%e5%be%97%e5%88%b0ixsystems-%e6%94%af%e6%8c%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>winbind cache refresh</title>
		<link>http://blog.johnpupu.tw/2009/10/23/winbind-cache-refresh/</link>
		<comments>http://blog.johnpupu.tw/2009/10/23/winbind-cache-refresh/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:21:08 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[samba winbind]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=450</guid>
		<description><![CDATA[man winbindd
       SIGHUP
           Reload the smb.conf(5) file and apply any parameter changes to the
           running version of winbindd. This signal also clears any cached
      [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/10/23/winbind-cache-refresh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lib</title>
		<link>http://blog.johnpupu.tw/2009/10/21/lib/</link>
		<comments>http://blog.johnpupu.tw/2009/10/21/lib/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 08:59:27 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=448</guid>
		<description><![CDATA[ldd -a /usr/local/bin/mysql
ldconfig -r
/sbin/ldconfig -m /usr/local/lib
ldconfig
     -m     Instead of replacing the contents of the hints file with those
             found in the directories specified, &#8220;merge&#8221; in new entries.
         [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/10/21/lib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
