锘??xml version="1.0" encoding="utf-8" standalone="yes"?>精品亚洲一区二区三区在线播放 ,国产亚洲精品成人AA片新蒲金,亚洲精品国产成人中文http://m.tkk7.com/gembin/category/34821.html<font color="red">OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP</font><br/><br/> <font color="green">HBase, Hadoop, ZooKeeper, Cassandra</font><br/><br/> <font color="blue">Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.</font><br/><br/> <font color="black"> There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.</font> <br/><br/> <a >About Me</a> <script type="text/javascript" src="http://platform.linkedin.com/in.js"></script><script type="in/share" data-counter="right"></script> zh-cnSun, 23 Dec 2012 15:05:30 GMTSun, 23 Dec 2012 15:05:30 GMT60CentOS-璇█璁劇疆http://m.tkk7.com/gembin/archive/2012/12/23/393375.htmlgembingembinSun, 23 Dec 2012 14:08:00 GMThttp://m.tkk7.com/gembin/archive/2012/12/23/393375.htmlhttp://m.tkk7.com/gembin/comments/393375.htmlhttp://m.tkk7.com/gembin/archive/2012/12/23/393375.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/393375.htmlhttp://m.tkk7.com/gembin/services/trackbacks/393375.html鏌ョ湅鎵鏈夌殑locale璇█

  1. # locale -a 
  2. # locale -a|grep en 

■ 鏌ョ湅褰撳墠鎿嶄綔緋葷粺浣跨敤鐨勮璦

  1. # echo $LANG 

■ 璁劇疆緋葷粺locale璇█涓轟腑鏂囩幆澧冿紙姘鎬箙鐢熸晥錛?/p>

# vi /etc/sysconfig/i18n

  1. LANG="zh_CN.UTF-8" 

■ 璁劇疆緋葷粺locale璇█涓鴻嫳鏂囩幆澧冿紙姘鎬箙鐢熸晥錛?/p>

  1. LANG="en_US.UTF-8" 

■ 涓存椂鏀瑰彉緋葷粺locale璇█錛堥鍑烘湰嬈$櫥褰曠珛鍗沖け鏁堬級(jí)

  1. # export LANG=zh_CN.UTF-8 

■ 瀹夎涓枃瀛椾綋

  1. # yum install fonts-chinese.noarch 

■ 鎸囧畾涓枃瀛椾綋璺緞

# vi /etc/X11/fs/config

  1. catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled, 
  2.         /usr/X11R6/lib/X11/fonts/75dpi:unscaled, 
  3.         /usr/X11R6/lib/X11/fonts/100dpi:unscaled, 
  4.         /usr/X11R6/lib/X11/fonts/Type1, 
  5.         /usr/share/fonts/default/Type1, 
  6.         , 
  7.         /usr/share/fonts/zh_CN/TrueType, 
  8.         /usr/share/fonts/zh_TW/TrueType 



    鏂規(guī)硶2

    淇敼CentOS榪愯鐜鐨勯粯璁よ璦鐜鍙橀噺鍊?/p>

    [root@www ~]# vi /etc/profile

    鎵懼埌export璇彞錛屽湪璇彞鍓嶉潰鍔犲叆

    LANG=”en_US.UTF-8″

    鍐嶅湪export鍚庨潰榪藉姞LANG

    export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC LANG

    淇濆瓨閰嶇疆錛屼慨鏀笴entOS璇█瀹屾垚銆?/p>



gembin 2012-12-23 22:08 鍙戣〃璇勮
]]>
ethtool and mii-toolhttp://m.tkk7.com/gembin/archive/2012/09/07/387249.htmlgembingembinFri, 07 Sep 2012 06:41:00 GMThttp://m.tkk7.com/gembin/archive/2012/09/07/387249.htmlhttp://m.tkk7.com/gembin/comments/387249.htmlhttp://m.tkk7.com/gembin/archive/2012/09/07/387249.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/387249.htmlhttp://m.tkk7.com/gembin/services/trackbacks/387249.htmlmii-tool錛堣繖鏄疞inux涓嬩笓闂ㄨ緗綉鍗″伐浣滄ā寮忕殑鍛戒護(hù)錛?/span>
銆銆1. 鏌ョ湅緗戝崱鐨勫伐浣滄ā寮忥紝杈撳叆鍛戒護(hù)錛?/span>
銆銆#mii-tool -v
銆銆eth0: negotiated 100baseTx-FD, link ok
銆銆product info: vendor 00:aa:00, model 56 rev 0
銆銆basic mode: autonegotiation enabled
銆銆basic status: autonegotiation complete, link ok
銆銆capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
銆銆advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
銆銆link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
銆銆浠庝互涓婁俊鎭腑鍙互鐪嬪嚭錛岃繖鍧楃綉鍗″伐浣滃湪100M鍏ㄥ弻宸ヨ嚜閫傚簲妯″紡涓嬶紝“100BaseTx-FD”鎰忎負(fù)100M Full Duplex銆?/span>
銆銆2. 鏇存敼緗戝崱鐨勫伐浣滄ā寮忥紝杈撳叆鍛戒護(hù)錛?/span>
銆銆#mii-tool -F media [interface]
銆銆media鍙夌殑妯″紡鏈?00baseTx-FD銆?00baseTx-HD銆?0baseT-FD銆?0baseT-HD絳夈?Interface浠h〃鎵閫夋嫨鐨勭綉鍗★紝濡俥th0銆乪th1絳夛紝榛樿涓篹th0銆?/span>
銆銆渚嬪錛岃緗綉鍗″伐浣滃湪10M鍗婂弻宸ユā寮忎笅錛岃緭鍏ュ懡浠わ細(xì)
銆銆#mii-tool -F 10baseT-HD eth0
銆銆3. 鎭㈠緗戝崱鐨勮嚜閫傚簲宸ヤ綔妯″紡錛岃緭鍏ュ懡浠わ細(xì)
銆銆#mii-tool -r eth0
銆銆鏇磋緇嗙殑浣跨敤鏂規(guī)硶鍙互鐢╩ii-tool -h鏉ヨ幏寰椼?br />


