锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品无码鲁网中文电影,亚洲一区二区三区在线观看网站 ,亚洲色无码专区一区http://www.tkk7.com/abin/category/52789.htmlzh-cnMon, 26 Aug 2013 20:50:45 GMTMon, 26 Aug 2013 20:50:45 GMT60Fedora16涓嬫惌寤篺tp鍩烘湰鏂規硶http://www.tkk7.com/abin/archive/2013/08/26/403331.htmlabingabingMon, 26 Aug 2013 14:31:00 GMThttp://www.tkk7.com/abin/archive/2013/08/26/403331.htmlhttp://www.tkk7.com/abin/comments/403331.htmlhttp://www.tkk7.com/abin/archive/2013/08/26/403331.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/403331.htmlhttp://www.tkk7.com/abin/services/trackbacks/403331.html銆愭惌寤虹幆澧冦慙inux (Fedora 16)

銆愬熀鏈疄鐜般戝湪鑷繁鐨勭數鑴戜笂鎼緩ftp錛屽疄鐜板悓涓緗戞鍖垮悕鐧誨綍錛屽茍鑳戒笂浼犱笅杞芥枃浠躲?/p>

銆愭秹鍙婃妧鏈憊sftpd錛宨ptables

銆愭柟娉曘?/p>

1. 鍏堟煡鐪嬭嚜宸辯殑鏈哄瓙涓婃槸鍚﹀凡瀹夎vsftpd (very secure FTP Daemon)錛岃繖鏄痩inux涓婂父鐢ㄧ殑ftpd鎶鏈紝閰嶇疆鏂規硶姣旇緝綾諱技閰嶇疆Apache銆傚懡浠よ杈撳叆錛?/p>

#rpm -qa | grep vsftp

鑻ュ嚭鐜板唴瀹癸紝鍒欒〃紺哄凡瀹夎錛涜嫢鏃狅紝鍒欐墜鍔ㄦ姄鍖呬笅杞斤細

# sudo yum install vsftpd

 

2 .鍚姩vsftpd鏈嶅姟銆傚緢澶氭暀紼嬪啓鐨勬槸/etc/init.d/vsftpd start錛屼絾鏄垜璇曚簡涓嬪悗鍙戠幇涓嶈錛屽簲璇ュ涓嬭緭鍏ワ細

# sudo service vsftpd start

鐩稿簲鐨勶紝start 鍙崲鎴恠top錛宺estart絳夛紝浠庡瓧闈㈡剰鎬濆氨鐭ラ亾鍏舵剰鎬濄?/p>

鏌ョ湅鏄惁鏈夊惎鍔╲sftpd錛?/p>

# pstree | grep vsftpd

鑻ユ湁鍒欒〃紺哄惎鍔ㄦ垚鍔熴傝嚦姝わ紝鍙氳繃#ftp 涓繪満鍚?localhost/127.0.0.1 鏉ユ祴璇昮tp鏄惁姝e父宸ヤ綔銆?br />

 

3. 閰嶇疆 鐩稿叧鏂囦歡銆倂sftpd.conf 鍏ㄥ眬閰嶇疆鏂囦歡鏀懼湪/etc/vsftpd/涓嬨備負浜嗛槻姝㈤厤緗敊浜嗭紝鍏堟嫹璐濅竴浠藉壇鏈紝涔嬪悗榪涘叆鏂囨。榪涜緙栬緫銆傚畬鎴愬悗閲嶅惎ftp鍗沖彲銆?/p>

#cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd1.conf

#sudo vim /etc/vsftpd/vsftpd.conf

涓轟簡鍏佽鍖垮悕鐧誨綍錛屽垯anonymous_enable蹇呴』絳変簬YES錛屽叾浠栫浉搴旂殑閰嶇疆灞炴х畝鍗曞垪琛ㄥ涓嬶細

anonymous_enable=YES              鍏佽鍖垮悕鐧誨綍
Local_enable=YES                       鍏佽鏈湴鐢ㄦ埛鐧誨綍
write_enable=YES                        寮鏀炬湰鍦扮敤鎴風殑鍐欐潈闄?br />dirmessage_enable=YES              褰撳垏鎹㈠埌鐩綍鏃訛紝鏄劇ず璇ョ洰褰曚笅鐨?message闅愬惈鏂囦歡鐨勫唴瀹?br />xferlog_enab1e =YES                   嬋媧諱笂浼犲拰涓嬭澆鏃ュ織
connect_from_port_20 = YES      鍚敤FTP鏁版嵁绔彛鐨勮繛鎺ヨ姹?br />xferlog_std_format =YES            浣跨敤鏍囧噯鐨刦tpd xferlog鏃ュ織鏍煎紡
pam_service_name=vsftpd           璁劇疆璁よ瘉鏈嶅姟鐨勯厤緗枃浠跺悕縐幫紝璇ユ枃浠跺瓨鏀懼湪/etc/pam.d/
userlist_enable錛漎ES                   嬋媧籿sftpd媯鏌serlist_file鎸囧畾鐢ㄦ埛鏄惁鍙互璁塊棶vsftpd鏈嶅姟鍣?/p>

 

4. 鏈満榪涜嫻嬭瘯銆傚湪嫻忚鍣ㄤ笂杈撳叆ftp://localhost鎴栬協tp://127.0.0.1錛岃嫢鎼緩鎴愬姛錛屽垯浼氭湁鐩稿簲鐨勬枃浠跺す錛岃岃繖鏂囦歡澶規槸榛樿鍦?var/ftp/涓嬶紝褰撶劧浠ュ悗浣犺繕鍙互榪涜淇敼銆傚彟涓涓柟娉曟槸鍙互鐩存帴鍦ㄥ懡浠よ杈撳叆錛?/p>

#ftp 127.0.0.1

鍥犱負鍖垮悕鐧誨綍錛岃煩榪囪緭鍏ョ敤鎴峰悕鍜屽瘑鐮佸悗杈撳叆錛?/p>

ftp>user anonymous

鍐嶆璺寵繃杈撳叆瀵嗙爜錛屾鏃朵細鏄劇ず鐧誨綍鎴愬姛鐨勫瓧鏍楓?/p>

 

5. 鍏抽棴闃茬伀澧欍傛鏃跺幓鍚屼竴緗戞鐨勪富鏈鴻闂甪tp錛屼細鍙戠幇涓鐩撮摼鎺ヤ笉涓娿傛殏鏃朵簡瑙e埌鐨勬槸鐜板湪鐨刲inux緋葷粺涓轟簡鏇村ソ鍦版帶鍒?IP 淇℃伅鍖呰繃婊ゅ拰闃茬伀澧欓厤緗紝浣跨敤浜唅ptables鐨勪笢瑗褲傞鍏堝緱鍏抽棴SElinux錛岃閰嶇疆鏂囦歡鍦?etc/selinux/涓嬶細

#vim /etc/selinux/config

鎵懼埌鐩稿簲璇彞錛屽皢鍏舵敼鎴愶細SELINUX=disabled

閲嶅惎涔嬪悗錛屽鏋滃彂鐜拌繕涓嶈錛屽垯鏆傛椂鐨勫姙娉曞彲浠ュ叧闂暣涓槻鐏錛堜笉鎺ㄨ崘錛夛細

#sudo service iptables stop

鍒頒簡姝ゆ鍒欒偗瀹氳兘浠庡埆鐨勪富鏈鴻闂嚜宸辨惌寤虹殑ftp鐨勶紝鍙槸鍙兘榪橀渶瑕佹秹鍙婃枃浠跺す鏉冮檺闂錛屼慨鏀逛箣鍚庡氨鑳藉疄鐜版枃浠朵笂浼犱笅杞戒簡銆?/p>

瀹屾瘯銆?/p>

 

銆愯ˉ鍏呫?/p>

鑻ュ嚭鐜?strong>vsftpd: refusing to run with writable anonymous root鐨勯敊璇紝澶ф鏄痜tp鐩綍鏉冮檺闂錛屼慨姝f柟娉曪細

chown root:root /var/ftp
chmod 755 /var/ftp



abing 2013-08-26 22:31 鍙戣〃璇勮
]]>
鏌ョ湅linux涓嬬殑瀛椾綋http://www.tkk7.com/abin/archive/2013/07/12/401503.htmlabingabingFri, 12 Jul 2013 07:11:00 GMThttp://www.tkk7.com/abin/archive/2013/07/12/401503.htmlhttp://www.tkk7.com/abin/comments/401503.htmlhttp://www.tkk7.com/abin/archive/2013/07/12/401503.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/401503.htmlhttp://www.tkk7.com/abin/services/trackbacks/401503.html鏌ョ湅鎵鏈夊瓧浣擄細
fc-list

鏌ョ湅涓枃瀛椾綋
fc-list :lang=zh

鐢╢c-list鎵懼嚭璇█涓簔h鐨勫瓧浣撴枃浠訛紝鍙緋葷粺閲屼腑鏂囧瓧浣撳皯鐨勫彲鎬溿傜煡閬撲簡榪欎簺瀛椾綋錛岃繕闇瑕佽繘涓姝ヤ簡瑙h繖浜涘瓧浣撳搴旂殑鏂囦歡錛屽彲浠ヨ繍琛宖c-match紼嬪簭寰楀埌錛?br />fc-match -v "AR PL UKai CN"

