{"id":4256,"date":"2010-01-23T12:20:30","date_gmt":"2010-01-23T04:20:30","guid":{"rendered":"http:\/\/mygeotravel.org\/hcc\/blog\/?p=4256"},"modified":"2014-04-28T10:56:27","modified_gmt":"2014-04-28T02:56:27","slug":"%e6%96%b0%e9%9b%bb%e8%85%a6","status":"publish","type":"post","link":"https:\/\/mynotes.org\/tech\/2010\/01\/23\/4256.htm","title":{"rendered":"\u65b0\u96fb\u8166\uff0c\u6211\u7684Fedora 12\u5b89\u88dd\u5fc3\u5f97\uff5e"},"content":{"rendered":"<p>\u5229\u7528\u5be6\u9a57\u5ba4\u7684\u9810\u7b97\uff0c\u8cb7\u4e86\u4e00\u53f0\u65b0\u96fb\u8166\u4f86\u66ff\u63db\u6211\u7528\u4e86\u5feb\u4e03\u5e74\u7684\u820a\u96fb\u8166\u3002\u5de5\u4f5c\u7528\u7684\u96fb\u8166\u662f\u704cLinux\u7cfb\u7d71\uff0c\u4e03\u5e74\u524d\u6211\u704c\u7684\u7248\u672c\u662fRed Hat 9\uff0c\u5982\u679c\u6211\u6c92\u8a18\u932f\uff0c\u9019\u61c9\u8a72\u662fRed Hat\u7684\u6700\u5f8c\u4e00\u500b\u7248\u672c\u3002\u5f8c\u7e7c\u7684\u7cfb\u5217\u5c31\u662fFedora\uff0c\u6240\u4ee5\u6211\u5c31\u9078\u64c7\u4e86Fedora 12\u4f86\u704c\u6211\u7684\u65b0\u96fb\u8166\u3002\u53cd\u6b63\u5229\u7528\u300c\u61f6\u4eba\u4e0b\u4e00\u6b65\u300d\u5927\u6cd5\uff0c\u4e5f\u6c92\u9047\u5230\u592a\u591a\u56f0\u96e3\uff0c\u53cd\u5012\u662f\u628a\u820a\u8cc7\u6599\u5f9e\u820a\u96fb\u8166\u4e2d\u5099\u4efd\u51fa\u4f86\u82b1\u4e86\u4e0d\u5c11\u6642\u9593\u3002\u7531\u65bc\u662f\u540c\u4e00\u7cfb\u5217\u7684\u7522\u54c1\uff0c\u6240\u4ee5\u4f7f\u7528\u4e0a\u4e0d\u6703\u592a\u964c\u751f\uff0c\u53ea\u4e0d\u904e\u6628\u5929\u767c\u751f\u4e86\u500b\u6158\u6848&#8230;<\/p>\n<p><!--more--><\/p>\n<p>\u4e8b\u60c5\u7684\u8d77\u56e0\u662f\u6211\u6628\u5929\u7b2c\u4e00\u6b21\u7528\u65b0\u96fb\u8166\u5de5\u4f5c\uff0c\u60f3\u8981\u7528\u6ed1\u9f20\u5207\u63db\u5de5\u4f5c\u8996\u7a97\u6642\uff0c\u767c\u73fe\u4ee5\u524d\u53ea\u8981\u628a\u6ed1\u9f20\u79fb\u904e\u53bb\u5c31\u53ef\u4ee5\u5207\u63db\u8996\u7a97\u7126\u9ede\u7684\u65b9\u5f0f\u4e0d\u898b\u4e86\uff0c\u7cfb\u7d71\u8a2d\u5b9a\u4e5f\u627e\u4e0d\u5230\uff0c\u5f88\u4e0d\u723d\u3002\u4f46\u4e0d\u77e5\u9053\u70ba\u4ec0\u9ebc\uff0c\u5f8c\u4f86\u6211\u8b8a\u6210\u5728\u4e0d\u723d\u6211\u7684\u87a2\u5e55\u89e3\u6790\u5ea6\u70ba\u4ec0\u9ebc\u9019\u9ebc\u4f4e\uff0c\u5c31\u53bb\u5c0b\u627e\u986f\u793a\u5361\u7684\u9a45\u52d5\u7a0b\u5f0f\u4f86\u5b89\u88dd\u3002\u6700\u5f8c\uff0c\u6211\u628a\u6574\u500b\u7cfb\u7d71\u641e\u5230\u7121\u6cd5\u9032\u5165X windows\uff0c\u6b7b\u68cb\uff01\u7d93\u904e\u4e00\u9663\u5b50\u4e0d\u6b7b\u5fc3\u7684\u6399\u624e\u4e4b\u5f8c\uff0c\u6211\u9084\u662f\u8a8d\u547d\u5730\u91cd\u704c\u4e86\u3002\u800c\u4e14\u6211\u6c7a\u5b9a\u628a\u4e00\u4e9b\u554f\u984c\u89e3\u6c7a\u7684\u904e\u7a0b\u8a18\u4e0b\u4f86\uff0c\u56e0\u70ba\u5c07\u4f86\u61c9\u8a72\u9084\u6703\u518d\u767c\u751f\u9019\u6a23\u7684\u4e8b\u624d\u5c0d\uff08\u6211\u6709\u4fe1\u5fc3\uff09\u3002<\/p>\n<p>1.\u5b89\u88dd\u986f\u793a\u5361\u9a45\u52d5\u7a0b\u5f0f\u7684\u904e\u7a0b\uff0c\u7de8\u8b6f\u4e86\u65b0\u7684\u6838\u5fc3\uff0c\u7cfb\u7d71\u537b\u9032\u4e0d\u4e86X Windows\uff0c\u751a\u81f3\u9023\u756b\u9762\u90fd\u4e00\u7247\u6f06\u9ed1\u3002\u5176\u5be6\u9019\u6642\u5019\u53ea\u662f\u9032\u4e0d\u4e86X Windows\uff0c\u5229\u7528\u958b\u6a5f\u6642\u7684\u9078\u55ae\u6216\u9060\u7aef\u9023\u7dda\u90fd\u9084\u662f\u53ef\u4ee5\u9032\u5165\u7cfb\u7d71\u4f86\u62ef\u6551\u3002\u4f46\u6839\u64da\u6211\u52aa\u529b\u4e00\u4e0b\u5348\u7684\u7d93\u9a57\uff0c\u628a\u8cc7\u6599\u8907\u88fd\u51fa\u4f86\uff0c\u91cd\u704c\u6bd4\u8f03\u5feb\u5566\uff01<\/p>\n<p>2.\u7576\u521d\u6211\u628a\u820a\u7cfb\u7d71\u8cc7\u6599\u7528\u7db2\u8def\u5099\u4efd\u51fa\u4f86\u6642\uff0c\u82b1\u4e86\u4e00\u5929\u7684\u6642\u9593\u3002\u9019\u6b21\u6211\u7528\u5916\u63a5\u786c\u789f\u7684\u65b9\u5f0f\u628a\u8cc7\u6599\u518d\u8907\u88fd\u4e00\u6b21\u5230\u65b0\u96fb\u8166\uff0c\u53ea\u82b1\u4e86\u534a\u5c0f\u6642\u4e0d\u5230\u3002<\/p>\n<p>3.Fedora 12\u525b\u704c\u597d\u7684\u6642\u5019\uff0c\u81ea\u52d5\u66f4\u65b0\u4e0d\u80fd\u904b\u4f5c\uff0c\u9700\u8981\u5148\u4ee5root\u7684\u8eab\u4efd\u57f7\u884c<code>yum clean<\/code>\u624d\u884c\u3002<\/p>\n<p>4.\u5b89\u88dd\u719f\u6089\u7684fortran\u7de8\u8b6f\u7a0b\u5f0fg77\uff0c\u4ee5root\u7684\u8eab\u4efd\u57f7\u884c<code>yum install compat-gcc-34-g77<\/code><\/p>\n<p>5.\u5b89\u88ddGMT\uff0c\u4ee5root\u7684\u8eab\u4efd\u57f7\u884c<code>yum install gmt<\/code>\uff08\u597d\u50cf\u592a\u7c21\u55ae\uff1f\uff01\uff09<\/p>\n<p>6.\u5b89\u88ddFTP \u4f3a\u670d\u5668VSFTP\uff08\u539f\u4f86VS\u662f\u300cvery secure\u975e\u5e38\u5b89\u5168\u300d\u7684\u7e2e\u5beb\uff09\uff0c\u4ee5root\u7684\u8eab\u4efd\u57f7\u884c<code>yum install vsftp<\/code><\/p>\n<p>7.\u5728Applications -&gt; System tools -&gt; FTP adminstrator -&gt; Network option\u8981\u8a2d\u5b9a\u4e0a\u9650\u4eba\u6578\uff08\u9810\u8a2d\u70ba0\uff09<\/p>\n<p>8.\u9023\u7ddavsftpd \u6642\u51fa\u73fe500 OOPS: cannot change directory:\/home\/user\u8868\u793a\u7121\u6cd5\u5207\u63db\u76ee\u9304\u81f3\u5bb6\u76ee\u9304\uff0c\u8981\u4ee5root\u7684\u8eab\u4efd\u57f7\u884c<code>setsebool -P ftp_home_dir on <\/code><\/p>\n<p>9.\u958b\u555fhttpd\u670d\u52d9\uff0c\u81ea\u8a02\u932f\u8aa4\u8a0a\u606f\uff08404\uff09\u53ca\u7db2\u5740\u8f49\u5411\u9700\u4fee\u6539<code>\/etc\/httpd\/conf\/httpd.conf<\/code>\u4e2d\u7684 <code>#ErrorDocument 404 \/missing.html<\/code>\uff0c\u53e6\u5916\u9996\u9801\u5e38\u8981\u7528\u5230\u8f49\u5411\u7684\u8a9e\u6cd5\u70ba <code><\/code><\/p>\n<p>\u4ee5\u4e0b\u5247\u662f\u7576\u521d\u641e\u6b7b\u6211\u7684\u5169\u4ef6\u4e8b\uff1a<\/p>\n<p>1.\u7cfb\u7d71\u6839\u672c\u5c31\u5df2\u7d93\u5b89\u88dd\u4e86\u986f\u793a\u5361\u7684\u9a45\u52d5\u7a0b\u5f0f\uff0c\u89e3\u6790\u5ea6\u4f4e\u7684\u539f\u56e0\u662f\u4ed6\u6c92\u6709\u8a8d\u51fa\u986f\u793a\u5668\uff0c\u5fc5\u9808\u5148\u4ee5root\u7684\u8eab\u4efd\u5b89\u88dd<code>yum install system-config-display<\/code>\uff0c\u7136\u5f8c\u518d\u4ee5root\u7684\u8eab\u4efd\u57f7\u884c<code>system-config-display<\/code>\uff0c\u8a2d\u5b9a\u986f\u793a\u5668\u7684\u89e3\u6790\u5ea6\u5f8c\uff0c\u518d\u8abf\u6574\u87a2\u5e55\u89e3\u6790\u5ea6\u3002\u6b64\u529f\u80fd\u5728\u4e0b\u4e00\u6b65\u9a5f\u5b8c\u6210\u5f8c\uff0c\u6703\u51fa\u73fe\u5728System -&gt; Adminstration -&gt; Display\u4e2d\u3002<\/p>\n<p>2.\u6ed1\u9f20\u79fb\u904e\u5c31\u53ef\u4ee5\u5207\u63db\u8996\u7a97\u7126\u9ede\u7684\u8a2d\u5b9a\uff0c\u539f\u4f86\u88abFedora 12\u62ff\u6389\u4e86\uff1f\uff01\uff08<a href=\"http:\/\/forums.fedoraforum.org\/showthread.php?t=235091&amp;highlight=focus+follows+mouse\">\u8cc7\u6599\u4f86\u6e90<\/a>\uff09\u6240\u4ee5\u8981\u5148\u4ee5root\u7684\u8eab\u4efd\u5b89\u88dd<code>yum install control-center-extra<\/code>\uff0c\u7136\u5f8cSystem -&gt; Preference\u5c31\u6703\u51fa\u73feWindows\u7684\u8a2d\u5b9a\u3002<\/p>\n<p>\u96d6\u7136\u5728\u8ad6\u6587\u53e3\u8a66\u524d\u767c\u751f\u9019\u7a2e\u4e8b\u5f88\u8b93\u4eba\u5fc3\u9a5a\u81bd\u986b\uff08\u6211\u8d85\u6015\u6211\u7684\u7814\u7a76\u8cc7\u6599\u5b8c\u5168\u6d88\u5931\u7121\u8e64\uff09\uff0c\u4f46\u9084\u662f\u5e0c\u671b\u9019\u4e9b\u7d93\u9a57\u53ef\u4ee5\u5e6b\u5230\u9700\u8981\u5e6b\u52a9\u7684\u4eba\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5229\u7528\u5be6\u9a57\u5ba4\u7684\u9810\u7b97\uff0c\u8cb7\u4e86\u4e00\u53f0\u65b0\u96fb\u8166\u4f86\u66ff\u63db\u6211\u7528\u4e86\u5feb\u4e03\u5e74\u7684\u820a\u96fb\u8166\u3002\u5de5\u4f5c\u7528\u7684\u96fb\u8166\u662f\u704cLinux\u7cfb\u7d71\uff0c\u4e03\u5e74\u524d\u6211\u704c\u7684\u7248\u672c\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[81,14],"class_list":["post-4256","post","type-post","status-publish","format-standard","hentry","category-1","tag-fedora","tag-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/4256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/comments?post=4256"}],"version-history":[{"count":1,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/4256\/revisions"}],"predecessor-version":[{"id":5410,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/4256\/revisions\/5410"}],"wp:attachment":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/media?parent=4256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/categories?post=4256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/tags?post=4256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}