<?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>takizo, not takezo &#187; Open Source</title>
	<atom:link href="http://systems.takizo.com/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://systems.takizo.com</link>
	<description>the systems admin blog</description>
	<lastBuildDate>Fri, 25 Nov 2011 00:55:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>OS X Lion Macports</title>
		<link>http://systems.takizo.com/2011/07/22/os-x-lion-macports-1/</link>
		<comments>http://systems.takizo.com/2011/07/22/os-x-lion-macports-1/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 06:54:05 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=1493</guid>
		<description><![CDATA[OS X Lion Macports, Can I upgrade from Snow Leopard? With the new release of Apple Mac OS X Lion, there are a lot of changes on the kernel and backends. Therefore I don&#8217;t think it&#8217;s possible to do port upgrade on Macports in order to upgrade your existing or installed ports in OS X [...]]]></description>
			<content:encoded><![CDATA[<h1>OS X Lion Macports, Can I upgrade from Snow Leopard?</h1>
<p>With the new release of Apple Mac OS X  Lion, there are a lot of changes on the kernel and backends. Therefore I don&#8217;t think it&#8217;s possible to do port upgrade on Macports in order to upgrade your existing or installed ports in OS X Snow Leopard. <span id="more-1493"></span></p>
<p><a href="http://systems.takizo.com/wp-content/uploads/2011/07/os-x-lion-macports.png"><img src="http://systems.takizo.com/wp-content/uploads/2011/07/os-x-lion-macports.png" alt="OS X Lion Macports" title="OS X Lion Macports" width="183" height="70" class="aligncenter size-full wp-image-1494" /></a></p>
<p>I have tried several times to upgrade ports previously installed in Snow Leopard, unfortunately no luck to getting it works in OS X Lion Macports, some library couldn&#8217;t load and some library cannot be found. Failed miserably with tons of error messages. </p>
<p>I have decided to re-install, or rather clean install Macports on my newly installed Mac OS X Lion. </p>
<h2>OS X Lion Macports with XCode 4.1</h2>
<p>Before installing <strong>OS X Lion Macports</strong>, you need to download and install latest Xcode 4.1 which designs for Mac OS X Lion. Xcode 4.1 can be downloaded at App Store, the file size is around 2.96GB, it might take some time for user who has slow internet access. </p>
<p>The existing Xcode on your Snow Leopard will not support latest version of Macports. </p>
<p><a href="http://systems.takizo.com/wp-content/uploads/2011/07/os-x-lion-macports-xcode.png"><img src="http://systems.takizo.com/wp-content/uploads/2011/07/os-x-lion-macports-xcode-300x259.png" alt="OS X Lion Macports" title="OS X Lion Macports" width="300" height="259" class="aligncenter size-medium wp-image-1495" /></a></p>
<h2>OS X Lion Macports, Before Clean Install</h2>
<p>Before proceed with <em>OS X Lion Macports</em> clean install, I suggest you do a few things as I listed below. </p>
<p>1. Dump current installed packages database. Run &#8220;port installed > installed.ports.log&#8221; to keep a list of packages currently install on your Macports. Which later you will need to re-install all the packages. Below is the sample of my current installed packages. </p>
<pre>
<code>
  apache2 @2.2.19_0+preforkmpm (active)
  apr @1.4.5_1 (active)
  apr-util @1.3.12_0 (active)
  atk @1.32.0_0 (active)
  autoconf @2.68_2 (active)
  autoconf213 @2.13_1 (active)
  automake @1.11.1_0 (active)
  axel @2.4_0 (active)
  bison @2.5_0 (active)
  bzip2 @1.0.6_0 (active)
  c-ares @1.7.4_0 (active)
  cacti @0.8.7g_1 (active)
  cairo @1.10.2_3 (active)
  ctags @5.8_0 (active)
  curl @7.21.7_0+ssl (active)
  curl-ca-bundle @7.21.7_0 (active)
  cyrus-sasl2 @2.1.23_3+kerberos (active)
  db46 @4.6.21_6 (active)
  dbus @1.4.12_0 (active)
  dia @0.97.1_2 (active)
  docbook-xml @5.0_0 (active)
</code>
</pre>
<p>2. Dump or backup your database data such as PostgreSQL and MySQL. </p>
<p>3. Backup your old directory, which is &#8220;/opt/local&#8221;, rename it to &#8220;/opt/local-snowleopard&#8221;, this is to keep all your data in order to migrate over to newly installed Macports later on. </p>
<h2>OS X Lion Macports Clean Install</h2>
<p>Macports team has not release latest Macports package/installer for OS X Lion (as when I written this post). If the official download is not available for OS X Lion, you need to install it from latest subversion built.</p>
<p>Create a new directory to check out latest subversion built for <u><a target="_blank" href="http://guide.macports.org/#installing.macports.subversion" title="OS X Lion Macports">OS X Lion Macports</a></u></p>
<pre>
<code>
# mkdir /opt/lion-macports
# cd /opt/lion-macports
# svn co http://svn.macports.org/repository/macports/trunk
</code>
</pre>
<p>This will download the latest build of subversion, next we will proceed with OS X Lion Macports installation </p>
<pre>
<code>
# cd /opt/lion-macports/trunk/base
# ./configure --enable-readline
# make
# sudo make install
# make distclean
</code>
</pre>
<p>After installation, make sure OS X Lion Macports binary is exported into your environment path, existing user should not have this problem, for new user, edit your environment path as show below; Search for export path line</p>
<pre>
<code>
#sudo vi ~/.bash_profile
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
</code>
</pre>
<p>Add /opt/local/bin and /opt/local/sbin into export PATH. </p>
<p>After environment path has been configured, get the latest update port tree and your are done </p>
<pre>
<code>
# sudo port -d selfupdate
</code>
</pre>
<h2>OS X Lion Macports. Install package</h2>
<p>You are basically you done Macports installation on Mac OS X Lion. Refer to your dump file I mentioned earlier &#8220;installed.ports.log&#8221;, re-install all the packages or the packages you need in newly installed OS X Lion Macports</p>
<p>I know it&#8217;s a little PITA (Pain In the Ass), but so far this is the only solution which can fix my problem by migrating into OS X Lion Macports. </p>
<h3>OS X Lion Macports. Re-install MySQL</h3>
<p>This is an example how I reinstall and load MySQL database which previously installed on Snow Leopard Macports into OS X Lion Macports. </p>
<p>1. Firstly, clean install MySQL5.1 database</p>
<pre>
<code>
# sudo port -v install mysql5-server
</code>
</pre>
<p>You might see error with plist conflict</p>
<pre>
<code>
</code>
Error: Target org.macports.activate returned: Image error: /Library/LaunchDaemons/org.macports.mysql5.plist already exists and does not belong to a registered port.  Unable to activate port mysql5-server. Use 'port -f activate mysql5-server' to force the activation.
Warning: the following items did not execute (for mysql5-server): org.macports.activate
Log for mysql5-server is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-server/mysql5-server/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
</pre>
<p>To fix it, force plist replacement. </p>
<pre>
<code>
# sudo port -f activate mysql5-server
--->  Computing dependencies for mysql5-server
--->  Activating mysql5-server @5.1.57_0
Warning: File /Library/LaunchDaemons/org.macports.mysql5.plist already exists.  Moving to: /Library/LaunchDaemons/org.macports.mysql5.plist.mp_1311315120.
--->  Cleaning mysql5-server
</code>
</pre>
<p>2. Move database into data directory, it required root privileges </p>
<pre>
<code>
# sudo su
# cp -RPa /opt/local-snowleopard/var/db/mysql5 /opt/local/var/db/
</code>
</pre>
<p>3. Start MySQL Server</p>
<pre>
<code>
# sudo /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper start
</code>
</pre>
<p>Please also share how you migrate existing Macports into OS X Lion Macports. </p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2011/07/22/os-x-lion-macports-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to Change MySQL Data Directory in Linux Centos</title>
		<link>http://systems.takizo.com/2011/07/02/how-to-change-mysql-data-directory-in-linux-centos/</link>
		<comments>http://systems.takizo.com/2011/07/02/how-to-change-mysql-data-directory-in-linux-centos/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 06:04:37 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[datadir]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mycnf]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=1413</guid>
		<description><![CDATA[By default Linux CentOS or other Linux Distro installation, MySQL data directory is stored in /var/db/mysql, how can I change it to other directory in example /db/mysql? It is always better to have MySQL Data Directory store in a specific partition/drive. It will help on performance and better management and scalability. You change change the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>By default Linux CentOS or other Linux Distro installation, MySQL data directory is stored in /var/db/mysql, how can I change it to other directory in example /db/mysql? </strong></p>
<p>It is always better to have MySQL Data Directory store in a specific partition/drive. It will help on performance and better management and scalability. You change change the data store directory in Linux by editing /etc/my.cnf file.</p>
<p>Edit /etc/my.cnf file</p>
<pre>
<code>
# vi /etc/my.cnf
</code>
</pre>
<p>Change the data directory structure</p>
<pre>
<code>
datadir=/db/mysql
socket=/db/mysql/mysql.sock
</code>
</pre>
<p>After the file has been updated, restart MySQL service.</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2011/07/02/how-to-change-mysql-data-directory-in-linux-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find Your Closest Anycast DNS Server with Dig</title>
		<link>http://systems.takizo.com/2011/02/23/how-to-find-your-closest-anycast-dns-server-with-dig/</link>
		<comments>http://systems.takizo.com/2011/02/23/how-to-find-your-closest-anycast-dns-server-with-dig/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 00:53:02 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[anycast dns]]></category>
		<category><![CDATA[dig]]></category>
		<category><![CDATA[dns query]]></category>
		<category><![CDATA[dns server]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=1391</guid>
		<description><![CDATA[Most ISP deploys Anycast DNS server on their network and bring the closest DNS server to their user for DNS resolver. You may see a DNS server with a single IP Address but there are multiple DNS Servers running on different geographical location. So which DNS server do you resolve it from? For example we [...]]]></description>
			<content:encoded><![CDATA[<p>Most ISP deploys Anycast DNS server on their network and bring the closest DNS server to their user for DNS resolver. You may see a DNS server with a single IP Address but there are multiple DNS Servers running on different geographical location. </p>
<p>So which DNS server do you resolve it from? For example we run a query on DNS F Root Server</p>
<pre>
<code>
$ dig @f.root-servers.net hostname.bind  txt ch +short
"lga1a.f.root-servers.org"
</code>
</pre>
<p>On the result, it shows that I am using lga1a.f.root-servers.org as resolver. Some DNS server does reply &#8220;chaos&#8221; (ch) request but some refuse; for example Google DNS and Open DNS Server. So if your ISP is running Anycast DNS, you can try to lookup where is the DNS server locate. </p>
<p>There is another command perform checking via &#8220;id.server&#8221; query, it only helpful when the DNS has server-id configured. </p>
<pre>
<code>
dig @k.root-servers.net id.server txt ch +short
"k2.tokyo.k.ripe.net"
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2011/02/23/how-to-find-your-closest-anycast-dns-server-with-dig/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim: Restrict Authenticated Outgoing Email with Sender Domain</title>
		<link>http://systems.takizo.com/2011/01/27/exim-restrict-authenticated-outgoing-email-with-sender-domain/</link>
		<comments>http://systems.takizo.com/2011/01/27/exim-restrict-authenticated-outgoing-email-with-sender-domain/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 01:13:00 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[outgoing email]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[systems]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=1382</guid>
		<description><![CDATA[Most of the outgoing SMTP server allowed the user to set different sender email address once it is authenticated. But we might be in risk for allowing the user to send outgoing bulk/spam email via authenticated SMTP with different sender email address. In Exim mail MTA, it can restricts at the SMTP authenticated transport. accept [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the outgoing SMTP server allowed the user to set different sender email address once it is authenticated. But we might be in risk for allowing the user to send outgoing bulk/spam email via authenticated SMTP with different sender email address. </p>
<p>In Exim mail MTA, it can restricts at the SMTP authenticated transport.</p>
<pre>
<code>
accept  authenticated = *
          sender_domains = < the_domain_name_1 > : < the_domain_name_2 >
          control       = submission
          control       = dkim_disable_verify
</code>
</pre>
<p>Usually local_domains is the list of the domain hosted on Exim mail server, it can be configured as below too. </p>
<pre>
<code>
accept  authenticated = *
          sender_domains = +local_domains
          control       = submission
          control       = dkim_disable_verify
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2011/01/27/exim-restrict-authenticated-outgoing-email-with-sender-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detect DDoS Source &amp; Destination IP Address with OURMON</title>
		<link>http://systems.takizo.com/2008/06/26/detect-ddos-source-destination-ip-address-with-ourmon/</link>
		<comments>http://systems.takizo.com/2008/06/26/detect-ddos-source-destination-ip-address-with-ourmon/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 09:00:32 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=265</guid>
		<description><![CDATA[We have OURMON running on one of network segment for quite some time, it is very helpful and resourceful when DDoS attack happened, especially to help our customer to find out which destination is targeted on the attack and from which sources. Below is the graph that we previously captured while running OURMON version 2.70. [...]]]></description>
			<content:encoded><![CDATA[<p>We have OURMON running on one of network segment for quite some time, it is very helpful and resourceful when DDoS attack happened, especially to help our customer to find out which destination is targeted on the attack and from which sources. Below is the graph that we previously captured while running OURMON version 2.70. </p>
<p><img src="http://systems.takizo.com/wp-content/photos/08/june/_ourmon-ddos-01.jpg" width="520" height="226" alt="" title="" /></p>
<p><a href="http://systems.takizo.com/wp-content/photos/08/june/ourmon-ddos-03.jpg"><img src="http://systems.takizo.com/wp-content/photos/08/june/_ourmon-ddos-03.jpg" width="520" height="225" alt="" title=""  /></a></p>
<p><strong>OURMON Version 2.81</strong></p>
<p>On the recent released of OURMON, the topn graphs didn&#8217;t show the traffic by Mbit/s instead of bit/s. The long no. is confusing when the NOC engineer is doing the monitoring(minimal 7 digits will show up). I have made some changes on omupdate.pl, one of OURMON script that generate html static page, to show extra value &#8211; Mbit/s. Our current OURMON graph looks something like below;</p>
<p><a href="http://systems.takizo.com/wp-content/photos/08/june/ourmon-281.jpg"><img src="http://systems.takizo.com/wp-content/photos/08/june/_ourmon-281.jpg" width="520" height="220" alt="" title=""  /></a></p>
<p>Below will show you how to add extra Mbit/s value on your OURMON Topn section;</p>
<p>edit <em>omupdate.pl</em> file</p>
<p><em>vi /usr/local/mrourmon/bin/omupdate.pl</em></p>
<p>On line 3137, add the code looks like below;</p>
<pre>
<code>
my $uappf = $items[$i+2];       # old hw app flags
my $uappl = $items[$i+3];       # app lower case
my $uapph = $items[$i+4];       # app upper case
my $bps = int(($items[$i+1] * 8)/30);
my $mbps = sprintf("%.2f", ($bps/1024)/1024); # convert bits to mbits
my $uaf = get_appflag($uappf, $uappl, $uapph);
</code>
</pre>
<p>this line of code <em>my $mbps = sprintf(&#8220;%.2f&#8221;, ($bps/1024)/1024);</em> is to declare the new variable <em>$mbps</em> and convert the bit/s value to Mbit/s by dividing 1024*1024.</p>
<p>Next is to display the value on the page, do something on line of code 3146;</p>
<pre>
<code>
"<b>bits/sec:</b> $bps, <b>Mbits/sec:</b> $mbps, "
</code>
</pre>
<p>Done, wait for a few second for the web page to refresh with extra Mbit/s value. Btw, you can remove bit/s if you want to, to save some extra space <img src='http://systems.takizo.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/06/26/detect-ddos-source-destination-ip-address-with-ourmon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>split &#8211; but no destination parameter to specify</title>
		<link>http://systems.takizo.com/2008/04/22/split-but-no-destination-parameter-to-specify/</link>
		<comments>http://systems.takizo.com/2008/04/22/split-but-no-destination-parameter-to-specify/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 14:33:55 +0000</pubDate>
		<dc:creator>psyber.monkey</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac osx]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=225</guid>
		<description><![CDATA[first : cd /destination/directory second : split /source/directory/big-huge-file prefix-to-apply-onto-splited-files Voila !!! (use the parameter -b to specify the size of splited files in BYTES, NOT kb, mb or gb)]]></description>
			<content:encoded><![CDATA[<p>first :</p>
<p>cd /destination/directory</p>
<p>second :</p>
<p>split /source/directory/big-huge-file prefix-to-apply-onto-splited-files</p>
<p>Voila !!!</p>
<p>(use the parameter -b to specify the size of splited files in BYTES, NOT kb, mb or gb)</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/04/22/split-but-no-destination-parameter-to-specify/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cron &amp; time zone</title>
		<link>http://systems.takizo.com/2008/04/18/cron-time-zone/</link>
		<comments>http://systems.takizo.com/2008/04/18/cron-time-zone/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 02:59:07 +0000</pubDate>
		<dc:creator>psyber.monkey</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=224</guid>
		<description><![CDATA[after changing time zone (tzsetup), restart cron (/etc/rc.d/cron restart) to let it know the changes or else the cron jobs will use the previous time zone.]]></description>
			<content:encoded><![CDATA[<p>after changing time zone (tzsetup), restart cron (/etc/rc.d/cron restart) to let it know the changes or else the cron jobs will use the previous time zone.</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/04/18/cron-time-zone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>convert epoch using date command</title>
		<link>http://systems.takizo.com/2008/04/13/convert-epoch-using-date-command/</link>
		<comments>http://systems.takizo.com/2008/04/13/convert-epoch-using-date-command/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 04:06:57 +0000</pubDate>
		<dc:creator>psyber.monkey</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac osx]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=223</guid>
		<description><![CDATA[date -d &#8216;&#60;Unix epoch&#62; &#60;epoch date&#62; sec&#8217; e.g. date -d &#8217;1970-01-01 988822888 sec&#8217; would dated &#8220;Wed May 2 17:31:28 MYT 2001&#8243; 20080430 : get a particular date in epoch, e.g. date -d &#8216;Apr 30 2008 00:00:00&#8242; &#8216;+%s&#8217;]]></description>
			<content:encoded><![CDATA[<p>date -d &#8216;&lt;Unix epoch&gt; &lt;epoch date&gt; sec&#8217;</p>
<p>e.g. date -d &#8217;1970-01-01 988822888 sec&#8217; would dated &#8220;Wed May  2 17:31:28 MYT 2001&#8243;</p>
<p>20080430 :</p>
<p>get a particular date in epoch, e.g. date -d &#8216;Apr 30 2008 00:00:00&#8242; &#8216;+%s&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/04/13/convert-epoch-using-date-command/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Forget / forgot / cannot remember root password</title>
		<link>http://systems.takizo.com/2008/04/08/forget-forgot-cannot-remember-root-password/</link>
		<comments>http://systems.takizo.com/2008/04/08/forget-forgot-cannot-remember-root-password/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 02:13:04 +0000</pubDate>
		<dc:creator>psyber.monkey</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=217</guid>
		<description><![CDATA[On a FreeBSD server 1. reboot server 2. choose to boot into single user mode 3. mount -o rw &#60;root partition&#62; e.g. mount -o rw / 4. passwd &#60;root account&#62; e.g. passwd root 5. mount -o ro &#60;root partition&#62; e.g. mount -o ro / 6. reboot server again Voila !!!]]></description>
			<content:encoded><![CDATA[<p>On a FreeBSD server</p>
<p>1. reboot server<br />
2. choose to boot into single user mode<br />
3. mount -o rw &lt;root partition&gt; e.g. mount -o rw /<br />
4. passwd &lt;root account&gt; e.g. passwd root<br />
5. mount -o ro &lt;root partition&gt; e.g. mount -o ro /<br />
6. reboot server again</p>
<p>Voila !!!</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/04/08/forget-forgot-cannot-remember-root-password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to dig SRV record after creating it in DNS</title>
		<link>http://systems.takizo.com/2008/04/06/how-to-dig-srv-record-after-creating-it-in-dns/</link>
		<comments>http://systems.takizo.com/2008/04/06/how-to-dig-srv-record-after-creating-it-in-dns/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 11:15:33 +0000</pubDate>
		<dc:creator>psyber.monkey</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac osx]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=214</guid>
		<description><![CDATA[dig &#60;record type&#62; &#60;host.name&#62; e.g dig SRV _someservice._port.hostname.domainame.com.my OR dig SRV _https._ICMP.host.takizo.com]]></description>
			<content:encoded><![CDATA[<p>dig &lt;record type&gt; &lt;host.name&gt;</p>
<p>e.g dig SRV _someservice._port.hostname.domainame.com.my OR dig SRV _https._ICMP.host.takizo.com</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/04/06/how-to-dig-srv-record-after-creating-it-in-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

