﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-漫步红林-文章分类-Linux</title><link>http://www.blogjava.net/hyint/category/37808.html</link><description>品味技术与生活之间的差距，追求代码与国画之间的艺术.</description><language>zh-cn</language><lastBuildDate>Fri, 13 Mar 2009 21:46:37 GMT</lastBuildDate><pubDate>Fri, 13 Mar 2009 21:46:37 GMT</pubDate><ttl>60</ttl><item><title>Linux 配置防火墙</title><link>http://www.blogjava.net/hyint/articles/259578.html</link><dc:creator>苦瓜</dc:creator><author>苦瓜</author><pubDate>Fri, 13 Mar 2009 09:11:00 GMT</pubDate><guid>http://www.blogjava.net/hyint/articles/259578.html</guid><wfw:comment>http://www.blogjava.net/hyint/comments/259578.html</wfw:comment><comments>http://www.blogjava.net/hyint/articles/259578.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hyint/comments/commentRss/259578.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hyint/services/trackbacks/259578.html</trackback:ping><description><![CDATA[&nbsp;Linux 配置完成以后，如果外界需要其他机器连接，必须配置防火墙，其例子如下：<br />
<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: 87.2%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; height: 476px; background-color: #eeeeee"><span style="color: #008080">&nbsp;1</span><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">[root@localhost&nbsp;</span><span style="color: #000000">~</span><span style="color: #000000">]#&nbsp;cat&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">etc</span><span style="color: #000000">/</span><span style="color: #000000">sysconfig</span><span style="color: #000000">/</span><span style="color: #000000">iptables;<br />
</span><span style="color: #008080">&nbsp;2</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />#&nbsp;Firewall&nbsp;configuration&nbsp;written&nbsp;by&nbsp;system</span><span style="color: #000000">-</span><span style="color: #000000">config</span><span style="color: #000000">-</span><span style="color: #000000">securitylevel<br />
</span><span style="color: #008080">&nbsp;3</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />#&nbsp;Manual&nbsp;customization&nbsp;of&nbsp;</span><span style="color: #0000ff">this</span><span style="color: #000000">&nbsp;file&nbsp;is&nbsp;not&nbsp;recommended.<br />
</span><span style="color: #008080">&nbsp;4</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">*</span><span style="color: #000000">filter<br />
</span><span style="color: #008080">&nbsp;5</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />:INPUT&nbsp;ACCEPT&nbsp;[</span><span style="color: #000000">0</span><span style="color: #000000">:</span><span style="color: #000000">0</span><span style="color: #000000">]<br />
</span><span style="color: #008080">&nbsp;6</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />:FORWARD&nbsp;ACCEPT&nbsp;[</span><span style="color: #000000">0</span><span style="color: #000000">:</span><span style="color: #000000">0</span><span style="color: #000000">]<br />
</span><span style="color: #008080">&nbsp;7</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />:OUTPUT&nbsp;ACCEPT&nbsp;[</span><span style="color: #000000">0</span><span style="color: #000000">:</span><span style="color: #000000">0</span><span style="color: #000000">]<br />
</span><span style="color: #008080">&nbsp;8</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />:RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">&nbsp;[</span><span style="color: #000000">0</span><span style="color: #000000">:</span><span style="color: #000000">0</span><span style="color: #000000">]<br />
</span><span style="color: #008080">&nbsp;9</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT<br />
</span><span style="color: #008080">10</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;FORWARD&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT<br />
</span><span style="color: #008080">11</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">i&nbsp;lo&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">12</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">i&nbsp;eth0&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">13</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;icmp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">icmp</span><span style="color: #000000">-</span><span style="color: #000000">type&nbsp;any&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">14</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;</span><span style="color: #000000">50</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">15</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;</span><span style="color: #000000">51</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">16</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;udp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">5353</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">d&nbsp;</span><span style="color: #000000">224.0</span><span style="color: #000000">.</span><span style="color: #000000">0.251</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">17</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;udp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;udp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">631</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">18</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;ESTABLISHED,RELATED&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">19</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">80</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">20</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">443</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">21</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">21</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">22</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">22</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">23</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">25</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">24</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">6888</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">25</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">3306</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">26</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">8161</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">27</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;state&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">state&nbsp;NEW&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">m&nbsp;tcp&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">p&nbsp;tcp&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">dport&nbsp;</span><span style="color: #000000">61616</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;ACCEPT<br />
</span><span style="color: #008080">28</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">-</span><span style="color: #000000">A&nbsp;RH</span><span style="color: #000000">-</span><span style="color: #000000">Firewall</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">INPUT&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">j&nbsp;REJECT&nbsp;</span><span style="color: #000000">--</span><span style="color: #000000">reject</span><span style="color: #000000">-</span><span style="color: #000000">with&nbsp;icmp</span><span style="color: #000000">-</span><span style="color: #000000">host</span><span style="color: #000000">-</span><span style="color: #000000">prohibited<br />
</span><span style="color: #008080">29</span><span style="color: #000000"><img alt="" src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />COMMIT</span></div>
<br />
配置好防火墙后并不能直接使用，必须重启防火墙才能生效。<br />
&nbsp;
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">打开防火墙和关闭防火墙的指令：</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">）即时生效，重启服务器后失效</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">开启： service iptables start</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">关闭： service iptables stop</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">2</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">）重启服务器后生效</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">开启： chkconfig iptables on</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">关闭： chkconfig iptables off</span></p>
<img src ="http://www.blogjava.net/hyint/aggbug/259578.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hyint/" target="_blank">苦瓜</a> 2009-03-13 17:11 <a href="http://www.blogjava.net/hyint/articles/259578.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>中标数据库服务器 Linux 配置 JDK1.6_11</title><link>http://www.blogjava.net/hyint/articles/259499.html</link><dc:creator>苦瓜</dc:creator><author>苦瓜</author><pubDate>Fri, 13 Mar 2009 03:54:00 GMT</pubDate><guid>http://www.blogjava.net/hyint/articles/259499.html</guid><wfw:comment>http://www.blogjava.net/hyint/comments/259499.html</wfw:comment><comments>http://www.blogjava.net/hyint/articles/259499.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hyint/comments/commentRss/259499.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hyint/services/trackbacks/259499.html</trackback:ping><description><![CDATA[<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"><span style="color: #008080">&nbsp;1</span><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" /><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//今天在中标&nbsp;Linux&nbsp;&nbsp;配置&nbsp;jdk</span><span style="color: #000000">-</span><span style="color: #000000">6u11</span><span style="color: #000000">-</span><span style="color: #000000">linux</span><span style="color: #000000">-</span><span style="color: #000000">i586.bin。<br />
</span><span style="color: #008080">&nbsp;2</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//由于我是在VM上装的中标，所以采用了Linux&nbsp;and&nbsp;Windows&nbsp;共享文件夹(Linux&nbsp;Share&nbsp;Document&nbsp;&nbsp;自己命名的文件夹)。&nbsp;<br />
</span><span style="color: #008080">&nbsp;3</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//首先：&nbsp;<br />
</span><span style="color: #008080">&nbsp;4</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;cd&nbsp;&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">mnt</span><span style="color: #000000">/</span><span style="color: #000000">hgfs</span><span style="color: #000000">/</span><span style="color: #000000">Linux&nbsp;Share&nbsp;Document</span><span style="color: #000000">/</span><span style="color: #000000"><br />
</span><span style="color: #008080">&nbsp;5</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;cp&nbsp;&nbsp;jdk</span><span style="color: #000000">-</span><span style="color: #000000">6u11</span><span style="color: #000000">-</span><span style="color: #000000">linux</span><span style="color: #000000">-</span><span style="color: #000000">i586.bin&nbsp;&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">usr</span><span style="color: #000000">/</span><span style="color: #000000">java<br />
</span><span style="color: #008080">&nbsp;6</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;.</span><span style="color: #000000">/</span><span style="color: #000000">jdk</span><span style="color: #000000">-</span><span style="color: #000000">6u11</span><span style="color: #000000">-</span><span style="color: #000000">linux</span><span style="color: #000000">-</span><span style="color: #000000">i586.bin<br />
</span><span style="color: #008080">&nbsp;7</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;<img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" />中间大部分步骤省略&nbsp;&nbsp;more&nbsp;<img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" />.<br />
</span><span style="color: #008080">&nbsp;8</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;Do&nbsp;you&nbsp;agree&nbsp;to&nbsp;the&nbsp;above&nbsp;license&nbsp;terms</span><span style="color: #000000">?</span><span style="color: #000000">&nbsp;[yes&nbsp;or&nbsp;no]&nbsp;yes<br />
</span><span style="color: #008080">&nbsp;9</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;Unpacking<img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" />..<br />
</span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;解压部分省略<img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" />.<br />
</span><span style="color: #008080">11</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;Press&nbsp;Enter&nbsp;to&nbsp;</span><span style="color: #0000ff">continue</span><span style="color: #000000"><br />
</span><span style="color: #008080">12</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;安装完成.<br />
</span><span style="color: #008080">13</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
</span><span style="color: #008080">14</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" /><br />
</span><span style="color: #008080">15</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//配置JDK环境：<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;vi&nbsp;&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">etc</span><span style="color: #000000">/</span><span style="color: #000000">profile<br />
</span><span style="color: #008080">16</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;<br />
</span><span style="color: #008080">17</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;JAVA_HOME&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">usr</span><span style="color: #000000">/</span><span style="color: #000000">java</span><span style="color: #000000">/</span><span style="color: #000000">jdk1.</span><span style="color: #000000">6</span><span style="color: #000000">.0_11<br />
</span><span style="color: #008080">18</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;PATH&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;$PATH:$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">bin<br />
</span><span style="color: #008080">19</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;CLASSPATH&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;.:$CLASSPATH:$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">lib</span><span style="color: #000000">/</span><span style="color: #000000">dt.jar:$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">lib</span><span style="color: #000000">/</span><span style="color: #000000">tools.jar<br />
</span><span style="color: #008080">20</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;JRE_HOME&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">jre<br />
</span><span style="color: #008080">21</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;&nbsp;JAVA_HOME&nbsp;&nbsp;&nbsp;PATH&nbsp;&nbsp;&nbsp;CLASSPATH&nbsp;&nbsp;&nbsp;JRE_HOME&nbsp;<br />
</span><span style="color: #008080">22</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;esc&nbsp;&nbsp;&nbsp;:wq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;保存退出<br />
</span><span style="color: #008080">23</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
</span><span style="color: #008080">24</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;vi&nbsp;&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">etc</span><span style="color: #000000">/</span><span style="color: #000000">profile.d</span><span style="color: #000000">/</span><span style="color: #000000">java.sh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">创建一个&nbsp;shell&nbsp;&nbsp;来启动</span><span style="color: #008000"><br />
</span><span style="color: #008080">25</span><span style="color: #008000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" /></span><span style="color: #000000">&nbsp;<br />
</span><span style="color: #008080">26</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;JAVA_HOME&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">usr</span><span style="color: #000000">/</span><span style="color: #000000">java</span><span style="color: #000000">/</span><span style="color: #000000">jdk1.</span><span style="color: #000000">6</span><span style="color: #000000">.0_11<br />
</span><span style="color: #008080">27</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;PATH&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;$PATH:$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">bin<br />
</span><span style="color: #008080">28</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;CLASSPATH&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;.:$CLASSPATH:$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">lib</span><span style="color: #000000">/</span><span style="color: #000000">dt.jar:$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">lib</span><span style="color: #000000">/</span><span style="color: #000000">tools.jar<br />
</span><span style="color: #008080">29</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;JRE_HOME&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">jre<br />
</span><span style="color: #008080">30</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export&nbsp;&nbsp;&nbsp;JAVA_HOME&nbsp;&nbsp;&nbsp;PATH&nbsp;&nbsp;&nbsp;CLASSPATH&nbsp;&nbsp;&nbsp;JRE_HOME&nbsp;<br />
</span><span style="color: #008080">31</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;esc&nbsp;&nbsp;&nbsp;:wq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;保存退出<br />
</span><span style="color: #008080">32</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" /><br />
</span><span style="color: #008080">33</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" /><br />
</span><span style="color: #008080">34</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;cd&nbsp;&nbsp;$JAVA_HOME</span><span style="color: #000000">/</span><span style="color: #000000">lib<br />
</span><span style="color: #008080">35</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;chmod&nbsp;&nbsp;</span><span style="color: #000000">755</span><span style="color: #000000">&nbsp;dt.jar<br />
</span><span style="color: #008080">36</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;chmod&nbsp;&nbsp;</span><span style="color: #000000">755</span><span style="color: #000000">&nbsp;tools.jar<br />
</span><span style="color: #008080">37</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;chmod&nbsp;&nbsp;</span><span style="color: #000000">755</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">etc</span><span style="color: #000000">/</span><span style="color: #000000">profile<br />
</span><span style="color: #008080">38</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;chmod&nbsp;&nbsp;</span><span style="color: #000000">755</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">etc</span><span style="color: #000000">/</span><span style="color: #000000">profile.d</span><span style="color: #000000">/</span><span style="color: #000000">java.sh<br />
</span><span style="color: #008080">39</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;source&nbsp;&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">etc</span><span style="color: #000000">/</span><span style="color: #000000">profile<br />
</span><span style="color: #008080">40</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;source&nbsp;&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">etc</span><span style="color: #000000">/</span><span style="color: #000000">profile.d</span><span style="color: #000000">/</span><span style="color: #000000">java.sh<br />
</span><span style="color: #008080">41</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//然后在控制台查看配置JDK的路径<br />
</span><span style="color: #008080">42</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;echo&nbsp;$JAVA_HOME<br />
</span><span style="color: #008080">43</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">usr</span><span style="color: #000000">/</span><span style="color: #000000">java</span><span style="color: #000000">/</span><span style="color: #000000">jdk1.</span><span style="color: #000000">6</span><span style="color: #000000">.0_11<br />
</span><span style="color: #008080">44</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;echo&nbsp;$CLASSPATH<br />
</span><span style="color: #008080">45</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.;</span><span style="color: #000000">/</span><span style="color: #000000">usr</span><span style="color: #000000">/</span><span style="color: #000000">java</span><span style="color: #000000">/</span><span style="color: #000000">jdk1.</span><span style="color: #000000">6</span><span style="color: #000000">.0_11</span><span style="color: #000000">/</span><span style="color: #000000">lib</span><span style="color: #000000">/</span><span style="color: #000000">dt.jar&nbsp;:&nbsp;</span><span style="color: #000000">/</span><span style="color: #000000">usr</span><span style="color: #000000">/</span><span style="color: #000000">java</span><span style="color: #000000">/</span><span style="color: #000000">jdk1.</span><span style="color: #000000">6</span><span style="color: #000000">.0_11</span><span style="color: #000000">/</span><span style="color: #000000">lib</span><span style="color: #000000">/</span><span style="color: #000000">tools.jar<br />
</span><span style="color: #008080">46</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" /><br />
</span><span style="color: #008080">47</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;然后在控制台输入<br />
</span><span style="color: #008080">48</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">java&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">version<br />
</span><span style="color: #008080">49</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;java&nbsp;version&nbsp;</span><span style="color: #000000">"</span><span style="color: #000000">1.6.0_11</span><span style="color: #000000">"</span><span style="color: #000000"><br />
</span><span style="color: #008080">50</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Java&nbsp;(TM)&nbsp;SE&nbsp;Runtime&nbsp;Enviroment(build&nbsp;&nbsp;</span><span style="color: #000000">1.6</span><span style="color: #000000">.0_11</span><span style="color: #000000">-</span><span style="color: #000000">b03);<img src="http://www.blogjava.net/Images/dot.gif"  alt="" /><img src="http://www.blogjava.net/Images/dot.gif"  alt="" />.<br />
</span><span style="color: #008080">51</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&gt;</span><span style="color: #000000">javac&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">version<br />
</span><span style="color: #008080">52</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;javac&nbsp;&nbsp;</span><span style="color: #000000">1.6</span><span style="color: #000000">.0_11<br />
</span><span style="color: #008080">53</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" /><br />
</span><span style="color: #008080">54</span><span style="color: #000000"><img src="http://www.blogjava.net/Images/OutliningIndicators/None.gif" align="top"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//这样，JDK就完全配置成功了。&nbsp;</span></div>
<img src ="http://www.blogjava.net/hyint/aggbug/259499.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hyint/" target="_blank">苦瓜</a> 2009-03-13 11:54 <a href="http://www.blogjava.net/hyint/articles/259499.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>中标普华LINUX系统安装 AND MySQl 5.0.1 正式版</title><link>http://www.blogjava.net/hyint/articles/256882.html</link><dc:creator>苦瓜</dc:creator><author>苦瓜</author><pubDate>Thu, 26 Feb 2009 11:34:00 GMT</pubDate><guid>http://www.blogjava.net/hyint/articles/256882.html</guid><wfw:comment>http://www.blogjava.net/hyint/comments/256882.html</wfw:comment><comments>http://www.blogjava.net/hyint/articles/256882.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hyint/comments/commentRss/256882.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hyint/services/trackbacks/256882.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;<span style="font-size: 12pt; line-height: 150%; font-family: Wingdings"><span style="font: 7pt 'Times New Roman'"> </span></span><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">安装中标普华Linux操作系统</span></strong>
<p style="text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">首先安装中标普华Linux操作系统，在第一个安装光盘内，选择光盘安装，然后选择自定义安装（不要选择典型安装，因为典型安装没有安装开发环境，例如：GCC），在安装途中会弹出两个安装图面，一个为通信协议（全选，包括SSH、FTP、HTTP、EMAIL），一个为开发环境（全选，包括GCC、图形界面等），然后根据提示一步一步安装下去。<br />
</span></p>
<p style="margin-left: 21pt; text-indent: -21pt; line-height: 150%; tab-stops: list 21.0pt"><span style="font-size: 12pt; line-height: 150%; font-family: Wingdings"><span style="font: 7pt 'Times New Roman'"><br />
<br />
<br />
</span></span><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">网卡安装<br />
<br />
</span></strong></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">中标普华系统内核有些网卡驱动没有包含在内，需要进行安装，如果知道网卡型号，可以直接下载该网卡驱动进行安装，如果还不是很清楚网卡型号，则进行以下操作。</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">在系统操作终端输入lspci命令后，查看Ethernet controller:信息，可以看出该网卡是什么产商、什么型号的。操作如下：</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">[root@localhost ~]# lspci</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:00.0 Host bridge: Intel Corporation: Unknown device 29c0 (rev 10)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:01.0 PCI bridge: Intel Corporation: Unknown device 29c1 (rev 10)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0641 (rev a1)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.: Unknown device 8168 (rev 02)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">通过网卡信息找到网卡驱动，将安装包拷贝到服务器上，根据安装说明进行安装。基本安装命令过程如下（下面是以8168网卡进行说明）：</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># lsmod | grep r8169</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># rmmod r8169</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">#tar vjxf r8168-8.aaa.bb.tar.bz2</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># cd r8168-8.aaa.bb</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># make clean modules&nbsp;&nbsp;&nbsp; (as root or with sudo)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># make install</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># depmod -a</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># insmod ./src/r8168.ko (or r8168.o in linux kernel 2.4.x)</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># lsmod | grep r8168</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># ifconfig -a</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># ifconfig ethX up </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">（X=0,1,2,...）<br />
<br />
</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">重新启动服务器，系统将在检测新硬件设备是提示出新安装的网卡，可以通过该界面进行网络配置，也可以进入系统进行设备网络配置。<br />
<br />
&nbsp; </p>
<p style="margin-left: 21pt; text-indent: -21pt; line-height: 150%; tab-stops: list 21.0pt"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">Mysql</span></strong><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">数据库安装</span></strong></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">通过SSH客户端将mysql-5.0.22.tar.gz包拷贝到服务器后，打开Linux终端进行以下操作：</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">1.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> groupadd mysql </span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">2.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> useradd -g mysql mysql</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">3.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> tar -zxvf mysql-xxxx.tar.gz</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">4.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> cd mysql-xxxx</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">./configure --prefix=/usr/local/mysql</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">5.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">make</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">6.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">make install</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">7.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">/server/mysql/bin/mysql_install_db --user=mysql</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">8.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">cp support-files/my-medium.cnf /etc/my.cnf</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">9.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">cp support-files/mysql.server /etc/rc.d/init.d/mysqld</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">10. </span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">chmod 700 /etc/rc.d/init.d/mysqld</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">11. </span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">chkconfig --add mysqld</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">12.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> cd /server/mysql</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">13.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">chown -R root .</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">14.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> chown -R mysql var</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">15.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> chgrp -R mysql .</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">16.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> /server/mysql/bin/mysqld_safe --user=mysql &amp;</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">17.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">在出现 mysqld ended 的时候.点击回车.回到命令行</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">18.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> bin/mysql -u root -p</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">19.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">系统会提示输入密码.由于我们安装时没有设置密码.所以默认密码为空.直接点击回车.</span></p>
<p style="margin-left: 21pt; line-height: 150%"><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">20.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"> usr/bin/mysqladmin -u root password 'new-password'</span></p>
<p style="margin-left: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">格式：mysqladmin -u用户名 -p旧密码 password 新密码<br />
<br />
</span><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">21.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">测试是否修改成功</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">1</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">）不用密码登录</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">[root@test1 local]# mysql</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">显示错误，说明密码已经修改。</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">2</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">）用修改后的密码登录</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">[root@test1 local]# mysql -u root -p</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">Enter password: (</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">输入修改后的密码123456)</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">Welcome to the MySQL monitor.</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">　Commands end with ; or g.</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">Your MySQL connection id is 4 to server version: 4.0.16-standard</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">Type 'help;' or 'h' for help. Type 'c' to clear the buffer.</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">mysql&gt;</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">成功！</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"><strong>&nbsp;&nbsp;&nbsp;&nbsp;22.</strong></span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">在防火墙内打开数据库端口3306</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; vi /etc/sysconfig/iptables</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">（按上面开放80,22端口的形式，加一条3306端口）</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">打开防火墙和关闭防火墙的指令：</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">）即时生效，重启服务器后失效</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">开启： service iptables start</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">关闭： service iptables stop</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">2</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">）重启服务器后生效</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">开启： chkconfig iptables on</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">关闭： chkconfig iptables off</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"><strong>23.</strong></span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">分配远程连接数据库的权限</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">进入MySQL,创建一个新用户xuys:&nbsp;&nbsp;&nbsp; </span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">格式: grant 权限 on 数据库名.表名用户@登录主机 identified by "用户密码";</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;grant select,update,insert,delete on *.* to xuys@192.168.88.234 identified by "xuys1234";</span></p>
<p style="text-indent: 18pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">查看结果,执行:</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;use mysql;</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;select host,user,password from user;</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">可以看到在user表中已有刚才创建的xuys用户,host字段表示登录的主机,其值可以用IP,也可用主机名,将host字段的值改为%就表示在任何客户端机器上能以xuys用户登录到MySQL服务器,建议在开发时设为%.</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;update user set host = '%' where user = 'xuys';<br />
</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"><strong>&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp; 24.</strong></span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">修改my.cnf配置文件（解决关于linux中mysql中编码的问题(UTF-8)）</span></p>
<p style="margin-left: 21pt; text-indent: 21pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">#linux my.cnf</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">文件的放置位置</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">/etc/my.cnf</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">*************************************************************</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">不管什么时候，编码一定要统一，这是保证数据能正确入库的前提。</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">首先要配置你的mysql的默认编码方式为UTF-8。</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">其次mysql语句区分大小写，对此也需要进行修改。</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">具体看my.cnf的配置.</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体"># vi /etc/my.cnf</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">#</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">下面是很重要的=====================================</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">[client]</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">#password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = your_password</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 3306</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">socket&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /tmp/mysql.sock</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">default-character-set = utf8</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">lower_case_table_names=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----</span><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">不区别大小写</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">[mysqld]</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 3306</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">socket&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /tmp/mysql.sock</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">skip-locking</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">key_buffer = 16M</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">max_allowed_packet = 1M</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">table_cache = 64</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">sort_buffer_size = 512K</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">net_buffer_length = 8K</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">read_buffer_size = 256K</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">read_rnd_buffer_size = 512K</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">myisam_sort_buffer_size = 8M</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">default-character-set = utf8</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">lower_case_table_names=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----</span><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">不区别大小写</span></p>
<p style="margin-left: 42pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">#*************************************************************</span></p>
<p style="line-height: 150%"><span style="font-size: 12pt; color: red; line-height: 150%; font-family: 宋体">&nbsp;&nbsp;&nbsp; </span><strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">25.</span></strong><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">启动和关闭、重启mysql数据库指令</span></p>
<p style="text-indent: 36pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">/etc/rc.d/init.d/mysqld stop (</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">停止mysql)</span></p>
<p style="text-indent: 36pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">/etc/rc.d/init.d/mysqld start (</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">启动mysql)</span></p>
<p style="text-indent: 36pt; line-height: 150%"><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">/etc/init.d/mysqld restart (</span><span style="font-size: 12pt; line-height: 150%; font-family: 宋体">重启mysql)</span></p>
</span>
<img src ="http://www.blogjava.net/hyint/aggbug/256882.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hyint/" target="_blank">苦瓜</a> 2009-02-26 19:34 <a href="http://www.blogjava.net/hyint/articles/256882.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>