﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Stay Hungry, Stay Foolish!-随笔分类-Linux</title><link>http://www.blogjava.net/Alicus/category/52810.html</link><description>实践是最好的成长，书写是最好的记忆！</description><language>zh-cn</language><lastBuildDate>Sat, 10 Nov 2012 16:08:39 GMT</lastBuildDate><pubDate>Sat, 10 Nov 2012 16:08:39 GMT</pubDate><ttl>60</ttl><item><title>security processing failed with reason 15 (解决DB2 9.5.2中用户认证的问题(SQL30082N）)</title><link>http://www.blogjava.net/Alicus/archive/2012/11/10/391144.html</link><dc:creator>Alicus</dc:creator><author>Alicus</author><pubDate>Sat, 10 Nov 2012 09:33:00 GMT</pubDate><guid>http://www.blogjava.net/Alicus/archive/2012/11/10/391144.html</guid><wfw:comment>http://www.blogjava.net/Alicus/comments/391144.html</wfw:comment><comments>http://www.blogjava.net/Alicus/archive/2012/11/10/391144.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Alicus/comments/commentRss/391144.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Alicus/services/trackbacks/391144.html</trackback:ping><description><![CDATA[Just for a note!&nbsp;<br />Reference:&nbsp;<a href="http://blog.csdn.net/thinkhy/article/details/4122427">http://blog.csdn.net/thinkhy/article/details/4122427</a><img src ="http://www.blogjava.net/Alicus/aggbug/391144.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Alicus/" target="_blank">Alicus</a> 2012-11-10 17:33 <a href="http://www.blogjava.net/Alicus/archive/2012/11/10/391144.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>How to adjust the screen resolution for Ubuntu Server in VMware</title><link>http://www.blogjava.net/Alicus/archive/2012/11/10/391139.html</link><dc:creator>Alicus</dc:creator><author>Alicus</author><pubDate>Sat, 10 Nov 2012 08:18:00 GMT</pubDate><guid>http://www.blogjava.net/Alicus/archive/2012/11/10/391139.html</guid><wfw:comment>http://www.blogjava.net/Alicus/comments/391139.html</wfw:comment><comments>http://www.blogjava.net/Alicus/archive/2012/11/10/391139.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Alicus/comments/commentRss/391139.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Alicus/services/trackbacks/391139.html</trackback:ping><description><![CDATA[<div>1. vi /etc/default/grub&nbsp;</div><div>2. modify the value of GRUB_CMDLINE_LINUX parameter , Ex : GRUB_CMDLINE_LINUX="vga=0x317".</div><div>&nbsp; &nbsp; Before changing it, backup orginal value is recommended.</div><div>3. there are some values for reference .&nbsp;</div><div></div><div>&nbsp; &nbsp; &nbsp; &nbsp;| &nbsp;640x480 &nbsp;800x600 &nbsp;1024x768 1280x1024</div><div>---- &nbsp;| --------------------------------------</div><div>256 &nbsp;| &nbsp;0x301 &nbsp; &nbsp; 0x303 &nbsp; &nbsp; &nbsp;0x305 &nbsp; &nbsp; &nbsp;0x307</div><div>32k &nbsp;| &nbsp;0x310 &nbsp; &nbsp; 0x313 &nbsp; &nbsp; &nbsp;0x316 &nbsp; &nbsp; &nbsp;0x319</div><div>64k &nbsp;| &nbsp;0x311 &nbsp; &nbsp; 0x314 &nbsp; &nbsp; &nbsp;0x317 &nbsp; &nbsp; &nbsp;0x31A</div><div>16M | &nbsp;0x312 &nbsp; &nbsp; 0x315 &nbsp; &nbsp; &nbsp; 0x318 &nbsp; &nbsp; 0x31B</div><div></div><div>4. $sudo update-grub</div><div></div><div>5. $sudo reboot</div><div><br />Good luck to you!<br /></div><div>Reference:&nbsp;http://blog.csdn.net/weilanxing/article/details/7664324</div><img src ="http://www.blogjava.net/Alicus/aggbug/391139.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Alicus/" target="_blank">Alicus</a> 2012-11-10 16:18 <a href="http://www.blogjava.net/Alicus/archive/2012/11/10/391139.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu12.4 Server Install vsftpd</title><link>http://www.blogjava.net/Alicus/archive/2012/11/10/391134.html</link><dc:creator>Alicus</dc:creator><author>Alicus</author><pubDate>Sat, 10 Nov 2012 07:11:00 GMT</pubDate><guid>http://www.blogjava.net/Alicus/archive/2012/11/10/391134.html</guid><wfw:comment>http://www.blogjava.net/Alicus/comments/391134.html</wfw:comment><comments>http://www.blogjava.net/Alicus/archive/2012/11/10/391134.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Alicus/comments/commentRss/391134.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Alicus/services/trackbacks/391134.html</trackback:ping><description><![CDATA[First step :&nbsp;sudo apt-get install vsftpd&nbsp;<br />Second step &nbsp;:&nbsp;
sudo vi /etc/vsftpd.conf<br />when you open the vsftpd.conf, make the following changes:<br />1. uncomment :&nbsp;
local_enable=YES<br />2. uncomment :&nbsp;
chroot_local_user=YES<br />3. uncomment :&nbsp;
write_enable=YES&nbsp;<br /><br />After above steps, please restart vsfptd service as follows:&nbsp;sudo /etc/init.d/vsftpd restart&nbsp;<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #ffffff; "><br /></span><br />Q&amp;A:<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #ffffff; "><br /></span><span style="color: red; ">Q1.&nbsp;</span><span style="color: red; ">500 OOPS: vsftpd: refusing to run with writable root inside chroot()</span><br /><span style="color: #0000ff; ">A1: </span><span style="color: #0000ff; ">1. edit the file</span>&nbsp;<span style="color: #0000ff; ">/etc/vsftpd.conf , </span><br /><span style="color: #0000ff; ">&nbsp; &nbsp; &nbsp; 2.&nbsp;</span><span style="color: #0000ff; ">uncomment&nbsp;</span><span style="color: #0000ff; ">&nbsp;chroot_local_user=YES 、&nbsp;chroot_list_enable=YES 、&nbsp;chroot_list_file=/etc/vsfptd.chroot_list</span><br /><span style="color: #0000ff; ">&nbsp; &nbsp; &nbsp; 3. edit&nbsp;/etc/vsfptd.chroot_list file, then input the ftp login account like ftpuser, save and exit.</span><br /><span style="color: #0000ff; ">&nbsp; &nbsp; &nbsp; 4. restart your vsftpd service.</span><br /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #ffffff; "><br /></span>Hope it will be helpful to you !<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #ffffff; "><br /></span><img src ="http://www.blogjava.net/Alicus/aggbug/391134.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Alicus/" target="_blank">Alicus</a> 2012-11-10 15:11 <a href="http://www.blogjava.net/Alicus/archive/2012/11/10/391134.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>The solution for "Could not get lock /var/lib/apt/lists/lock - open"</title><link>http://www.blogjava.net/Alicus/archive/2012/11/03/390752.html</link><dc:creator>Alicus</dc:creator><author>Alicus</author><pubDate>Sat, 03 Nov 2012 14:51:00 GMT</pubDate><guid>http://www.blogjava.net/Alicus/archive/2012/11/03/390752.html</guid><wfw:comment>http://www.blogjava.net/Alicus/comments/390752.html</wfw:comment><comments>http://www.blogjava.net/Alicus/archive/2012/11/03/390752.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Alicus/comments/commentRss/390752.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Alicus/services/trackbacks/390752.html</trackback:ping><description><![CDATA[<span style="font-size: 12pt; ">&nbsp; &nbsp; In Linux, you always wanna to use command:&nbsp;sudo apt-get update to update source list.</span><br /><span style="font-size: 12pt; ">&nbsp; &nbsp; But if one of terminal doesn't finish updating, and then you execute another same command :&nbsp;sudo apt-get update,</span><br /><span style="font-size: 12pt; ">it will has the error message like the following :</span><br /><span style="color: #ff0000; font-size: 12pt; "><strong>Error output:</strong></span><br /><div>&nbsp; &nbsp; <span style="color: red; font-size: 12pt; ">alicus@ubuntu:~$ sudo apt-get update</span></div><div><span style="color: red; font-size: 12pt; ">&nbsp; &nbsp; E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)</span></div><div><span style="color: red; font-size: 12pt; ">&nbsp; &nbsp; E: Unable to lock the list directory<br /><br /></span><span style="color: #0000ff; font-size: 12pt; "><strong>The solution is :</strong></span>&nbsp; &nbsp;&nbsp;<br /><span style="font-size: 12pt; ">&nbsp; &nbsp; Open a new &nbsp;terminal console, execute command like this :&nbsp;sudo rm /var/cache/apt/archives/lock ( it is that has been locked ).</span><br />&nbsp;&nbsp;&nbsp;&nbsp;<br /><span style="font-size: 12pt; ">&nbsp; &nbsp; After that, you are allowed to execute&nbsp;sudo apt-get update again.</span><br /><br />&nbsp; &nbsp;&nbsp;<span style="font-size: 12pt; ">Good luck to you !</span></div><div></div><img src ="http://www.blogjava.net/Alicus/aggbug/390752.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Alicus/" target="_blank">Alicus</a> 2012-11-03 22:51 <a href="http://www.blogjava.net/Alicus/archive/2012/11/03/390752.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu Install DB2V9.5</title><link>http://www.blogjava.net/Alicus/archive/2012/11/03/390749.html</link><dc:creator>Alicus</dc:creator><author>Alicus</author><pubDate>Sat, 03 Nov 2012 13:41:00 GMT</pubDate><guid>http://www.blogjava.net/Alicus/archive/2012/11/03/390749.html</guid><wfw:comment>http://www.blogjava.net/Alicus/comments/390749.html</wfw:comment><comments>http://www.blogjava.net/Alicus/archive/2012/11/03/390749.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Alicus/comments/commentRss/390749.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Alicus/services/trackbacks/390749.html</trackback:ping><description><![CDATA[<span style="font-size: 12pt;"> </span><div><span style="font-size: 12pt;">1. Download the DB2V9.5 Software from URL: http://www14.software.ibm.com/webapp/download/search.jsp?pn=DB2+9</span><br /><br /><span style="font-size: 12pt;">2. Install Prepared Packages:</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; shell cmd : sudo apt-get install alien</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; shell cmd : sudo apt-get install libstdc++5 ( need update System Sources List &#8212; &gt; sudo gedit /etc/apt/sources.list )</span><br /><br />&nbsp; &nbsp; &nbsp;<span style="font-size: 12pt; ">if it still has problem like this :&nbsp;libaio.so.1 is not found, try this command: sudo apt-get install libaio-dev&nbsp;</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; You can see the source list in here : http://forum.ubuntu.org.cn/viewtopic.php?t=268843</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; or add the following URLs immediately : </span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse&nbsp;&nbsp;&nbsp; </span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted</span><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted</span><br /><br /><span style="font-size: 12pt;">3. change a root account's password as the default root's password is random :</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; shell cmd : sudo passwd root</span><br /><br /><span style="font-size: 12pt;">&nbsp; &nbsp; please input the root password</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; shell cmd : su root&nbsp; (change current account to root)</span><br /><br /><span style="font-size: 12pt;">4. access to db2 install folder,input the command: ./db2setup to install</span><br /><br /><span style="font-size: 12pt;">5. When the install page popped, choose the options you want.</span><br /><br /><span style="font-size: 12pt;">6. use db2 account to login :</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; shell cmd : su &#8211;login db2inst1</span><br /><br /><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; password : db2inst1</span><br /><br /><span style="font-size: 12pt;">QA:</span><br /><br /><span style="color: red; font-size: 12pt;">1. when you use cmd: su &#8212; login db2inst1&nbsp; to login, then you input db2cc ,it will have errors like following:</span><br /><br /><span style="color: red; font-size: 12pt;">&nbsp;&nbsp;&nbsp; #db2cc</span><br /><span style="color: red; font-size: 12pt;">&nbsp;&nbsp;&nbsp; No protocol specified</span><br /><span style="color: red; font-size: 12pt;">&nbsp;&nbsp;&nbsp; Error: Can not open display</span><br /><br /><span style="color: red; font-size: 12pt;">&nbsp;&nbsp;&nbsp; A:&nbsp; use root account and then input cmd:&nbsp; xhost local:db2inst1</span></div><br /><span style="font-size: 12pt;">Hope it will be helpful to you !</span><img src ="http://www.blogjava.net/Alicus/aggbug/390749.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Alicus/" target="_blank">Alicus</a> 2012-11-03 21:41 <a href="http://www.blogjava.net/Alicus/archive/2012/11/03/390749.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>