Pattern has 32 elts (size 48)
    family: "AR PL UKai CN"(s)
    familylang: "en"(s)
    style: "Book"(s)
    stylelang: "en"(s)
    fullname: "AR PL UKai CN"(s)
    fullnamelang: "en"(s)
    slant: 0(i)(s)
    weight: 80(i)(s)
    width: 100(i)(s)
    size: 12(f)(s)
    pixelsize: 12.5(f)(s)
    spacing: 90(i)(w)
    foundry: "unknown"(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcFalse(w)
    file: "/usr/share/fonts/cjkunifonts-ukai/ukai.ttc"(s)
    index: 0(i)(s)
    outline: FcTrue(s)
    scalable: FcTrue(s)
    dpi: 75(f)(s)
    scale: 1(f)(s)
    minspace: FcFalse(w)
    charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: ffffffff ffffffff ffffffff ffffffff 00800000 00018003 fffffff0 ff3f3fcf
    0002: cfffffff 008fffc0 08130010 00200502 00000608 30000000 2f002fc0 00000c00
                    
    02f8: 00000000 08000020 00000001 01000000 00100000 00000040 00002000 00000000
    02f9: 00000000 00000000 00000000 00000000 00100000 10040000 00100000 00000000
(s)
    lang: aa|af|ast|ay|bg|bi|bin|br|bs|ca|ch|co|cs|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|ga|gd|gl|gn|gv|ho|hr|hu|ia|ibo|id|ie|io|is|it|ki|kl|kum|kw|la|lb|lt|lv|mg|mh|mi|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|se|sel|shs|sk|sl|sma|smj|smn|so|sq|ss|st|sv|sw|tn|tr|ts|ven|vi|vo|vot|wa|wen|wo|xh|yap|yo|zh-cn|zh-sg|zh-tw|zu(s)
    fontversion: 13107(i)(s)
    capability: "otlayout:DFLT otlayout:bopo otlayout:cyrl otlayout:grek otlayout:hani otlayout:kana otlayout:latn"(s)
    fontformat: "TrueType"(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)


榪欓噷鍙煡闃呬簡瀛椾綋“AR PL UKai CN”錛屽彲浠ョ湅鍒板叾瀵瑰簲鏂囦歡"/usr/share/fonts/cjkunifonts-ukai/ukai.ttc"錛屽叾浠栫殑瀛椾綋淇℃伅涔熷彲浠ラ氳繃璇ユ柟娉曟煡寰椼?/div>


abing 2013-07-12 15:11 鍙戣〃璇勮
]]>shell awkhttp://www.tkk7.com/abin/archive/2013/02/03/395085.htmlabingabingSun, 03 Feb 2013 13:14:00 GMThttp://www.tkk7.com/abin/archive/2013/02/03/395085.htmlhttp://www.tkk7.com/abin/comments/395085.htmlhttp://www.tkk7.com/abin/archive/2013/02/03/395085.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/395085.htmlhttp://www.tkk7.com/abin/services/trackbacks/395085.htmlshell awk
http://www.cnblogs.com/orez88/articles/1889781.html

abing 2013-02-03 21:14 鍙戣〃璇勮
]]>
Fedora 17 寮鍚痵sh鏈嶅姟http://www.tkk7.com/abin/archive/2013/02/03/395082.htmlabingabingSun, 03 Feb 2013 09:52:00 GMThttp://www.tkk7.com/abin/archive/2013/02/03/395082.htmlhttp://www.tkk7.com/abin/comments/395082.htmlhttp://www.tkk7.com/abin/archive/2013/02/03/395082.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/395082.htmlhttp://www.tkk7.com/abin/services/trackbacks/395082.htmlFedora 17 宸茬粡瀹夎濂給penssh server浜?涓嶇敤鍐嶈
涓嶈繃榛樿鏃犲紑鍚?/p>

棣栧厛su root
1.寮鍚痵sh鏈嶅姟
# systemctl start sshd.service

2.闅忕郴緇熶竴璧峰惎鍔ㄦ湇鍔?/p>

# systemctl enable sshd.service

鍦╰erminal 涓緭 setup 瀵歸槻鐏 娣誨姞22 绔彛

3.寮鍚槻鐏22绔彛

# iptables -I INPUT -p tcp --dport 22 -j ACCEPT


嫻嬭繃ok

1銆佸湪root鏉冮檺涓嬶紝淇敼ssh閰嶇疆鏂囦歡錛歷i /etc/ssh/ssh_config

灝嗕竴涓嬩笁涓敞閲婂幓鎺夛紝鍗沖幓鍏跺墠鐨?#8220;#”鍙鳳細

RSAAuthentication yes

PasswordAuthentication yes

Port 22

2銆佸惎鍔⊿SH鏈嶅姟錛歴ervice sshd start

3銆佹祴璇曟槸鍚﹀畨瑁呮垚鍔燂細ssh 192.168,.253.18    #瀵規柟ip

鍑虹幇錛?Are you sure you want to continue connecting (yes/no)? yes  #杈撳叆yes
鍑虹幇錛?a href="mailto:root@192.168.253.18's">root@192.168.253.18's password:            #杈撳叆瀵規柟瀵瑰簲瑙掕壊瀵嗙爜
鎻愮ず錛歀ast login: Sun Nov 18 14:34:41 2012 from 192.168.253.20  #鐧誨綍鎴愬姛

 

4銆佹搷浣滃畬鎴愬悗涓瀹氳閫鍑虹櫥褰曪細logout    #蹇樿閫鍑虹殑鍚庢灉鏄紝鎵鏈夊懡浠よ鎿嶄綔閮藉湪瀵規柟鏈哄櫒涓婏紒

浠ヤ笅涓哄厤瀵嗙爜鐧誨綍閰嶇疆錛?/p>

1銆佺敓鎴愬瘑閽ワ細 ssh-keygen -t rsa

鎻愮ず錛?/p>

The key's randomart image is:
+--[ RSA 2048]----+
|          +*++..|
|        . ooo.. |
|        +  .o . |
|      + o .  + o|
|      . S .  o *.|
|      .    o .E+|
|            .  |
|                |
|                |
+-----------------+

2銆佸瘑閽ヤ紶緇欏鏂規満鍣細 ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.253.18
3銆佸啀閲嶆柊鐧誨綍鍗沖彲涓嶇敤瀵嗙爜錛歴sh 192.168.253.18

PS錛氬鏋滈摼鎺ュ鏂逛富鏈烘彁紺篜ORT 22 connection refused鎻愮ず錛屽彲鍦ㄥ鏂逛富鏈轟笂閲嶆柊鍚姩ssh鏈嶅姟錛歴ervice sshd start


鏈瘒鏂囩珷鏉ユ簮浜?Linux鍏ぞ緗戠珯(www.linuxidc.com)  鍘熸枃閾炬帴錛?a >http://www.linuxidc.com/Linux/2013-01/78033.htm



abing 2013-02-03 17:52 鍙戣〃璇勮
]]>
sed 鍛戒護http://www.tkk7.com/abin/archive/2012/12/14/393014.htmlabingabingFri, 14 Dec 2012 09:56:00 GMThttp://www.tkk7.com/abin/archive/2012/12/14/393014.htmlhttp://www.tkk7.com/abin/comments/393014.htmlhttp://www.tkk7.com/abin/archive/2012/12/14/393014.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/393014.htmlhttp://www.tkk7.com/abin/services/trackbacks/393014.html
sed -n '1,1000p'  abin.log
2銆佹鍒欒〃杈懼紡鏌ヨ鏃ュ織錛?br />
sed -n '/17378/p'  abin.log
sed '/17378/!d'  abin.log


abing 2012-12-14 17:56 鍙戣〃璇勮
]]>
linux grep鍛戒護http://www.tkk7.com/abin/archive/2012/11/12/391215.htmlabingabingMon, 12 Nov 2012 09:31:00 GMThttp://www.tkk7.com/abin/archive/2012/11/12/391215.htmlhttp://www.tkk7.com/abin/comments/391215.htmlhttp://www.tkk7.com/abin/archive/2012/11/12/391215.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/391215.htmlhttp://www.tkk7.com/abin/services/trackbacks/391215.html闃呰鍏ㄦ枃

