??xml version="1.0" encoding="utf-8" standalone="yes"?>手机看片久久,成人激情视屏,精品999成人http://www.aygfsteel.com/fastzch/category/34258.htmlI Love Programming As My Life!zh-cnSun, 16 Sep 2012 23:03:43 GMTSun, 16 Sep 2012 23:03:43 GMT60How to uninstall dnscrypt client on MAChttp://www.aygfsteel.com/fastzch/archive/2012/09/16/387829.htmlRobin's Programming WorldRobin's Programming WorldSun, 16 Sep 2012 10:14:00 GMThttp://www.aygfsteel.com/fastzch/archive/2012/09/16/387829.htmlhttp://www.aygfsteel.com/fastzch/comments/387829.htmlhttp://www.aygfsteel.com/fastzch/archive/2012/09/16/387829.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/387829.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/387829.htmlhttp://shared.opendns.com/dnscrypt/packages/osx-client/
下蝲  Uninstall.app.zip


Robin's Programming World 2012-09-16 18:14 发表评论
]]>
Open Mac Ftp Serverhttp://www.aygfsteel.com/fastzch/archive/2012/06/30/381890.htmlRobin's Programming WorldRobin's Programming WorldSat, 30 Jun 2012 15:15:00 GMThttp://www.aygfsteel.com/fastzch/archive/2012/06/30/381890.htmlhttp://www.aygfsteel.com/fastzch/comments/381890.htmlhttp://www.aygfsteel.com/fastzch/archive/2012/06/30/381890.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/381890.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/381890.htmlWhile this hint will work as stated, it's pretty much incorrect usage of launchctl for the purpose of the hint.

launchctl load...loads the FTP service into launchd's database of services. When you do an unload, you are telling launchd to not manage it anymore.

So a better way to do this--probably the proper way--is to first issue the command to load the service:

sudo launchctl load -w /System/Library/LaunchDaemons/ftp.plist

Then, if you'd like to stop FTP, issue this command:

sudo launchctl stop com.apple.ftpd

And if you decide you'd like to bring it back up, use this command:

sudo launchctl start com.apple.ftpd

If you'd like for launchd to forget about FTP, that is when you would run this:

sudo launchctl unload /System/Library/LaunchDaemons/ftp.plist

The hint as-is will work, but seems a little counter-productive to make launchd remember and forget about FTP all the time.



