<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.thoughtbit.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.thoughtbit.com/feed.php">
        <title>bitWiki freebsd</title>
        <description></description>
        <link>http://wiki.thoughtbit.com/</link>
        <image rdf:resource="http://wiki.thoughtbit.com/lib/tpl/default/images/favicon.ico" />
       <dc:date>2026-05-16T01:47:54-04:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:bash?rev=1186705744&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:dnsbl?rev=1188862885&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:dos2unix?rev=1190963584&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:install_webserver?rev=1186906061&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:make.conf?rev=1188727545&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:mutt?rev=1188809116&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:ntpd?rev=1188725653&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:pine?rev=1188776024&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:pkgtools.conf?rev=1188727623&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:procmail?rev=1188848506&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:sendmail?rev=1188850296&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:seq2?rev=1190879431&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:spamassassin?rev=1188862251&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:start?rev=1190963158&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:svn?rev=1235898210&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:svn_usage?rev=1238370855&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.thoughtbit.com/freebsd:updating_freebsd?rev=1191572308&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.thoughtbit.com/lib/tpl/default/images/favicon.ico">
        <title>bitWiki</title>
        <link>http://wiki.thoughtbit.com/</link>
        <url>http://wiki.thoughtbit.com/lib/tpl/default/images/favicon.ico</url>
    </image>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:bash?rev=1186705744&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-09T20:29:04-04:00</dc:date>
        <title>freebsd:bash</title>
        <link>http://wiki.thoughtbit.com/freebsd:bash?rev=1186705744&amp;do=diff</link>
        <description>bash

Information

I like/know bash more than csh, so it's time to install and use bash instead...

Proceedure

	*  
# cd /usr/ports/shells/bash

	*  
# make install clean

	*  to set bash as the default shell for root, execute:


# chpass -s /usr/local/bin/bash</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:dnsbl?rev=1188862885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-03T19:41:25-04:00</dc:date>
        <title>freebsd:dnsbl</title>
        <link>http://wiki.thoughtbit.com/freebsd:dnsbl?rev=1188862885&amp;do=diff</link>
        <description>DNSBL (DNS Block List)

Information

Using Spamhaus and Sorbes.

Configuration based on my linux dnsbl configuration

Procedure

	*  Add the following to your /usr/src/etc/sendmail/custom.mc file:

--- shalom.mc.1.00.0.0  Mon Sep  3 14:45:38 2007
+++ shalom.mc.1.01.0.0  Mon Sep  3 16:39:45 2007
@@ -44,7 +44,7 @@
 #
 
 divert(0)