abing 2012-11-12 17:31 鍙戣〃璇勮
]]>
linux grep涓浜涘父鐢ㄥ懡浠よ褰?/title><link>http://www.tkk7.com/abin/archive/2012/11/12/391208.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Mon, 12 Nov 2012 07:43:00 GMT</pubDate><guid>http://www.tkk7.com/abin/archive/2012/11/12/391208.html</guid><wfw:comment>http://www.tkk7.com/abin/comments/391208.html</wfw:comment><comments>http://www.tkk7.com/abin/archive/2012/11/12/391208.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/abin/comments/commentRss/391208.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/abin/services/trackbacks/391208.html</trackback:ping><description><![CDATA[鍖歸厤MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log閲岄潰鐨勫瓧絎︿覆15779錛?br /><br />1銆乵ore MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log | grep -i '15779'<br />2銆乵ore MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log | grep -n '15779'<br /><br />2銆乬rep '15779' MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log <br /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px verdana, Arial, helvetica, sans-seriff; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">濡傛灉鏈夊緢澶?杈撳嚭鏃訛紝鎮ㄥ彲浠ラ氳繃綆¢亾灝嗗叾杞埌’less’涓婇槄璇伙細</span><br />3銆?nbsp;grep '15779' MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log | less<br />4銆?br />緇熻絎﹀悎鏉′歡鐨勬棩蹇楄鏁幫細<br />[abin@abin logs]$ grep -c 'WapsActivityNotify, httpClient榪斿洖緇撴灉錛歿"message":"鏃犳晥涓嬭澆","success":false}'  WAPS_ADVERTISE_127.0.0.1\ 2012-11-28.log <br />82<br /><img src ="http://www.tkk7.com/abin/aggbug/391208.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/abin/" target="_blank">abing</a> 2012-11-12 15:43 <a href="http://www.tkk7.com/abin/archive/2012/11/12/391208.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Linux鐢ㄦ埛銆佺敤鎴風粍銆佹枃浠舵潈闄愬涔犵瑪璁?/title><link>http://www.tkk7.com/abin/archive/2012/11/09/391120.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Fri, 09 Nov 2012 15:18:00 GMT</pubDate><guid>http://www.tkk7.com/abin/archive/2012/11/09/391120.html</guid><wfw:comment>http://www.tkk7.com/abin/comments/391120.html</wfw:comment><comments>http://www.tkk7.com/abin/archive/2012/11/09/391120.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/abin/comments/commentRss/391120.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/abin/services/trackbacks/391120.html</trackback:ping><description><![CDATA[<h2>Linux鐢ㄦ埛銆佺敤鎴風粍銆佹枃浠舵潈闄愬涔犵瑪璁?br /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">鏈榪戞墦綆楁洿浠旂粏瀛︿範涓涓媗inux鎿嶄綔緋葷粺銆傚厛鏄伓琛ヤ簡涓涓嬬敤鎴楓佺敤鎴風粍銆佹枃浠舵潈闄愯繖涓夋牱姣旇緝閲嶈鐨勭煡璇嗐?br />瀛︿範榪欏嚑鏍蜂笢瑗匡紝寰楀厛鎺屾彙linux鐨勬潈闄愮郴緇熺浉鍏崇煡璇嗐?br />linux鐨勬潈闄愮郴緇熶富瑕佹槸鐢辯敤鎴楓佺敤鎴風粍鍜屾潈闄愮粍鎴愩?br />鐢ㄦ埛灝辨槸涓涓釜鐨勭櫥褰曞茍浣跨敤linux鐨勭敤鎴楓俵inux鍐呴儴鐢║ID琛ㄧず銆?br />鐢ㄦ埛緇勫氨鏄敤鎴風殑鍒嗙粍銆俵inux鍐呴儴鐢℅ID琛ㄧず銆?br />鏉冮檺鍒嗕負璇匯佸啓銆佹墽琛屼笁縐嶆潈闄愩?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">linux鐨勭敤鎴蜂俊鎭繚瀛樺湪/etc/passwd鏂囦歡涓紝鍙﹀錛?etc/shadow鏂囦歡瀛樻斁鐨勬槸鐢ㄦ埛瀵嗙爜鐩稿叧淇℃伅銆?br /><br />/etc/passwd鏂囦歡鏍煎紡錛?br />鐢ㄦ埛鍚?瀵嗙爜:UID:GID:鐢ㄦ埛淇℃伅:HOME鐩綍璺緞:鐢ㄦ埛shell<br />鍏朵腑UID涓?鍒欐槸鐢ㄦ埛root錛?锝?99涓虹郴緇熺敤鎴鳳紝500浠ヤ笂涓烘櫘閫氱敤鎴?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">/etc/shadow淇濆瓨鐢ㄦ埛瀵嗙爜淇℃伅錛屽寘鎷姞瀵嗗悗鐨勫瘑鐮侊紝瀵嗙爜榪囨湡鏃墮棿錛屽瘑鐮佽繃鏈熸彁紺哄ぉ鏁扮瓑銆?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">鐢ㄦ埛緇勪俊鎭繚瀛樺湪/etc/group鏂囦歡涓?<br />鏍煎紡濡備笅錛?br />鐢ㄦ埛緇勫悕:緇勫瘑鐮?GID:緇勫唴甯愬彿錛堝涓笎鍙風敤閫楀彿鍒嗛殧錛?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">鐢ㄦ埛鐧誨綍鍚庯紝/etc/passwd鏂囦歡閲岀殑GID涓虹敤鎴風殑鍒濆鐢ㄦ埛緇勩?br />鐢ㄦ埛鐨勫垵濮嬬敤鎴風粍榪欎竴浜嬪疄涓嶄細鍐?etc/group涓綋鐜般?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鏌ョ湅褰撳墠鐢ㄦ埛鐨勭敤鎴風粍鍛戒護錛?/strong><br />[root@local opt]#groups<br />root bin daemon sys adm disk wheel<br />杈撳嚭鐨勪俊鎭腑錛岀涓涓敤鎴風粍涓哄綋鍓嶇敤鎴風殑鏈夋晥鐢ㄦ埛緇勶紙褰撳墠鐢ㄦ埛緇勶級</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鍒囨崲鏈夋晥鐢ㄦ埛緇勫懡浠わ細<br /></strong>[root@local opt]#newgrp 鐢ㄦ埛緇勫悕<br />瑕佺寮鏂扮殑鏈夋晥鐢ㄦ埛緇勶紝鍒欒緭鍏xit鍥炶濺銆?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鏂板緩鐢ㄦ埛鍛戒護錛?br /></strong>[root@local opt]#useradd 鐢ㄦ埛鍚?-g 鍒濆鐢ㄦ埛緇?-G 鍏朵粬鐢ㄦ埛緇勶紙淇敼/etc/group錛?-c 鐢ㄦ埛璇存槑 -u 鎸囧畾UID</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>寤哄畬鐢ㄦ埛闇瑕佷負鐢ㄦ埛璁劇疆瀵嗙爜錛?br /></strong>[root@local opt]#passwd 鐢ㄦ埛鍚?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鐢ㄦ埛瑕佷慨鏀硅嚜宸卞瘑鐮佸懡浠わ細</strong><br />[root@local opt]#passwd</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>淇敼鐢ㄦ埛淇℃伅鍛戒護錛?br /></strong>[root@local opt]#usermod 鍙傛暟 鐢ㄦ埛鍚?br />鍙傛暟:<br /><em>-c 璇存槑<br />-g 緇勫悕 鍒濆鐢ㄦ埛緇?br />-e 榪囨湡鏃ユ湡 鏍煎紡錛歒YYY-MM-DD<br />-G 緇勫悕 鍏朵粬鐢ㄦ埛緇?br />-l 淇敼鐢ㄦ埛鍚?br />-L 閿佸畾璐﹀彿錛堝湪/etc/shadow鏂囦歡涓敤鎴峰搴斿瘑鐮佸瘑鐮佷覆鐨勫墠闈㈠姞涓婁袱涓徆鍙?!!)錛?br />-U 瑙i攣</em></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鍒犻櫎鐢ㄦ埛鍛戒護錛?/strong><br />[root@local opt]#userdel [-r] 鐢ㄦ埛鍚?br />鍏朵腑錛屽弬鏁?r涓哄垹闄ょ敤鎴風殑home鐩綍銆?br />鍏跺疄錛屽彲鑳藉湪緋葷粺鍏朵粬鍦版柟涔熸湁璇ョ敤鎴鋒枃浠訛紝瑕佸畬鏁村垹闄や竴涓敤鎴峰拰鍏舵枃浠惰鍏堟壘鍒板睘浜庝粬鐨勬枃浠訛細<br />[root@local opt]#find / -user 鐢ㄦ埛鍚?br />鐒跺悗鍒犻櫎錛屽啀榪愯userdel鍒犻櫎鐢ㄦ埛銆?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鏌ョ湅鍙敤shell鍛戒護錛?br /></strong>[root@local opt]#chsh -l <br /><strong>淇敼鑷繁鐨剆hell鍛戒護錛?/strong><br />[root@local opt]#chsh -s</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鏌ョ湅鑷繁鎴栨煇浜篣ID/GID淇℃伅錛?br /></strong>[root@local opt]#id [鐢ㄦ埛鍚峕<br />榪斿洖淇℃伅涓璯roups涓烘湁鏁堢敤鎴風粍</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鏂板鐢ㄦ埛緇勫懡浠わ細</strong><br />[root@local opt]#groupadd 鐢ㄦ埛緇勫悕</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>淇敼鐢ㄦ埛緇勫悕鍛戒護錛?br /></strong>[root@local opt]#groupmod -n 鍚嶇О</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鍒犻櫎鐢ㄦ埛緇勫懡浠わ細<br /></strong>[root@local opt]#groupdel 鐢ㄦ埛緇勫悕</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>璁劇疆鐢ㄦ埛緇勫瘑鐮佸懡浠わ細</strong><br />[root@local opt]#gpasswd 鐢ㄦ埛緇勫悕</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">濡傛灉gpasswd鍔犱笂鍙傛暟鍒欐湁鍏朵粬鍔熻兘</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>璁劇疆鐢ㄦ埛緇勭鐞嗗憳鍛戒護錛?/strong><br />[root@local opt]#gpasswd -A 鐢ㄦ埛鍚?鐢ㄦ埛緇勫悕</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>娣誨姞鏌愬笎鍙峰埌緇勫懡浠わ細<br /></strong>[root@local opt]#gpasswd -M 鐢ㄦ埛鍚?鐢ㄦ埛緇勫悕</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>浠庣粍涓垹闄ゆ煇甯愬彿鍛戒護錛?br /></strong>[root@local opt]#gpasswd -d 鐢ㄦ埛鍚?鐢ㄦ埛緇勫悕</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">passwd鐩稿叧鍙傛暟鎿嶄綔錛?br /><em>-l 閿佺敤鎴?br />-u 瑙i攣鐢ㄦ埛<br />-n 澶╂暟 瀵嗙爜涓嶅彲鏀瑰ぉ鏁?br />-x 澶╂暟 瀵嗙爜榪囨湡澶╂暟<br />-w 澶╂暟 璀﹀憡澶╂暟</em></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>鏂囦歡鏉冮檺鐭ヨ瘑<br /><br /></strong>鍏堢湅涓疄渚嬶細<br />[root@local opt]#ls -al<br />ls -al 鍛戒護鏄垪鍑虹洰褰曠殑鎵鏈夋枃浠訛紝鍖呮嫭闅愯棌鏂囦歡銆傞殣钘忔枃浠剁殑鏂囦歡鍚嶇涓涓瓧絎︿負'.'<br />-rw-r--r-- 1 root root    81 08-02 14:54 gtkrc-1.2-gnome2<br />-rw------- 1 root root   189 08-02 14:54 ICEauthority<br />-rw------- 1 root root    35 08-05 10:02 .lesshst<br />drwx------ 3 root root 4096 08-02 14:54 .metacity<br />drwxr-xr-x 3 root root 4096 08-02 14:54 nautilus</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">鍒楄〃鐨勫垪瀹氫箟濡備笅錛?br />[鏉冮檺灞炴т俊鎭痌 [榪炴帴鏁癩 [鎷ユ湁鑰匽 [鎷ユ湁鑰呮墍灞炵敤鎴風粍] [澶у皬] [鏈鍚庝慨鏀規椂闂碷 [鏂囦歡鍚峕</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">鏉冮檺灞炴у垪琛ㄤ負10涓瓧絎︼細<br />絎竴涓瓧絎﹁〃紺烘枃浠剁被鍨嬶紝d涓虹洰褰?-涓烘櫘閫氭枃浠?l涓鴻繛鎺?b涓哄彲瀛樺偍鐨勬帴鍙h澶?c涓洪敭鐩橀紶鏍囩瓑杈撳叆璁懼<br />2銆?銆?涓瓧絎﹁〃紺烘墍鏈夎呮潈闄愶紝5銆?銆?涓瓧絎﹁〃紺烘墍鏈夎呭悓緇勭敤鎴鋒潈闄愶紝8銆?銆?0涓哄叾浠栫敤鎴鋒潈闄?br />絎簩涓瓧絎﹁〃紺烘墍鏈夎呰鏉冮檺錛屽鏋滄湁鏉冮檺鍒欎負r錛屾病鏈夋潈闄愬垯涓?<br />絎笁涓瓧絎﹁〃紺烘墍鏈夎呭啓鏉冮檺錛屽鏋滄湁鏉冮檺鍒欎負w錛屾病鏈夋潈闄愬垯涓?<br />絎洓涓瓧絎﹁〃紺烘墍鏈夎呮墽琛屾潈闄愶紝濡傛灉鏈夋潈闄愬垯涓簒錛屾病鏈夋潈闄愬垯涓?<br />絎簲涓瓧絎﹁〃紺烘墍鏈夎呭悓緇勭敤鎴瘋鏉冮檺錛屽鏋滄湁鏉冮檺鍒欎負r錛屾病鏈夋潈闄愬垯涓?<br />絎叚涓瓧絎﹁〃紺烘墍鏈夎呭悓緇勭敤鎴峰啓鏉冮檺錛屽鏋滄湁鏉冮檺鍒欎負w錛屾病鏈夋潈闄愬垯涓?<br />絎竷涓瓧絎﹁〃紺烘墍鏈夎呭悓緇勭敤鎴鋒墽琛屾潈闄愶紝濡傛灉鏈夋潈闄愬垯涓簒錛屾病鏈夋潈闄愬垯涓?<br />絎叓涓瓧絎﹁〃紺哄叾浠栭潪鍚岀粍璇繪潈闄愶紝濡傛灉鏈夋潈闄愬垯涓簉錛屾病鏈夋潈闄愬垯涓?<br />絎節涓瓧絎﹁〃紺哄叾浠栭潪鍚岀粍鍐欐潈闄愶紝濡傛灉鏈夋潈闄愬垯涓簑錛屾病鏈夋潈闄愬垯涓?<br />絎崄涓瓧絎﹁〃紺哄叾浠栭潪鍚岀粍鎵ц鏉冮檺錛屽鏋滄湁鏉冮檺鍒欎負x錛屾病鏈夋潈闄愬垯涓?</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>淇敼鏂囦歡鎵灞炵粍鍛戒護錛?/strong><br />[root@local opt]#chgrp [-R] 緇勫悕 鏂囦歡鍚?br />鍏朵腑-R涓洪掑綊璁劇疆</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>淇敼鏂囦歡鐨勬墍鏈夎呭拰緇勫懡浠わ細</strong><br />[root@local opt]#chown [-R] 鐢ㄦ埛[:鐢ㄦ埛緇刔 鏂囦歡鍚?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>淇敼鏂囦歡璁塊棶鏉冮檺鍛戒護錛?br /></strong>[root@local opt]#chmod [-R] 0777 鏂囦歡鍚?br /><br />鑷蟲錛岀敤鎴楓佹枃浠跺拰鏉冮檺鐩稿叧鐨勪笢瑗匡紝灝辨葷粨涓?788浜嗭紝鎺ヤ笅鏉ョ殑灝辨槸錛屽鉤甯歌鏁簬鐢ㄥ悇縐嶅懡浠わ紝鍕や簬鐪嬬湅鏈瘒鎬葷粨鍟︺?/p><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">杞細<a style="color: #f87070; ">http://www.sourcejoy.com/other_dev_tech/linux-user-and-file-manage.html</a></p><br /></h2><img src ="http://www.tkk7.com/abin/aggbug/391120.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/abin/" target="_blank">abing</a> 2012-11-09 23:18 <a href="http://www.tkk7.com/abin/archive/2012/11/09/391120.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>fedora jdk瀹夎http://www.tkk7.com/abin/archive/2012/10/28/390367.htmlabingabingSun, 28 Oct 2012 12:52:00 GMThttp://www.tkk7.com/abin/archive/2012/10/28/390367.htmlhttp://www.tkk7.com/abin/comments/390367.htmlhttp://www.tkk7.com/abin/archive/2012/10/28/390367.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/390367.htmlhttp://www.tkk7.com/abin/services/trackbacks/390367.html鏌ョ湅宸茬粡瀹夎鐨刯dk錛?/p>

