以我自已弄的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 # # $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= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL PERL_CONFIGURE= yes MAN3= Net::POP3::SSLWrapper.3 [...]
posted in FreeBSD by johnpupu
手邊剛好有x3650m2的機器 順手測了一下…FreeBSD 7.1 i386 & FreeBSD 8.0 AMD64 學Jeff Roberson弄一下..XD 就沒圖先看數據吧… CPU: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz (2266.76-MHz 686-class CPU) real memory = 2137583616 (2038 MB)==>其實這台機器有12G, 不過i386只抓得到2G avail memory = 2081353728 (1984 MB) RAID 5 / 四顆 IBM 43W7538 146.8GB 10Krpm SAS RAID controller MR10i ——————7.1 i386 ———————– uname -a FreeBSD ms1.xxx.xxx.xx 7.1-RELEASE-p9 FreeBSD [...]
posted in 有的沒的 by johnpupu
[sourcecode language='sh'] cd /usr/ports/www/apache22 make WITH_MPM=worker install clean [/sourcecode] [sourcecode language='sh'] cd /usr/ports/lang/php5; make install clean [/sourcecode] [sourcecode language='sh'] cd /usr/ports/www/mod_fastcgi make install clean [/sourcecode] 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 [sourcecode language='sh'] ThreadLimit 512 StartServers 1 MaxClients 512 MinSpareThreads 1 MaxSpareThreads 512 ThreadsPerChild 512 MaxRequestsPerChild 0 [/sourcecode] 新增/usr/local/etc/apache22/Includes/fastcgi.conf [sourcecode language='sh'] AddType [...]
posted in FreeBSD by johnpupu
dovecot.conf auth default { socket listen { master { # Master socket provides access to userdb information. It’s typically # used to give Dovecot’s local delivery agent access to userdb so it # can find mailbox locations. path = /var/run/dovecot/auth-master mode = 0600 # Default user/group is the one who [...]
posted in FreeBSD by johnpupu
前一陣子FreeNAS 說0.7 是最後一版了 以後會轉成Linux 平台上 叫coreNAS 後來 剛剛看到消息說iXsystem 的工程師會大幅度的改寫 而FreeNAS Project 也會繼續下去了 目前會先昇上FreeBSD 8 看起來 可以繼續下去~~
posted in FreeBSD by johnpupu