-VERSIONID(`$FreeBSD: src/etc/sendmail/shalom.mc,v 1.00.0.0 2007/09/02 23:54:00 john Exp $')
+VERSIONID(`$FreeBSD: src/etc/sendmail/shalom.mc,v 1.01.0.0 2007/09/03 16:33:…</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:dos2unix?rev=1190963584&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-28T03:13:04-04:00</dc:date>
        <title>freebsd:dos2unix</title>
        <link>http://wiki.thoughtbit.com/freebsd:dos2unix?rev=1190963584&amp;do=diff</link>
        <description>dos2unix

Information

A few ways to remove dos-formatted linebreaks (^M) from your code.

Procedure

	*  the culprit - ^M - is actually two characters: ^v and ^m
		*  ^v is 
		*  ^m is 


vi

	*  search for ^M and replace it with nothing:

:%s/^v^m//g</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:install_webserver?rev=1186906061&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-12T04:07:41-04:00</dc:date>
        <title>freebsd:install_webserver</title>
        <link>http://wiki.thoughtbit.com/freebsd:install_webserver?rev=1186906061&amp;do=diff</link>
        <description>install webserver

How to install a webserver on FreeBSD

Information

to install:

	*  perl (installed by portupgrade)
	*  ruby (installed by portupgrade)
	*  mysql50 (didn't seem to listen to my WITH_OPENSSL=yes statement in /etc/make.conf)
	*  apache22</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:make.conf?rev=1188727545&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-02T06:05:45-04:00</dc:date>
        <title>freebsd:make.conf</title>
        <link>http://wiki.thoughtbit.com/freebsd:make.conf?rev=1188727545&amp;do=diff</link>
        <description>make.conf

Information

Location: /etc/make.conf

make.conf is used when building packages directly

Proceedure

My /etc/make.conf:


WITHOUT_X11=yes
WITHOUT_GUI=yes
WITHOUT_IPV6=yes

# add by john for mysql
.if ${.CURDIR:M*/database/mysql*}
#WITH_CHARSET=charset
#WITH_XCHARSET=list
#WITH_COLLATION=collate
WITH_OPENSSL=yes
#WITH_LINUXTHREADS=yes
#WITH_PROC_SCOPE_PTH=yes
BUILD_OPTIMIZED=yes
BUILD_STATIC=yes
#WITH_NDB=yes
.endif

# add by john for apache/mysql
.if ${.CURDIR:M*/www/apache*}
WITH_FU…</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:mutt?rev=1188809116&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-03T04:45:16-04:00</dc:date>
        <title>freebsd:mutt</title>
        <link>http://wiki.thoughtbit.com/freebsd:mutt?rev=1188809116&amp;do=diff</link>
        <description>mutt

Information

I'm installing mutt-devel

I'm basing my options on those used in AcIS's build script.

I need to update the mutt configuration with the .mutt/ directory structure FIXME

Procedure

	*  edit /etc/make.conf and add:

.if ${.CURDIR:M*/mail/mutt*}
WITH_MUTT_SLANG2=yes
WIHTOUT_NLS=yes
WITH_MUTT_IMAP_HEADER_CACHE=yes
.endif</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:ntpd?rev=1188725653&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-02T05:34:13-04:00</dc:date>
        <title>freebsd:ntpd</title>
        <link>http://wiki.thoughtbit.com/freebsd:ntpd?rev=1188725653&amp;do=diff</link>
        <description>ntpd

Information

ntpd will keep your system time current.

If your clock has a large offset, consider using ntpdate $HOST before starting to use ntpd

Procedure

	*  create /etc/ntp.conf and enter a time server:

server time.server.xxx

	*  set ntpd</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:pine?rev=1188776024&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-02T19:33:44-04:00</dc:date>
        <title>freebsd:pine</title>
        <link>http://wiki.thoughtbit.com/freebsd:pine?rev=1188776024&amp;do=diff</link>
        <description>pine

Information

Procedure


# cd /usr/ports/mail/pine4
# make install clean


Make sure you enable the building of pico

Reference Links

	* 
	* 





freebsd</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:pkgtools.conf?rev=1188727623&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-02T06:07:03-04:00</dc:date>
        <title>freebsd:pkgtools.conf</title>
        <link>http://wiki.thoughtbit.com/freebsd:pkgtools.conf?rev=1188727623&amp;do=diff</link>
        <description>pkgtools.conf

Information

Location: /usr/local/etc/pkgtools.conf

pkgtools.conf is used when upgrading or installing dependencies

Proceedure

I've added the following MAKE_ARGS to pkgtools.conf:


  MAKE_ARGS = {
   'databases/mysql*' =&gt; [
        'WITH_OPENSSL=yes',
        'BUILD_OPTIMIZED=yes',
        'BUILD_STATIC=yes',
   ],
   'www/apache*' =&gt; [
        'WITH_FULLBUILD=yes',
        'WITH_MYSQL=yes',
        'WITHOUT_IPV6=yes',
        'WITH_PCRE_FROM_PORTS=yes',
        'WITH_BERKELEY…</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:procmail?rev=1188848506&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-03T15:41:46-04:00</dc:date>
        <title>freebsd:procmail</title>
        <link>http://wiki.thoughtbit.com/freebsd:procmail?rev=1188848506&amp;do=diff</link>
        <description>procmail

Information

Setup procmail to handle mail filtering.

Installation


# cd /usr/ports/mail/procmail
# make install clean


Configuration

Sendmail

First we have to rebuild sendmail's cf file to include procmail.

/usr/src/contrib/sendmail/cf/README</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:sendmail?rev=1188850296&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-03T16:11:36-04:00</dc:date>
        <title>freebsd:sendmail</title>
        <link>http://wiki.thoughtbit.com/freebsd:sendmail?rev=1188850296&amp;do=diff</link>
        <description>sendmail

Information

FreeBSD's sendmail configuration needs some adjustment.

Procedure

	*  Add your server's hostname(s) to /etc/mail/local-host-names - one hostname per line.
	*  Add to /etc/rc.conf (this will enable the ability to accept non-localhost mail):</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:seq2?rev=1190879431&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-27T03:50:31-04:00</dc:date>
        <title>freebsd:seq2</title>
        <link>http://wiki.thoughtbit.com/freebsd:seq2?rev=1190879431&amp;do=diff</link>
        <description>seq2

Information

seq2 is a clone of the unix program called “seq” with some additional options, such as specifying a delay after each number, or specifying your own text to prepend each number.  Features like for, while, and executing programs are in development.</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:spamassassin?rev=1188862251&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-03T19:30:51-04:00</dc:date>
        <title>freebsd:spamassassin</title>
        <link>http://wiki.thoughtbit.com/freebsd:spamassassin?rev=1188862251&amp;do=diff</link>
        <description>SpamAssassin

Information

Blugh, very mucky install - installed some xorg stuff for whatever reason...

Channel rules are stored here:
/usr/local/share/spamassassin
and the channel config files are stored here:
/var/db/spamassassin/3.002003/
Procedure</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:start?rev=1190963158&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-09-28T03:05:58-04:00</dc:date>
        <title>freebsd:start</title>
        <link>http://wiki.thoughtbit.com/freebsd:start?rev=1190963158&amp;do=diff</link>
        <description>FreeBSD Information

&lt;http://www.freebsd.org&gt;

FreeBSD Build Server

Tracking for multiple machines

	*  make.conf - global make configuration settings
	*  pkgtools.conf - another global make configuration settings location
	*  updating freebsd - keep your system up to date
	*  install webserver - install a webserver and all associated programs (perl, php, python, mysql?)
	*</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:svn?rev=1235898210&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-01T04:03:30-04:00</dc:date>
        <title>freebsd:svn</title>
        <link>http://wiki.thoughtbit.com/freebsd:svn?rev=1235898210&amp;do=diff</link>
        <description>SVN (Subversion)

Information

SVN, like CVS and RCS, is a revision control application.  I want to use this for web developing (for me and Brent), my perl/bash code, and anything else that makes sense to put into SVN... (maybe I'll stick /etc into there or something)</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:svn_usage?rev=1238370855&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-29T19:54:15-04:00</dc:date>
        <title>freebsd:svn_usage</title>
        <link>http://wiki.thoughtbit.com/freebsd:svn_usage?rev=1238370855&amp;do=diff</link>
        <description>svn usage

Information

SVN usage

Procedure

Import a new project

&lt;http://svnbook.red-bean.com/nightly/en/svn.tour.importing.html&gt;

You should create a basic template for the project (let's call our project “project”):


$ mkdir -p project/trunk project/tags project/branches


You want to put your first version into</description>
    </item>
    <item rdf:about="http://wiki.thoughtbit.com/freebsd:updating_freebsd?rev=1191572308&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-05T04:18:28-04:00</dc:date>
        <title>freebsd:updating_freebsd</title>
        <link>http://wiki.thoughtbit.com/freebsd:updating_freebsd?rev=1191572308&amp;do=diff</link>
        <description>Updating FreeBSD

Information

How to keep FreeBSD updated (primarily for sparc64)

It seems like CVSup is the primary tool to use and porteasy is to keep ports up-to-date

On x86 and x86-64 systems, one can use freebsd-update

Proceedure

Use csup or cvsup</description>
    </item>
</rdf:RDF>