rpm -qa|grep jdk


鍗歌澆錛?/p>

rpm -e rpm鍖呭悕錛堜笂闈㈢湅鍒扮殑錛?/p>

鑻ュ瓨鍦ㄤ緷璧栧叧緋伙紝鍏堝嵏杞戒笂灞傜殑銆?/p>璧嬩簣jdk-6u35-linux-i586-rpm.bin鏉冮檺錛?br />[abin1@abin1 sysource]$ chmod u+X jdk-6u35-linux-i586-rpm.bin
[abin1@abin1 sysource]$ sudo ./jdk-6u35-linux-i586-rpm.bin
[abin1@abin1 sysource]$ ls
jdk-6u35-linux-i586.rpm                sun-javadb-core-10.6.2-1.1.i386.rpm
jdk-6u35-linux-i586-rpm.bin            sun-javadb-demo-10.6.2-1.1.i386.rpm
sun-javadb-client-10.6.2-1.1.i386.rpm  sun-javadb-docs-10.6.2-1.1.i386.rpm
sun-javadb-common-10.6.2-1.1.i386.rpm  sun-javadb-javadoc-10.6.2-1.1.i386.rpm
[abin1@abin1 sysource]$

瀹夎瑙e帇涔嬪悗鐢熸垚鐨刯dk-6u35-linux-i586.rpm
[abin1@abin1 sysource]$ rpm -ivh --prefix=/home/abin1/abin2/java/ jdk-6u35-linux-i586.rpm

鍙栨秷涔嬪墠璧嬩簣 jdk-6u35-linux-i586-rpm.bin 鐨勬潈闄?br />[abin1@abin1 sysource]$ chmod u-x jdk-6u35-linux-i586-rpm.bin



閰嶇疆JDK鐨勭幆澧冨彉閲忥細

[abin1@abin1 ~]$ sudo vi /etc/profile.d/java.sh
[sudo] password for abin1:

 

export JAVA_HOME="/usr/lib/java/jdk1.6.0_25/"  

export PATH="$PATH:$JAVA_HOME/bin"  

export CLASS_PATH="$JAVA_HOME/lib"   

Fedora JDK鎵ц鎵鏈夌殑鍛戒護
[abin1@abin1 ~]$ source /etc/profile
[abin1@abin1 ~]$ source /etc/profile.d/java.sh
[abin1@abin1 ~]$

嫻嬭瘯JAVA鏄惁瀹夎
java -version



abing 2012-10-28 20:52 鍙戣〃璇勮
]]>
linux jdk1.6瀹夎 http://www.tkk7.com/abin/archive/2012/10/17/389696.htmlabingabingTue, 16 Oct 2012 16:10:00 GMThttp://www.tkk7.com/abin/archive/2012/10/17/389696.htmlhttp://www.tkk7.com/abin/comments/389696.htmlhttp://www.tkk7.com/abin/archive/2012/10/17/389696.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/389696.htmlhttp://www.tkk7.com/abin/services/trackbacks/389696.html

涓.涓嬭澆JDK
1.鐧誨綍Sun鐨凧DK瀹樻柟涓嬭澆緗戝潃:http://java.sun.com/javase/downloads/index.jsp
2.涓嬭澆jdk-1_5_0_07-linux-i586-rpm.bin鏂囦歡
 
浜?瀹夎JDK
1.澧炲姞jdk-1_5_0_07-linux-i586-rpm.bin鏂囦歡鐨勫彲鎵ц鏉冮檺
#root> chmod 755 jdk-1_5_0_07-linux-i586-rpm.bin
2.鎵цjdk-1_5_0_07-linux-i586-rpm.bin
#root> ./ jdk-1_5_0_07-linux-i586-rpm.bin
3.瀹夎PRM鍖呮枃浠?br />#root> rpm -ivh jdk-1_5_0_07-linux-i586.rpm
 
