<?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>Acelan's Life &#187; Ubuntu</title>
	<atom:link href="http://blog.acelan.idv.tw/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.acelan.idv.tw</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 07 Sep 2011 03:31:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What a stupid thing I did!!</title>
		<link>http://blog.acelan.idv.tw/2009/10/what-a-stupid-thing-i-did/</link>
		<comments>http://blog.acelan.idv.tw/2009/10/what-a-stupid-thing-i-did/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 03:39:43 +0000</pubDate>
		<dc:creator>AceLan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://blog.acelan.idv.tw/?p=30</guid>
		<description><![CDATA[I&#8217;ve been curious who made the test_branch_1 branch on the ubuntu git tree for a long time. And today I checkout that branch and see the amazing log.
acelan@acelan-nb:~/workspace/ubuntu-karmic$ git branch -r             
  origin/HEAD -> origin/master
  origin/arm
  origin/ec2
  origin/fsl-imx51
  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been curious who made the test_branch_1 branch on the ubuntu git tree for a long time. And today I checkout that branch and see the amazing log.</p>
<p><code>acelan@acelan-nb:~/workspace/ubuntu-karmic$ git branch -r</code>             </p>
<blockquote><p>  origin/HEAD -> origin/master<br />
  origin/arm<br />
  origin/ec2<br />
  origin/fsl-imx51<br />
  origin/master<br />
  origin/mvl-dove<br />
  origin/netbook<br />
  origin/patches-that-need-love<br />
  origin/pending-upstream-patches<br />
  origin/test_branch_1</p></blockquote>
<p><code>acelan@acelan-nb:~/workspace/ubuntu-karmic$ git checkout -b test origin/test_branch_1</code></p>
<blockquote><p>Checking out files: 100% (9533/9533), done.<br />
Branch test set up to track remote branch test_branch_1 from origin.<br />
Switched to a new branch &#8216;test&#8217;</p></blockquote>
<p><code>acelan@acelan-nb:~/workspace/ubuntu-karmic$ git log</code></p>
<blockquote><p>commit a2c978c3ffb96982b3876b37c0a21fcc787234bc<br />
Author: AceLan Kao ＜acelan@ooo.xxx.com><br />
Date:   Fri Jun 12 13:42:45 2009 +0800             </p>
<p>    only for git test</p>
<p>commit fba4b54f8f16a11ff3e57b7ac76d437b5d831695<br />
Author: AceLan ＜acelan@acelan-nb.(none)><br />
Date:   Tue Jun 9 16:17:23 2009 +0800</p>
<p>    UBUNTU: [Upstream]</p>
<p>    Signed-off-by: AceLan ＜acelan@acelan-nb.(none)></p></blockquote>
<p>It was my second day, and I didn&#8217;t know too much about git. Of course, the branch was already been deleted, and nobody will know what I had did. :p</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.acelan.idv.tw/2009/10/what-a-stupid-thing-i-did/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add extra work for kernel package</title>
		<link>http://blog.acelan.idv.tw/2009/10/add-extra-work-for-kernel-package/</link>
		<comments>http://blog.acelan.idv.tw/2009/10/add-extra-work-for-kernel-package/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 02:27:35 +0000</pubDate>
		<dc:creator>AceLan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://blog.acelan.idv.tw/?p=28</guid>
		<description><![CDATA[If you would like to do more extra work while packaging the kernel package, modify this file
debian/rules.d/2-binary-arch.mk
If you would like to do more extra work after installing the kernel package, modify this file
debian/control-scripts/postinst
]]></description>
			<content:encoded><![CDATA[<p>If you would like to do more extra work while packaging the kernel package, modify this file<br />
<code>debian/rules.d/2-binary-arch.mk</code></p>
<p>If you would like to do more extra work after installing the kernel package, modify this file<br />
<code>debian/control-scripts/postinst</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.acelan.idv.tw/2009/10/add-extra-work-for-kernel-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My git commands backup</title>
		<link>http://blog.acelan.idv.tw/2009/10/my-git-commands-backup/</link>
		<comments>http://blog.acelan.idv.tw/2009/10/my-git-commands-backup/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 07:26:50 +0000</pubDate>
		<dc:creator>AceLan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://blog.acelan.idv.tw/?p=20</guid>
		<description><![CDATA[On a new installed machine, you have to add your info in the ~/.gitconfig
git config --add user.name "AceLan Kao"
git config --add user.email acelan.kao@ccc.ccc

Clone Jaunty kernel and add my public repository, so that I can publish my modification to public git tree.
git clone --reference linux-2.6 git://kernel.ubuntu.com/ubuntu/ubuntu-jaunty.git
git remote add zinc git+ssh://zinc.ubuntu.com/srv/kernel.ubuntu.com/git/acelan/acelan-jaunty.git
NOTE. The reference git tree(ex. linux-2.6) shouldn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>On a new installed machine, you have to add your info in the ~/.gitconfig<br />
<code>git config --add user.name "AceLan Kao"<br />
git config --add user.email acelan.kao@ccc.ccc<br />
</code></p>
<p>Clone Jaunty kernel and add my public repository, so that I can publish my modification to <a href="http://kernel.ubuntu.com/git">public git tree</a>.<br />
<code>git clone --reference linux-2.6 git://kernel.ubuntu.com/ubuntu/ubuntu-jaunty.git<br />
git remote add zinc git+ssh://zinc.ubuntu.com/srv/kernel.ubuntu.com/git/acelan/acelan-jaunty.git</code><br />
NOTE. The reference git tree(ex. linux-2.6) shouldn&#8217;t be removed under any circumstances, or the reference object will disappear and the git tree will become unusable. The file <code>.git/objects/info/alternates</code> will record the referenced git tree, try to specify an available one, if you removed the original reference tree accidentally.</p>
<p><span id="more-20"></span></p>
<p>We usually cherry pick upstream kernel commit, this is the command.<br />
<code>git cherry-pick -s -e -x aa1812b3e</code></p>
<p>And the request letter format for cherry pick.<br />
<code>git request-pull \<br />
           <lastest SHA before your commit> \<br />
           git://kernel.ubuntu.com/<your_id_on_zinc>/my-jaunty.git \<br />
           > new_branch_1-request-pull.txt</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.acelan.idv.tw/2009/10/my-git-commands-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix on Ubuntu</title>
		<link>http://blog.acelan.idv.tw/2009/10/postfix-on-ubuntu/</link>
		<comments>http://blog.acelan.idv.tw/2009/10/postfix-on-ubuntu/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 10:35:45 +0000</pubDate>
		<dc:creator>AceLan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[pop3s]]></category>
		<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://blog.acelan.idv.tw/?p=8</guid>
		<description><![CDATA[I can&#8217;t receive email after fresh installing Ubuntu on my server. I copy the old postfix config(main.cf) to the new installed server, but the new email arrived. I found there is a statement in the main.cf
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access
But there is no such a file under /etc/postfix directory, so I copied access and access.db from [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t receive email after fresh installing Ubuntu on my server. I copy the old postfix config(main.cf) to the new installed server, but the new email arrived. I found there is a statement in the main.cf<br />
<code>smtpd_client_restrictions = check_client_access hash:/etc/postfix/access</code><br />
But there is no such a file under <code>/etc/postfix</code> directory, so I copied <code>access</code> and <code>access.db</code> from the old server, then I received spams.</p>
<p><span id="more-8"></span></p>
<p>To cowork with my gmail account, I add a pop3s account on gmail, so I need some extra settings to activate the pop3s service.<br />
Modify the setting in the /etc/dovecot/dovecot.conf<br />
<code>protocols = pop3s</code><br />
and uncomment this two lines<br />
<code>ssl_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem<br />
ssl_key_file = /etc/ssl/private/ssl-cert-snakeoil.key</code><br />
Then restart dovecot, you can try <code>telnet localhost 995</code> to see if the the port if opened.</p>
<p>For the postfix, you have to run the following commands.<br />
<code>openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650<br />
postconf -e 'smtpd_tls_auth_only = no'<br />
postconf -e 'smtp_use_tls = yes'<br />
postconf -e 'smtpd_use_tls = yes'<br />
postconf -e 'smtp_tls_note_starttls_offer = yes'<br />
postconf -e 'smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key'<br />
postconf -e 'smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt'<br />
postconf -e 'smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem'<br />
postconf -e 'smtpd_tls_loglevel = 1'<br />
postconf -e 'smtpd_tls_received_header = yes'<br />
postconf -e 'smtpd_tls_session_cache_timeout = 3600s'<br />
postconf -e 'tls_random_source = dev:/dev/urandom'</code></p>
<p>And add these two line in the /etc/postfix/master.cf<br />
<code>smtps inet n - n - - smtpd<br />
smtps inet n - n - - smtpd -v -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes</code></p>
<p>Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.acelan.idv.tw/2009/10/postfix-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TuxOnIce for Ubuntu Karmic</title>
		<link>http://blog.acelan.idv.tw/2009/10/tuxonice-for-ubuntu-karmic/</link>
		<comments>http://blog.acelan.idv.tw/2009/10/tuxonice-for-ubuntu-karmic/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 10:26:24 +0000</pubDate>
		<dc:creator>AceLan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[TuxOnIce]]></category>

		<guid isPermaLink="false">http://blog.acelan.idv.tw/?p=6</guid>
		<description><![CDATA[http://kernel.ubuntu.com/git?p=acelan/ubuntu-karmic.git;a=summary
There is a tuxonice branch that applied TuxOnIce patch.
The TuxOnIce git tree
git://git.kernel.org/pub/scm/linux/kernel/git/nigelc/tuxonice-head.git
]]></description>
			<content:encoded><![CDATA[<p><code><a href="http://kernel.ubuntu.com/git?p=acelan/ubuntu-karmic.git;a=summary">http://kernel.ubuntu.com/git?p=acelan/ubuntu-karmic.git;a=summary</a></code><br />
There is a tuxonice branch that applied <a href="http://www.tuxonice.net/">TuxOnIce</a> patch.</p>
<p>The TuxOnIce git tree<br />
<code>git://git.kernel.org/pub/scm/linux/kernel/git/nigelc/tuxonice-head.git</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.acelan.idv.tw/2009/10/tuxonice-for-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install wordpress on Ubuntu</title>
		<link>http://blog.acelan.idv.tw/2009/10/install-wordpress-on-ubuntu/</link>
		<comments>http://blog.acelan.idv.tw/2009/10/install-wordpress-on-ubuntu/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 10:21:22 +0000</pubDate>
		<dc:creator>AceLan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.acelan.idv.tw/?p=4</guid>
		<description><![CDATA[sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress blog.acelan.idv.tw
]]></description>
			<content:encoded><![CDATA[<p><code>sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress blog.acelan.idv.tw</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.acelan.idv.tw/2009/10/install-wordpress-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

