<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<rss version="2.0">
<channel>
<title>Knowledge Base - The five questions posted most recently:</title>
<description>The Official PC-BSD Knowledge Database Page</description>
<link>http://faqs.pcbsd.org</link>	<item>
		<title><![CDATA[How to create an Apache PBI?]]></title>
		<description><![CDATA[<p>
  First you need to compile Apache from ports (Apache is now called httpd in the ports). Then in your /etc/rc.conf file, you have to add:  
</p>
<pre>
apache22_enable="YES" apache22_http_accept_enable="YES"  
</pre>
<p>
  Make sure you have 127.0.0.1 in your /etc/hosts file or Apache will complain.  
</p>
<p>
  Each time you start your computer you&#39;ll have to load this kernel module:  
</p>
<pre>
# kldload accf_http  
</pre>
And in your httpd.conf file you need:   
<pre>
ServerRoot "/Programs/Apache2.2.3" ServerName 127.0.0.1 DocumentRoot "/home/"
</pre>
To define Apache&#39;s library directory, you need to set this variable:   
<pre>
LD_LIBRARY_PATH="/Programs/Apache2.2.3/libs"; export LD_LIBRARY_PATH;  
</pre>
<p>
  When you launch the Apache PBI, it&#39;ll search for libraries in this directory.  
</p>
<p>
  For instance to launch Apache you&#39;ll issue:  
</p>
<pre>
# /Programs/Apache2.2.3/sbin/apachectl -d /Programs/Apache2.2.3 -f /Programs/Apache2.2.3/share/examples/apache22/httpd.conf -k start  
</pre>
<p>
  This is all you need to know :)  
</p>
]]></description>
		<link>http://faqs.pcbsd.org/index.php?action=artikel&amp;cat=19&amp;id=386&amp;artlang=en</link>
		<pubDate>Tue, 13 Nov 2007 01:06:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How to start Apache using different file/directory locations?]]></title>
		<description><![CDATA[<p>
 It is possible to start Apache using different directory and file locations for its root directory and for httpd.conf. Here&#39;s what you can do: 
</p>
<pre>
# /Programs/Apache2.2.3/.sbin/apachectl -f /Programs/Apache2.2.3/etc/apache22/httpd.conf -d /Programs/Apache2.2.3/ -k start &amp;
</pre>
<p>
 The -f option defines the location of httpd.conf, the -d option specifies an alternate initial ServerRoot, -k is used to tell Apache what to do (start, restart, etc...), and the &amp; is used to retrieve the command prompt. 
</p>
]]></description>
		<link>http://faqs.pcbsd.org/index.php?action=artikel&amp;cat=19&amp;id=387&amp;artlang=en</link>
		<pubDate>Fri, 26 Oct 2007 20:05:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[What does PBI stand for?]]></title>
		<description><![CDATA[PBI stands both for Push Button Installer or PC-BSD Installer.
]]></description>
		<link>http://faqs.pcbsd.org/index.php?action=artikel&amp;cat=2&amp;id=71&amp;artlang=en</link>
		<pubDate>Fri, 26 Oct 2007 15:37:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[Install PC-BSD iso from existing hard drive]]></title>
		<description><![CDATA[You can install PC-BSD from an existing FreeBSD or PC-BSD installation.<br />
<br />
These are the basic instructions, assuming you have already created a new UFS filesystems and mounted them on /pcbsd<br />
<br />
Code:<br />
<pre>
# mkdir /mnt/md0 /mnt/md1
</pre>
<pre>
# mdconfig -at vnode -f downloaded_iso_file_name.iso
</pre>
<pre>
# mount_cd9660 /dev/md0 /mnt/md0
</pre>
<pre>
# mdconfig -a -f /mnt/md0/uzip/usr.uzip
</pre>
<pre>
# mount -o ro /dev/md1.uzip /mnt/md1
</pre>
<pre>
# cp -r /mnt/md1/* /pcbsd
</pre>
<pre>
# tar xpf /mnt/md0/PCBSD.tbz -C /pcbsd
</pre>
<pre>
# umount /mnt/md0 /mnt/md1
</pre>
<pre>
# mdconfig -du0
</pre>
<pre>
# mdconfig -du1
</pre>
]]></description>
		<link>http://faqs.pcbsd.org/index.php?action=artikel&amp;cat=16&amp;id=385&amp;artlang=en</link>
		<pubDate>Sat, 29 Sep 2007 22:46:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[My network card doesn't appear to be working.]]></title>
		<description><![CDATA[If your network card wasn&#39;t detected at bootup, you may
need to configure it manually. To do this, open a new Konsole session
on your desktop:<br />
-&gt; Star -&gt; System -&gt; Konsole<br />
<br />
Now switch to the root user:<br />
<pre>
# su
</pre>
Enter your root password to login as root. Next run the /stand/sysinstall command:<br />
<pre>
PCBSD# /stand/sysinstall
</pre>
Choose "Configure", then "Networking", then "Interfaces". Choose
your network card, usually the first in the list, and then the wizard
will walk you through the network setup. Once finished, exit out of the
menus, and your network card should be working.<br />
<br />
<strong>Reference</strong><br />
<a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html#ED-CONFIG1">FreeBSD post-install documentation </a>
]]></description>
		<link>http://faqs.pcbsd.org/index.php?action=artikel&amp;cat=5&amp;id=3&amp;artlang=en</link>
		<pubDate>Fri, 28 Sep 2007 23:02:00 GMT</pubDate>
	</item>
</channel>
</rss>