涓?閰嶇疆鐜鍙橀噺PATH,JAVA_HOME,CLASSPATH
閰嶇疆鐜鍙橀噺鏈変笁縐?
1.淇敼/etc/profile鏂囦歡(緋葷粺鏈夋晥)
(1)#root > vi /etc/profile
(2)浣跨敤VI緙栬緫鍣ㄥ湪profile鏂囦歡涓坊鍔犱互涓嬭鍙?
JAVA_HOME=/opt/jdk1.5
PATH=錛凧AVA_HOME/bin:錛凱ATH
CLASSPATH=.錛凧AVA_HOME/lib/dt.jar:JAVA_HOME/lib/tools.jar export JAVA_HOME,PATH,CLASSPATH
(3)閲嶆柊鐧誨綍
 
[娉ㄦ剰]
<1>Linux涓嬬幆澧冨彉閲忎嬌鐢?鍒嗛殧璺緞錛屼笉鍚屼簬Windows涓嬬殑錛?br /><2>Linux浣跨敤(錛?鐜鍙橀噺鍚?鏉ュ紩鐢ㄥ師鏉ュ彉閲忕殑鍊?Windows鍒欐槸浣跨敤%+鐜鍙橀噺鍚?%.姣斿錛凱ATH鍜?PATH%
<3>CLASSPATH涓笉鑳藉瓨鍦ㄧ┖鏍鹼紝濡俉indows涓嬬殑C:\Documents and Settings\seagar\jdk1.5灝嗘槸涓嶅悎娉曠殑璺緞鍚?br /><4>CLASSPATH涓殑褰撳墠鐩綍"."涓嶈兘蹇界暐
<5>export鎶婄幆澧冨彉閲忓鍑轟負鍏ㄥ眬鍙橀噺
<6>澶у皬鍐欎弗鏍煎尯鍒?br /> 
2.淇敼.bashrc鏂囦歡(涓漢鐢ㄦ埛鏈夋晥)
(1)#root > vi /home/seagar/.bashrc
(2)浣跨敤VI緙栬緫鍣ㄥ湪.bashrc鏂囦歡涓坊鍔犱互涓嬭鍙?
JAVA_HOME=/opt/jdk1.5
PATH=錛凧AVA_HOME/bin:錛凱ATH
CLASSPATH=.錛凧AVA_HOME/lib/dt.jar:JAVA_HOME/lib/tools.jar
export JAVA_HOME,PATH,CLASSPAT
3.鐩存帴鍦╯hell淇敼(褰撳墠Shell鏈夋晥)
export JAVA_HOME=/opt/jdk1.5
export PATH=錛凧AVA_HOME/bin:錛凱ATH
export CLASSPATH=.錛凧AVA_HOME/lib/dt.jar:JAVA_HOME/lib/tools.jar
 
鍥?嫻嬭瘯瀹夎鎯呭喌
1.java -version鏌ョ湅鐗堟湰鍙?br />2.浣跨敤VI緙栬緫鍣ㄧ紪鍐欎竴涓狫ava紼嬪簭
(1)#root > vi Hello.java
(2)緙栧啓紼嬪簭
public class Hello
{
     public static void main(String[] args)
     {
          System.out.println("Hello");
     }
}
3.緙栬瘧:javac Hello.java
4.鎵ц:java Hello


浜?鍗歌澆jdk

 

 

   鍗歌澆rpm鐗堢殑jdk錛?/p>

   #rpm -qa|grep jdk

   鏄劇ず錛歫dk-1.6.0_10-fcs

   榪欏氨璇存槑浜嗕綘瀹夎浜唈dk錛屼笅闈㈠嵏杞戒簡瀹冿紝
   鍗歌澆錛?span style="color: #008000">#rpm -e  --nodeps  jdk-1.6.0_10-fcs 

 



abing 2012-10-17 00:10 鍙戣〃璇勮
]]>
linux 瀹夎鏂囦歡鍛戒護http://www.tkk7.com/abin/archive/2012/10/17/389695.htmlabingabingTue, 16 Oct 2012 16:05:00 GMThttp://www.tkk7.com/abin/archive/2012/10/17/389695.htmlhttp://www.tkk7.com/abin/comments/389695.htmlhttp://www.tkk7.com/abin/archive/2012/10/17/389695.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/389695.htmlhttp://www.tkk7.com/abin/services/trackbacks/389695.htmlrpm -ivh --prefix=璺緞 FILE.rpm
闇瑕佹敞鎰忕殑鏄細“璺緞”蹇呴』鏄?home/abin/java榪欑鐨?涓嶈兘涓簙/java

fedora浣跨敤tar.gz鍖呮庝箞瀹夎鍒版寚瀹氭枃浠跺す錛?br />tar -zxvf abin.tar.gz -C /home/abin/java

abing 2012-10-17 00:05 鍙戣〃璇勮
]]>
Linux緋葷粺淇℃伅鏌ョ湅灝忓懡浠?/title><link>http://www.tkk7.com/abin/archive/2012/10/15/389624.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Mon, 15 Oct 2012 15:59:00 GMT</pubDate><guid>http://www.tkk7.com/abin/archive/2012/10/15/389624.html</guid><wfw:comment>http://www.tkk7.com/abin/comments/389624.html</wfw:comment><comments>http://www.tkk7.com/abin/archive/2012/10/15/389624.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/abin/comments/commentRss/389624.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/abin/services/trackbacks/389624.html</trackback:ping><description><![CDATA[<span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">緋葷粺</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# uname -a #鏌ョ湅鍐呮牳/鎿嶄綔緋葷粺/CPU淇℃伅</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# head -n 1 /etc/issue #鏌ョ湅鎿嶄綔緋葷粺鐗堟湰</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# cat /proc/cpuinfo #鏌ョ湅CPU淇℃伅</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# hostname #鏌ョ湅璁$畻鏈哄悕</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# lspci -tv #鍒楀嚭鎵鏈塒CI璁懼</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# lsusb -tv #鍒楀嚭鎵鏈塙SB璁懼</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# lsmod #鍒楀嚭鍔犺澆</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">鍐呮牳妯″潡</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# env #鏌ョ湅鐜鍙橀噺</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆璧勬簮</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# free -m #鏌ョ湅鍐呭瓨浣跨敤閲忓拰浜ゆ崲鍖轟嬌鐢ㄩ噺</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# df -h #鏌ョ湅鍚勫垎鍖轟嬌鐢ㄦ儏鍐?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# du -sh <鐩綍鍚?gt; #鏌ョ湅鎸囧畾鐩綍</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">澶у皬</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# grep MemTotal /proc/meminfo #鏌ョ湅鍐呭瓨鎬婚噺</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# grep MemFree /proc/meminfo #鏌ョ湅絀洪棽鍐呭瓨閲?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# uptime #鏌ョ湅緋葷粺榪愯鏃墮棿銆佺敤鎴鋒暟銆佽礋杞?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# cat /proc/loadavg #鏌ョ湅緋葷粺璐熻澆</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆紓佺洏鍜屽垎鍖?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# mount | column -t #鏌ョ湅鎸傛帴</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">鍒嗗尯鐘舵?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# fdisk -l #鏌ョ湅鎵鏈夊垎鍖?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# swapon -s #鏌ョ湅鎵鏈変氦鎹㈠垎鍖?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# hdparm -i /dev/hda #鏌ョ湅紓佺洏鍙傛暟(浠呴傜敤浜嶪DE璁懼)</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# dmesg | grep IDE #鏌ョ湅鍚姩鏃禝DE璁懼媯嫻嬬姸鍐?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆緗戠粶</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# </span><img src="http://www.codesky.net/docimg/201112/28/1139469140.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">config #鏌ョ湅鎵鏈夌綉緇滄帴鍙?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">灞炴?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# iptables -L #鏌ョ湅闃茬伀澧欒緗?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# route -n #鏌ョ湅璺敱琛?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# netstat -lntp #鏌ョ湅鎵鏈夌洃鍚鍙?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# netstat -antp #鏌ョ湅鎵鏈夊凡緇忓緩绔?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">榪炴帴</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# netstat -s #鏌ョ湅緗戠粶緇熻淇℃伅</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆榪涚▼</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# ps -ef #鏌ョ湅鎵鏈夎繘紼?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# top #瀹炴椂鏄劇ず榪涚▼鐘舵?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆鐢ㄦ埛</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# w #鏌ョ湅媧誨姩鐢ㄦ埛</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# id <鐢ㄦ埛鍚?gt; #鏌ョ湅鎸囧畾鐢ㄦ埛淇℃伅</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# last #鏌ョ湅鐢ㄦ埛鐧誨綍鏃ュ織</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# cut -d: -f1 /etc/passwd #鏌ョ湅緋葷粺鎵鏈夌敤鎴?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# cut -d: -f1 /etc/group #鏌ョ湅緋葷粺鎵鏈夌粍</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# crontab -l #鏌ョ湅褰撳墠鐢ㄦ埛</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">璁″垝浠誨姟</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆鏈嶅姟</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# chkconfig --list #鍒楀嚭鎵鏈夌郴緇熸湇鍔?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# chkconfig --list | grep on #鍒楀嚭鎵鏈夊惎鍔?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">緋葷粺鏈嶅姟</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆</span><img src="http://www.codesky.net/docimg/201112/28/1139479971.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">銆銆# rpm -qa #鏌ョ湅鎵鏈夊畨瑁?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">杞歡Software鍖?/span> <img src ="http://www.tkk7.com/abin/aggbug/389624.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/abin/" target="_blank">abing</a> 2012-10-15 23:59 <a href="http://www.tkk7.com/abin/archive/2012/10/15/389624.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>abin1 is not in the sudoers file. This incident will be reportedhttp://www.tkk7.com/abin/archive/2012/10/15/389618.htmlabingabingMon, 15 Oct 2012 14:50:00 GMThttp://www.tkk7.com/abin/archive/2012/10/15/389618.htmlhttp://www.tkk7.com/abin/comments/389618.htmlhttp://www.tkk7.com/abin/archive/2012/10/15/389618.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/389618.htmlhttp://www.tkk7.com/abin/services/trackbacks/389618.html瑙e喅鏂規硶濡備笅錛?
1>銆佽繘鍏ヨ秴綰х敤鎴鋒ā寮忋備篃灝辨槸杈撳叆"su -",緋葷粺浼氳浣犺緭鍏ヨ秴綰х敤鎴峰瘑鐮侊紝杈撳叆瀵嗙爜鍚庡氨榪涘叆浜嗚秴綰х敤鎴鋒ā寮忋?
2>銆佹坊鍔犳枃浠剁殑鍐欐潈闄愩備篃灝辨槸杈撳叆鍛戒護"chmod u+w /etc/sudoers"銆?
3>銆佺紪杈?etc/sudoers鏂囦歡銆備篃灝辨槸杈撳叆鍛戒護"vim /etc/sudoers",杈撳叆"i"榪涘叆緙栬緫妯″紡錛屾壘鍒拌繖涓琛岋細"root ALL=(ALL) ALL"鍦ㄨ搗涓嬮潰娣誨姞"xxx ALL=(ALL) ALL"
(榪欓噷鐨剎xx鏄綘鐨勭敤鎴峰悕)錛岀劧鍚庝繚瀛橈紙灝辨槸鍏堟憗涓涓婨sc閿紝鐒跺悗杈撳叆":wq"錛夐鍑恒?
4>銆佹挙閿鏂囦歡鐨勫啓鏉冮檺銆備篃灝辨槸杈撳叆鍛戒護"chmod u-w /etc/sudoers"銆? 鑷蟲錛岄棶棰樿В鍐熾?br />