ethtool/mii-tool

PrintPDF

Linux LAN card: Find out full duplex / half speed or mode

Q. How do I find out if my Lan (NIC) card working at full or halt duplex mode / speed under Linux?

A. LAN card or NIC is use to send and receive data. Technically, we use word Duplex for this functionality. Full duplex means you are able to send and receive data (files) simultaneously. In half duplex, you can either send or receive data at a time (i.e. you cannot send receive data (files) simultaneously). Obviously, full duplex gives you best user experience. However, how can I find out whether I am using full duplex/half duplex speed/mode?
Task: Find full or half duplex speed

You can use dmesg command to find out your duplex mode:

# dmesg | grep -i duplex

Output:

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

ethtool command

Uss ethtool to display or change ethernet card settings. To display duplex speed, enter:

# ethtool eth1

Output:

Settings for eth1:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes

mii-tool command

You can also use mii-tool to find out your duplex mode. Type following command at shell prompt:

# mii-tool


Output:

eth0: negotiated 100baseTx-FD flow-control, link ok

Remember,


1. 100baseTx-FD: 100Mbps full duplex (FD)
2. 100baseTx-HD: 100Mbps half duplex (HD)
3. 10baseT-FD: 10Mbps full duplex (FD)
4. 10baseT-HD: 10Mbps half duplex (HD)

mii-tool utility checks or sets the status of a network interface Media Independent Interface (MII) unit. Most fast ethernet adapters use an MII to autonegotiate link speed and duplex setting. If you are using old card then this utility may not work (use dmesg command).

This utility is useful for forcing specific Ethernet speed and duplex settings too, setup 100Mbps full duplex speed under Linux:

# mii-tool -F 100baseTx-FD


Setup 10Mbps half duplex:

# mii-tool -F 10baseT-HD


source:

http://www.cyberciti.biz/faq/howto-setup-linux-lan-card-find-out-full-duplex-half-speed-or-mode/



gembin 2012-09-07 14:41 鍙戣〃璇勮
]]>
Top Ten Reasons not to use the C shellhttp://m.tkk7.com/gembin/archive/2012/04/01/373205.htmlgembingembinSun, 01 Apr 2012 08:30:00 GMThttp://m.tkk7.com/gembin/archive/2012/04/01/373205.htmlhttp://m.tkk7.com/gembin/comments/373205.htmlhttp://m.tkk7.com/gembin/archive/2012/04/01/373205.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/373205.htmlhttp://m.tkk7.com/gembin/services/trackbacks/373205.html http://www.grymoire.com/Unix/CshTop10.txt

gembin 2012-04-01 16:30 鍙戣〃璇勮
]]>
Get substring of a string under UNIX/Linuxhttp://m.tkk7.com/gembin/archive/2012/04/01/373200.htmlgembingembinSun, 01 Apr 2012 07:38:00 GMThttp://m.tkk7.com/gembin/archive/2012/04/01/373200.htmlhttp://m.tkk7.com/gembin/comments/373200.htmlhttp://m.tkk7.com/gembin/archive/2012/04/01/373200.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/373200.htmlhttp://m.tkk7.com/gembin/services/trackbacks/373200.htmlthere many ways to do so.


str="hello world"

1) cut
Where -cN-M tells the cut command to return columns N to M, inclusive. 
cut -cN-M

start=1
end=5
sub_str=`echo ${str} | cut -c${start}-${end}`
output: hello

2) bash 
Note: if you are not sure of having bash, consider using cut. 
${str:offset}
$
{str:offset:length}

sub_str=${str:0:5}
output: hello

3) expr

expr substr string position length 
sub_str=`expr substr $str 1 5`
output: hello

 