Robin's Programming World 2012-06-30 23:15 发表评论
]]>
MAC上查看Adobe AIR的版?/title><link>http://www.aygfsteel.com/fastzch/archive/2011/10/09/360246.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Sun, 09 Oct 2011 01:19:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2011/10/09/360246.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/360246.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2011/10/09/360246.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/360246.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/360246.html</trackback:ping><description><![CDATA[<p id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown" style="font-size: 1.025em; line-height: 1.462; margin-top: 0px; padding-bottom: 1px; margin-bottom: 1.2em; color: #444444; font-family: Arial, Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: #ffffff; ">MAC上看个Adobe AIR的版本没惛_如此复杂Q备忘一下:</p> <p id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown" style="font-size: 1.025em; line-height: 1.462; margin-top: 0px; padding-bottom: 1px; margin-bottom: 1.2em; color: #444444; font-family: Arial, Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: #ffffff; "><strong>M</strong><strong>ac OS X</strong></p> <ul style="list-style-type: disc; margin-left: 2em !important; padding-left: 2.5ex; margin-top: -8px; margin-bottom: 1.35em; color: #444444; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15px; orphans: 2; text-align: text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: #ffffff; "> <li id="" style="line-height: 1.25em; font-size: 1.025em; padding-bottom: 0.5em; "><span id="">Open the<span id="wmqeeuq" class="apple-converted-space"> </span></span><span id="">/Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Info.plist</span><span id="wmqeeuq" class="apple-converted-space"> </span>text file and locate<span id="wmqeeuq" class="apple-converted-space"> the<span id="wmqeeuq" class="apple-converted-space"> </span></span><key>CFBundleVersion</key><span id="">entry. The corresponding string entry represents the version of AIR, for example:<span id="wmqeeuq" class="apple-converted-space"> </span></span><string>1.5.3.9130</string> </li> </ul> <div><font color="#444444" face="Arial, Helvetica"><span style="font-size: 12px; line-height: 15px;">原文地址Q?/span></font></div> <div><font color="#444444" face="Arial, Helvetica"><span style="font-size: 12px; line-height: 15px;"><a >http://kb2.adobe.com/cps/407/kb407625.html</a></span></font></div> @import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);<img src ="http://www.aygfsteel.com/fastzch/aggbug/360246.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2011-10-09 09:19 <a href="http://www.aygfsteel.com/fastzch/archive/2011/10/09/360246.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MAC上设环境变量跟Linux比有一丁点奇?/title><link>http://www.aygfsteel.com/fastzch/archive/2011/08/04/355773.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Thu, 04 Aug 2011 07:08:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2011/08/04/355773.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/355773.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2011/08/04/355773.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/355773.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/355773.html</trackback:ping><description><![CDATA[<div class="wmqeeuq" id="leaderboard"> <div class="wmqeeuq" id="ns_ad1Ph" style="display: block;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="DCF242972882" height="0px" width="0px"><embed src="http://s0.2mdn.net/2870545/G2AX_NewJack_adr_txt_728x90_04.swf" flashvars="moviePath=http://s0.2mdn.net/2870545/&moviepath=http://s0.2mdn.net/2870545/&clickTag=http%3A//ad.doubleclick.net/click%253Bh%253Dv8/3b59/3/0/%252a/k%253B242972882%253B5-0%253B0%253B65837032%253B3454-728/90%253B43210027/43227814/1%253Bu%253D%252Cns-10319678777_1312422429%252C121b580b1d81749%252Cmoosbber%252Cax.140-ns.itsesecu_l%253B%257Eaopt%253D0/ff/51/ff%253B%257Efdr%253D243352021%253B0-0%253B1%253B16777175%253B3454-728/90%253B42984741/43002528/1%253Bu%253D%252Cns-10319678777_1312422429%252C121b580b1d81749%252Cmoosbber%252Cax.140-ns.itsesecu_l%253B%257Eokv%253D%253Bnet%253Dns%253Bu%253D%252Cns-10319678777_1312422429%252C121b580b1d81749%252Cmoosbber%252Cax.140-ns.itsesecu_l%253B%253Bppos%253Datf%253Bkw%253D%253Btile%253D1%253Bcmw%253Dowl%253Bsz%253D728x90%253Bnet%253Dns%253Bord1%253D190354%253Bcontx%253Dmoosbber%253Ban%253D140%253Bdc%253Dw%253Bbtg%253Dns.itsesecu_l%253B%257Eaopt%253D3/0/51/0%253B%257Esscs%253D%253fhttp%3A//www.gotoassist.com/mm/g2ax_jacklp.tmpl%3Fc_name%3Dnets%26c_date%3D2011_Q3%26c_mark%3DCust_GTAX_Chnl%26c_kwd%3D728x90" type="application/x-shockwave-flash" quality="high" swliveconnect="true" wmode="opaque" name="DCF242972882" base="http://s0.2mdn.net/2870545" allowscriptaccess="never" height="0px" width="0px" style="display: none !important; visibility: hidden !important; opacity: 0 !important; "></object> </div> </div> <div class="wmqeeuq" id="content_left"> <div><font face="monospace">看这里,关键是这个不一P执行文g是这LQ?/font></div> <div><span style="font-family: monospace; ">. ./.profile</span></div> <div><span style="font-family: monospace; "><br /> </span></div> <div><font face="monospace">看原文:</font></div> <div><font size="3"><strong>Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=Q=</strong></font></div> <div><font size="3"><strong><br /> </strong></font></div> <div class="wmqeeuq" id="skyscraper-left"> <div class="wmqeeuq" id="ns_ad2Ph" style="display: block;"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="DCF243312644" height="0px" width="0px"><embed src="http://s0.2mdn.net/2917862/Q211_CBCS_BRD_ENT_-NX_160x600.swf" flashvars="moviePath=http://s0.2mdn.net/2917862/&moviepath=http://s0.2mdn.net/2917862/&clickTag1=http%3A//ad.doubleclick.net/click%253Bh%253Dv8/3b59/3/0/%252a/k%253B243312644%253B0-0%253B0%253B67268314%253B2321-160/600%253B42960001/42977788/1%253Bu%253D%252Cns-10200248622_1312422431%252C121b580b1d81749%252Cmoosbber%252Cax.10-ns.itsesecu_l-ns.moosbber_l%253B%257Eaopt%253D0/ff/51/ff%253B%257Efdr%253D243715732%253B0-0%253B1%253B16777175%253B2321-160/600%253B43099962/43117749/1%253Bu%253D%252Cns-10200248622_1312422431%252C121b580b1d81749%252Cmoosbber%252Cax.10-ns.itsesecu_l-ns.moosbber_l%253B%257Eokv%253D%253Bnet%253Dns%253Bu%253D%252Cns-10200248622_1312422431%252C121b580b1d81749%252Cmoosbber%252Cax.10-ns.itsesecu_l-ns.moosbber_l%253B%253Bppos%253Datf%253Bkw%253D%253Btile%253D1%253Bcmw%253Dowl%253Bsz%253D120x600%252C160x600%253Bnet%253Dns%253Bord1%253D396672%253Bcontx%253Dmoosbber%253Ban%253D10%253Bdc%253Dw%253Bbtg%253Dns.itsesecu_l%253Bbtg%253Dns.moosbber_l%253B%257Eaopt%253D2/0/51/0%253B%257Esscs%253D%253fhttp%3A//business.comcast.com/metro/index.aspx%3FCMP%3DBAC-243312644-5676586-1108934-67268314-%26omndfa%3D1%26utm_source%3D1108934%26utm_medium%3D42960001%26utm_campaign%3D5676586" type="application/x-shockwave-flash" quality="high" swliveconnect="true" wmode="opaque" name="DCF243312644" base="http://s0.2mdn.net/2917862" allowscriptaccess="never" height="0px" width="0px" style="display: none !important; visibility: hidden !important; opacity: 0 !important; "></object> </div> </div> </div> <div class="wmqeeuq" id="content_internal"> <div id="wmqeeuq" class="post" id="post-2621"> <div id="wmqeeuq" class="post-content-internal"> <h2 class="storytitle"><a rel="bookmark">OS X: Change your PATH environment variable</a></h2> <img src="http://s2.torbit.com/img/cdc3b9518da46d42f1ccd39a0b8899df2d3dea02-user-icon.jpg" alt="Contributor Icon" class="icon" /> <em class="contributor">Contributed by <a >qmchenry</a></em> <img src="http://s2.torbit.com/img/3739ac5b1715a4ed691c565c39b058abf0395419-date-icon.jpg" alt="Date Icon" class="icon date" /> October 2, 2007  <br /> <span id="wmqeeuq" class="tags"><img src="http://s2.torbit.com/img/c136c41a55a669b4832350c6d605cd495b67631c-tag-icon.jpg" alt="Tag Icon" class="icon" /> <strong>Tagged:</strong> <a title="View all posts in Mac system administration" rel="category tag">Mac system administration</a> </span>  <br /> <div class="wmqeeuq" id="social"> <div style="height: 20px; width: 32px; display: inline-block; text-indent: 0pt; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0pt; padding-top: 0pt; padding-right: 0pt; padding-bottom: 0pt; padding-left: 0pt; background-image: none; background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; float: none; background-position: 0% 0%; background-repeat: repeat repeat; " id="___plusone_0"><iframe allowtransparency="true" hspace="0" id="I1_1312422433689" marginheight="0" marginwidth="0" name="I1_1312422433689" src="https://plusone.google.com/u/0/_/+1/fastbutton?url=http%3A%2F%2Fwww.tech-recipes.com%2Frx%2F2621%2Fos_x_change_path_environment_variable%2F&size=medium&count=false&db=1&hl=en-US&jsh=r%3Bgc%2F22821001-a70f00f0#id=I1_1312422433689&parent=http%3A%2F%2Fwww.tech-recipes.com&rpctoken=295756197&_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe" style="position: static; left: 0pt; top: 0pt; width: 32px; margin: 0px; height: 20px; visibility: visible;" tabindex="-1" vspace="0" frameborder="0" scrolling="no" width="100%"></iframe></div> <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.tech-recipes.com%2Frx%2F2621%2Fos_x_change_path_environment_variable%2F&layout=button_count&show_faces=false&width=25&action=like&font=trebuchet+ms&colorscheme=light" allowtransparency="true" style="border:none; vertical-align:baseline; overflow:hidden; width:250px; margin-top:1px; margin-left:5px; height:20px" frameborder="0" scrolling="no"></iframe></div> <div class="wmqeeuq" id="first-300-ad"> <div class="wmqeeuq" id="ns_ad3Ph" style="display: block;"><iframe src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=rsb&c=28&pli=3050722&PluID=0&w=300&h=250&ord=2582682&ifrm=2&ucm=true&ncu=$$http://ad.doubleclick.net/click%3Bh%3Dv8/3b59/3/0/%2a/u%3B244207956%3B0-0%3B1%3B16777175%3B4307-300/250%3B43413470/43431257/1%3Bu%3D%2Cns-10305335441_1312422432%2C121b580b1d81749%2Cmoosbber%2Cax.140-ns.itsesecu_l-ns.moosbber_l%3B%7Eokv%3D%3Bnet%3Dns%3Bu%3D%2Cns-10305335441_1312422432%2C121b580b1d81749%2Cmoosbber%2Cax.140-ns.itsesecu_l-ns.moosbber_l%3B%3Bppos%3Datf%3Bkw%3D%3Btile%3D1%3Bcmw%3Dowl%3Bsz%3D300x250%2C336x280%3Bnet%3Dns%3Bord1%3D312465%3Bcontx%3Dmoosbber%3Ban%3D140%3Bdc%3Dw%3Bbtg%3Dns.itsesecu_l%3Bbtg%3Dns.moosbber_l%3B%7Eaopt%3D2/0/51/0%3B%7Esscs%3D%3f$$" marginwidth="0" marginheight="0" hspace="0" vspace="0" bordercolor="#000000" frameborder="0" height="0px" scrolling="no" width="0px" style="display: none !important; visibility: hidden !important; opacity: 0 !important; "> </iframe> </div> </div> <h4>When you run a command from a UNIX or UNIX-like shell, the shell looks for the executable file using the directories listed in your PATH variable as a map. For convenience, adding directories to this environment variable means you don’t have to go hunting for a file each time you run it. Following these directions will allow you to add a directory to the search PATH.</h4> <p><span id="more-2621"></span><br /> To change your path, you must edit the .profile file in your home directory. If you are comfortable using the vi editor, you probably don’t need to read any further. If not, then you can <a >use TextEdit to edit your .profile</a>.</p> <p>The default .profile is fairly short. The .profile is read when you open a Terminal window and each line is executed just like typing a command into the Terminal window. While this is handy because you can make any available command run whenever you drop to a shell, we’re concerned with changing an environment variable, PATH. </p> <p>In your editor, find the line that starts with <strong>export PATH=</strong> and give it a look to make sure it doesn’t already contain the directory path you’re going to add. Sometimes the PATH variable can get lengthy, but chances are yours just has a few directories separated by colons, perhaps something like this:</p> <p><code>export PATH=/opt/local/bin:/opt/local/sbin:$PATH</code></p> <p>There are a few things to note before making changes. The format of this line is important. The use of spaces in this command, or their lack, matters. In particular, there cannot be spaces around the equals sign or between any of the directories. If there are spaces in the directory name you want to add, you’ll need to escape the space by preceeding it with a \backslash or by putting the path in quotes (export PATH=”/path/here”).</p> <p>The <strong>export=</strong> keyword in front of that line has a very specific purpose. Defining a variable without exporting it makes it available only to the current shell, not to any subsequent shells. You may think to yourself that you don’t plan to make any subsequent shells, but this happens whenever you run a shell script. If the PATH variable was not exported, when you run a shell script, the PATH would no longer exist and it is possible that the script would fail.</p> <p>The $PATH at the end of the example above tacks the previous value of the variable (if it exists) onto the end of the PATH. By default, this will add ‘:/bin:/sbin:/usr/bin:/usr/sbin’ to the end of the PATH for you which is useful because most everything you run from the command line lives there.</p> <p>So, to add a new directory to the path, simply add it to the existing PATH line in .profile being careful to separate it from other directories there with colons and careful not to introduce unwanted spaces (everything after the space will be ignored). For example, to add the directory /mightyq/bin to the PATH shown above, the line could become any of the following examples:</p> <p><code>export PATH=/mightyq/bin:/opt/local/bin:/opt/local/sbin:$PATH<br /> export PATH=/opt/local/bin:/mightyq/bin:/opt/local/sbin:$PATH<br /> export PATH=/opt/local/bin:/opt/local/sbin:$PATH:/mightyq/bin</code></p> <p>Note that in the third example the new directory is added to the end of the PATH. You have the ability to optimize the searches your shell will do on your behalf each time you run a command by organizing your PATH logically. Putting less frequently used or really massive directories later in the path may give you a little performance boost (although these days things are pretty fast, so you have to be a little anal to really enjoy this).</p> <p>If you don’t need a directory in your path, you can reverse the process by deleting the unwanted directory still taking care to preserve the no spaces, colon separation rules.</p> <p>One last note, to test the change you made, you can use the echo command, but you need to make the shell reload the .profile first. Assuming you are in your home directory (if not, running ‘cd’ without any options will take you there), run these commands:</p> <p><code>. ./.profile<br /> echo $PATH</code></p> <p>The first is a neat little command in that it shows three uses or interpretations of the period in a single line. The first . is a shortcut to cause the shell to ’source’ or load the contents of the subsequent file as itself, in the manner that the shell uses when you login to a system or start a Terminal window. If you simply executed these commands like a shell script (bash .profile, for example) you would start a new shell, that shell would get the variable set, and at the end of running the .profile script, that new shell would cease to exist and the newly defined variables would be relegated to the missing sock universe. </p> <p>The second period means the current working directory. It’s not compulsory in any way in this command, but it’s habit from explaining the dots to folks, so I type it all the time now. In this context, you could also use ~/.profile as ~ explicitly means your home directory.</p> <p>The last dot causes the .profile to be hidden from view in a normal directory listing or Finder view. It doesn’t change the file in any other way, it just make it invisible and de-clutters your directories. To see hidden files, you can use ‘ls -a’ and you might be surprised by what you find.</p> </div> </div> </div> @import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);<img src ="http://www.aygfsteel.com/fastzch/aggbug/355773.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2011-08-04 15:08 <a href="http://www.aygfsteel.com/fastzch/archive/2011/08/04/355773.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>切换Debian的crontab~辑?/title><link>http://www.aygfsteel.com/fastzch/archive/2010/08/23/329677.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Mon, 23 Aug 2010 07:46:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2010/08/23/329677.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/329677.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2010/08/23/329677.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/329677.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/329677.html</trackback:ping><description><![CDATA[Debian的crontab默认的编辑器是nanoQ用h很不习惯,怎么才能转回VI?<br /> 用如下命令即可:<br /> #update-alternatives --config editor<br /> <br /> 出现如下所C的界面Q?br /> <p>There are 3 alternatives which provide `editor'.</p> <p>  Selection    Alternative<br /> -----------------------------------------------<br />           1    /bin/ed<br />  +        2    /bin/nano<br /> *         3    /usr/bin/vim.tiny</p> <p>Press enter to keep the default[*], or type selection number: </p> <br /> <br /> 然后选择3使用/usr/bin/vim可以了?br /> <br /> PSQ如果你发现你的定时没有生效Q可?etc/init.d/cron restart命o强制生效一下?br /> <img src ="http://www.aygfsteel.com/fastzch/aggbug/329677.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2010-08-23 15:46 <a href="http://www.aygfsteel.com/fastzch/archive/2010/08/23/329677.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>递归查文件的脚本http://www.aygfsteel.com/fastzch/archive/2010/05/10/320480.htmlRobin's Programming WorldRobin's Programming WorldMon, 10 May 2010 07:42:00 GMThttp://www.aygfsteel.com/fastzch/archive/2010/05/10/320480.htmlhttp://www.aygfsteel.com/fastzch/comments/320480.htmlhttp://www.aygfsteel.com/fastzch/archive/2010/05/10/320480.html#Feedback2http://www.aygfsteel.com/fastzch/comments/commentRss/320480.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/320480.html分n一个递归查文件的脚本:

#!/bin/sh
traverseFD(){
        
for file in $1/*
        
do
                
if [ -$file ];then
                        
#  echo $file" is directory"
                        if [ $file != \/root\/t ];  then
                                traverseFD 
$file
                        fi
                elif [ 
-$file ];then
                        ls 
-$file|awk '{print $6" "$7" "$8}'
                fi
        done
}

traverseFD 
"/root"

PS:
Shell中的参数中如果带I格的话,可以用如下方?
traverseFD "$d"

Robin's Programming World 2010-05-10 15:42 发表评论
]]>
Win7下终于可以用NetScreen的VPN?/title><link>http://www.aygfsteel.com/fastzch/archive/2009/12/15/306045.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Tue, 15 Dec 2009 10:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2009/12/15/306045.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/306045.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2009/12/15/306045.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/306045.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/306045.html</trackback:ping><description><![CDATA[NetScreen Remote目前不支持Win7Q而且据官|的release plan看,支持Win7的版本还?010q?QQ搞不好再给你来个delay。十分郁P恨不能把q个公司的品经理拖到黑漆漆的地方狂扁一!Qؓ了这事儿Q朋友们说我有暴力們֐我也认了Q呵呵)<br /> <br /> q好有个大牛在网上分享了一U解x案,让我成功解决了此问题。此文章链接如下Q?br /> <a title="SafeNet SoftRemoteLt on Windows 7" >SafeNet SoftRemoteLt on Windows 7</a><br /> <br /> 文章写得非常好,q英文不太好的兄弟们也可以完全LQ太兴奋了,我不得不把他贴出来?br /> 文章里将每一处小l节都讲得很CQ其实也是我们写教程的一个很好的典范?br /> <br /> 最后一步加路由的时候,作者肯定是x们肯定知道最基本的\q识,不过我要提醒一下朋友们的是Q?#8220;172.16.16.0”q个IP是你需要经qVPN讉K的IPQ所以请Ҏ你的实际情况改一下命令的q个地方?br /> <br /> <br /> ----------------------------------------以下是原?---------------------------------------<br /> <br /> <h2><a title="Permanent Link to SafeNet SoftRemoteLt on Windows 7" rel="bookmark">SafeNet SoftRemoteLt on Windows 7</a></h2> <p class="date">Posted by <a >CKret</a> on September 16, 2009</p> <div id="wmqeeuq" class="entrytext"> <div id="wmqeeuq" class="snap_preview"> <p>At our company we use SafeNets SoftRemoteLT VPN solution for secure communication with our DB servers.<br /> In Windows XP and Vista this works fine.</p> <p>Since the release of Windows 7 RC I’ve tried to get SoftRemoteLt working but have had no luck.<br /> That is until now…</p> <p>In this post I will show you how to configure Windows 7 and Virtual Windows XP Mode to route VPN traffic through XP.</p> <p>First you need to make sure you’ve got the prerequisits:<br /> <em>(Instructions for prerequisits are not covered by this post.)</em></p> <ul> <li>Windows 7 Professional or Ultimate <li>Intel® Virtualization Technology or AMD-V™ feature is enabled in BIOS <li>Windows Virtual PC RC <li>Windows XP Mode RC <li>SafeNet SoftRemoteLt installed on Virtual Windows XP.<br /> <em>These instructions should work for other clients as well.</em> <li>Make sure Internet<em> </em>and VPN is working.<em><br /> </em></li> </ul> <p><em>(Windows Virtual PC RC and Windows XP Mode RC can be downloaded from <a target="_blank">here</a>.)</em></p> <p>There are several things we need to configure on both Windows 7 (host) and Windows XP Mode (guest):</p> <ol> <li>Add a Loopback adapter to the host. <li>Configure the Loopback adapter. <li>Add a Virtual adapter to the guest. <li>Configure the Virtual adapter. <li>Disable Internet Connection Sharing and Firewall on the guest. <li>Enable routing on the guest. <li>Configure routing on the guest. <li>Configure routing on the host. </li> </ol> <p>Let’s get started then.</p> <h3>Add a Loopback adapter to the host</h3> <p>For the host to utilize the VPN located on the guest we need more than unidirectional communication.<br /> VPN traffic goes from the host to the guest, thrugh the VPN and out on the Internet.<br /> When receiving data the guest needs to be able to route it back to the host.<br /> Therefor we need another communication channel.</p> <ul> <li>Open up Device Manager and right click the root node. <li>Select “Add Legacy Hardware” then click “Next”. <li>Select “Install the hardware that I manually select from a list (Advanced)” and click “Next”. <li>Select “Network Adapters” then click “Next”. <li>In the left pane select “Microsoft”. <li>In the right pane select “Microsoft Loopback Adapter” then click “Next”. <li>On the confirmation screen click “Next”. <li>When the installation is finished, click “Finish”. </li> </ul> <p>Now you should have a new network adapter in the Network Connections.</p> <h3>Configure the Loopback adapter</h3> <p>Now it’s time to choose a subnet and IP address for your network connection.<br /> I chose a subnet that wouldn’t collide with my home or work networks.</p> <blockquote> <p>192.168.199.199 with subnet mask 255.255.255.0</p> </blockquote> <ul> <li>Open up the Network Connections. <li>Find the new network adapter.<br /> <em>Mine is called “Local Area Connection 4″.</em> <li>Right click the icon and select “Properties”. <li>Select “Internet Protocol Version 4 (TCP/IPv4)” then click “Properties”. <li>Select “Use the following IP address”. <li>Enter the IP address and subnet mask and click “OK”. <li>Click “OK”. </li> </ul> <p>We’re almost done configuring the host. However, before we can finish we will configure the guest.</p> <h3>Add a Virtual adapter to the guest</h3> <p>Before we start you’ll need to shut down Windows XP Mode completely. Hibernation will not work.</p> <ul> <li>Open up Virtual Machines. <li>Select “Windows XP Mode”. <li>Click “Settings”. <li>Select “Networking”. <li>Set the number of network adapters to 2. <li>For the second adapter, select “Microsoft Loopback Adapter” then click “OK”. </li> </ul> <p>Moving on…</p> <h3>Configure the Virtual adapter</h3> <p>For the Virtual Adapter we should now choose an IP address in the same range as we chose before:</p> <blockquote> <p>192.168.199.200 with subnet mask 255.255.255.0</p> </blockquote> <ul> <li>Start Windows XP Mode. <li>Open up Network Connections. </li> </ul> <p>You should now see two connections. Mine are called “Local Area Connection” and “Local Area Connection 2″.<br /> The first one is your “Internet Connection” and the second one is the “Loopback Connection”.</p> <ul> <li>Right click your “Loopback Connection” then select “Properties”. <li>Select “Internet Protocol (TCP/IP)” and click “Properties”. <li>Select “Use the following IP address”. <li>Enter the IP address and subnet mask and click “OK”. <li>Click “OK”. </li> </ul> <h3>Disable Internet Connection Sharing and Firewall on the guest</h3> <p>We need to create or own routing and we do not want windows to interfere with our setup.</p> <ul> <li>Open “Services”. <li>Find “Windows Firewall/Internet Connection Sharing (ICS)”. <li>Right click the node and select “Properties”. <li>Set “Startup type” to “Disabled” then click “Stop”. <li>Click “OK”. </li> </ul> <p>Don’t close “Services” just yet.</p> <h3>Enable routing on the guest</h3> <p>To enable routing we need to do two things:</p> <ul> <li>Start RegEdit. <li>Find the key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\IPEnableRouter” <li>The default value should be “0×00000000″, change it to “0×00000001″. <li>Close RegEdit. <li>Back in “Services” find “Routing and Remote Access”. <li>Right click the node and select “Properties”. <li>Set “Startup type” to “Automatic” then click “Start”. <li>Click “OK”. </li> </ul> <p>You may now close “Services”.<br /> At this point you might need to restart Windows XP Mode.</p> <h3>Configure routing on the guest</h3> <p>In this step we’ll set up the routing needed for the host to be able to communicate through the guests VPN.</p> <ul> <li>Start a “Command Prompt”. <li>Enter “netsh routing ip nat install”.<br /> <em>This will install NAT routing.</em> <li>Enter “netsh routing ip nat add interface “Local Area Connection” full”.<br /> <em>This will route traffic through your “Internet Connection”.</em> <li>Enter “netsh routing ip nat add interface “Local Area Connection 2″ private”.<br /> <em>This will route traffic through your “Loopback Connection”.</em> </li> </ul> <p>Guest is done! Only one more thing to do.</p> <h3>Configure routing on the host</h3> <p>You’ll need to know which subnet your VPN network is using.<br /> We will configure the routing so that all traffic meant for your VPN network goes through the “Loopback adapter”.<br /> Let’s say your VPN subnet is</p> <blockquote> <p>172.16.16.0 with netmask 255.255.255.0</p> </blockquote> <ul> <li>Start a “Command Prompt” as Administrator. (Run as Administrator). <li>Enter “route -p add 172.16.16.0 mask 255.255.255.0 192.168.199.200″<br /> <em>Note that 192.168.199.200 is the IP address of the guests Virtual Adapter we set earlier.</em> </li> </ul> <p>All done.</p> <p>From now on all you need to do is start SoftRemoteLt from the “Windows Virtual PC” folder in the Start Menu and you’re all set. </p> </div> </div> <img src ="http://www.aygfsteel.com/fastzch/aggbug/306045.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2009-12-15 18:14 <a href="http://www.aygfsteel.com/fastzch/archive/2009/12/15/306045.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>RAMDisk4GDVista休眠后蓝屏,朋友们慎?/title><link>http://www.aygfsteel.com/fastzch/archive/2009/12/08/305133.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Tue, 08 Dec 2009 03:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2009/12/08/305133.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/305133.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2009/12/08/305133.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/305133.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/305133.html</trackback:ping><description><![CDATA[<p>新入手X200Q这几天一直被一个问题困扎ͼ本本一休眠Q重启后q接进行蓝屏。在|上查了Q好多朋友都有类似的问题Q很多朋友都说可能是中毒Q驱动,BIOS讄有问题,甚至是硬件有问题Q还有一堆h在骂Lenovo把ThinkPadq个牌子搞砸了?br /> <br /> 依次排除法:<br /> 1Q中毒,我机器装的有RisingQ我觉得很不错,虽然很多不好Q我怿他,直接跌?br /> 2Q驱动,我试q重装显卡驱动,因ؓ一开始我昑֍驱动不对的时候,无法休眠Q我惌个可能有点关pR?br /> 3QBIOS讄Q我分别讄qSATA和Security chip的相兌|,都无法成功解冟?br /> 4Q硬仉题,我无法测试,但我怿我的火气不至那么好!<br /> <br /> 开启miniDumpQ收集日志。ƈ用WinDBG分析Q发?7号错误,|上的提C和Microsoft的分析均无法对应上?br /> 想了惻I自己先删掉我之前装的RamDisk4G试试?br /> <br /> 在我成功U除RamDisk4G建立的fix media后,重启QOKQ一切搞定!<br /> <br /> 看来想用?G的内存,q是?4位的OS比较靠谱Q?/p> <img src ="http://www.aygfsteel.com/fastzch/aggbug/305133.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2009-12-08 11:48 <a href="http://www.aygfsteel.com/fastzch/archive/2009/12/08/305133.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>在Debian里修改BIOS旉http://www.aygfsteel.com/fastzch/archive/2009/12/04/304784.htmlRobin's Programming WorldRobin's Programming WorldFri, 04 Dec 2009 07:59:00 GMThttp://www.aygfsteel.com/fastzch/archive/2009/12/04/304784.htmlhttp://www.aygfsteel.com/fastzch/comments/304784.htmlhttp://www.aygfsteel.com/fastzch/archive/2009/12/04/304784.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/304784.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/304784.html
1Q确?etc/default/rcs文g中的utc=yes?br /> 2Q用hwclock --directisa直接查看BIOS的时间是否正。如果不正确Q请其讑֮正确?br /> 3Q用hwclock --directisa --hctosys命oQ将pȝ旉同步成BIOS的时间?br /> 4Q用hwclock --directisa --systohc命oQ将BIOS旉同步成系l时间?br /> 5Qrebootpȝ查?nbsp;

注:命o中加?-directisa参数Q是Z避免可能出现以下错误Q?br /> select() to /dev/rtc to wait for clock tick timed out


Robin's Programming World 2009-12-04 15:59 发表评论
]]>
AIX知识一筐http://www.aygfsteel.com/fastzch/archive/2009/10/26/299740.htmlRobin's Programming WorldRobin's Programming WorldMon, 26 Oct 2009 02:52:00 GMThttp://www.aygfsteel.com/fastzch/archive/2009/10/26/299740.htmlhttp://www.aygfsteel.com/fastzch/comments/299740.htmlhttp://www.aygfsteel.com/fastzch/archive/2009/10/26/299740.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/299740.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/299740.html  netstat -Aan|grep 1158
 bash-3.00# netstat -Aan|grep 1158
f100060003082398 tcp4       0      0  *.1158             *.*                LISTEN
You have mail in /usr/spool/mail/root

bash-3.00# rmsock f100060003082398 tcpcb
The socket 0x3082008 is being held by proccess 372798 (java.bin).

2,TCPDUMP

tcpdump -i bond1 -v host 172.16.33.171 and 172.16.33.201 -w 1.cap

3,ERRPT
errpt -a -d H,S,O,U -t INFO,PEND,PERF,PERM,TEMP,UNKN -s 0701000009 -e 0801000009

4,NMONQ用于监控系l性能
nmon -f -t -s 1 -c 60

5,查看q程使用内存大小
svmon -P <pid> 可查看进E用内存的大小Q以page的方式显C,通过page=4KB.如:
svmon -P 1892392

ps aux 也可以看一些情?br /> ps -o "%p %P %r %z" -A q个也可以试?br />

6,create raw device command:

mklv -t jfs2 -y lv_abc -U oracle -G oinstall datavg 1

create tablespace ABC_TEST
 datafile '/dev/rlv_abc' size 100m ,
 autoextend on next 2M maxsize 256m
 extent management local uniform size 512K;
 
create tablespace ROBIN_TEST
 datafile '/dev/rlv_robintest' size 500m,'/dev/rlv_hisdata' size 2000m;
 
-----------IBM reference start:-----------
<1>. 用mklv命o讑֤Q语法ؓQ?
mklv -t jfs -y 讑֤?-U 用户?-G l名 vg?lv大小 盘
例如Q?mklv -t jfs -y contest -U db2inst1 -G db2iadm1 rootvg 10 hdisk0

<2>. 然后创徏表空?
1). q接数据?
2). 创徏表空_注意在命令中要在加引P
db2 "create tablespace 表空间名 managed by database using (device 裸设备名及\?大小)"
例如Q?db2 "create tablespace tptest managed by database using (device '/dev/rcontest' 80M)" ?
db2 "create tablespace tptest managed by database using (device '/dev/rcontest' 20000)"
注意裸设备的名字Q以上面例子ZQmklv时用contest为lv名称Q创I间时则应用对应的裸设备名Urcontest?
裸设备的大小计算Ҏ为:
首先用命令lslv lv名看PP Size大小Q再用PP Size乘以lv大小。如PP Size?MQlv大小?0Q裸讑֤大小?0M(80M/4K=20000??


问题 怎么监视裸设备I/O?
解答 sar命o中的“-b”选项能用于监视裸讑֤I/O。裸讑֤一般用于存放数据库数据?
# sar -b 1 3
AIX 6f1 3 4 00023A0F4C00 06/19/02
18:16:30 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
18:16:31 0 0 0 0 0 0 0 0
18:16:32 0 0 0 0 0 0 0 0
18:16:33 0 0 0 0 0 0 0 0
Average 0 0 0 0 0 0 0 0
其中bread/s 和bwrit/s昄了块裸设备(block raw device)I/O操作的数目。pread/s 和pwrit/s昄了字W裸讑֤(character raw device)I/O操作的数?
-----------IBM reference end:-----------



Robin's Programming World 2009-10-26 10:52 发表评论
]]>
Redhat 5 configure XDMCP supporthttp://www.aygfsteel.com/fastzch/archive/2009/09/30/297016.htmlRobin's Programming WorldRobin's Programming WorldWed, 30 Sep 2009 06:34:00 GMThttp://www.aygfsteel.com/fastzch/archive/2009/09/30/297016.htmlhttp://www.aygfsteel.com/fastzch/comments/297016.htmlhttp://www.aygfsteel.com/fastzch/archive/2009/09/30/297016.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/297016.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/297016.htmlMethod 1:
1,vi /etc/gdm/custom.conf
[xdmcp]
Enable=ture
[security]
AllowRemoteRoot=true

2,Reboot computer.

Method 2:
1,Logon to server's graphic interface by monitor or VNC.
2,Run gdmsetup, and change related configuration.
3,Reboot computer.



Robin's Programming World 2009-09-30 14:34 发表评论
]]>
Solaris 10 安装日志http://www.aygfsteel.com/fastzch/archive/2009/08/06/290011.htmlRobin's Programming WorldRobin's Programming WorldWed, 05 Aug 2009 16:35:00 GMThttp://www.aygfsteel.com/fastzch/archive/2009/08/06/290011.htmlhttp://www.aygfsteel.com/fastzch/comments/290011.htmlhttp://www.aygfsteel.com/fastzch/archive/2009/08/06/290011.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/290011.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/290011.html阅读全文

Robin's Programming World 2009-08-06 00:35 发表评论
]]>
AIXpȝ中安装Java6全过E(带文本截图)http://www.aygfsteel.com/fastzch/archive/2009/06/04/279985.htmlRobin's Programming WorldRobin's Programming WorldThu, 04 Jun 2009 03:26:00 GMThttp://www.aygfsteel.com/fastzch/archive/2009/06/04/279985.htmlhttp://www.aygfsteel.com/fastzch/comments/279985.htmlhttp://www.aygfsteel.com/fastzch/archive/2009/06/04/279985.html#Feedback3http://www.aygfsteel.com/fastzch/comments/commentRss/279985.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/279985.html

一Q安装JAVA6

1Q用root用户d到AIXpȝ中?br /> 2Q用如下命令确定操作系l位敎ͼ
  bootinfo -k
  如果l果为:3Q则表示AIXpȝ?2位,请勿安装64位的JVM?br /> 3Q用mkdir /tmp/jvm命o建立一个目录,q将Java6.sdkQ如果是64位的AIXQ推荐选用Java6_64.sdkQ用FTP上传?tmp/jvm目录中?br /> 4Q键入smit命oQ进入如下画面:
                                         System Management

Move cursor to desired item and press Enter.

  Software Installation and Maintenance
  Software License Management
  Devices
  System Storage Management (Physical & Logical Storage)
  Security & Users
  Communications Applications and Services
  Print Spooling
  Advanced Accounting
  Problem Determination
  Performance & Resource Scheduling
  System Environments
  Processes & Subsystems
  Applications
  Installation Assistant
  Cluster Systems Management
  Using SMIT (information only)

                    
F1=Help                  F2=Refresh               F3=Cancel                Esc+8=Image
Esc+9=Shell              Esc+0=Exit               Enter=Do                   
4Q选择Software Installation and MaintenanceQƈ按回车(ENTERQ键Q进入如下画面:
                               Software Installation and Maintenance

Move cursor to desired item and press Enter.

  Install and Update Software
  List Software and Related Information
  Software Maintenance and Utilities
  Software Service Management
  Network Installation Management
  EZ NIM (Easy NIM Tool)
  System Backup Manager
  Alternate Disk Installation
  EFIX Management
  Thin Server Maintenance
 
                       
F1=Help                  F2=Refresh               F3=Cancel                Esc+8=Image
Esc+9=Shell              Esc+0=Exit               Enter=Do                  

5Q选择Install and Update SoftwareQƈ按回车(ENTERQ键Q进入如下画面:
                                    Install and Update Software

Move cursor to desired item and press Enter.

  Install Software
  Update Installed Software to Latest Level (Update All)
  Install Software Bundle
  Update Software by Fix (APAR)
  Install and Update from ALL Available Software
 
 
                     
F1=Help                  F2=Refresh               F3=Cancel                Esc+8=Image
Esc+9=Shell              Esc+0=Exit               Enter=Do

6Q选择Install SoftwareQƈ按回车(ENTERQ键Q进入如下画面:
                                          Install Software

Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
* INPUT device / directory for software              []                                 +
 
 

F1=Help                  F2=Refresh               F3=Cancel                F4=List
Esc+5=Reset              Esc+6=Command            Esc+7=Edit               Esc+8=Image
Esc+9=Shell              Esc+0=Exit               Enter=Do   

7Q在INPUT device / directory for software栏中输入/tmp/jvm/Qƈ按回车(ENTERQ键Q进入如下画面:
                                          Install Software

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
* INPUT device / directory for software               /tmp/jvm/
* SOFTWARE to install                                [_all_latest]                               +
  PREVIEW only? (install operation will NOT occur)    no                                         +
  COMMIT software updates?                            yes                                        +
  SAVE replaced files?                                no                                         +
  AUTOMATICALLY install requisite software?           yes                                        +
  EXTEND file systems if space needed?                yes                                        +
  OVERWRITE same or newer versions?                   no                                         +
  VERIFY install and check file sizes?                no                                         +
  Include corresponding LANGUAGE filesets?            yes                                        +
  DETAILED output?                                    no                                         +
  Process multiple volumes?                           yes                                        +
  ACCEPT new license agreements?                      no                                         +
  Preview new LICENSE agreements?                     no                                         +

 

F1=Help                  F2=Refresh               F3=Cancel                F4=List
Esc+5=Reset              Esc+6=Command            Esc+7=Edit               Esc+8=Image
Esc+9=Shell              Esc+0=Exit               Enter=Do      

8Q将ACCEPT new license agreements?的值改为yes?可按F4Q在弹出菜单中选择)。画面如下:
                                   Install Software

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
* INPUT device / directory for software               /tmp/jvm
* SOFTWARE to install                                [_all_latest]                +
  PREVIEW only? (install operation will NOT occur)    no                          +
  COMMIT software updates?                            yes                         +
  SAVE replaced files?                                no                          +
  AUTOMATICALLY install requisite software?           yes                         +
  EXTEND file systems if space needed?                yes                         +
  OVERWRITE same or newer versions?                   no                          +
  VERIFY install and check file sizes?                no                          +
  Include corresponding LANGUAGE filesets?            yes                         +
  DETAILED output?                                    no                          +
  Process multiple volumes?                           yes                         +
  ACCEPT new license agreements?                      yes                         +
  Preview new LICENSE agreements?                     no                          +
    
    
    
F1=Help              F2=Refresh            F3=Cancel             F4=List        
Esc+5=Reset          Esc+6=Command         Esc+7=Edit            Esc+8=Image    
Esc+9=Shell          Esc+0=Exit            Enter=Do     

9Q确认无误后Q按回RQENTERQ键Q进入如下画面:
                                   Install Software

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
* INPUT device / directory for software               /tmp/jvm
* SOFTWARE to install                                [_all_latest]                +
  PREVIEW only? (install operation will NOT occur)    no                          +
  COMMIT software updates?                            yes                         +
  SAVE replaced files?                                no                          +
  AUTOMATICALLY install requisite software?           yes                         +
  EXTEND file systems if space needed?                yes                         +
  OVERWRITE same or newer versions?                   no                          +
  VER+--------------------------------------------------------------------------+ +
  Inc|                              ARE YOU SURE?                               | +
  DET|                                                                          | +
  Pro| Continuing may delete information you may want                           | +
  ACC| to keep.  This is your last chance to stop                               | +
  Pre| before continuing.                                                       | +
     |     Press Enter to continue.                                             |
     |     Press Cancel to return to the application.                           |
     |                                                                          |
F1=He| F1=Help                 F2=Refresh              F3=Cancel                |
Esc+5| Esc+8=Image             Esc+0=Exit              Enter=Do                 |
Esc+9+--------------------------------------------------------------------------+

10Q直接按回RQENTERQ键Q等待安装结束。画面如下:
                                          COMMAND STATUS

Command: running       stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

[MORE...6]
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.
 
  Selected Filesets
  -----------------
  Java6.sdk 6.0.0.110                         # Java SDK 32-bit
 
  << End of Success Section >>               
 
FILESET STATISTICS
------------------
    1  Selected to be installed, of which:
        1  Passed pre-installation verification
  ----
    1  Total to be installed
 
+-----------------------------------------------------------------------------+
                         Installing Software...
+-----------------------------------------------------------------------------+
                        
installp:  APPLYING software for:
        Java6.sdk 6.0.0.110

       
. . . . . << Copyright notice for Java6.sdk >> . . . . . . .
 Licensed Materials - Property of IBM

 620700106
   Copyright International Business Machines Corp. 2007, 2009.
   Copyright The Apache Software Foundation, 1999.
   Copyright Sun Microsystems, Inc. 1992, 1997.
  
 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for Java6.sdk >>. . . .
 

[BOTTOM]

11Q安装结束后出现如下画面Q?br />                                           COMMAND STATUS

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

[MORE...27]
        1  Passed pre-installation verification
  ---- 
    1  Total to be installed
   
+-----------------------------------------------------------------------------+
                         Installing Software...
+-----------------------------------------------------------------------------+

installp:  APPLYING software for:
        Java6.sdk 6.0.0.110
       
       
. . . . . << Copyright notice for Java6.sdk >> . . . . . . .
 Licensed Materials - Property of IBM
 
 620700106
   Copyright International Business Machines Corp. 2007, 2009.
   Copyright The Apache Software Foundation, 1999.
   Copyright Sun Microsystems, Inc. 1992, 1997.
  
 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for Java6.sdk >>. . . .

Restoring files, please wait.
997 files restored.
1361 files restored.
2127 files restored.
2431 files restored.
2725 files restored.
Finished processing all filesets.  (Total time:  3 mins 24 secs).

+-----------------------------------------------------------------------------+
                                Summaries:
+-----------------------------------------------------------------------------+

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
Java6.sdk                   6.0.0.110       USR         APPLY       SUCCESS
Java6.sdk                   6.0.0.110       ROOT        APPLY       SUCCESS

[BOTTOM]

F1=Help                                     F2=Refresh                                  F3=Cancel                                   Esc+6=Command
Esc+8=Image                                 Esc+9=Shell                                 Esc+0=Exit                                  /=Find
n=Find Next    

12Q安装验证,使用如下命oQ?br />  /usr/java6/bin/java -version

得到如下l果Q说明安装正完成?br /> java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260sr4ifix-20090417_02(SR4+IZ48590))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr4ifx-20090409_33254 (JIT enabled, AOT enabled)
J9VM - 20090409_033254_bHdSMr
JIT  - r9_20090213_2028
GC   - 20090213_AA)
JCL  - 20090228_01

 

二,环境变量配置Q?br /> 1Q由于AIX在安装的q程中,会默认安装JAVA1.4Q所以需要先删除/etc/environment文g中,PATH环境变量中的/usr/java14/jre/bin:/usr/java14/bin?br /> 2Q编?etc/profile文gQ在PATH变量中,加入/usr/java6/jre/bin:/usr/java6/bin两项Qƈ在文件未֊上如下一行:
 export JAVA_HOME=/usr/java6
3Q重新用root用户dQ以使环境变量生效?br /> 4Q验证,使用java -version命oQ得到如下结果:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260sr4ifix-20090417_02(SR4+IZ48590))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr4ifx-20090409_33254 (JIT enabled, AOT enabled)
J9VM - 20090409_033254_bHdSMr
JIT  - r9_20090213_2028
GC   - 20090213_AA)
JCL  - 20090228_01



Robin's Programming World 2009-06-04 11:26 发表评论
]]>
AIX清除LED感叹?!)?/title><link>http://www.aygfsteel.com/fastzch/archive/2009/02/20/255675.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Thu, 19 Feb 2009 16:09:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2009/02/20/255675.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/255675.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2009/02/20/255675.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/255675.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/255675.html</trackback:ping><description><![CDATA[不多说了Q直接看SMIT的过E吧Q?br />smit diag<br />current shell diagnostics> task selection>Identify and attention indicators>Set System Attention Indicator to NORMAL<br />此时LED感叹?!)灯便会熄灭?br /><br />需要多说一句的是,清除此告警灯之前Q确定你的机器的告警信息已经处理掉了Q否则就失去讄此灯的意义了?br /><br /><br />以下内容来自互联|资料:<br />---------------------------------------------<br /><span id="wmqeeuq" class="bold">aix LED 甉|灯黄色警告怎么关闭Q?/span><br /><br /><div id="wmqeeuq" class="t_msgfont" id="message2868464">1、输入命?diag<br />2、选择 Task Selection.<br />3、选择Log Repair Action.<br />4. Select the device that was repaired.Q直接在W一回车选择卛_Q按F7提交执行Q?br />5. Press F10 to exit diagnostics.<br /><br /><br />If the attention LED remains on after you have completed the repair action and reset<br />the LEDs, call for service support.</div><br /><br /><br /><font color="#ff0000" size="2">特别提示Q?br />本Blog所有内容不得随意{载,版权属于作者所有。如需转蝲请与作者联p(</font><a href="mailto:fastzch@163.com"><font style="BACKGROUND-COLOR: #ffffff" color="#ff0000" size="2">fastzch@163.com</font><font color="#1a8bc8"></font></a><font style="BACKGROUND-COLOR: #ffffff" color="#ff0000" size="2">Q。未l许可的转蝲Q本Z留一切法律权益?/font><br /><img src ="http://www.aygfsteel.com/fastzch/aggbug/255675.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2009-02-20 00:09 <a href="http://www.aygfsteel.com/fastzch/archive/2009/02/20/255675.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>RedHat Enterprise Linux 5 中文字体安装http://www.aygfsteel.com/fastzch/archive/2009/01/12/250956.htmlRobin's Programming WorldRobin's Programming WorldMon, 12 Jan 2009 05:26:00 GMThttp://www.aygfsteel.com/fastzch/archive/2009/01/12/250956.htmlhttp://www.aygfsteel.com/fastzch/comments/250956.htmlhttp://www.aygfsteel.com/fastzch/archive/2009/01/12/250956.html#Feedback9http://www.aygfsteel.com/fastzch/comments/commentRss/250956.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/250956.htmlRedHat Enterprise Linux 5是RedHat新出的版本,现在需要在RHEL5下面用到一些中文的东西QNNDQ发C文全是方框框Q怎么办?重装QNOQ经q仔l分析,发现是没有支持中文的字体Q所以我想了惻I把我Vista下面的“宋?amp;新宋体”更C厅R过E如下:
1,cd /usr/share/fonts
2,mkdir truetype
3,cd truetype
4,mkdir simsun
5,使用FTP或SFTPVista下的simsun.tcc文g传到/usr/share/fonts/truetype/simsun/目录?br />6,执行 mkfontscale
   生成了fonts.scale文g
7,执行 mkfontdir
   生成了fonts.dir文g
8,chkfontpath --add /usr/share/fonts/truetype/simsun/
9,service xfs reload
此时Q用Window方式dQ语a选择中文Q即可正显CZ文了?br />



Robin's Programming World 2009-01-12 13:26 发表评论
]]>
Fedora Core 8 使用l验?不断更新)http://www.aygfsteel.com/fastzch/archive/2008/01/30/178502.htmlRobin's Programming WorldRobin's Programming WorldWed, 30 Jan 2008 05:00:00 GMThttp://www.aygfsteel.com/fastzch/archive/2008/01/30/178502.htmlhttp://www.aygfsteel.com/fastzch/comments/178502.htmlhttp://www.aygfsteel.com/fastzch/archive/2008/01/30/178502.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/178502.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/178502.html1QFedora 8里面没有groupadd命oQ这点很奇怪,NFedora目l的为大家几乎不用这个命令?
不是Q原来是你必droot用户下才能用这个命令?br />
2Q用mount命o直接挂蝲一个ISO文gQ示例如下:
mount Qo loop fc8.iso /mnt/fc8

3,FTP(VSFtpd)服务默认不让root用户讉K的解军_法:
L/usr/vsftpd/user_list文g中的“root”那一行?br />在这个文件中的用h被禁止的?br />


Robin's Programming World 2008-01-30 13:00 发表评论
]]>
Fedora Core 8配置SAMBA服务成功http://www.aygfsteel.com/fastzch/archive/2008/01/24/177493.htmlRobin's Programming WorldRobin's Programming WorldThu, 24 Jan 2008 06:29:00 GMThttp://www.aygfsteel.com/fastzch/archive/2008/01/24/177493.htmlhttp://www.aygfsteel.com/fastzch/comments/177493.htmlhttp://www.aygfsteel.com/fastzch/archive/2008/01/24/177493.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/177493.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/177493.html
1、用yum命o来安装或更新你的SAMBA包?br />      yum install samba
2、samba的配|文件在如下
      /etc/samba/smb.conf
      修改光|如下:
#======================= Global Settings =====================================

[global]

# ----------------------- Netwrok Related Options -------------------------
#
# workgroup 
= NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect
, and you can
# specifiy it as a per share option as well
#
    workgroup 
= robin
    server string 
= MYSERVER

    netbios name 
= MYSERVER

;    hosts allow = 127. 192.168.

# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach

    # logs split per machine
    log file 
= /var/log/samba/log.%m
    # max 50KB per log file
, then rotate
    max log size 
= 50

# ----------------------- Standalone Server Options ------------------------
#
# Scurity can be set to user
, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should 
# use either tdbsam or ldapsam. smbpasswd is available for backwards 
# compatibility. tdbsam requires no further configuration.

    security 
= share
;    encrypt passwords = yes
    guest ok = yes
    guest account 
= root




#
============================ Share Definitions ==============================

[homes]
    comment 
= Home Directories
    browseable 
= no
    writable 
= yes
;    valid users = %S
;
    valid users = MYDOMAIN\%S

[printers]
    comment 
= All Printers
    path 
= /var/spool/samba
    browseable 
= no
;    guest ok = no
;
    writable = No
    printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
;    [netlogon]
;
    comment = Network Logon Service
;
    path = /var/lib/samba/netlogon
;
    guest ok = yes
;
    writable = no
;
    share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;    [Profiles]
;
    path = /var/lib/samba/profiles
;
    browseable = no
;
    guest ok = yes


# A publicly accessible directory
, but read only, except for people in
# the 
"staff" group
;    [public]
;
    comment = Public Stuff
;
    path = /home/samba
;
    public = yes
;
    writable = yes
;
    printable = no
;
    write list = +staff

[temp]
    path 
= /root/temp
    writeable 
= yes
;    browseable = yes
    guest ok = yes

3、重启SAMBA服务
      /etc/init.d/smb restart

4、Enjoy

PS:Fedora Core从V2起都有预装SELinuxQ这个不会配|的可以先把她关掉,关闭的方法如下:
      修改/etc/selinux/config文g中的SELINUX="" ?disabled Q然后重启FC

Robin's Programming World 2008-01-24 14:29 发表评论
]]>
不会安装solaris的兄弟姐妹们有福?/title><link>http://www.aygfsteel.com/fastzch/archive/2008/01/22/176877.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Mon, 21 Jan 2008 16:31:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2008/01/22/176877.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/176877.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2008/01/22/176877.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/176877.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/176877.html</trackback:ping><description><![CDATA[ <p> <font style="BACKGROUND-COLOR: #b7e8bd">夜己深,我还在网上闲逛,在家里其实很有q样的心情来学习一些东西和上网看看资料?br />闲逛中发现了Solaris安装宝典Q所以拿来与大家׃n?br /><br />有空的朋友可以下载下来安装一下,Z也学习一下?br />q段旉老在|上看到“如果没有D版的WINDOWS可用怎么办?”的讨论?br />q有做开发的朋友我想也应该经常看到招聘条件上d着熟悉Linux或Unixpȝ之类的话?br /><br />不多说了Q文件下载地址如下Q?br /><a >http://events.csdn.net/solaris/solaris10/article/0_booksolaris.exe</a><br /><br />PSQ前D|间操作一套客L环境Q全是solaris的OSQ搞得我现在惌v退格的时候都q只往DELETE键上按?/font> </p> <img src ="http://www.aygfsteel.com/fastzch/aggbug/176877.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2008-01-22 00:31 <a href="http://www.aygfsteel.com/fastzch/archive/2008/01/22/176877.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux&Unit命o学习(? http://www.aygfsteel.com/fastzch/archive/2008/01/21/176869.htmlRobin's Programming WorldRobin's Programming WorldMon, 21 Jan 2008 15:58:00 GMThttp://www.aygfsteel.com/fastzch/archive/2008/01/21/176869.htmlhttp://www.aygfsteel.com/fastzch/comments/176869.htmlhttp://www.aygfsteel.com/fastzch/archive/2008/01/21/176869.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/176869.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/176869.html最q两周,一直在做一些VBA的事情,一直想把工作用的系l切换到Linuxq_Q但是还是没有办法做到完整的切换。但l箋学习Linux命o不会止步Q我会l努力?br />
2008.1.21.
本周来学习后台命令:
cron pȝ调度q程。用它在每天或一个@环周期中完成作业?br />At 使用它在一个特定的旉q行一些特D的作业?br />Q 使用它在后台q行一个占用时间不长的q程?br />Nohup 使用它在后台q行一个命令,即用户退出时也不受媄响?br />
crontab命o允许用户提交、编辑或删除相应的作业。每一个用户都可以有一个crontab文g来保存调度信息,pȝ理员通过cron.deny和cron.allowq两个文件来止或允许用h有自qcrontab文g?br />crontab的域Q?br />分钟 时 日 月 星期 要运行的命o
可以用-来表CZ个时间范_域中可以用逗号(,)表示多个选项Q用Q表Cl的旉Dc?br />命o格式Qcrontab [-u user] -e -l -r

根用户可以通过/etc目录下的at.allow和at.deny文g来控制哪些用户可以用at命oQ哪些用户不行?br />at命o格式Qat [-f script] [-m -l -r] [time] [date]

nohup命o格式Qnohup command &
默认会将该作业的所有输出重定向C个名为nohup.out的文件中Q可以指定输出文Ӟ如下Q?br />nohup command >myout.file 2>&1



Robin's Programming World 2008-01-21 23:58 发表评论
]]>
Linux&Unit命o学习(?http://www.aygfsteel.com/fastzch/archive/2007/12/28/171069.htmlRobin's Programming WorldRobin's Programming WorldFri, 28 Dec 2007 01:33:00 GMThttp://www.aygfsteel.com/fastzch/archive/2007/12/28/171069.htmlhttp://www.aygfsteel.com/fastzch/comments/171069.htmlhttp://www.aygfsteel.com/fastzch/archive/2007/12/28/171069.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/171069.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/171069.htmlLinux&Unit命o学习的计划已l有两周停止了,原因很简单,12?1Q?4号去参加BEA World 2007大会Q以及回来后的一周在处理很多落下的事Q所以一直没l箋学习ȝQ不q这周幸好都在操作solaris。我一向都认ؓ学东西必要l合实践Q最好有实际的实战。慢慢来补上落下的学习内容吧?br />
链接Q?a title="Linux&Unit命o学习 " href="/fastzch/archive/2007/11/26/163138.html" target="_blank">Linux&Unit命o学习

2007.12.28
find命o的一般Ş式ؓQ?br />find pathname -options [-print -exec -ok]
-exec表示命o对匹配的文g执行该参数所l出的shell命o。相应的形式?command' {} \;
-ok?exec差不多,但执行前会提C用L定是否执行?br />options有很多选项Q其中有以下一些项目:name,perm,prune,user,group,mtime -n +n,nogroup,nouser,newer file1 !file2(查找更改旉比文件file1C比文件file2旧的文g),type,size n[c],depth,fstype,mount,follow,cpio(对匹配的文gq行备䆾Q到带讑֤?.

样例Q?br />查找文g名以a或b开头的Q可执行文gQƈ调用ls命o昄其详l信?br />find . -name '[a-b]*' -perm 755 -exec ls -l {} \;
查找更改旉?天内的文?br />find . -mtime -5
列出所有的目录?br />find . -type d


xargs可以使用户对所匚w到的文g执行几乎所有的命oQ而不会受到命令长度的限制。如Q?br />find . -name '*.txt' -type f|xargs grep "ttt"
搜烦所有txt文gQƈ扑ևq些文档中存在ttt字串的文件?/p>

Robin's Programming World 2007-12-28 09:33 发表评论
]]>
Solaris下Lynx的安?/title><link>http://www.aygfsteel.com/fastzch/archive/2007/12/26/170567.html</link><dc:creator>Robin's Programming World</dc:creator><author>Robin's Programming World</author><pubDate>Wed, 26 Dec 2007 05:35:00 GMT</pubDate><guid>http://www.aygfsteel.com/fastzch/archive/2007/12/26/170567.html</guid><wfw:comment>http://www.aygfsteel.com/fastzch/comments/170567.html</wfw:comment><comments>http://www.aygfsteel.com/fastzch/archive/2007/12/26/170567.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fastzch/comments/commentRss/170567.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fastzch/services/trackbacks/170567.html</trackback:ping><description><![CDATA[ <p>q两天上U一套系l,客户提供一堆Solaris的服务器l我Q但是有严格的firewareQ我只能通过一个蟩板式的ServerL作其它ServerQ全是文本界面,D我上U系l不知道是不是真的有装好Q所以我需要验证一下,怎么办?q是用text browser吧,q次我选用的是LynxQ其官方|站为:<a >http://lynx.isc.org/</a><br />我选用的版本是QLynx 2.8.5<br /><br />1、先下蝲ZIP档,然后用unzip 命o解压?br />$unzip lynx-2.8.5.zip<br />2、进入安装目录:<br />$cd lynx-2-8-5<br /><br />3、安装命令如下:</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">./</span> <span style="COLOR: #000000">configure </span> <span style="COLOR: #000000">--</span> <span style="COLOR: #000000">prefix</span> <span style="COLOR: #000000">=/</span> <span style="COLOR: #000000">usr </span> <span style="COLOR: #000000">--</span> <span style="COLOR: #000000">libdir</span> <span style="COLOR: #000000">=/</span> <span style="COLOR: #000000">etc </span> <span style="COLOR: #000000">--</span> <span style="COLOR: #000000">without</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">ssl </span> <span style="COLOR: #000000">--</span> <span style="COLOR: #000000">with</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">zlib </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />make </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />make install </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />make DOCDIR</span> <span style="COLOR: #000000">=/</span> <span style="COLOR: #000000">usr</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">share</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">doc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">2</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">8</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">5</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx_doc </span> <span style="COLOR: #000000">\</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />   HELPDIR</span> <span style="COLOR: #000000">=/</span> <span style="COLOR: #000000">usr</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">share</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">doc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">2</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">8</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">5</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx_help install</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">doc </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />make DOCDIR</span> <span style="COLOR: #000000">=/</span> <span style="COLOR: #000000">usr</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">share</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">doc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">2</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">8</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">5</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx_doc </span> <span style="COLOR: #000000">\</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />   HELPDIR</span> <span style="COLOR: #000000">=/</span> <span style="COLOR: #000000">usr</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">share</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">doc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">2</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">8</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #800000">5</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx_help install</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">help </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />sed s</span> <span style="COLOR: #000000">/</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">"</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">t\/etc</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">"</span> <span style="COLOR: #000000">/</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">"</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">t\/usr\/share\/doc\/lynx\-2\-8\-5</span> <span style="FONT-WEIGHT: bold; COLOR: #000000">"</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">\</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />   </span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">etc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">.</span> <span style="COLOR: #000000">cfg </span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">etc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">.</span> <span style="COLOR: #000000">bak </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />mv </span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">etc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">.</span> <span style="COLOR: #000000">bak </span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">etc</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">lynx</span> <span style="COLOR: #000000">.</span> <span style="COLOR: #000000">cfg</span> </div> <p>安装旉要GCC支持Q也需要SSL支持(可?Q上面这个命令就是不带SSL支持的?br />要想带SSL支持的话Q把命o中的--without-ssl改ؓ--with-ssl卛_?br /><br />4、执行命令测试:<br />$lynx http://localhost:7001/console<br />看看WLS的控制台是不是出来了Q?br /><br />详细的安装文档可以查看安装包中的<em>INSTALLATION</em>文g?br />我有试过Q在linux下面安装也完全相同,我用的是liunx FC5?br /><br /><strong>附:</strong><br />一?strong>如果目前的Solaris环境中没有安装GCCQ可以参考下面的步骤Q?br /></strong>1 取得针对操作pȝ和操作系l版本保持一致的GCC软g <br />如果你要在Solaris 9上用GCCQ要取得相映的GCC <br /><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/gcc_small-3.3.2-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/gcc_small-3.3.2-sol9-sparc-local.gz</a><br />  <br />2 解压~?<br />.gz表示是这是一个经qGZIP压羃q的文g。需要用gzip/gunzip软g首先解压~?<br />$ gunzip gcc_small-3.3.2-sol9-sparc-local.gz<br />   <br />3 安装 <br />解压~之后的是安装包。在solaris操作pȝ中安装包有一套专门的命o和程?<br />#pkgadd -d ./gcc_small-3.3.2-sol9-sparc-local.gz<br />在接下来的安装中Q会有一个交互性安装过E?<br />   <br />4 调试 <br />以gcc-3.3.2ZQGCC~省安装的\径ؓ/usr/local/binQ这个\径可能不?<br />用户的PATH变量表示的范围内Q所以需要对PATH变量更新Q方便用GCC?<br />对用csh的用P <br />% setenv PATH=$PATH:/usr/local/bin<br />对用sh的用P <br />$ PATH=$PATH:/usr/local/bin<br />$ export PATH <br /><br />二?strong>如果提示 "make not found"<br /></strong>make是装?usr/ccs/bin/make<br />$PATH=$PATH:/usr/ccs/bin<br />$export PATH <br /><br />三?strong>如何查看OpenSolaris/Solaris的版本信?<br /></strong>通常的“uname -a"命o可以知道Solaris的版?<br />想知道是哪一个Solaris Update版本Q可以查?etc/release文g?br />对于曄使用qOpensolaris的BFU升的用P应该查看/etc/motd文g?br /><br /><u>Solaris版本        SunOS内核版本        发布日期                                                  介                     ?/u><br />Solaris 10              SunOS 5.10              2005q??1日     包括DTrace (动态跟t?, Solaris Containers, Service Management Facility<br />                                                                                             SMF取代了传l的UNIX的init.d脚本, 和iSCSI支持?br />                                                                                             ZGnome的Java Desktop System作ؓ默认桌面, q包含了CDE。?<br />Solaris 9                 SunOS 5.9                 2002q??2日 ?最q的更新是Solaris 9 9/05  <br />Solaris 8                 SunOS 5.8                 200q?月             包括Multipath I/O. 引入Role-Based Access Control (RBAC)功能。?br />                                                                                             最q的更新是Solaris 8 2/04. [2]  <br />Solaris 7                 SunOS 5.7                 1998q?1月         第一?4位版本。[3]  <br />Solaris 2.6              SunOS 5.6                 1997q?月         ?包括Kerberos 5, PAM, TrueType字体, WebNFS [4]  <br />Solaris 2.5.1           SunOS 5.5.1              1996q?月         ?用户ID(uid_t)扩展?2-bits。[5]  <br />Solaris 2.5              SunOS 5.5                 1995q?1月         首先支持Ultra 1q包含了CDE [6]  </p> <p>SUN对Solaris 7和Solaris 2.6已经不再销售但仍旧提供支持。更早期的版本已l没有支持?/p> <img src ="http://www.aygfsteel.com/fastzch/aggbug/170567.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fastzch/" target="_blank">Robin's Programming World</a> 2007-12-26 13:35 <a href="http://www.aygfsteel.com/fastzch/archive/2007/12/26/170567.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux&Unit命o学习http://www.aygfsteel.com/fastzch/archive/2007/11/26/163138.htmlRobin's Programming WorldRobin's Programming WorldMon, 26 Nov 2007 12:38:00 GMThttp://www.aygfsteel.com/fastzch/archive/2007/11/26/163138.htmlhttp://www.aygfsteel.com/fastzch/comments/163138.htmlhttp://www.aygfsteel.com/fastzch/archive/2007/11/26/163138.html#Feedback0http://www.aygfsteel.com/fastzch/comments/commentRss/163138.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/163138.html前两天在同事的帮助下用Liunx的命令帮另一同事搞定了一个小需求,使他们的工作更方便了。让我觉得LiunxQUnix的命令太强大了,所以我惌好好的学习一下,׃每周要做的事情比较多Q就规定自己每周学习一个命令好了?br />像帮我的那位同事说的一P没事他就在AIX下用man来一个个的看q些命oQ我觉得q个Ҏ好,先试着采用一下,然后再来解决一些问题?br />
2007.11.26
q周先从ls命o学vQ正好早上也在帮同事用这个命令解决问题?br />以下是比较有用的一些操作:
ls -lS   按文件的大小排序
ls -lS --block-size=1K 文件信息以K为大单位排序列?br />ls -F 文g后面跟一个类型符Q?”表C可执行的普通文Ӟ?”表C目录;“@”表C符号链接;“|”表CFIFOsQ?”表C套接字(sockets)Q?br />
2007.12.3
上周后来又学了很多命令,如下Q记录在此:
chmod 改变文g权限Q会l常用到的?br />chmod [who] operator [permission] filename    chmod命o的相Ҏ?br />chmod [mod] file                                             chmod命o的绝Ҏ式,我更喜欢q种模式

chown改变文g属主
chown -R -h owner file
-h表示在改变符号链接文件的属主时不影响该链接所指向的目标文?br />
chgrp改变文g所属的l?br />chgrp groupname filename

扑և用户所属的l可以用group和id命o

软链接命令ln
ln [-s] source_path target_path
常用的场景可能是目录太深Q一份文Ӟ多h看;应用E序的日志,指定C个自己想要的目录Q可以徏一个指向该目录的链接,q个用法可能最实用Q也用得最多,例如QWAS指定LOG的目录ؓ/opt/webshpere/profile/server1/log/Q我x日志都写?usr/log/中,可以用这L命oQ?br />ln /opt/websphere/profile/server1/log/ /usr/log/
q样OK了,呵呵Q好强呀!q个Windows下面肯定是不支持的?br />
cd ~ q个是回到用L默认目录



Robin's Programming World 2007-11-26 20:38 发表评论
]]>
奇怪的nohuphttp://www.aygfsteel.com/fastzch/archive/2007/11/01/157502.htmlRobin's Programming WorldRobin's Programming WorldThu, 01 Nov 2007 07:20:00 GMThttp://www.aygfsteel.com/fastzch/archive/2007/11/01/157502.htmlhttp://www.aygfsteel.com/fastzch/comments/157502.htmlhttp://www.aygfsteel.com/fastzch/archive/2007/11/01/157502.html#Feedback6http://www.aygfsteel.com/fastzch/comments/commentRss/157502.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/157502.html最q用WebLogicQ所以就需要用一些命令来启动WebLogic?br />我们知道启动WebLogic一般用 startWebLogic.sh命oQ这个命令执行后QWebLogic的Log׃出现在ShellH口中,而且q样的话Q不能关闭这个Shellq程Q一关闭的话׃shutdown掉整个WLS?br />
在Ubuntu中,我用以下命o来解册个问题:
nohup ./startWebLogic.sh >>t.log &

可是Q我在SunOS中,用这个命令可不v作用了。L提示“已l输出到nohup.out中?br />我只好用以下命o来搞定:
./startWebLogic.sh >>t.log

然后Q我可以?br />tail -f t.log
q个命o来查看LOG?br />
各位兄弟姐妹们知道ؓ什么在SunOS中,nohup不v作用吗?



Robin's Programming World 2007-11-01 15:20 发表评论
]]>
Fedora Core 6盘安装手记http://www.aygfsteel.com/fastzch/archive/2006/10/27/77738.htmlRobin's Programming WorldRobin's Programming WorldFri, 27 Oct 2006 14:19:00 GMThttp://www.aygfsteel.com/fastzch/archive/2006/10/27/77738.htmlhttp://www.aygfsteel.com/fastzch/comments/77738.htmlhttp://www.aygfsteel.com/fastzch/archive/2006/10/27/77738.html#Feedback17http://www.aygfsteel.com/fastzch/comments/commentRss/77738.htmlhttp://www.aygfsteel.com/fastzch/services/trackbacks/77738.html
今天折腾了一天,到现在已l是晚上十点了,l于在我工作的机子上装上了FC6Q我的机子是ACER的品牌机QSATA的硬盘,USB的键盘鼠标,所以很多Linux的版本是不能用的Q比如同事带的RedHat9是不支持SATA的,上午折腾了大半早上,只弄清楚了q个问题Q所以马上去下蝲FC6Q由于公司的|络是有锁的,q好我用的这个IP不是全封Q找了好久才扑ֈ一个可用的下蝲地址Q那下蝲速度可真是慢呀?br />
C晚上下班的时候,l于快下完了Q可以发现现在的版本的中再也不带以往常用的DOS启动的文件了Q去|上查了些资料,l于弄清楚怎么安装了。简要记录如下:

1、先去SF.NET上下载一个WINGRUBQ当焉要你的系l中有一个XP或是2000的系l,安装很简单,配置也超单,Windows下这点还是蛮好的Q这里不再多_保你的pȝ能用GRUB的方式启动就好了?br />2、用一个虚拟光׃cȝ软g把你下蝲的ISO文gW一张盘的isolinux目录下的vmlinuz和initrd.img两个文gCOPY到C盘的根目录(当然其它目录也可以,不过?会儿在启动FC的安装程序的时候自p得改下地址好了)?br />3、重启系l,q时你会看到GRUB的启动菜单,按“C”键Q进入GRUB的命令行?br />4、键入以下命令:
    GRUB>kernel (hd0,0)/vmlinuz
    GRUB>initrd (hd0,0)/initrd.img
    GRUB>boot
5、OKQ顺利进入FC6的安装程序,你可以选择语言和安装程序的位置?br />


Robin's Programming World 2006-10-27 22:19 发表评论
]]>
վ֩ģ壺 ˮ| | | °Ͷ| | ǭ| | | | н| ֶ| пǰ| | ̨| ɽ| ʯɽ| | ɽ| | | ͨ| | | | | ͨ| | | | | Զ| ˫| | | | ƾ| | Ԫ| ³| | ʼ|