abing 2012-10-15 22:50 鍙戣〃璇勮
]]>
Linux涓媡elnet鏈嶅姟閰嶇疆鍜屼嬌鐢?/title><link>http://www.tkk7.com/abin/archive/2012/10/14/389546.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Sun, 14 Oct 2012 15:22:00 GMT</pubDate><guid>http://www.tkk7.com/abin/archive/2012/10/14/389546.html</guid><wfw:comment>http://www.tkk7.com/abin/comments/389546.html</wfw:comment><comments>http://www.tkk7.com/abin/archive/2012/10/14/389546.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/abin/comments/commentRss/389546.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/abin/services/trackbacks/389546.html</trackback:ping><description><![CDATA[<p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>Telnet鏈嶅姟鐨勫畨瑁?/strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       Red Hat Enterprise Linux瀹夎紼嬪簭榛樿娌℃湁瀹夎Telnet鏈嶅姟錛屽彲浣跨敤涓嬮潰鍛戒護媯鏌ョ郴緇熸槸鍚﹀凡緇忓畨瑁呬簡Telnet鏈嶅姟鎴栨煡鐪嬪凡緇忓畨瑁呬簡浣曠鐗堟湰銆?/strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>rpm -q telnet-server</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       濡傛灉緋葷粺榪樻病鏈夊畨瑁匱elnet鏈嶅姟銆傚彲灝哛ed Hat Enterprise Linux瀹夎鐩樻斁鍏ュ厜椹憋紝鍔犺澆鍏夐┍鍚庢壘鍒癟elnet鏈嶅姟鐨凴PM瀹夎鍖呮枃浠訛紝鐒跺悗瀹夎Telnet鏈嶅姟銆?br />yum install telnet-server</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>鍚姩鍜屽仠姝elnet鏈嶅姟</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       Telnet鏈嶅姟騫朵笉鍍忓叾浠栨湇鍔★紙濡侶TTP鍜孎TP絳夛級涓鏍蜂綔涓虹嫭绔嬬殑瀹堟姢榪涚▼榪愯錛屽畠浣跨敤xinetd紼嬪簭綆$悊錛岃繖鏍蜂笉浣嗚兘鎻愰珮瀹夊叏鎬э紝鑰屼笖榪樿兘浣跨敤xinetd瀵筎elnet鏈嶅姟鍣ㄨ繘琛岄厤緗鐞嗐?/strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       Telnet鏈嶅姟瀹夎鍚庨粯璁ゅ茍涓嶄細琚玿inetd鍚敤錛岃繕瑕佷慨鏀規枃浠?etc/xinetd.d/telnet灝嗗叾鍚敤銆傚叾瀹?etc/xinetd.d/telnet鏂囦歡鏄痻inetd紼嬪簭閰嶇疆鏂囦歡鐨勪竴閮ㄥ垎錛屽彲浠ラ氳繃瀹冩潵閰嶇疆Telnet鏈嶅姟鍣ㄧ殑榪愯鍙傛暟銆傜紪杈戞枃浠?etc/xinetd.d/telnet錛屾壘鍒拌鍙?#8220;disable = yes”錛屽皢鍏舵敼涓?#8220;disable = no” 銆傜劧鍚庝嬌鐢ㄤ互涓嬪懡浠ら噸鏂板惎鍔▁inetd鏈嶅姟錛?/etc/init.d/xinetd restart</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>    [root@RHCE~]#vi /etc/xinetd.d/telnet</strong></p><img src ="http://www.tkk7.com/abin/aggbug/389546.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/abin/" target="_blank">abing</a> 2012-10-14 23:22 <a href="http://www.tkk7.com/abin/archive/2012/10/14/389546.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Fedora闃茬伀澧欒緗?http://www.tkk7.com/abin/archive/2012/10/14/389544.htmlabingabingSun, 14 Oct 2012 14:55:00 GMThttp://www.tkk7.com/abin/archive/2012/10/14/389544.htmlhttp://www.tkk7.com/abin/comments/389544.htmlhttp://www.tkk7.com/abin/archive/2012/10/14/389544.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/389544.htmlhttp://www.tkk7.com/abin/services/trackbacks/389544.html

鍚姩闃茬伀澧?br />

1) 閲嶅惎鍚庣敓鏁?
寮鍚細 chkconfig iptables on
鍏抽棴錛?chkconfig iptables off   鎴栬? /sbin/chkconfig --level 2345 iptables off

2) 鍗蟲椂鐢熸晥錛岄噸鍚悗澶辨晥

service 鏂瑰紡
寮鍚細 service iptables start
鍏抽棴錛?service iptables stop

iptables鏂瑰紡

鏌ョ湅闃茬伀澧欑姸鎬侊細
/etc/init.d/iptables status

鏆傛椂鍏抽棴闃茬伀澧欙細
/etc/init.d/iptables stop

閲嶅惎iptables:
/etc/init.d/iptables restart


闇瑕佽鏄庣殑鏄浜嶭inux涓嬬殑鍏跺畠鏈嶅姟閮藉彲浠ョ敤浠ヤ笂鍛戒護鎵ц寮鍚拰鍏抽棴鎿嶄綔銆?br />
鍦ㄥ紑鍚簡闃茬伀澧欐椂錛屽仛濡備笅璁劇疆錛屽紑鍚浉鍏崇鍙c?br />
淇敼/etc/sysconfig/iptables 鏂囦歡錛屾坊鍔犱互涓嬪唴瀹癸細

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

鏌ョ湅鎵鏈夎繘紼嬶紝鍖呮嫭鏈嶅姟錛屽懡浠ら噷ps -aux鏄痭etconfig鍦╮edhat閲岄潰鏄瓧絎︾晫闈笅鐨勭綉鍗¢厤緗伐鍏楓?br />
chkconfig --list

鍙互鍒楀嚭sysV鍜寈inet鏈嶅姟鍦ㄥ悇涓猺unlevel鐨勯粯璁ゅ惎鍔ㄧ姸鎬併?br />
service 鏈嶅姟鍚? 鍙傛暟

鏌ョ湅鐘舵佺殑鍙傛暟濂藉儚鏄痵tat 鍚с?br />
鑷惎鍔ㄦ湇鍔?br />
ntsysv 

abing 2012-10-14 22:55 鍙戣〃璇勮
]]>
Fedora 鍚姩 SSH鏈嶅姟http://www.tkk7.com/abin/archive/2012/10/14/389540.htmlabingabingSun, 14 Oct 2012 12:06:00 GMThttp://www.tkk7.com/abin/archive/2012/10/14/389540.htmlhttp://www.tkk7.com/abin/comments/389540.htmlhttp://www.tkk7.com/abin/archive/2012/10/14/389540.html#Feedback0http://www.tkk7.com/abin/comments/commentRss/389540.htmlhttp://www.tkk7.com/abin/services/trackbacks/389540.html

涓銆丗edora 鍚姩sshd鏈嶅姟錛?/span>

1銆?/span>鍏堢‘璁ゆ槸鍚﹀凡瀹夎ssh鏈嶅姟錛?/span>

  [root@localhost ~]# rpm -qa | grep openssh-server

銆openssh-server-5.3p1-19.fc12.i686 錛堣繖琛岃〃紺哄凡瀹夎錛?/span>

  鑻ユ湭瀹夎ssh鏈嶅姟錛屽彲杈撳叆錛?/span>

  #yum install openssh-server 

  榪涜瀹夎


