<?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>S i X h E a D { ? } &#187; ports</title>
	<atom:link href="http://sixhead.com/tag/ports/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixhead.com</link>
	<description>เมื่อความรู้มีไว้แบ่งปัน</description>
	<lastBuildDate>Tue, 31 Aug 2010 05:48:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MySQL Installation (ports)</title>
		<link>http://sixhead.com/2008/04/11/mysql-installation-ports/</link>
		<comments>http://sixhead.com/2008/04/11/mysql-installation-ports/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 17:36:57 +0000</pubDate>
		<dc:creator>Pipo</dc:creator>
				<category><![CDATA[FreeBSD & Linux]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://sixhead.com/?p=45</guid>
		<description><![CDATA[# cd /usr/ports/databases/mysql51-server # make WITH_CHARSET=utf8 WITH_XCHARSET=all WITH_COLLATION=utf8_unicode_ci &#160; # make install &#38;&#38; make clean # mysql_install_db (/usr/local/bin/mysql_install_db) &#160; # chown -R mysql /var/db/mysql/ # chgrp -R mysql /var/db/mysql/ &#160; # /usr/local/bin/mysqld_safe -user=mysql &#38; &#160; edit /etc/rc.conf add this mysql_enable=&#34;YES&#34; &#160; Change the password to root user # /usr/local/bin/mysqladmin -u root password new-password Optionally, copy [...]]]></description>
			<content:encoded><![CDATA[<pre class="perl"><span style="color: #808080; font-style: italic;"># cd /usr/ports/databases/mysql51-server</span>
<span style="color: #808080; font-style: italic;"># make WITH_CHARSET=utf8 WITH_XCHARSET=all WITH_COLLATION=utf8_unicode_ci</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># make install &amp;&amp; make clean</span>
<span style="color: #808080; font-style: italic;"># mysql_install_db (/usr/local/bin/mysql_install_db)</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># chown -R mysql /var/db/mysql/</span>
<span style="color: #808080; font-style: italic;"># chgrp -R mysql /var/db/mysql/</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># /usr/local/bin/mysqld_safe -user=mysql &amp;</span>
&nbsp;
edit /etc/rc.conf
add this
mysql_enable=<span style="color: #ff0000;">&quot;YES&quot;</span>
&nbsp;
Change the password to root user
<span style="color: #808080; font-style: italic;"># /usr/local/bin/mysqladmin -u root password new-password</span></pre>
<p>Optionally, copy either my-huge.cnf, my-large.cnf, my-medim.cnf, my-small.cnf or my-innodb-heavy-4G.cnf (depending on the usage and utilization of MySQL server) as my.cnf<br />
to /var/db/mysql which will enable you to tweak and change the configuration of server-specific MySQL server options by editing the file.</p>
<p><map name='google_ad_map_45_f21c57aff87a446f'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/45?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_45_f21c57aff87a446f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=45&amp;url= http%3A%2F%2Fsixhead.com%2F2008%2F04%2F11%2Fmysql-installation-ports%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://sixhead.com/2008/04/11/mysql-installation-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search, Install, Deinstall Ports</title>
		<link>http://sixhead.com/2008/01/24/search-install-deinstall-ports/</link>
		<comments>http://sixhead.com/2008/01/24/search-install-deinstall-ports/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 16:59:39 +0000</pubDate>
		<dc:creator>Pipo</dc:creator>
				<category><![CDATA[FreeBSD & Linux]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://blog.sixhead.com/2008/01/24/search-install-deinstall-ports/</guid>
		<description><![CDATA[Search # cd /usr/ports/ # make search name=php5-mysql &#124; less Install # make install clean Deinstall # make deinstall clean]]></description>
			<content:encoded><![CDATA[<p><strong>Search</strong></p>
<pre class="perl"><span style="color: #808080; font-style: italic;"># cd /usr/ports/</span>
<span style="color: #808080; font-style: italic;"># make search name=php5-mysql | less</span></pre>
<p><strong>Install</strong></p>
<pre class="perl"><span style="color: #808080; font-style: italic;"># make install clean </span></pre>
<p><strong>Deinstall</strong></p>
<pre class="perl"><span style="color: #808080; font-style: italic;"># make deinstall clean </span></pre>
<p><map name='google_ad_map_5_f21c57aff87a446f'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/5?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_5_f21c57aff87a446f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=5&amp;url= http%3A%2F%2Fsixhead.com%2F2008%2F01%2F24%2Fsearch-install-deinstall-ports%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://sixhead.com/2008/01/24/search-install-deinstall-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Ports</title>
		<link>http://sixhead.com/2008/01/24/update-ports/</link>
		<comments>http://sixhead.com/2008/01/24/update-ports/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 16:58:56 +0000</pubDate>
		<dc:creator>Pipo</dc:creator>
				<category><![CDATA[FreeBSD & Linux]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://blog.sixhead.com/2008/01/24/update-ports/</guid>
		<description><![CDATA[สั่ง update ports index # cd /usr/ports # /usr/local/bin/cvsup -g -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile # make fetchindex ตรวจสอบเวอร์ชั่นของ software ที่ลงในเครื่องกับ เวอร์ชั่นปัจจุบัน # pkg_version -v]]></description>
			<content:encoded><![CDATA[<p><strong>สั่ง update ports index</strong></p>
<pre class="perl"><span style="color: #808080; font-style: italic;"># cd /usr/ports</span>
<span style="color: #808080; font-style: italic;"># /usr/local/bin/cvsup -g -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile</span>
<span style="color: #808080; font-style: italic;"># make fetchindex</span></pre>
<p><strong>ตรวจสอบเวอร์ชั่นของ software ที่ลงในเครื่องกับ เวอร์ชั่นปัจจุบัน</strong></p>
<pre class="perl"><span style="color: #808080; font-style: italic;"># pkg_version -v</span></pre>
<p><map name='google_ad_map_4_f21c57aff87a446f'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/4?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_4_f21c57aff87a446f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=4&amp;url= http%3A%2F%2Fsixhead.com%2F2008%2F01%2F24%2Fupdate-ports%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://sixhead.com/2008/01/24/update-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