gembin 2012-04-01 15:38 鍙戣〃璇勮
]]>
Get the length of a string under UNIX/Linuxhttp://m.tkk7.com/gembin/archive/2012/04/01/373199.htmlgembingembinSun, 01 Apr 2012 07:14:00 GMThttp://m.tkk7.com/gembin/archive/2012/04/01/373199.htmlhttp://m.tkk7.com/gembin/comments/373199.htmlhttp://m.tkk7.com/gembin/archive/2012/04/01/373199.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/373199.htmlhttp://m.tkk7.com/gembin/services/trackbacks/373199.htmlthere many ways to do so.

str="hello world"

len=`expr length ${str}`

len=${#str}

len=`echo ${str} | awk "{ print length }"`

len=`echo -n ${str} | wc -c` 

 



gembin 2012-04-01 15:14 鍙戣〃璇勮
]]>
How To Pronounce GNUhttp://m.tkk7.com/gembin/archive/2011/11/18/364263.htmlgembingembinFri, 18 Nov 2011 09:17:00 GMThttp://m.tkk7.com/gembin/archive/2011/11/18/364263.htmlhttp://m.tkk7.com/gembin/comments/364263.htmlhttp://m.tkk7.com/gembin/archive/2011/11/18/364263.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/364263.htmlhttp://m.tkk7.com/gembin/services/trackbacks/364263.html

http://www.gnu.org/pronunciation/pronunciation.html

The name “GNU” is a recursive acronym for “GNU's Not Unix!”; it is pronounced as one syllable with a hard g, like “grew” but with the letter “n” instead of “r”.

This is a recording of Richard Stallman saying “GNU” and another with a short explanation about how GNU was named:

How to say “GNU”:

How GNU Was Named:



gembin 2011-11-18 17:17 鍙戣〃璇勮
]]>
How To Use wget With Username and Password for FTP / HTTP File Retrievalhttp://m.tkk7.com/gembin/archive/2011/06/07/351842.htmlgembingembinTue, 07 Jun 2011 03:02:00 GMThttp://m.tkk7.com/gembin/archive/2011/06/07/351842.htmlhttp://m.tkk7.com/gembin/comments/351842.htmlhttp://m.tkk7.com/gembin/archive/2011/06/07/351842.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/351842.htmlhttp://m.tkk7.com/gembin/services/trackbacks/351842.html闃呰鍏ㄦ枃

gembin 2011-06-07 11:02 鍙戣〃璇勮
]]>
Configuring the VNC server/viewer in Linux.http://m.tkk7.com/gembin/archive/2010/07/16/326283.htmlgembingembinFri, 16 Jul 2010 03:45:00 GMThttp://m.tkk7.com/gembin/archive/2010/07/16/326283.htmlhttp://m.tkk7.com/gembin/comments/326283.htmlhttp://m.tkk7.com/gembin/archive/2010/07/16/326283.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/326283.htmlhttp://m.tkk7.com/gembin/services/trackbacks/326283.html闃呰鍏ㄦ枃

gembin 2010-07-16 11:45 鍙戣〃璇勮
]]>
How To Setup Linux VNC Server In 3 Minuteshttp://m.tkk7.com/gembin/archive/2010/07/16/326281.htmlgembingembinFri, 16 Jul 2010 03:37:00 GMThttp://m.tkk7.com/gembin/archive/2010/07/16/326281.htmlhttp://m.tkk7.com/gembin/comments/326281.htmlhttp://m.tkk7.com/gembin/archive/2010/07/16/326281.html#Feedback0http://m.tkk7.com/gembin/comments/commentRss/326281.htmlhttp://m.tkk7.com/gembin/services/trackbacks/326281.html闃呰鍏ㄦ枃

gembin 2010-07-16 11:37 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲高清视频在线播放| 免费成人在线电影| 99精品免费视品| 成人免费视频77777| 国产亚洲精品影视在线产品| 亚洲日韩国产AV无码无码精品| 亚洲成av人在线视| 亚洲熟妇成人精品一区| 久久久WWW成人免费精品| 免费视频爱爱太爽了| 亚洲中文字幕无码爆乳av中文| 亚洲国产成人九九综合| 国产成年无码久久久免费| 免费A级毛片无码免费视| 亚洲国产精品一区二区第一页| 亚洲日韩在线中文字幕综合| 亚洲免费无码在线| 在线观看亚洲免费| 亚洲日韩乱码久久久久久| 久久精品国产这里是免费| 久久亚洲av无码精品浪潮| 成年免费a级毛片| 国产成人免费福利网站| 国精无码欧精品亚洲一区| 免费人成视频在线播放| 日本免费人成黄页在线观看视频| 亚洲国语在线视频手机在线| 啦啦啦完整版免费视频在线观看| 亚洲国产精品一区二区成人片国内 | 国产一区二区三区免费| 亚洲熟妇无码AV在线播放| 一级毛片免费一级直接观看| 91精品啪在线观看国产线免费| 伊人久久综在合线亚洲91| 中文字幕一区二区三区免费视频| 黄页网站在线观看免费高清| 亚洲日本精品一区二区| 亚洲天堂免费在线| 亚洲国产精品18久久久久久| 日本免费v片一二三区| 国产精品免费久久久久电影网|