2銆?/span>淇敼閰嶇疆鏂囦歡

   #vi /etc/ssh/sshd_config

  銆#Port 22  鐩戝惉鐨勭鍙e彿錛岄粯璁ゆ槸22錛屽彲浠ヨ嚜瀹氫箟銆?/span>

銆銆#Protocol 2  鏀寔鐨勫崗璁紝榛樿灝卞ソ錛屼笉鐢ㄤ慨鏀?/span>

銆銆#PermitRootLogin yes 鏄惁鍏佽root鐩存帴鐧誨綍錛屾渶濂借緗負no

    #MMaxAuthTries 6 鏈澶х櫥褰曟暟錛岄粯璁ゆ槸6錛屽緩璁緗負3錛岄槻姝㈠埆浜哄瘑鐮佺┓涓俱?/span>

   淇敼瀹岄厤緗悗錛岄噸鍚疭SH鏈嶅姟錛?/span>

 銆[root@localhost ~]# /etc/rc.d/init.d/sshd restart

銆  Stopping sshd: [ OK ]

Starting sshd: [ OK ]:


3銆?/span>鏌ョ湅sshd鐘舵侊細

   #service sshd status


4銆?/span>灝嗙鍙?2錛堟垨鑰呰嚜瀹氫箟鐨勫叾浠栫鍙o級鍔犲埌闃茬伀澧欑殑璁劇疆涓紝鏍囪涓篈ccept

   #iptables -A INPUT -p tcp --dport 22 -j ACCEPT

錛堣繖鍙ュ緢閲嶈錛屼笉鐒跺閮ㄨ繛鎺ヤ笉浜嗐傦級

   涔熷彲浠ュ皢涓婅堪鍙傛暟鍔犲叆闃茬伀澧欓厤緗腑錛?/span>

   #vi /etc/sysconfig/iptables

  鍔犲叆錛?A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

   淇濆瓨鍚庨噸鍚痠ptables鍗沖彲

璇︽儏鍙互鏌ラ槄 iptables鐨勭敤娉?/a>


浜屻丗edora15/16/17 鍚姩sshd鏈嶅姟錛?/span>

鐢變簬Fedora 15/16浣跨敤systemd鏈嶅姟錛?/span>

1銆佸惎鍔⊿SH鏈嶅姟涓庝笂闈㈡湁浜涗笉鍚?/span>

# systemctl start sshd.service

鎴栬?#service sshd start

涔熷彲浠ョ敤 restart 鍜?nbsp;stop鎺у埗sshd鏈嶅姟


2銆佽緗郴緇熷惎鍔ㄦ椂寮鍚湇鍔?/span>

# systemctl enable sshd.service


3銆佸悓鏍蜂篃闇寮鍚槻鐏22绔彛

   #iptables -A INPUT -p tcp --dport 22 -j ACCEPT

   涔熷彲浠ュ皢涓婅堪鍙傛暟鍔犲叆闃茬伀澧欓厤緗腑錛?/span>

   #vi /etc/sysconfig/iptables

   鍔犲叆錛?A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

   淇濆瓨鍚庨噸鍚痠ptables鍗沖彲

璇︽儏鍙互鏌ラ槄 iptables鐨勭敤娉?/a>



杞澆璇鋒敞鏄嶧rom錛?a target="_blank"> http://blog.163.com/jackswu@yeah


