<?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/tag/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>Disable phpinfo() on Apache Web Server</title>
		<link>http://systems.takizo.com/2008/07/22/tips-of-the-day-phpinfo-code-that-shouldnt-show-to-public/</link>
		<comments>http://systems.takizo.com/2008/07/22/tips-of-the-day-phpinfo-code-that-shouldnt-show-to-public/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 09:00:00 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[web programming]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=277</guid>
		<description><![CDATA[Information displays from phpinfo() may provide resourceful information to attacker, such as file patch, web server environment, php modules, web server modules and etc. It&#8217;s better to disable phpinfo() function on your webserver.]]></description>
			<content:encoded><![CDATA[<p>Information displays from phpinfo() may provide resourceful information to attacker, such as file patch, web server environment, php modules, web server modules and etc. It&#8217;s better to disable phpinfo() function on your webserver.</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/07/22/tips-of-the-day-phpinfo-code-that-shouldnt-show-to-public/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>exim, playing with mail queue in server</title>
		<link>http://systems.takizo.com/2008/07/21/exim-playing-with-mail-queue-in-server/</link>
		<comments>http://systems.takizo.com/2008/07/21/exim-playing-with-mail-queue-in-server/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 06:05:11 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[queue email]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=215</guid>
		<description><![CDATA[there are over thousand emails queue in our mail server, even though I have configured email frozen more than 10 days automatically delete/remove, but it seem like doesn&#8217;t work as expected. here is the work around if you plan to do it manually. start with listing email queue in the server, by using the command [...]]]></description>
			<content:encoded><![CDATA[<p>there are over thousand emails queue in our mail server, even though I have configured email frozen more than 10 days automatically delete/remove, but it seem like doesn&#8217;t work as expected.</p>
<p>here is the work around if you plan to do it manually.</p>
<p>start with listing email queue in the server, by using the command exim -bp, it will list all the email currently queue in the server. but my only concern is frozen email in the server, which I would like to manually clean it from the queue. let try something here, </p>
<p><em>exim -bp | grep frozen</p>
<p> 18d   24K 1JhiI4-00096B-OW <> *** frozen ***<br />
 18d  2.3K 1JhiII-00097Y-8s <> *** frozen ***<br />
 16d  2.8K 1JhiKM-0009AL-9M <> *** frozen ***<br />
 15d  2.3K 1JhiLO-0009Bs-EF <> *** frozen ***<br />
 15d  2.5K 1JhiLS-0009Bx-O2 <> *** frozen ***<br />
 12d  2.7K 1JhiNm-0009S5-AQ <> *** frozen ***<br />
 10d  3.3K 1JhiPv-0009aN-Vu <> *** frozen ***<br />
 10d   24K 1JhiQ9-0009as-4R <> *** frozen ***</em></p>
<p>There are the emails currently queue in the server, and now you might want to check why did the email was queue in the server by <em>exim -Mvl <id></em></p>
<p><em>2008-04-02 15:58:52 Received from <> H=(xxx.xxx.net) [202.76.234.132] P=esmtp S=2143 id=20080402075613.8287E22E8BB@xxx.xxx.net<br />
2008-04-02 15:58:52 routing failed for rsvundet_2002@xxxx.com.my: User account not exist<br />
*** Frozen (delivery error message)</em></p>
<p>If you want to remove all the email from queue more than 18 days, try this command;</p>
<p><em>exim -bp | grep 18d | awk &#8216;{ print $3 }&#8217; | xargs exim -Mrm </p>
<p>Message 1JhiI4-00096B-OW has been removed<br />
Message 1JhiII-00097Y-8s has been removed<br />
Message 1JhiKM-0009AL-9M has been removed<br />
Message 1JhiLO-0009Bs-EF has been removed<br />
Message 1JhiLS-0009Bx-O2 has been removed<br />
Message 1JhiNm-0009S5-AQ has been removed</em></p>
<p>some usefull queue commands:</p>
<p>-bp : Queue email in Server<br />
-bpc : Count Queue email in Server<br />
-M : Force delivery<br />
-Mar : Add recipient<br />
-Meb : Edit message body<br />
-Mes : Edit sender<br />
-Mf : Freeze message<br />
-Mg : Give up (and bounce message)<br />
-Mmad : Mark all recipients as delivered<br />
-Mmd : Mark recipient as delivered<br />
-Mrm : Remove message (no bounce)<br />
-Mt : Thaw message<br />
-Mvb : View message body<br />
-Mvh : View message header<br />
-Mvl : View message log</p>
<p>enjoy and happy cleaning queue email!</p>
<h2>Links</h2>
<p><a target="_blank" href="http://bradthemad.org/tech/notes/exim_cheatsheet.php" target="_blank">Exim Cheat Sheet</a> by <a target="_blank" href="http://bradthemad.org/tech/notes/exim_cheatsheet.php" target="_blank">bratthemad</a><br />
Last update: 20080721</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/07/21/exim-playing-with-mail-queue-in-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Use Wget to Download Manual from Website</title>
		<link>http://systems.takizo.com/2008/07/08/how-to-wget-download-from-website/</link>
		<comments>http://systems.takizo.com/2008/07/08/how-to-wget-download-from-website/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 14:08:29 +0000</pubDate>
		<dc:creator>psyber.monkey</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://systems.takizo.com/?p=273</guid>
		<description><![CDATA[Most of the time, we would prefer to read manual offline instead of browsing online, sometime we do not have internet access, and in the boredom, we can read the manual OFFLINE! Example below will show you how to grab the manual online to your machine. Using wget to Download Website for Offline Reading If [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the time, we would prefer to read manual offline instead of browsing online, sometime we do not have internet access, and in the boredom, we can read the manual OFFLINE! Example below will show you how to grab the manual online to your machine. </p>
<h2>Using wget to Download Website for Offline Reading</h2>
<p>If you have wget installed on your machine, you can do the command below to download a website for offline read. </p>
<pre>
<code>
shell> wget --no-parent --mirror -p --convert-links -P ~/Documents/local-browsing http://www.some-website.com/howto/
</code>
</pre>
<p>Above command will download the entire website into your machine in your home directory Document/local-browsing. Now you can read while you are offline!</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2008/07/08/how-to-wget-download-from-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install FreeBSD 5.4 on Your Machine</title>
		<link>http://systems.takizo.com/2005/10/12/freebsd-54-installation/</link>
		<comments>http://systems.takizo.com/2005/10/12/freebsd-54-installation/#comments</comments>
		<pubDate>Wed, 12 Oct 2005 08:05:14 +0000</pubDate>
		<dc:creator>takizo</dc:creator>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.takizo.com/blog/2005/10/12/freebsd-54-installation/</guid>
		<description><![CDATA[FreeBSD is an advanced operating system for x86 compatible (including PentiumÂ® and Athlon â„¢), amd64 compatible (including Opteron â„¢, Athlon 64, and EM64T), Alpha/AXP, IA-64, PC-98 and UltraSPARCÂ® architectures. It is derived from BSD, the version of UNIXÂ® developed at the University of California, Berkeley. It is developed and maintained by a large team of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/photos/October/bsd_beaties.jpg" width="105" height="98" alt="" align="left" vspace="3" hspace="3" />FreeBSD is an advanced operating system for x86 compatible (including PentiumÂ® and Athlon â„¢), amd64 compatible (including Opteron â„¢, Athlon 64, and EM64T), Alpha/AXP, IA-64, PC-98 and UltraSPARCÂ® architectures. It is derived from BSD, the version of UNIXÂ® developed at the University of California, Berkeley. It is developed and maintained by a  large team of individuals. Additional platforms are in various stages of development. <a target="_blank" href="http://www.freebsd.org/about.html">Click here to learn more</a> about Unix FreeBSD Operating System.</p>
<p>If you are still new to FreeBSD, here is the step by step installation. For your information, FreeBSD  clean installation(developer package) only took 10-15mins(depend on how powerfull is your server/laptop).</p>
<p>First of all, if you have fast/speedy internet connection, grab FreeBSD ISO online from <a target="_blank" href="http://www.freebsd.org/where.html">FreeBSD website</a>, it only take you few hours to download with a stable 512kbps internet speed. After you have downloaded FreeBSD ISO DISK1, burn it into a cd.. yes, of course cd, other than CD i can&#8217;t any other easier way <img src='http://www.paulooi.com/wp-includes/images/smilies/icon_razz.gif' alt='P' />  Beside that, make the FreeBSD installation CD bootable ok? <img src='http://www.paulooi.com/wp-includes/images/smilies/icon_smile.gif' alt=')' /> </p>
<p>After you boot up with the CD(I won&#8217;t cover how to boot up the CD, kind of silly/stupid), immediately you will see the installation menu as figure shown below;</p>
<p><a target="_blank" href="/wp-content/photos/October/01_custom.jpg"><img src="/wp-content/photos/October/_01_custom.jpg" width="400" height="222" alt="" /></a></p>
<p>Select Begin Custom installation(for experts), yes are you expert, because you guide by an expert <img src='http://www.paulooi.com/wp-includes/images/smilies/icon_razz.gif' alt='P' />  </p>
<p>Next, let partition your hard disk before the installation, select Partition!</p>
<p><a></a></p>
<p><a target="_blank" href="/wp-content/photos/October/02_partition.jpg"><img src="/wp-content/photos/October/_02_partition.jpg" width="400" height="222" alt="" /></a></p>
<p>OK, dun be panic see-ing the black and white with text, first, you need to create a &#8220;SWAP&#8221; partition, how to create a partition? Is an easy job, select the drive and press &#8220;C&#8221; and it will prompt up a screen as shown below;</p>
<p><a target="_blank" href="/wp-content/photos/October/02_partition_swap.jpg"><img src="/wp-content/photos/October/_02_partition_swap.jpg" width="400" height="222" alt="" /></a></p>
<p>Usually SWAP took up (your total RAM) X 2, let said you have total 512MB of RAM in your system, X2 is 1GB. Key in 1G partition and press enter. It&#8217;s not done yet, next create a partion again and leave the rest for the space for filesystem. Before you quit, remmeber set the new filesystem partition/boot drive as Bootable. Just select the drive and press &#8220;s&#8221; and &#8220;q&#8221; to quit/finished partition. It will look similar like below;</p>
<p><a target="_blank" href="/wp-content/photos/October/02_partition_active.jpg"><img src="/wp-content/photos/October/_02_partition_active.jpg" width="400" height="222" alt="" /></a></p>
<p>Set it as a standard boot manager</p>
<p><a target="_blank" href="/wp-content/photos/October/02_partition_boot.jpg"><img src="/wp-content/photos/October/_02_partition_boot.jpg" width="400" height="222" alt="" /></a></p>
<p>Next, select Label section now to lable your partitioned disks. First is your swap, select the partition with 1GB space and press &#8220;C&#8221;, Select SWAP &#8211; A swap partition from the menu as figure shown below;</p>
<p><a target="_blank" href="/wp-content/photos/October/03_create_swap.jpg"><img src="/wp-content/photos/October/_03_create_swap.jpg" width="400" height="222" alt="" /></a></p>
<p>and now, select another partition and press &#8220;C&#8221;, this partition will be a FS &#8211; A File System;</p>
<p><a target="_blank" href="/wp-content/photos/October/04_file_system.jpg"><img src="/wp-content/photos/October/_04_file_system.jpg" width="400" height="222" alt="" /></a></p>
<p>set the partition mount point as &#8220;/&#8221;, figure shown below. It will be the bootable drive for FreeBSD installation.</p>
<p><a target="_blank" href="/wp-content/photos/October/05_file_system_drive.jpg"><img src="/wp-content/photos/October/_05_file_system_drive.jpg" width="400" height="222" alt="" /></a></p>
<p>&#8220;Q&#8221; to quit partition labeling. Next, select a distributions for your installation. I recommend a light distri, so just select Developer distri. (others distribution packages might need 2nd or 3rd FreeBSD cds)</p>
<p><a target="_blank" href="/wp-content/photos/October/06_developer_package.jpg"><img src="/wp-content/photos/October/_06_developer_package.jpg" width="400" height="222" alt="" /></a></p>
<p><a target="_blank" href="/wp-content/photos/October/07_commit.jpg"><img src="/wp-content/photos/October/_07_commit.jpg" width="400" height="222" alt="" /></a><br />
Next is select commit to start your FreeBSD installtion, and don&#8217;t panic when you see&#8230;.</p>
<p>this<br />
<a target="_blank" href="/wp-content/photos/October/08_commit_confirm.jpg"><img src="/wp-content/photos/October/_08_commit_confirm.jpg" width="400" height="222" alt="" /></a><br />
That&#8217;s mean installation is about to start&#8230;.</p>
<p><a target="_blank" href="/wp-content/photos/October/09_installing.jpg"><img src="/wp-content/photos/October/_09_installing.jpg" width="400" height="222" alt="" /></a><br />
Figure above shown installation just stated and in process, leave it do the job for about 5-10mins.</p>
<p><a target="_blank" href="/wp-content/photos/October/10_configure_others.jpg"><img src="/wp-content/photos/October/_10_configure_others.jpg" width="400" height="222" alt="" /></a><br />
Installation DONE! and would you like to configure others stuff? ok.. let me guide you setup simple networking in a LAN.</p>
<p><a target="_blank" href="/wp-content/photos/October/11_networking_menu.jpg"><img src="/wp-content/photos/October/_11_networking_menu.jpg" width="400" height="222" alt="" /></a><br />
Select Networking from the configuration menu..</p>
<p><a target="_blank" href="/wp-content/photos/October/12_networking_interface.jpg"><img src="/wp-content/photos/October/_12_networking_interface.jpg" width="400" height="222" alt="" /></a><br />
Setup a network with a network Interface card.</p>
<p><a target="_blank" href="/wp-content/photos/October/13_networking_configure.jpg"><img src="/wp-content/photos/October/_13_networking_configure.jpg" width="400" height="222" alt="" /></a><br />
configure your gateway, name server and etc..</p>
<p><a target="_blank" href="/wp-content/photos/October/14_networking_up.jpg"><img src="/wp-content/photos/October/_14_networking_up.jpg" width="400" height="222" alt="" /></a><br />
and yaa.. bring up the network..</p>
<p><a target="_blank" href="/wp-content/photos/October/15_installation_done.jpg"><img src="/wp-content/photos/October/_15_installation_done.jpg" width="400" height="222" alt="" /></a><br />
and now Exit installation and reboot your machine.. FreeBSD installation DONE!</p>
<p>For more information, check out FreeBSD very usefull and informative <a target="_blank" href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/">manual/handbook here</a></p>
<p>What to do next? I will blog about it next FreeBSD article!</p>
]]></content:encoded>
			<wfw:commentRss>http://systems.takizo.com/2005/10/12/freebsd-54-installation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

