锘??xml version="1.0" encoding="utf-8" standalone="yes"?>精品亚洲一区二区三区在线播放 ,国产亚洲精品成人AA片新蒲金,亚洲精品国产成人中文http://www.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://www.tkk7.com/gembin/archive/2012/12/23/393375.htmlgembingembinSun, 23 Dec 2012 14:08:00 GMThttp://www.tkk7.com/gembin/archive/2012/12/23/393375.htmlhttp://www.tkk7.com/gembin/comments/393375.htmlhttp://www.tkk7.com/gembin/archive/2012/12/23/393375.html#Feedback0http://www.tkk7.com/gembin/comments/commentRss/393375.htmlhttp://www.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://www.tkk7.com/gembin/archive/2012/09/07/387249.htmlgembingembinFri, 07 Sep 2012 06:41:00 GMThttp://www.tkk7.com/gembin/archive/2012/09/07/387249.htmlhttp://www.tkk7.com/gembin/comments/387249.htmlhttp://www.tkk7.com/gembin/archive/2012/09/07/387249.html#Feedback0http://www.tkk7.com/gembin/comments/commentRss/387249.htmlhttp://www.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://www.tkk7.com/gembin/archive/2012/04/01/373205.htmlgembingembinSun, 01 Apr 2012 08:30:00 GMThttp://www.tkk7.com/gembin/archive/2012/04/01/373205.htmlhttp://www.tkk7.com/gembin/comments/373205.htmlhttp://www.tkk7.com/gembin/archive/2012/04/01/373205.html#Feedback0http://www.tkk7.com/gembin/comments/commentRss/373205.htmlhttp://www.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://www.tkk7.com/gembin/archive/2012/04/01/373200.htmlgembingembinSun, 01 Apr 2012 07:38:00 GMThttp://www.tkk7.com/gembin/archive/2012/04/01/373200.htmlhttp://www.tkk7.com/gembin/comments/373200.htmlhttp://www.tkk7.com/gembin/archive/2012/04/01/373200.html#Feedback0http://www.tkk7.com/gembin/comments/commentRss/373200.htmlhttp://www.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://www.tkk7.com/gembin/archive/2012/04/01/373199.htmlgembingembinSun, 01 Apr 2012 07:14:00 GMThttp://www.tkk7.com/gembin/archive/2012/04/01/373199.htmlhttp://www.tkk7.com/gembin/comments/373199.htmlhttp://www.tkk7.com/gembin/archive/2012/04/01/373199.html#Feedback0http://www.tkk7.com/gembin/comments/commentRss/373199.htmlhttp://www.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://www.tkk7.com/gembin/archive/2011/11/18/364263.htmlgembingembinFri, 18 Nov 2011 09:17:00 GMThttp://www.tkk7.com/gembin/archive/2011/11/18/364263.htmlhttp://www.tkk7.com/gembin/comments/364263.htmlhttp://www.tkk7.com/gembin/archive/2011/11/18/364263.html#Feedback0http://www.tkk7.com/gembin/comments/commentRss/364263.htmlhttp://www.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://www.tkk7.com/gembin/archive/2011/06/07/351842.htmlgembingembinTue, 07 Jun 2011 03:02:00 GMThttp://www.tkk7.com/gembin/archive/2011/06/07/351842.htmlhttp://www.tkk7.com/gembin/comments/351842.htmlhttp://www.tkk7.com/gembin/archive/2011/06/07/351842.html#Feedback0http://www.tkk7.com/gembin/comments/commentRss/351842.htmlhttp://www.tkk7.com/gembin/services/trackbacks/351842.html闃呰鍏ㄦ枃

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

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

gembin 2010-07-16 11:37 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 性色av免费观看| 亚洲国产成人久久精品动漫| 两个人看的www高清免费观看| 亚洲AV日韩AV鸥美在线观看| 毛片免费观看网址| 中文字幕免费在线看线人动作大片| 亚洲精品成人网站在线播放| 国产成人3p视频免费观看| 西西人体免费视频| 亚洲精品蜜夜内射| 亚洲日本一区二区| 四虎国产精品免费视| 久久99国产综合精品免费| 黄色一级视频免费| 亚洲毛片基地日韩毛片基地| 亚洲综合国产精品第一页 | 天天天欲色欲色WWW免费| 美女巨胸喷奶水视频www免费| 亚洲喷奶水中文字幕电影| 亚洲综合国产精品第一页| 亚洲精品动漫免费二区| 中国一级毛片视频免费看| 亚洲精品国产suv一区88 | 午夜亚洲乱码伦小说区69堂| 亚洲天堂男人天堂| 亚洲色欲久久久久综合网| 无码专区永久免费AV网站| 国产一级淫片a免费播放口| 免费精品国自产拍在线播放| 亚洲人成在线精品| 亚洲精品自产拍在线观看动漫| 免费人成在线观看视频播放| 在线a级毛片免费视频| 人人揉揉香蕉大免费不卡| 特级毛片A级毛片100免费播放| 亚洲三级在线视频| 亚洲国产高清在线| 亚洲最大激情中文字幕| 免费午夜爽爽爽WWW视频十八禁| 成年午夜视频免费观看视频| 99精品一区二区免费视频|