abing 2012-10-14 20:06 鍙戣〃璇勮
]]>
tar鍖呫佸帇緙╀笌瑙e帇緙?/title><link>http://www.tkk7.com/abin/archive/2012/10/14/389539.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Sun, 14 Oct 2012 10:23:00 GMT</pubDate><guid>http://www.tkk7.com/abin/archive/2012/10/14/389539.html</guid><wfw:comment>http://www.tkk7.com/abin/comments/389539.html</wfw:comment><comments>http://www.tkk7.com/abin/archive/2012/10/14/389539.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/abin/comments/commentRss/389539.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/abin/services/trackbacks/389539.html</trackback:ping><description><![CDATA[<p>鍦║nix涓嬪父閬囧埌涓浜涜В鍖呫佸帇鍖呯殑闂銆備竴鑸儏鍐典笅灝嗚嫢騫叉枃浠舵垨鏂囦歡澶規墦鎴恡ar鍖咃紝鏄負浜嗕究浜庢枃浠剁殑浼犺緭鍜岀鐞嗐備緥濡傦紝閫氳繃FTP浠嶶nix騫沖彴涓嬭澆鐩綍緇撴瀯杈冨鐨勬枃浠跺す鍒癢indows騫沖彴鎴栧彟澶栦竴Unix騫沖彴錛岃櫧鐒舵枃浠跺す涓嶆槸澶ぇ錛屼絾鐢變簬姣忎釜鏂囦歡寰堝皬錛屼笖闈炲父澶氾紝姣忎釜鏂囦歡閮借榪涜鏂囦歡澶淬佸熬媯鏌ユ牎楠屻備笅杞介熷害浼氶潪甯告參銆傚鏋滄墦鎴恡ar鍖咃紝浼犺緭灝變細蹇緢澶氥傚瓨妗g殑鏂囦歡澶規墦鎴恡ar鍖呬篃瀹規槗綆$悊銆?br />鍊煎緱娉ㄦ剰鐨勬槸錛歵ar鏂囦歡鍙槸灝嗘枃浠舵垨鏂囦歡澶規墦鍖咃紝騫舵病鏈夎繘琛屽帇緙┿傚鏋滄枃鏈枃浠惰緝澶氾紝瀵瑰叾鍘嬬緝浼氳妭鐪佸緢澶х殑紓佺洏絀洪棿錛屼紶杈撳皢鏇村揩銆傚帇緙╁拰瑙e帇緙╂柟娉曞彲浠ュ弬鑰冧笅鏂囩粰鍑虹殑紺轟緥銆?br />涓嬮潰鎴戜互Sun Solaris 5.8錛堝叾浠杣nix濡俵inux銆乤ix澶т綋鐩稿悓錛変負渚嬶紝灝卞父瑙佺殑涓浜涢棶棰樺悜鍚勪綅鍚屼粊浣滀竴涓嬩粙緇嶏紝渚涘ぇ瀹跺湪宸ヤ綔涓弬鑰冦傚洜姘村鉤鏈夐檺錛屼粎鍋氭姏鐮栧紩鐜夛紝嬈㈣繋澶у縐瀬琛ュ厖銆? <br /><br />1銆佸浣曡В寮.tgz鎴?tar.gz鏂囦歡錛?br />2銆佸浣曡В寮.z鎴?Z鏂囦歡錛?br />3銆佸浣曡В寮.tar.Z鏂囦歡錛?br />4銆佸浣曞畨瑁呫佸嵏杞姐佸垪鍑簉pm鍖呬俊鎭紵錛坙inux甯哥敤錛?br />5銆佸浣曚嬌鐢╰ar鍛戒護嫻嬭瘯銆佸睍寮銆佺敓鎴恡gz鍖咃紵<br />6銆佸浣曡В寮鍜岀敓鎴恡ar鏂囦歡錛?br />7銆佸浣曡薄鍦≒C涓婄殑ARJ閭f牱鐨勫垎瑙f墦鍖呰蔣浠?<br />8銆佸湪Unix涓嬪浣曞帇緙╂枃浠訛紵<br />9銆佸浣曡В寮鍜岀敓鎴愬叾浠栧寘濡?jar鏂囦歡錛?br />10銆佹姏鐮栧紩鐜夛紝寰呭悓浠佽ˉ鍏?br /><br />============================================================<br />1銆佸浣曟墠鑳借В寮.tgz鎴?tar.gz鏂囦歡錛? <br />1錛夋柟娉曚竴錛?br />gzip -d filename.tar.gz 鎴?gzip -d filename.tgz<br />tar -xvf filename.tar<br />2錛夋柟娉曚簩錛?br />瑙e帇騫跺垪琛細<br />gzip -dc filename.tgz | tar xvf -           #瑙?tgz鏂囦歡<br />gzip -dc filename.tar.gz | tar xvf -        #.tar.gz 鍚? .tgz鏂囦歡<br />鍙垪琛ㄤ笉鐢熸垚鏂囦歡錛?br />gzip -dc filename.tgz | tar tvf -           #瑙?tgz鏂囦歡<br />gzip -dc filename.tar.gz | tar tvf -        #.tar.gz 鍚? .tgz鏂囦歡<br />gzip鐨勫叾浠栦嬌鐢ㄦ柟娉曞弬瑙乬zip -h</p> <p>============================================================<br />2銆佸浣曟墠鑳借В寮.z鎴?Z鏂囦歡錛? <br />1錛夎В.z 鏂囦歡: gzcat filename.z<br />2錛夎В.Z 鏂囦歡錛歶ncompress -c filename.Z</p> <p>============================================================<br />3銆佸浣曡В.tar.Z鏂囦歡錛? <br />1錛夎В鍘嬪茍鍒楄〃錛?br />zcat filename.tar.Z | tar xvf -            #瑙?tar.Z鏂囦歡<br />uncompress -c tast.tar.Z | xvf -           #uncompress -c 鍚? zcat<br />2錛夊彧鍒楄〃涓嶇敓鎴愭枃浠訛細<br />zcat filename.tar.Z | tar tvf -             #瑙?tar.Z鏂囦歡<br />uncompress -c filename.tar.Z | tvf -        #uncompress -c 鍚? zcat</p> <p>============================================================<br />4銆佸浣曞畨瑁呫佸嵏杞姐佸垪鍑簉pm鍖呬俊鎭紵錛坙inux甯哥敤錛? <br />1)瀹夎rpm鍖呮椂鏄劇ず榪涘害錛屼緥濡傦細鐢?vh鍙傛暟錛屽rpm -ivh ipchains-1.3.6-1.i386.rpm<br />2)鐩存帴閫氳繃ftp鏉ュ畨瑁卹pm鍖咃紝渚嬪錛歳pm -i <br />3)鏍¢獙鎵鏈夌殑rpm鍖咃紝鏌ユ壘涓㈠け鐨勬枃浠訛紝渚嬪錛歳pm –Va<br />4)鏌ユ壘涓涓枃浠跺睘浜庡摢涓猺pm鍖咃紝渚嬪錛歳pm -qf /usr/bin/who<br />5)鍒楀嚭涓涓猺pm鍖呯殑鎻忚堪淇℃伅錛屼緥濡傦細rpm -qpi mon-0.37j-1.i386.rpm<br />6)鍒楀嚭涓涓猺pm鍖呯殑鏂囦歡淇℃伅錛屼緥濡傦細rpm -qpl mon-0.37j-1.i386.rpm<br />7)鍒楀嚭騫惰繃婊ゅ凡緇忓畨瑁呯殑鍖咃紝渚嬪錛歳pm –q |grep IBM<br />8)鍒犻櫎宸插畨瑁呯殑鍖咃紝渚嬪錛歳pm –e 鍖呭悕<br />9)鍏朵粬rpm鎿嶄綔鍙傝 # rpm --help</p> <p>============================================================<br />5銆佸浣曚嬌鐢╰ar鍛戒護嫻嬭瘯銆佸睍寮銆佺敓鎴恡gz鍖咃紵 <br />tar zvfx filename.tgz                       #鍦ㄥ綋鍓嶇洰褰曚笅灞曞紑榪欎釜鍖?br />tar zvft filename.tgz                       #鍙祴璇曚笉灞曞紑<br />tar zvfx filename.tgz -C /new-dir           #灞曞紑鍚庢斁鍒?new-dir鐩綍涓?br />tar zvfc filename.tgz /filename             #鎶?filename鐩綍涓嬫墍鏈夌殑鏂囦歡鍙婂瓙鐩綍鎵撳寘鎴恌ilename.tgz</p> <p>============================================================<br />6銆佸浣曡В寮鍜岀敓鎴恡ar鏂囦歡錛? <br />tar xvf filename.tar                              #褰撳厛鐩綍瑙e寘<br />tar tvf filename.tar                              #鍙樉紺轟笉鐢熸垚鏂囦歡<br />tar cvf filename.tar <file or dir list>          #鐢熸垚鍖?br />tar鐨勫弬鏁板緢澶氾紝瑕佷粩緇嗗涔犲弬瑙?tar -h</p> <p>============================================================<br />7銆佸浣曡薄鍦≒C涓婄殑ARJ閭f牱鐨勫垎瑙f墦鍖呰蔣浠? <br /># split -b 100k big.file<br />   灝哹ig.file鍒嗚В鎴愯嫢騫?00K鐨勫皬鏂囦歡 (鍚嶄負xa, xb, xc, ...)<br /># split -l 500 big.file<br />   灝哹ig.file鍒嗚В鎴愭瘡涓?00 lines鐨勫皬鏂囦歡<br />鍏跺畠浣跨敤鏂規硶鍙傝split –h<br /><br />============================================================<br />8銆佸湪Unix涓嬪浣曞帇緙╂枃浠訛紵 <br />鍦╱nix涓嬪帇緙╂柟娉曟湁澶氱錛屽彲浠ュ弬瑙乬zip銆乬unzip銆亃cat銆乧ompress絳夊伐鍏鋒枃妗o紝涔熷彲浠ュ弬瑙佷笂闈㈡墍榪扮殑涓浜涙柟娉曘備笅闈粎浠ompress鍛戒護紺轟緥錛? <br />渚嬪錛氶渶瑕佸皢/filename鐨勬枃浠舵墦鍖呭茍鍘嬬緝錛岄渶瑕佸仛浠ヤ笅姝ラ錛?br />1錛夋墦鍖?br />tar cvf filename.tar ./dir<br />2錛夊帇緙?br />compress filename.tar #鐢熸垚filename.tar.Z鏂囦歡<br />濡傛灉榪樺師鍥炲師鏉ョ殑鐩綍緇撴瀯<br />1錛夎В鍘嬬緝<br />uncompress filename.tar.Z<br />3錛夎Вtar鍖?br />tar xvf filename.tar <br />濡傛灉unix鍛戒護鍙傛暟涓嶇啛鎮夛紝涓鑸篃鍙互閫氳繃ftp灝嗗帇緙╂垨鎵撳寘鏂囦歡浼犲埌PC涓婏紝鍒╃敤Windows涓嬬殑Winzip鎴杛ar絳夊帇緙╁伐鍏瘋В寮銆?br /><br />==========================================================<br />9銆佸浣曡В寮鍜岀敓鎴愬叾浠栧寘濡?jar鏂囦歡錛? <br />鍦╱nix涓婄敓鎴愬拰瑙e紑jar鍖呭拰瀵箃ar鍖呯殑鎿嶄綔宸笉澶氥?br />渚嬪錛?br />jar cvf filename.jar /dirname    #灝?dirname 鎵撴垚jar鍖?br />jar xvf filename.jar             #瑙e紑jar鍖?br />jar tvf filename.jar             #鍙垪琛ㄤ笉瑙e紑jar鍖?/p><img src ="http://www.tkk7.com/abin/aggbug/389539.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/abin/" target="_blank">abing</a> 2012-10-14 18:23 <a href="http://www.tkk7.com/abin/archive/2012/10/14/389539.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://rp71.com" target="_blank">亚洲日韩一页精品发布</a>| <a href="http://4922000.com" target="_blank">亚洲真人无码永久在线观看</a>| <a href="http://1111xxxx.com" target="_blank">24小时在线免费视频</a>| <a href="http://3atv3523.com" target="_blank">99亚偷拍自图区亚洲</a>| <a href="http://kyqp0033.com" target="_blank">亚洲综合色在线观看亚洲</a>| <a href="http://chch12.com" target="_blank">91香蕉国产线在线观看免费</a>| <a href="http://by22877.com" target="_blank">亚洲av无码一区二区三区人妖</a>| <a href="http://h47h.com" target="_blank">亚洲免费人成在线视频观看</a>| <a href="http://zjtuhui.com" target="_blank">一个人免费高清在线观看</a>| <a href="http://boyipark.com" target="_blank">五月天婷婷免费视频</a>| <a href="http://moushengguigz.com" target="_blank">亚洲沟沟美女亚洲沟沟</a>| <a href="http://902578.com" target="_blank">亚洲色偷偷狠狠综合网</a>| <a href="http://88ww99.com" target="_blank">18禁网站免费无遮挡无码中文</a>| <a href="http://bjbanjia01.com" target="_blank">无遮挡呻吟娇喘视频免费播放</a>| <a href="http://lianghao999.com" target="_blank">亚洲人成在线影院</a>| <a href="http://kkk28.com" target="_blank">亚洲AⅤ永久无码精品AA</a>| <a href="http://nnlxl.com" target="_blank">99在线精品免费视频九九视 </a>| <a href="http://sdzhly.com" target="_blank">美丽的姑娘免费观看在线播放</a>| <a href="http://33303339.com" target="_blank">亚洲av无码成人影院一区</a>| <a href="http://bb927bb.com" target="_blank">亚洲国产成人精品不卡青青草原</a>| <a href="http://jjwgzx.com" target="_blank">啦啦啦在线免费视频</a>| <a href="http://kk600700.com" target="_blank">亚洲欧洲免费视频</a>| <a href="http://fense1.com " target="_blank">特黄特色的大片观看免费视频</a>| <a href="http://942woool.com" target="_blank">亚洲同性男gay网站在线观看</a>| <a href="http://www66susu.com" target="_blank">亚洲av中文无码</a>| <a href="http://www1688mz.com" target="_blank">99精品全国免费观看视频</a>| <a href="http://5kee.com" target="_blank">久久久久久AV无码免费网站</a>| <a href="http://shaiyahx.com" target="_blank">特黄特色的大片观看免费视频</a>| <a href="http://yy12345.com" target="_blank">亚洲人成7777</a>| <a href="http://pencilinside.com" target="_blank">久久综合亚洲色一区二区三区 </a>| <a href="http://48eh.com" target="_blank">亚洲精品午夜视频</a>| <a href="http://www-175345.com" target="_blank">亚洲精品V欧洲精品V日韩精品</a>| <a href="http://biarn.com" target="_blank">国产成人一区二区三区免费视频</a>| <a href="http://zddzbp.com" target="_blank">最近中文字幕电影大全免费版 </a>| <a href="http://www-qwh.com" target="_blank">亚洲色精品VR一区区三区</a>| <a href="http://wxyz2.com" target="_blank">久久久婷婷五月亚洲97号色 </a>| <a href="http://mallmirror.com" target="_blank">亚洲日韩精品无码专区加勒比☆</a>| <a href="http://kdltuliao.com" target="_blank">久久亚洲免费视频</a>| <a href="http://miya863.com" target="_blank">久久久久亚洲AV无码专区网站 </a>| <a href="http://zhuanjiao521.com" target="_blank">亚洲欧洲在线观看</a>| <a href="http://ygloka.com" target="_blank">黑人精品videos亚洲人</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>