<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>tokwakyu</title>
	<atom:link href="http://tokwakyu.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tokwakyu.wordpress.com</link>
	<description>kompyuting oddventures</description>
	<lastBuildDate>Wed, 17 Oct 2007 07:18:18 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>tl</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='tokwakyu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b5c20dc5dae67f099860885bc48c6c75?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>tokwakyu</title>
		<link>http://tokwakyu.wordpress.com</link>
	</image>
			<item>
		<title>sunog together with cdrecord</title>
		<link>http://tokwakyu.wordpress.com/2007/10/17/sunog-together-with-cdrecord/</link>
		<comments>http://tokwakyu.wordpress.com/2007/10/17/sunog-together-with-cdrecord/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 07:18:18 +0000</pubDate>
		<dc:creator>tokwakyu</dc:creator>
				<category><![CDATA[sisad]]></category>

		<guid isPermaLink="false">http://tokwakyu.wordpress.com/2007/10/17/sunog-together-with-cdrecord/</guid>
		<description><![CDATA[para masunog and datos sa isang cdrom, gamitin ang cdrecod
 $man cdrecord
para malaman kung asan ang drive
#cdrecord &#8211;bangbus 
# cdrecord -scanbus
para sunugin ang sako-sakong datos sa cdrom
#  cdrecord -v -eject speed=4 dev=1,0,0 /mnt/images/boot.iso
kung saan:

speed = gaano kadalas ang ikot ng plato ng drive
dev = kung aling address ng bus ang gagamitin (maaring napakadami mong [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tokwakyu.wordpress.com&blog=1834882&post=5&subd=tokwakyu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>para masunog and datos sa isang cdrom, gamitin ang cdrecod</p>
<blockquote><p> $man cdrecord</p></blockquote>
<p>para malaman kung asan ang drive</p>
<blockquote><p><strike>#cdrecord &#8211;bangbus </strike></p>
<p># cdrecord -scanbus</p></blockquote>
<p>para sunugin ang sako-sakong datos sa cdrom</p>
<blockquote><p>#  cdrecord -v -eject speed=4 dev=1,0,0 /mnt/images/boot.iso</p></blockquote>
<p>kung saan:</p>
<ul>
<li>speed = gaano kadalas ang ikot ng plato ng drive</li>
<li>dev = kung aling address ng bus ang gagamitin (maaring napakadami mong burning device)</li>
<li>/mnt/images/boot.iso = ang siyan sako-sakong datos na kailangan mo sunugin</li>
</ul>
<p>para naman mabura ng mabilisan ang mga laman ng cd-rw mo</p>
<blockquote><p> # cdrecord &#8211;dev=1,0,0 &#8211;blank=fast</p></blockquote>
<p>sana may natulungan ako! hangang sa muli&#8230; paalam!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tokwakyu.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tokwakyu.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tokwakyu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tokwakyu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tokwakyu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tokwakyu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tokwakyu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tokwakyu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tokwakyu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tokwakyu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tokwakyu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tokwakyu.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tokwakyu.wordpress.com&blog=1834882&post=5&subd=tokwakyu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tokwakyu.wordpress.com/2007/10/17/sunog-together-with-cdrecord/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40c771fd6a7ccee906b2809a38419142?s=96&#38;d=identicon" medium="image">
			<media:title type="html">tokwakyu</media:title>
		</media:content>
	</item>
		<item>
		<title>File sharing via NFS (Debian Etch)</title>
		<link>http://tokwakyu.wordpress.com/2007/10/17/file-sharing-via-nfs-debian-etch/</link>
		<comments>http://tokwakyu.wordpress.com/2007/10/17/file-sharing-via-nfs-debian-etch/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 06:48:31 +0000</pubDate>
		<dc:creator>tokwakyu</dc:creator>
				<category><![CDATA[sisad]]></category>

		<guid isPermaLink="false">http://tokwakyu.wordpress.com/2007/10/17/file-sharing-via-nfs-debian-etch/</guid>
		<description><![CDATA[The Brew: Filesharing with NFS under Debian Etch
What we need
Server:

nfs-common
nfs-kernel-server
portmap

Client

nfs-common
portmap
*  tried using it without these services, still works

Server config
main configuration file concerned:/etc/exports
mine read:
/osimages/centos5 10.10.10.0/24(ro,insecure,all_squash)
where:
/osimages/centos5 &#8211; shared directory
10.10.10.0/24 &#8211; allowed subnet to mount the above shared directory
(ro,insecure,all_squash) &#8211; options
The options determine how the client connection is handled:

 ro &#8211; read only.  rw &#8211; read/write. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tokwakyu.wordpress.com&blog=1834882&post=4&subd=tokwakyu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h5>The Brew: Filesharing with NFS under Debian Etch</h5>
<p>What we need</p>
<p>Server:</p>
<ul>
<li>nfs-common</li>
<li>nfs-kernel-server</li>
<li>portmap</li>
</ul>
<p>Client</p>
<ul>
<li>nfs-common</li>
<li>portmap</li>
<li>*  tried using it without these services, still works</li>
</ul>
<p>Server config</p>
<blockquote><p>main configuration file concerned:/etc/exports</p></blockquote>
<p>mine read:</p>
<blockquote><p>/osimages/centos5 10.10.10.0/24(ro,insecure,all_squash)</p></blockquote>
<p>where:</p>
<blockquote><p>/osimages/centos5 &#8211; shared directory</p>
<p>10.10.10.0/24 &#8211; allowed subnet to mount the above shared directory</p>
<p>(ro,insecure,all_squash) &#8211; options</p></blockquote>
<p align="left">The options determine how the client connection is handled:</p>
<ul>
<li> ro &#8211; read only.  rw &#8211; read/write. When a NFS share is read only, the client can not write changes to the NFS share.</li>
<li>secure,insecure &#8211; &#8220;secure&#8221; in this case means that the NFS server checks that the process on the client is running with root privileges. This prevents regular users on the client machine from bypassing file system permissions.</li>
<li> root_squash, no_root_squash, all_squash &#8211; by default, root on the client system is root on the server system. root_squash tells the server to treat root on the client as if it were nobody. all_squash maps all users to nobody.</li>
</ul>
<p align="left">&nbsp;</p>
<p>Mounting it on the client</p>
<blockquote><p>mount -t nfs 10.10.10.1:/osimages/centos5 /mnt/nfshare</p></blockquote>
<p>resources</p>
<ul>
<li><a href="http://www.debiantutorials.org/content/view/110/228/">http://www.debiantutorials.org/content/view/110/228/</a></li>
<li><a href="http://bashcurescancer.com/centos_rhel_nfs_install_text.html">http://bashcurescancer.com/centos_rhel_nfs_install_text.html</a></li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tokwakyu.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tokwakyu.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tokwakyu.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tokwakyu.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tokwakyu.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tokwakyu.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tokwakyu.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tokwakyu.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tokwakyu.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tokwakyu.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tokwakyu.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tokwakyu.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tokwakyu.wordpress.com&blog=1834882&post=4&subd=tokwakyu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tokwakyu.wordpress.com/2007/10/17/file-sharing-via-nfs-debian-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40c771fd6a7ccee906b2809a38419142?s=96&#38;d=identicon" medium="image">
			<media:title type="html">tokwakyu</media:title>
		</media:content>
	</item>
		<item>
		<title>Mysql password on a bash script.</title>
		<link>http://tokwakyu.wordpress.com/2007/10/04/mysql-password-on-a-bash-script/</link>
		<comments>http://tokwakyu.wordpress.com/2007/10/04/mysql-password-on-a-bash-script/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 07:07:08 +0000</pubDate>
		<dc:creator>tokwakyu</dc:creator>
				<category><![CDATA[mysqlikot]]></category>

		<guid isPermaLink="false">http://tokwakyu.wordpress.com/2007/10/04/mysql-password-on-a-bash-script/</guid>
		<description><![CDATA[Did this test, nothing fancy, a simple script which reads
 	 	 	 	 	 	
&#160;
#!/bin/bash
NUM=1
while [ $NUM != 0 ]; do
mysql -u conn -p123456 db1 -e &#8220;INSERT INTO populate VALUES ($NUM)&#8221;
let &#8220;NUM+=1&#8243;
done
Then while this was running, did some checking
[root@db1]# ps -ef &#124; grep pop
root      8625  6729  1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tokwakyu.wordpress.com&blog=1834882&post=3&subd=tokwakyu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Did this test, nothing fancy, a simple script which reads</p>
<p><title></title> 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;">&nbsp;</p>
<blockquote><p>#!/bin/bash<br />
NUM=1<br />
while [ $NUM != 0 ]; do<br />
mysql -u conn -p123456 db1 -e &#8220;INSERT INTO populate VALUES ($NUM)&#8221;<br />
let &#8220;NUM+=1&#8243;<br />
done</p></blockquote>
<p>Then while this was running, did some checking</p>
<blockquote><p>[root@db1]# ps -ef | grep pop<br />
root      8625  6729  1 14:51 pts/1    00:00:00 /bin/bash ./populate_sh<br />
root      9043  8625  0 14:52 pts/1    00:00:00 mysql -u conn -px xxxxxx db1 -e INSERT INTO populate VALUES (418)<br />
root      9045  5600  0 14:52 pts/0    00:00:00 grep pop</p></blockquote>
<p>Notice that the password is masked. This is not saying that it is safe putting your mysql password on a bash script.</p>
<p>Just curious of this. Is the <em>ps</em> invocation insufficient? More on this when more time is available , in the meanwhile, some backup-recovery tests using LVM  is in the brewing.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tokwakyu.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tokwakyu.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tokwakyu.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tokwakyu.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tokwakyu.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tokwakyu.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tokwakyu.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tokwakyu.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tokwakyu.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tokwakyu.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tokwakyu.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tokwakyu.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tokwakyu.wordpress.com&blog=1834882&post=3&subd=tokwakyu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tokwakyu.wordpress.com/2007/10/04/mysql-password-on-a-bash-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40c771fd6a7ccee906b2809a38419142?s=96&#38;d=identicon" medium="image">
			<media:title type="html">tokwakyu</media:title>
		</media:content>
	</item>
	</channel>
</rss>