﻿<?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-bob-文章分类-linux</title><link>http://www.blogjava.net/keweibo/category/33299.html</link><description>&lt;script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"&gt;&lt;/script&gt;
&lt;!-- iteye 460 60 --&gt;
&lt;ins class="adsbygoogle"
     style="display:inline-block;width:468px;height:60px"
     data-ad-client="ca-pub-2876867208357149"
     data-ad-slot="0418982663"&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
</description><language>zh-cn</language><lastBuildDate>Thu, 22 Mar 2018 22:32:19 GMT</lastBuildDate><pubDate>Thu, 22 Mar 2018 22:32:19 GMT</pubDate><ttl>60</ttl><item><title>CentOS6.5安装MySQL5.7.14</title><link>http://www.blogjava.net/keweibo/articles/433121.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Thu, 22 Mar 2018 02:22:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/433121.html</guid><description><![CDATA[<h4>原文：http://blog.csdn.net/u013980127/article/details/52261400<br /><br />1. 下载安装包</h4><p style="margin: 0px 0px 16px; padding: 0px; box-sizing: border-box; font-size: 16px; color: #4f4f4f; line-height: 26px; text-align: justify; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; background-color: #ffffff;"><a href="http://dev.mysql.com/downloads/mysql/5.7.html#downloads" target="_blank" style="color: #6795b5; outline: 0px; margin: 0px; padding: 0px; box-sizing: border-box; text-decoration-line: none;">http://dev.mysql.com/downloads/mysql/5.7.html#downloads</a>&nbsp;<br style="box-sizing: border-box;" />mysql-5.7.14-linux-glibc2.5-x86_64.tar.gz</p><h4>2. 检查库文件是否存在，如有删除。</h4><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code hljs=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root@slave ~]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># rpm -qa | grep mysql</span> <br />mysql-libs-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">5.1</span>.<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">71</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">1</span>.el6.x86_64 <br />[root@slave ~]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># rpm -e mysql-libs-5.1.71-1.el6.x86_64 --nodeps</span> <br />[root@slave ~]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># rpm -qa | grep mysql</span></code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li></ul></pre><h4>3. 检查mysql组和用户是否存在，如无创建。</h4><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code perl=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> ~]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># cat /etc/group | grep mysql</span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> ~]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># cat /etc/passwd | grep mysql</span>  <br />// useradd -r参数表示mysql用户是系统用户，不可用于登录系统。 <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> ~]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># groupadd mysql</span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> ~]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># useradd -r -g mysql mysql</span></code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">5</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">6</li></ul></pre><h4>4. 解压TAR包，更改所属的组和用户</h4><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code applescript=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root@slave zkpk]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># cd /usr/local/</span> <br />[root@slave <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># tar -xf mysql-5.7.14-linux-glibc2.5-x86_64.tar.gz </span> <br />[root@slave <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># mv mysql-5.7.14-linux-glibc2.5-x86_64 mysql</span> <br />[root@slave <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># ll</span> <br />total <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">628304</span> drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> bin drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> etc drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> games drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> include drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">8</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">27</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2014</span> jdk1<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">.7</span><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">.0</span>_71 drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">8</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Apr <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">11</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2015</span> jdk1<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">.8</span><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">.0</span>_45 drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> lib drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> lib64 drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> libexec drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">9</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">7161</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">31415</span>      <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Jul <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">12</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">21</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">03</span> mysql -rw-r<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;">--r--. 1 zkpk zkpk  642694570 Aug 20 00:57 mysql-5.7.14-linux-glibc2.5-x86_64.tar.gz</span> drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> sbin drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">5</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Jul <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">30</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">21</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">17</span> share drwxr-xr-x. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> root root       <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">4096</span> Sep <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">23</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2011</span> src <br />[root@slave <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># rm mysql-5.7.14-linux-glibc2.5-x86_64.tar.gz </span> <br />rm: remove regular <span style="margin: 0px; padding: 0px; box-sizing: border-box;">file</span> `mysql-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">5.7</span><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">.14</span>-linux-glibc2<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">.5</span>-x86_64.tar.gz'? y <br />[root@slave <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># chown -R mysql:mysql mysql/</span> <br />[root@slave <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># cd mysql/</span></code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">5</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">6</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">7</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">8</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">9</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">10</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">11</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">12</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">13</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">14</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">15</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">16</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">17</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">18</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">19</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">20</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">21</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">22</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">23</li></ul></pre><h4>5. 安装和初始化数据库</h4><p style="margin: 0px 0px 16px; padding: 0px; box-sizing: border-box; font-size: 16px; color: #4f4f4f; line-height: 26px; text-align: justify; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; background-color: #ffffff;"><span style="box-sizing: border-box; font-weight: 700;">配置OS</span></p><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code bash=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;"><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">sudo</span> vim /etc/security/limits.conf  <br />mysql hard nofile <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">65535</span> <br />mysql soft nofile <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">65535</span></code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li></ul></pre><p style="margin: 0px 0px 16px; padding: 0px; box-sizing: border-box; font-size: 16px; color: #4f4f4f; line-height: 26px; text-align: justify; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; background-color: #ffffff;"><span style="box-sizing: border-box; font-weight: 700;">安装与初始化DB</span></p><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code applescript=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root@slave mysql]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># bin/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data/</span> <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">08</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">20</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">01</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">44</span> [WARNING] mysql_install_db <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">is</span> deprecated. Please consider switching <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">to</span> mysqld <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;">--initialize</span> <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">08</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">20</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">01</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">47</span> [WARNING] The bootstrap <span style="margin: 0px; padding: 0px; box-sizing: border-box;">log</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">isn't</span> empty: <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">08</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">20</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">01</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">47</span> [WARNING] <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">08</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">19</span>T17:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">44.728642</span>Z <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">0</span> [Warning] <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;">--bootstrap is deprecated. Please consider using --initialize instead</span> <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">08</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">19</span>T17:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">44.729178</span>Z <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">0</span> [Warning] Changed limits: max_open_files: <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">1024</span> (requested <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">5000</span>) <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">08</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">19</span>T17:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">44.729183</span>Z <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">0</span> [Warning] Changed limits: table_open_cache: <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">431</span> (requested <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2000</span>)</code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">5</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">6</li></ul></pre><blockquote style="box-sizing: border-box; padding: 16px; margin: 0px 0px 24px; border-left-width: 8px; border-left-color: #dddfe4; background-image: initial; background-color: #eef0f4; overflow: auto; word-wrap: normal; word-break: normal; color: #454545; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; font-size: 16px;"><p style="margin: 0px; padding: 0px; box-sizing: border-box; font-size: 14px; color: #999999; line-height: 22px;">如果改变默认安装路径，则需要&nbsp;<br style="box-sizing: border-box;" />1. /etc/my.cnf、/etc/init.d/mysqld中修改：&nbsp;<br style="box-sizing: border-box;" />basedir=&#8217;/apps/mysql&#8217; datadir=&#8217;/apps/mysql/data&#8217;&nbsp;<br style="box-sizing: border-box;" />2. 创建ln：&nbsp;<br style="box-sizing: border-box;" />mkdir -p /usr/local/mysql/bin</p></blockquote><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code ruby=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> mysql]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># cp -a ./support-files/my-default.cnf /etc/my.cnf</span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> mysql]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># cp -a ./support-files/mysql.server  /etc/init.d/mysqld</span></code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li></ul></pre><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code perl=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> mysql]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># cd bin/</span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># ./mysqld_safe --user=mysql &amp;<br /></span>[<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">1</span>] <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2966</span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># 2016-08-19T17:24:36.174662Z mysqld_safe Logging to '/usr/local/mysql/data/slave.err'.</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-08-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">19</span>T17:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">24</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">36.207209</span>Z mysqld_safe Starting mysqld daemon with databases from /usr/<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>/mysql/data  <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># </span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># </span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># </span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># </span> <br />[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># /etc/init.d/mysqld restart</span> <br />Shutting down MySQL..<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-08-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">19</span>T17:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">25</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18.416810</span>Z mysqld_safe mysqld from pid file /usr/<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">local</span>/mysql/data/slave.pid ended                                                            [  OK  ] Starting MySQL.                                            [  OK  ] [<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">1</span>]+  Done                    ./mysqld_safe --user=mysql [root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># </span></code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">5</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">6</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">7</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">8</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">9</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">10</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">11</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">12</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">13</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">14</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">15</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">16</li></ul></pre><p style="margin: 0px 0px 16px; padding: 0px; box-sizing: border-box; font-size: 16px; color: #4f4f4f; line-height: 26px; text-align: justify; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; background-color: #ffffff;">设置开机启动</p><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code ruby=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #4f4f4f;">@slave</span> bin]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># chkconfig --level 35 mysqld on</span></code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li></ul></pre><h4>6. 初始化密码</h4><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code oxygene=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root@slave bin]# cat /root/.mysql_secret <br /> # Password <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">set</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">for</span> user <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">'root@localhost'</span> at <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">08</span>-<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">20</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">01</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">18</span>:<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">44</span>  <br />eqW;ehX;&gt;-YG <br />[root@slave bin]# ./mysql -uroot -p <br />Enter password:  <br />Welcome <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">to</span> the MySQL monitor.  Commands <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">end</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">with</span> ; <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">or</span> \g. Your MySQL connection id <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">is</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2</span> Server version: <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">5.7</span>.<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">14</span>  Copyright (c) <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2000</span>, <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">2016</span>, Oracle <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">and</span>/<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">or</span> its affiliates. All rights reserved.  Oracle <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">is</span> a registered trademark <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">of</span> Oracle Corporation <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">and</span>/<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">or</span> its affiliates. Other names may be trademarks <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">of</span> their respective owners.  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">Type</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">'help;'</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">or</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">'\h'</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">for</span> help. <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">Type</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">'\c'</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">to</span> clear the current input statement.  <br />mysql&gt; <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">SET</span> PASSWORD = PASSWORD(<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">'123456'</span>); Query OK, <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">0</span> rows affected, <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">1</span> warning (<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">0.00</span> sec)  <br />mysql&gt; flush privileges; Query OK, <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">0</span> rows affected (<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #006666;">0.00</span> sec)</code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">5</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">6</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">7</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">8</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">9</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">10</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">11</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">12</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">13</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">14</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">15</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">16</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">17</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">18</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">19</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">20</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">21</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">22</li></ul></pre><h4>7. 添加远程访问权限</h4><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code asciidoc=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">mysql&gt; use mysql;  Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A   Database changed mysql&gt; update user set host = <span style="margin: 0px; padding: 0px; box-sizing: border-box;">'%'</span> where user = <span style="margin: 0px; padding: 0px; box-sizing: border-box;">'root'</span>; Query OK, 1 row affected (0.00 sec) Rows matched: 1  Changed: 1  Warnings: 0   <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">mysql&gt; select host, user from user; +-----------+-----------+</span> <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">| host      | user      | +-----------+-----------+</span> | %         | root      | <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #009900;">| localhost | mysql.sys | +-----------+-----------+</span>  <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;">//重启生效</span> /etc/init.d/mysqld restart</code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">5</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">6</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">7</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">8</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">9</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">10</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">11</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">12</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">13</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">14</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">15</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">16</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">17</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">18</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">19</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">20</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">21</li></ul></pre><h4>8. 修改字符集</h4><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code r=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;">[root@slave mysql]<span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># vim /etc/my.cnf </span>  [mysqld] <span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #000088;">...</span>略 character-set-server=utf8  //重启生效 /etc/init.d/mysqld restart</code><ul style="margin: 0px; padding: 8px 0px; box-sizing: border-box; list-style: none; position: absolute; width: 48px; background-color: #eef0f4; top: 0px; left: 0px;"><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">1</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">2</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">3</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">4</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">5</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">6</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">7</li><li style="margin: 0px; padding: 0px 8px; box-sizing: border-box; list-style: none; color: #999999;">8</li></ul></pre><h4>9. linux下mysql配置文件my.cnf详解</h4><p style="margin: 0px 0px 16px; padding: 0px; box-sizing: border-box; font-size: 16px; color: #4f4f4f; line-height: 26px; text-align: justify; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; background-color: #ffffff;"><a href="http://www.cnblogs.com/captain_jack/archive/2010/10/12/1848496.html" target="_blank" style="color: #6795b5; outline: 0px; margin: 0px; padding: 0px; box-sizing: border-box; text-decoration-line: none;">http://www.cnblogs.com/captain_jack/archive/2010/10/12/1848496.html</a></p><h4>10. 卸载MySQL</h4><pre style="margin-top: 0px; margin-bottom: 24px; padding: 8px 16px 4px 56px; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; border: none; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; background-color: #f6f8fa;"><code hljs=""  has-numbering"="" style="box-sizing: border-box; display: block; padding: 0px; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; border-radius: 4px; overflow-x: auto; word-wrap: normal;"><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># 1. 停止服务</span> /etc/init.d/mysqld stop  <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># 2. 停止并删除开机启动</span> chkconfig mysqld off chkconfig --del mysqld  <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># 3. 删除MySQL目录</span> rm -rf /usr/local/mysql rm <span style="margin: 0px; padding: 0px; box-sizing: border-box;">-f</span> /etc/my.cnf rm <span style="margin: 0px; padding: 0px; box-sizing: border-box;">-f</span> /etc/init.d/mysqld rm <span style="margin: 0px; padding: 0px; box-sizing: border-box;">-f</span> /root/.mysql_secret  <br /><span style="margin: 0px; padding: 0px; box-sizing: border-box; color: #880000;"># 4. 删除用户和用户组</span> userdel -r mysql</code></pre><img src ="http://www.blogjava.net/keweibo/aggbug/433121.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2018-03-22 10:22 <a href="http://www.blogjava.net/keweibo/articles/433121.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>VirtualBox中虚拟Ubuntu添加新的虚拟硬盘</title><link>http://www.blogjava.net/keweibo/articles/433068.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Mon, 05 Mar 2018 03:50:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/433068.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/433068.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/433068.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/433068.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/433068.html</trackback:ping><description><![CDATA[<p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">转自：<span style="font-family: verdana, &quot;courier new&quot;;">https://www.linuxidc.com/Linux/2014-10/108075.htm<br /><br /></span></p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">VirtualBox中装好<a href="http://www.linuxidc.com/topicnews.aspx?tid=2" target="_blank" title="Ubuntu" style="color: #b32bd5;">Ubuntu</a>后，发现硬盘空间不够使用 了。以下是搜集整理的解决办法：</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">1. 添加新硬盘</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">设置 -&gt; Storage -&gt; SATA控制器-&gt;右击，选择&#8220;添加虚拟硬盘&#8221;</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">然后，根据需求创建合适的硬盘</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">2. 重启虚拟机</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">查看现有系统的磁盘空间</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">sudo fdisk -l</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">可看到新加的虚拟硬盘，一般名为：Disk /dev/sdb</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">3. 给新加的硬盘分区</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">fdisk /dev/sdb</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">键入m,可看到帮助信息</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">command (m for help):m</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">增加新分区</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">command (m for help):n</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">选择基本分区，输入：p</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">建一个分区</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">Partition number(1-4):1</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">回车</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">First cylinder (1-15908,default 1):Enter</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">写入并退出</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">command (m for help):w</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">4. 格式化磁盘分区</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">用ext4格式对/dev/sdb1进入格式化</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">sudo mkfs.ext4 /dev/sdb1</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">5. 挂载分区</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">创建新的挂载点</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">sudo mkdir /work</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">将新磁盘分区挂载到/work目录下</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">sudo mount -t ext4 /dev/sdb1 /home/<a href="http://www.linuxidc.com/topicnews.aspx?tid=13" target="_blank" title="Hadoop" style="color: #b32bd5;">Hadoop</a>/NewDisk1/</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">查看挂载</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">df -h</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">可以看到新加的硬盘：/dev/sdb1</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">6. 开机自动挂载</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">修改文件</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">sudo vim /etc/fstab</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">在最后一行加入：</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">/dev/sdb1 /home/hadoop/NewDisk1/ ext4 defaults 0 0</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">这一行一共六个参数，依次是&#8220;文件系统所在设备；挂载点；文件系统类型；挂载参数，大多数系统使用"defaults"就可以满足需要；后两个一个是转储，一个是启动顺序，如果没有转储需求，也不是系统启动盘都设置成0就可以了。</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">7.所有做完后硬盘已经设置成功，只是分区虽然挂载上，但是不可写，需要更改权限：</p><p style="color: #333333; font-family: tahoma, 宋体; text-align: justify; background-color: #fafafc;">sudo chmod -R 777 /home/hadoop/NewDisk1/</p><img src ="http://www.blogjava.net/keweibo/aggbug/433068.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2018-03-05 11:50 <a href="http://www.blogjava.net/keweibo/articles/433068.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>redhat 9.0,提示Determining IP information for eth0... failed; no link present. Check cable?</title><link>http://www.blogjava.net/keweibo/articles/398679.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Thu, 02 May 2013 08:27:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/398679.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/398679.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/398679.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/398679.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/398679.html</trackback:ping><description><![CDATA[<span style="font-family: Geneva, Arial, Helvetica, sans-serif; line-height: 24px; background-color: #f9f9f9;">redhat 9.0,提示Determining IP information for eth0... failed; no link present. Check cable?无法激活网络设备eth0</span><br style="font-family: Geneva, Arial, Helvetica, sans-serif; line-height: 24px; background-color: #f9f9f9;" /><span style="font-family: Geneva, Arial, Helvetica, sans-serif; line-height: 24px; background-color: #f9f9f9;">我搜的相关解决方案为：&nbsp;</span><br style="font-family: Geneva, Arial, Helvetica, sans-serif; line-height: 24px; background-color: #f9f9f9;" /><span style="font-family: Geneva, Arial, Helvetica, sans-serif; line-height: 24px; background-color: #f9f9f9;">到/etc/sysconfig/network-scripts/ifcfg-eth</span><n style="font-family: Geneva, Arial, Helvetica, sans-serif; line-height: 24px; background-color: #f9f9f9;">&nbsp;<br />/etc/sysconfig/networking/devices/ifcfg-eth<n>&nbsp;其中<n>表示Ethernet adapter的标识数字，一般为0。当为零的时候，就是&nbsp;<br />/etc/sysconfig/network-scripts/ifcfg-eth0&nbsp;<br />/etc/sysconfig/networking/devices/ifcfg-eth0 这两个文件中加入&nbsp;<br /><br />check_link_down () {&nbsp;<br />return 1;&nbsp;<br />}&nbsp;</n></n></n><img src ="http://www.blogjava.net/keweibo/aggbug/398679.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2013-05-02 16:27 <a href="http://www.blogjava.net/keweibo/articles/398679.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>具体分析tftp server配置的步骤(转)</title><link>http://www.blogjava.net/keweibo/articles/398387.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Thu, 25 Apr 2013 06:57:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/398387.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/398387.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/398387.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/398387.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/398387.html</trackback:ping><description><![CDATA[<p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">转自：<a href="http://network.51cto.com/art/201009/225534.htm">http://network.51cto.com/art/201009/225534.htm<br /></a><br />在Linux系统中，我们依然可以进行<a href="http://network.51cto.com/art/201009/225533.htm" style="color: #004276;">tftp server配置</a>的操作。可能对于熟悉窗口操作的朋友，对于命令操作有些不熟悉，没关系这里我们就来讲解一下Linux 下的tftp-server配置的命令操作。TFTP是用来下载远程文件的最简单网络协议,它其于UDP协议而实现.嵌入式linux的tftp开发环境包括两个方面:</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">一是linux服务器端的tftp-server支持,</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">二是嵌入式目标系统的tftp-client支持.</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">因为u-boot本身内置支持tftp-client,所以嵌入式目标系统端就不用配置了.</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">下面就详细介绍一下linux服务器端tftp server配置.在redhat 9.0的第三张光盘中,有tftp-server的安装rpm包.（1）&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 安装</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#mount &#8211;t iso9660 /dev/hdc /mnt/cdrom&nbsp;&nbsp;&nbsp; //挂载光盘</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#rpm -ivh tftp-server-0.32-4.i386.rpm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //安装</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#umount /mnt/cdrom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //卸载光盘</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">（2）修改文件在linux下,不管使用的是哪一种super-server,inetd或者xinetd,默认情况下TFTP服务是禁用的,所以要修改文件来开启服务.</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">根据（1）的安装方法,可以修改文件/etc/xinetd.d/tftp.主要是设置TFTP服务器的根目录,开启服务.</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">修改后的文件如下:</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">service tftp {</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">socket_type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =dgram</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =udp</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =yes</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =root</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =/usr/sbin/in.tftpd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">server_args&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =-s /home/app -c</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">disable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =no</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">per_source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =11</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">cps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =100 2</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =IPv4</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">}</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">说明:修改项server_args= -s&nbsp;&nbsp;&nbsp;&nbsp; &lt;path&gt;&nbsp;&nbsp;&nbsp; -c,其中&lt;path&gt;处可以改为你的tftp server配置的根目录,参数-s指定chroot,-c指定了可以创建文件.</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">（3）创建tftp根目录,关闭防火墙,启动tftp-server.</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#mkdir /home/app</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#chmod o+w&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /home/app</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#/etc/init.d/iptables stop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //关闭防火墙</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#service xinetd restart&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //重启 xinetd 服务</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">重启xinetd服务,因为TFTP服务受控与xinetd, xinetd是管服务的服务,它是不开端口的.</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">验证一下TFTP是否起来了:</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;"># netstat -nlp</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">Active Internet connections (only servers)</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 3122/rpc.statd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 127.0.0.1:32781 0.0.0.0:* LISTEN 4035/xinetd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3103/portmap</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3324/httpd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3255/sshd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3213/cupsd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3295/sendmail: acce</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 3415/0</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 3324/httpd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">udp 0 0 0.0.0.0:32768 0.0.0.0:* 3122/rpc.statd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">udp 0 0 0.0.0.0:69 0.0.0.0:* 4035/xinetd&nbsp;&nbsp; ;</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">可以看到69端口已经打开</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">udp 0 0 0.0.0.0:69 0.0.0.0:* 4012/in.tftpd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">udp 0 0 0.0.0.0:111 0.0.0.0:* 3103/portmap</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">udp 0 0 0.0.0.0:754 0.0.0.0:* 3122/rpc.statd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">udp 0 0 0.0.0.0:631 0.0.0.0:* 3213/cupsd</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">这样,tftp server配置的启动步骤就完成了。</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">你可以登陆本机测试以下,命令如下:</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">#tftp&nbsp;&nbsp;&nbsp;&nbsp; your-ip-address</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tftp&gt;get &lt;download file&gt;</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tftp&gt;put &lt;upload file&gt;</p><p style="margin: 10px 0px; padding: 0px; color: #333333; background-color: #f8f8f8; text-indent: 28px; font-family: 宋体; line-height: 28px;">tftp&gt;q</p><img src ="http://www.blogjava.net/keweibo/aggbug/398387.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2013-04-25 14:57 <a href="http://www.blogjava.net/keweibo/articles/398387.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>linux JDK 三种配置环境变量的方法</title><link>http://www.blogjava.net/keweibo/articles/366113.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Mon, 12 Dec 2011 00:22:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/366113.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/366113.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/366113.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/366113.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/366113.html</trackback:ping><description><![CDATA[@import url(http://www.blogjava.net/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
<span>
<p>三种配置环境变量的方法<br />
<br />
1. 修改/etc/profile文件 <br />
如果你的计算机仅仅作为开发使用时推荐使用这种方法，因为所有<strong>用户</strong>的shell都有权使用这些环境变量，可能会给系统带来安全性问题。 <br />
&#183;用文本编辑器打开/etc/profile <br />
&#183;在profile文件末尾加入： <br />
export <img id="0" anchorname="baidusnap2" src="/CuteSoft_Client/CuteEditor/Images/anchor.gif" alt="" /><strong>JAVA_HOME</strong>=/usr/share/jdk1.6.0_14 <br />
export PATH=$<strong>JAVA_HOME</strong>/bin:$PATH <br />
export CLASSPATH=.:$<strong>JAVA_HOME</strong>/lib/dt.jar:$<strong>JAVA_HOME</strong>/lib/tools.jar</p>
<p>&#183;重新登录 <br />
&#183;注解 <br />
a. 你要将 /usr/share/jdk1.6.0_14改为你的jdk安装目录 <br />
b. <strong>linux</strong>下用冒号&#8220;:&#8221;来分隔路径 <br />
c. $PATH / $CLASSPATH / $<strong>JAVA_HOME</strong> 是用来引用原来的环境变量的值 <br />
在<strong>设置</strong>环境变量时特别要注意不能把原来的值给覆盖掉了，这是一种 <br />
常见的错误。 <br />
d. CLASSPATH中当前目录&#8220;.&#8221;不能丢,把当前目录丢掉也是常见的错误。 <br />
e. export是把这三个变量导出为全局变量。 <br />
f. 大小写必须严格区分。</p>
<p>2. 修改.<img id="1" anchorname="baidusnap5" src="/CuteSoft_Client/CuteEditor/Images/anchor.gif" alt="" /><strong>bash_profile</strong>文件</p>
<p>这种方法更为安全，它可以把使用这些环境变量的权限控制到<strong>用户</strong>级别，如果你需要给某个<strong>用户</strong>权限使用这些环境变量，你只需要修改其个人<strong>用户</strong>主目录下的.<strong>bash_profile</strong>文件就可以了。 <br />
&#183;用文本编辑器打开<strong>用户</strong>目录下的.<strong>bash_profile</strong>文件 <br />
&#183;在.<strong>bash_profile</strong>文件末尾加入：</p>
<p>export <strong>JAVA_HOME</strong>=/usr/share/jdk1.6.0_14 <br />
export PATH=$<strong>JAVA_HOME</strong>/bin:$PATH <br />
export CLASSPATH=.:$<strong>JAVA_HOME</strong>/lib/dt.jar:$<strong>JAVA_HOME</strong>/lib/tools.jar</p>
<p>&#183;重新登录</p>
<p>3. 直接在shell下<strong>设置</strong>变量 <br />
不赞成使用这种方法，因为换个shell，你的<strong>设置</strong>就无效了，因此这种方法仅仅是临时使用，以后要使用的时候又要重新<strong>设置</strong>，比较麻烦。 <br />
只需在shell终端执行下列命令： <br />
export <strong>JAVA_HOME</strong>=/usr/share/jdk1.6.0_14 <br />
export PATH=$<strong>JAVA_HOME</strong>/bin:$PATH <br />
export CLASSPATH=.:$<strong>JAVA_HOME</strong>/lib/dt.jar:$<strong>JAVA_HOME</strong>/lib/tools.jar</p>
</span><br />
<img src ="http://www.blogjava.net/keweibo/aggbug/366113.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2011-12-12 08:22 <a href="http://www.blogjava.net/keweibo/articles/366113.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Redhat 安装JDK(轉)</title><link>http://www.blogjava.net/keweibo/articles/366020.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Sat, 10 Dec 2011 02:13:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/366020.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/366020.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/366020.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/366020.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/366020.html</trackback:ping><description><![CDATA[<p><strong>1.检查是否有旧版本的jdk</strong></p>
<p><strong><br />
</strong>[root@localhost soft]# java -version<br />
java version "1.4.2"<br />
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)</p>
<p>Copyright (C) 2006 Free Software Foundation, Inc.<br />
This is free software; see the source for copying conditions.&nbsp; There is NO<br />
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p>[root@localhost soft]# rpm -qa|grep gcj<br />
libgcj-4.1.2-48.el5<br />
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115<br />
libgcj-4.1.2-48.el5</p>
<p>&nbsp;</p>
<p><strong>2.卸载旧的jdk</strong></p>
<p><strong></strong></p>
<p>[root@localhost soft]# rpm -e --nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.115</p>
<p>[root@localhost soft]# java -version<br />
-bash: /usr/bin/java: 没有那个文件或目录</p>
<p>&nbsp;</p>
<p><strong>3.后安装新的jdk</strong></p>
<p><strong><br />
</strong>./ jdk-1_5_0_15-linux-i586.bin<br />
mkdir /usr/java<br />
mv jdk1.5.0_15 /usr/java/</p>
<p>ln -s /usr/java/jdk1.5.0_16/bin/java /usr/bin/java </p>
<p>ln -s /usr/java/jdk1.5.0_16/bin/javac /usr/bin/javac </p>
<p><br />
<strong>4.编写环境变量: </strong></p>
<p><strong></strong></p>
<p>在/etc/profile里写入如下: </p>
<p>#vi /etc/profile <br />
JAVA_HOME=/usr/java/jdk1.5.0_16 <br />
JRE_HOME=/usr/java/jdk1.5.0_16/jre <br />
PATH=$PATH:$JAVA_HOME/bin:JRE_HOME/bin <br />
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib:<br />
export JAVA_HOME JRE_HOME PATH CLASSPATH <br />
export LANG=zh_CN.gb18030</p>
<p>&nbsp;</p>
<p><strong>5.使环境变量生效: </strong></p>
<p><strong></strong></p>
<p>#source /etc/profile</p>
@import url(http://www.blogjava.net/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);<img src ="http://www.blogjava.net/keweibo/aggbug/366020.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2011-12-10 10:13 <a href="http://www.blogjava.net/keweibo/articles/366020.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>linux中tail命令</title><link>http://www.blogjava.net/keweibo/articles/254347.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Thu, 12 Feb 2009 03:14:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/254347.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/254347.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/254347.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/254347.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/254347.html</trackback:ping><description><![CDATA[<div class="tit">&nbsp;</div>
<table style="table-layout: fixed">
    <tbody>
        <tr>
            <td>
            <div class="cnt">
            <p><font face="宋体" size="3">查看文件内容的特殊方法<br />
            相信最基本的cat、more和less你已经很熟悉了，如果有特殊的要求呢：<br />
            1. 如果你只想看文件的前5行，可以使用head命令，如：<br />
            head -5 /etc/passwd<br />
            2. 如果你想查看文件的后10行，可以使用tail命令，如：<br />
            tail -2 /etc/passwd 或</font><font face="宋体" size="3"> tail -n 2 /etc/passwd</font><font size="3"><br />
            </font><font face="宋体" size="3">tail -f /var/log/messages<br />
            <span style="color: red"><font face="宋体" size="3">参数-f使tail不停地去读最新的内容，这样有实时监视的效果，</font><font size="3">用Ctrl＋c来终止！<br />
            </font></span></font><font face="宋体" size="3">3. 查看文件中间一段，你可以使用sed命令，如：<br />
            sed -n '5,10p' /etc/passwd<br />
            这样你就可以只查看文件的第5行到第10行。<br />
            </font></p>
            <p>&nbsp;</p>
            <p><font face="宋体" size="3"><br />
            语法格式：<br />
            </font><font size="3">&nbsp;&nbsp;&nbsp; tail [ -f ] [ -c Number | -n Number | -m Number | -b Number | -k Number ] [ File ]<br />
            &nbsp;&nbsp;&nbsp; 或者<br />
            &nbsp;&nbsp;&nbsp; tail [ -r ] [ -n Number ] [ File ]<br />
            使用说明：<br />
            &nbsp;&nbsp;&nbsp; tail 命令从指定点开始将 File 参数指定的文件写到标准输出。如果没有指定文件，则会使用标准输入。 Number 变量&lt;br /&gt;指定将多少单元写入标准输出。 Number 变量的值可以是正的或负的整数。如果值的前面有 +（加号），从文件开头&lt;br /&gt;指定的单元数开始将文件写到标准输出。如果值的前面有 -（减号），则从文件末尾指定的单元数开始将文件写到&lt;br /&gt;标准输出。如果值前面没有 +（加号）或 -（减号），那么从文件末尾指定的单元号开始读取文件。<br />
            主要参数：<br />
            </font></p>
            <pre><font size="3">-b Number 从 Number 变量表示的 512 字节块位置开始读取指定文件。 <br />
            -c Number 从 Number 变量表示的字节位置开始读取指定文件。 <br />
            -f 如果输入文件是常规文件或如果 File 参数指定 FIFO（先进先出），那么 tail 命令不会在复制了输入文件的最后的指定单元后终止，而是继续从输入文件读取和复制额外的单元（当这些单元可用时）。如果没有指定 File 参数，并且标准输入是管道，则会忽略 -f 标志。tail -f 命令可用于监视另一个进程正在写入的文件的增长。 <br />
            -k Number 从 Number 变量表示的 1KB 块位置开始读取指定文件。 <br />
            -m Number 从 Number 变量表示的多字节字符位置开始读取指定文件。使用该标志提供在单字节和双字节字符代码集环境中的一致结果。 <br />
            -n Number 从首行或末行位置来读取指定文件，位置由 Number 变量的符号（+ 或 - 或无）表示，并通过行号 Number 进行位移。 <br />
            -r 从文件末尾以逆序方式显示输出。-r 标志的缺省值是以逆序方式显示整个文件。如果文件大于 20,480 字节，那么-r标志只显示最后的 20,480 字节。 -r 标志只有与 -n 标志一起时才有效。否则，就会将其忽略</font></pre>
            </div>
            </td>
        </tr>
    </tbody>
</table>
<img src ="http://www.blogjava.net/keweibo/aggbug/254347.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2009-02-12 11:14 <a href="http://www.blogjava.net/keweibo/articles/254347.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>linux下查看TOMCAT運行時輸出的信息</title><link>http://www.blogjava.net/keweibo/articles/253714.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Sat, 07 Feb 2009 08:44:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/253714.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/253714.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/253714.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/253714.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/253714.html</trackback:ping><description><![CDATA[<span  style="font-family: simsun; ">
<p>cd #tomcat安装目录# cd logs vi catalina.out</p>
<p>&nbsp;</p>
<p>这个文件就是tomcat的输出信息 和在windows平台上安装的tomcat的窗口的信息一样</p>
</span>
<img src ="http://www.blogjava.net/keweibo/aggbug/253714.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2009-02-07 16:44 <a href="http://www.blogjava.net/keweibo/articles/253714.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ubuntu8.04安装JDK的步骤</title><link>http://www.blogjava.net/keweibo/articles/236553.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Sat, 25 Oct 2008 08:09:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/236553.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/236553.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/236553.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/236553.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/236553.html</trackback:ping><description><![CDATA[<br />
<div class="cnt"><br />
<font color="#0000ff">步骤1.</font>根据自己机器的配置，从sun官方网站选择<a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank"> http://java.sun.com/javase/downloads/index.jsp</a> 下载JDK，我下载的是jdk_6u6_linux-x64.bin。<br />
<font color="#0000ff"><br />
步骤2.</font>点击桌面&#8220;应用程序&#8221;--&gt;&#8220;附件&#8221;--&gt;&#8220;终端&#8221;，进入终端窗口，输入<font color="#ff0000"><strong>sudo su</strong> </font>命令，取得root权限。<br />
<br />
<font color="#0000ff">步骤3.</font>在/usr目录下新建子目录java，并将下载的jdk_6u6_linux-x64.bin拷贝到该目录下，在终端输入命令<br />
#<font color="#ff0000"><strong>mkdir</strong></font> /usr/java<br />
<br />
<font color="#0000ff">步骤4.</font>转到/usr/java目录下，开始安装jdk，在终端输入命令：<br />
#<font color="#ff0000"><strong>cd</strong></font> /usr/java<br />
#<font color="#ff0000"><strong>chmod u+x</strong></font> ./jdk_6u6_linux-x64.bin<br />
#./jdk_6u6_linux-x64.bin<br />
<br />
安装程序将询问你是否尊守许可协议页面 ,回车,空格都可以,看完协议.<br />
出现一行字：Do you aggree to the above license terms? [yes or no]<br />
输入yes后，jdk被解压到usr/java/jdk1.6.0_06目录下。<br />
<br />
<font color="#0000ff">步骤5.</font>修改环境变量，设置PATH,JAVA_HOME,CLASSPATH,用gedit编辑器来修改profile文件，这个文件的修改会对所有的用户起作用，就改它了。网上很多地方用vi编辑器，试了下还是gedit好用<br />
#<font color="#ff0000"><strong>gedit</strong> </font>/etc/profile<br />
在弹出的profile文件的末尾，umask 022之前加上以下设置的语句<br />
<br />
export JAVA_HOME=/usr/java/jdk1.6.0_06<br />
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib<br />
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOMR/bin <br />
<br />
umask 022<font color="#0000ff">//原文件里的，不动它</font><br />
<br />
保存退出。<br />
<br />
<font color="#0000ff">步骤6.</font>测试jdk是否安装成功<br />
退出终端，<span style="color: red">注销</span>一下，再次进入终端，输入<font color="#ff0000"><strong>java -version</strong></font>,可查到jdk版本信息，<br />
java version "1.6.0_06"<br />
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)<br />
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)<br />
说明安装成功。<br />
</div>
<img src ="http://www.blogjava.net/keweibo/aggbug/236553.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2008-10-25 16:09 <a href="http://www.blogjava.net/keweibo/articles/236553.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>linux常用命令一份 </title><link>http://www.blogjava.net/keweibo/articles/217613.html</link><dc:creator>Ke</dc:creator><author>Ke</author><pubDate>Sat, 26 Jul 2008 00:50:00 GMT</pubDate><guid>http://www.blogjava.net/keweibo/articles/217613.html</guid><wfw:comment>http://www.blogjava.net/keweibo/comments/217613.html</wfw:comment><comments>http://www.blogjava.net/keweibo/articles/217613.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/keweibo/comments/commentRss/217613.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/keweibo/services/trackbacks/217613.html</trackback:ping><description><![CDATA[原贴：http://blog.chinaunix.net/u/21012/showart_143614.html<br />
<br />
<font style="font-size: 14pt" color="#295200"><strong>linux常用命令一份</strong></font>
<p><font color="#ff0000">转自：<a href="http://www.linuxsir.org/">http://www.linuxsir.org</a></font></p>
<p><font color="blue">最常用的基本操作命令［推荐篇］<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=4027" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=4027</font></a><br />
Linux中文件查找技术大全(find命令)<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=1108" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=1108</font></a><br />
网络通信命令详解<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=28256" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=28256</font></a><br />
linux指令大全[1]<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=766" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=&amp;threadid=766</font></a><br />
linux指令大全[2]<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=755" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=&amp;threadid=755</font></a><br />
linux指令大全[3]<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=775" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=&amp;threadid=775</font></a><br />
系统管理 命令详解<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=28216" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=28216</font></a><br />
Linux系统命令(备份压缩)<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=23695" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=23695</font></a><br />
系统备份命令 cpio<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=16400" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=16400</font></a><br />
文件内容查询命令<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=5106" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=5106</font></a><br />
解压缩命令及软件集中解决篇<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3506" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=3506</font></a><br />
基本命令<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=2996" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=2996</font></a><br />
网络相关ping finger nslookup netstat<br />
<a href="http://www.linuxsir.org/bbs/showthre...&amp;threadid=5121" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=5121</font></a></font></p>
<p><font color="blue"><font color="#ff0000">Linux的基本文件<br />
<br />
<br />
启动引导程序配置文件</font><font color="blue"><br />
LILO /etc/lilo.conf<br />
GRUB /boot/grub/menu.lst<br />
<br />
<font color="red">系统启动文件核脚本</font><br />
主启动控制文件 /etc/inittab<br />
SysV启动脚本的位置 /etc/init.d、/etc/rc.d/init.d或/etc/rc.d<br />
SysV启动脚本链接的位置 /etc/init.d/rc?.d、/etc/rc.d/rc?.d或/etc/rc?.d<br />
本地启动脚本 /etc/rc.d/rc.local、/etc/init.d/boot.local或/etc/rc.boot里的文件<br />
<br />
<font color="red">网络配置文件</font><br />
建立网络接口的脚本 /sbin/ifup<br />
保存网络配置数据文件的目录 /etc/network、/etc/sysconfig/network和/etc/sysconfig/network-scripts<br />
保存解析DNS服务的文件 /etc/resolv.conf<br />
DHCP客户端的配置文件 /etc/dhclient.conf<br />
<br />
<font color="red">超级服务程序配置文件和目录</font><br />
inetd配置文件 /etc/inetd.conf<br />
TCP Wrappers配置文件 /etc/hosts.allow和/etc/hosts.deny<br />
xinetd配置文件 /etc/xinetd.conf和/etc/xinetd.d目录里的文件<br />
<br />
<font color="red">硬件配置</font><br />
内核模块配置文件 /etc/modules.conf<br />
<br />
<font color="red">硬件访问文件</font><br />
Linux设备文件 /dev目录里<br />
保存硬件和驱动程序数据的文件 /proc目录里<br />
<br />
<font color="red">扫描仪配置文件</font><br />
SANE主配置 /etc/sane.d/dll.conf<br />
特定扫描仪的配置文件 /etc/sane.d目录里以扫描仪型号命名的文件<br />
<br />
<font color="red">打印机配置文件</font><br />
BSD LPD核LPRng的本地打印机主配置文件 /etc/printcap<br />
CUPS本地打印机主配置和远程访问受权文件 /etc/cups/cupsd.conf<br />
BSD LPD远程访问受权文件 /etc/hosts.lpd<br />
LPRng远程访问受权文件 /etc/lpd.perms<br />
<br />
<font color="red">文件系统</font><br />
文件系统表 /etc/fstab<br />
软驱装配点 /floppy、/mnt/floppy或/media/floppy<br />
光驱装配点 /cdrom、/mnt/cdrom或/media/cdrom<br />
<br />
<font color="red">shell配置文件</font><br />
bash系统非登录配置文件 /etc/bashrc、/etc/bash.bashrc或/etc/bash.bashrc.local<br />
bash系统登录文件 /etc/profile和/etc/profile.d里的文件<br />
bash用户非登录配置文件 ~/.bashrc<br />
bash用户登录配置文件 ~/.profile<br />
<br />
<font color="red">XFree86配置文件核目录</font><br />
XFree86主配置文件 /etc/XF86config、/etc/X11/XF86Config或/etc/X11/XF86Config-4<br />
字体服务程序配置文件 /etc/X11/fs/config<br />
Xft 1.x配置文件 /etcX11/XftConfig<br />
Xft 2.0配置文件 /etc/fonts/fonts.conf<br />
字体目录 /usr/X11R6/lib/X11/fonts和/usr/share/fonts<br />
<br />
<font color="red">Web服务程序配置文件</font><br />
Apache主配置文件 /etc/apache、/etc/httpd或/httpd/conf里的httpd.conf或httpd2.conf文件<br />
MIME类型文件 与Apache主配置文件在同一目录里的mime.types或apache-mime.types<br />
<br />
<font color="red">文件服务程序配置文件</font><br />
ProFTPd配置文件 /etc/proftpd.conf<br />
vsftpd配置文件 /etc/vsftpd.conf<br />
NFS服务程序的输出定义文件 /etc/exports<br />
NFS客户端装配的NFS输出 /etc/fstab<br />
Samba配置文件 /etc/samba/smb.conf<br />
Samba用户配置文件 /etc/samba/smbpasswd<br />
<br />
<font color="red">邮件服务程序配置文件</font><br />
sendmail主配置文件 /etc/mail/sendmail.cf<br />
sendmail源配置文件 /etc/mail/sendmail.mc或/usr/share/sendmail/cf/cf/linux.smtp.mc或其他文件<br />
Postfix主配置文件 /etc/postfix/main.cf<br />
Exim主配置文件 /etc/exim/exim.cf<br />
Procmail配置文件 /etc/procmailrc或~/.procmailrc<br />
Fetchmail配置文件 ~/.fetchmailrc<br />
<br />
<font color="red">远程登录配置文件</font><br />
SSH服务程序配置文件 /etc/ssh/sshd_config<br />
SSH客户端配置文件 /etc/ssh/ssh_config<br />
XDM配置文件 /etc/X11/xdm目录下<br />
GDM配置文件 /etc/X11/gdm目录下<br />
VNC服务程序配置文件 /usr/X11R6/bin/vncserver启动脚本和~/.vnc目录里的文件<br />
<br />
<font color="red">其他服务程序配置文件</font><br />
DHCP服务程序配置文件 /etc/dhcpd.conf<br />
BIND服务程序配置文件 /etc/named.conf和/var/named/<br />
NTP服务程序配置文件 /etc/ntp.conf<br />
<br />
How Linux Boots<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=236071" target="_blank"><font color="#000000">http://bbs.linuxsir.org/showthread.php?t=236071</font></a><br />
Linux下的主要文件<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=131580" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...hreadid=131580</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=194273" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=194273</font></a><br />
bash配置文件实验<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=84757&amp;highlight=bash%C5%E4%D6%C3%CE%C4%BC%FE%CA%B5%D1%E9" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...FE%CA%B5%D1%E9</font></a><br />
如何设置hosts.allow和hosts.deny？<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=26879&amp;highlight=hosts.allow" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ht=hosts.allow</font></a><br />
文件类型与程序关联<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=134703" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=134703</font></a><br />
</font></font></p>
<p><font color="blue"><font color="blue"><font color="#ff0000">网络配置说明一份<br />
<br />
<br />
网卡驱动</font><font color="blue"><br />
Debian3安装Intel千兆网卡驱动手记<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=45430&amp;highlight=intel" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ighlight=intel</font></a><br />
如何驱动VIA芯片组VT8231_VT8233_VT8235主板集成网卡<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=66688&amp;highlight=VT8231" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ghlight=VT8231</font></a><br />
如何安装和配置Intel 2011B无线网卡<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=66251&amp;highlight=2011B%CE%DE%CF%DF%CD%F8%BF%A8" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...DF%CD%F8%BF%A8</font></a><br />
nforce2网卡安装心得<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=62506" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=62506</font></a><br />
linux下用蓝牙建立无线网路<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=53906&amp;highlight=%C0%B6%D1%C0" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=%C0%B6%D1%C0</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=81744&amp;highlight=%C0%B6%D1%C0" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=%C0%B6%D1%C0</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=27830&amp;highlight=%C0%B6%D1%C0" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=%C0%B6%D1%C0</font></a><br />
修改网卡 MAC 的&#8220;官方&#8221;方法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=47204&amp;highlight=%D0%DE%B8%C4%CD%F8%BF%A8MAC" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...CD%F8%BF%A8MAC</font></a><br />
扔掉你的锐捷官方801.1X认证客户端<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=188624" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=188624</font></a><br />
<br />
<font color="red">宽带接入</font><br />
ADSL<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=72032" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=72032</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=196183" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=196183</font></a><br />
USB接口的ADSL猫上网办法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=41094&amp;highlight=USB%BD%D3%BF%DA%B5%C4ADSL" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...F%DA%B5%C4ADSL</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=6125&amp;highlight=USB%BD%D3%BF%DA%B5%C4ADSL" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...F%DA%B5%C4ADSL</font></a><br />
如何在铁通WEB认证方式上网<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=36142&amp;highlight=WEB%C8%CF%D6%A4%B7%BD%CA%BD%C9%CF%CD%F8" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...BD%C9%CF%CD%F8</font></a><br />
河南网通宽带用户客户端下载页面<br />
<a href="http://218.29.0.252/" target="_blank"><font color="#000000">http://218.29.0.252/</font></a><br />
如何在LINUX使用河南网通的客户端？<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=131118&amp;highlight=%CD%F8%CD%A8" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=%CD%F8%CD%A8</font></a><br />
关于河南网通上网问题的解答及具体解决方法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?p=1028824&amp;posted=1#post1028824" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=1#post1028824</font></a><br />
河南网通新客户端4LINUX<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=186944" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=186944</font></a><br />
802．1x协议解析 <br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=32281&amp;highlight=802.1X" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ghlight=802.1X</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=92478&amp;highlight=802.1X" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ghlight=802.1X</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=107047&amp;highlight=802.1X" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ghlight=802.1X</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=77539&amp;highlight=802.1X" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ghlight=802.1X</font></a><br />
长城宽带认证方法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=160764&amp;highlight=%B3%A4%B3%C7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=%B3%A4%B3%C7</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=130955&amp;highlight=%B3%A4%B3%C7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=%B3%A4%B3%C7</font></a><br />
<br />
<font color="red">dr.com上网解决方案</font><br />
<a href="http://bbs.linuxsir.org/showthread.php?t=222265" target="_blank"><font color="#000000">http://bbs.linuxsir.org/showthread.php?t=222265</font></a><br />
<br />
<font color="red">Linux并口网络解决方案</font><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?p=1030986&amp;posted=1#post1030986" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=1#post1030986</font></a><br />
<br />
<font color="red">网络服务</font><br />
Linux服务器的一些基本应用<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=4138&amp;highlight=Linux%B7%FE%CE%F1%C6%F7%B5%C4%D2%BB%D0%A9%BB%F9%B1%BE%D3%A6%D3%C3" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...BE%D3%A6%D3%C3</font></a><br />
用Linux建立一个拨号服务器以提供拨号接入<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=801&amp;highlight=%B2%A6%C8%EB" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=%B2%A6%C8%EB</font></a><br />
<br />
<font color="red">DNS</font><br />
Linux架设DNS服务器<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3769&amp;highlight=DNS%B7%FE%CE%F1%C6%F7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...FE%CE%F1%C6%F7</font></a><br />
在Debian中配置DNS服务器的全过程<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=13368&amp;highlight=DNS%B7%FE%CE%F1%C6%F7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...FE%CE%F1%C6%F7</font></a><br />
Mandrake的DNS服务器配<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=54266&amp;highlight=DNS%B7%FE%CE%F1%C6%F7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...FE%CE%F1%C6%F7</font></a><br />
<br />
<font color="red">DHCP</font><br />
Linux下DHCP的安装和配置<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=119497&amp;highlight=DHCP" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...highlight=DHCP</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=10854&amp;highlight=DHCP" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...highlight=DHCP</font></a><br />
<br />
<font color="red">FTP</font><br />
用vsFTPd自架Linux网络安装服务器，以及Redhat局域网安装的解决办法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=42075&amp;highlight=%D3%C3vsFTPd%D7%D4%BC%DC" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...Pd%D7%D4%BC%DC</font></a><br />
<br />
<font color="red">Apache</font><br />
Administering Apache 读书笔记<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=41080&amp;highlight=Administering" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=Administering</font></a><br />
Linux Apache Web 服务器终极教程<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=13716&amp;highlight=%B7%FE%CE%F1%C6%F7%D6%D5%BC%AB%BD%CC%B3%CC" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...AB%BD%CC%B3%CC</font></a><br />
Apache 2.0.36 &amp; PHP 4.3 的集成<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=19767&amp;highlight=2.0.36" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ghlight=2.0.36</font></a><br />
apache-2.0.43和tomcat-4.1.12集成<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=22526&amp;highlight=tomcat4.1.12" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=tomcat4.1.12</font></a><br />
<br />
<font color="red">Mail</font><br />
Postfix + Cyrus-IMAP + Cyrus-SASL + MySQL完全指南<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=12523&amp;highlight=Postfix" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...hlight=Postfix</font></a><br />
Qmail系统的安装实例<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=4444&amp;highlight=Qmail%CF%B5%CD%B3" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...il%CF%B5%CD%B3</font></a><br />
用qmail建部门邮件服务器<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=2432&amp;highlight=qmail%BD%A8" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ht=qmail%BD%A8</font></a><br />
构建sendmail服务器<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=50883&amp;highlight=sendmail%B7%FE%CE%F1%C6%F7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...FE%CE%F1%C6%F7</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=30391&amp;highlight=sendmail%B7%FE%CE%F1%C6%F7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...FE%CE%F1%C6%F7</font></a><br />
RH9下最简单的WebMail的实现方案<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=40844&amp;highlight=WebMail%B5%C4" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=WebMail%B5%C4</font></a><br />
<br />
<font color="red">远程控制</font><br />
openssh的安装方法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=5793&amp;highlight=openssh%B5%C4" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=openssh%B5%C4</font></a><br />
SSH_HOWTO中文文档<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=21740&amp;highlight=SSH" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;highlight=SSH</font></a><br />
巩固SSH安全访问的构想及操作方法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=79938&amp;highlight=SSH" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;highlight=SSH</font></a><br />
ssh使用ip隧道<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=37295&amp;highlight=SSH" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;highlight=SSH</font></a><br />
Sftp和scp总览<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=7374&amp;highlight=SSH" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;highlight=SSH</font></a><br />
Linux中如何开启Telnet服务<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=34354&amp;highlight=Telnet%B7%FE%CE%F1" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...et%B7%FE%CE%F1</font></a><br />
<br />
<font color="red">Samba</font><br />
Samba服务器的使用<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=4381" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=4381</font></a><br />
Samba使用大全<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=139751&amp;highlight=%CA%B9%D3%C3%B4%F3%C8%AB" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...C3%B4%F3%C8%AB</font></a><br />
用实验快速学习Samba<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=50786&amp;highlight=%D3%C3%CA%B5%D1%E9%BF%EC%CB%D9%D1%A7%CF%B0Samba" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...%A7%CF%B0Samba</font></a><br />
<br />
<font color="red">代理服务器</font><br />
FreeBSD下用squid + ipfilter实现透明代理<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=89217&amp;highlight=%D3%C3squid" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ht=%D3%C3squid</font></a><br />
基于Linux2.4内核的透明代理配置方案，实现局域网共享ADSL上网<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=57074" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=57074</font></a><br />
架设 Squid 代理服务器<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=23194" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=23194</font></a><br />
配置Apache代理<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=1774&amp;highlight=%C5%E4%D6%C3Apache%B4%FA%C0%ED" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...he%B4%FA%C0%ED</font></a><br />
配置Apache逆向代理<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=1773&amp;highlight=%C5%E4%D6%C3Apache%C4%E6%CF%F2%B4%FA%C0%ED" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...F2%B4%FA%C0%ED</font></a><br />
<br />
<font color="red">安全</font><br />
iptables 入门<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=91422&amp;highlight=iptables" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...light=iptables</font></a><br />
iptables的应用<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=29579&amp;highlight=iptables%B5%C4%D3%A6%D3%C3" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...C4%D3%A6%D3%C3</font></a><br />
iptables中文man文档<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=12205&amp;highlight=iptables%D6%D0%CE%C4man%CE%C4%B5%B5" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...an%CE%C4%B5%B5</font></a><br />
linux环境下发现并阻止系统攻击<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=827&amp;highlight=%D7%E8%D6%B9%CF%B5%CD%B3%B9%A5%BB%F7" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...B3%B9%A5%BB%F7</font></a><br />
关于日志<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=17120&amp;highlight=%B9%D8%D3%DA%C8%D5%D6%BE" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...DA%C8%D5%D6%BE</font></a><br />
linux安全攻略<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3591&amp;highlight=%B9%D8%D3%DA%C8%D5%D6%BE" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...DA%C8%D5%D6%BE</font></a><br />
<br />
<font color="red">PPPOE</font><br />
在Linux下建立PPPOE服务器<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?threadid=33535" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=33535</font></a><br />
<br />
<font color="red">架设论坛</font><br />
用源码包安装php-4.34+mysql-4.0.16+apache-2.0.48以及vbb-2.32的架设<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=77079&amp;highlight=apache2.0.48" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=apache2.0.48</font></a><br />
Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota How To<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=66814&amp;highlight=quota" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ighlight=quota</font></a><br />
FreeBSD 中使用QUOTA(磁盘配额)来限制用户空间<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=49571&amp;highlight=quota" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ighlight=quota</font></a><br />
proftpd+mysql用户认证+quota磁盘限额 安装方法(最新版)<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=20908&amp;highlight=quota" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ighlight=quota</font></a><br />
proftpd+mysql用户认证+quota磁盘限额<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=61952&amp;highlight=quota" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ighlight=quota</font></a><br />
proftpd+mysql+quota+vbb完善实现根据金钱购买的流量来下载FTP资源<br />
<a href="http://www.linuxsir.org/bbs/showthre...ighlight=quota" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ighlight=quota</font></a><br />
</font></font></font></p>
<p><font color="blue"><font color="blue"><font color="blue"><font color="#ff0000">linux下常用软件的介绍一份<br />
<br />
<br />
</font><font color="blue">用mirrordir做硬盘或者目录镜像<br />
<a href="http://www.linuxsir.org/bbs/showthre...ight=mirrordir" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ight=mirrordir</font></a><br />
</font></font></font></font></p>
<p><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="#ff0000">汉化说明<br />
<br />
<br />
</font><font color="blue">XFree86 字体美化 Mini HOWTO <br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=78155" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=78155</font></a><br />
借鉴字体知识，学习一下<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=205927" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=205927</font></a><br />
GNU软件本地化技术初探<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=215007" target="_blank"><font color="#000000">http://bbs.linuxsir.org/showthread.php?t=215007</font></a><br />
Arch Linux 中文化－字体设置<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=254314" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=254314</font></a><br />
谈谈Unicode编<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=256869" target="_blank"><font color="#000000">http://bbs.linuxsir.org/showthread.php?t=256869</font></a><br />
</font></font></font></font></font></p>
<p><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="#ff0000">多版本linux的软件安装说明<br />
<br />
<br />
</font><font color="blue">RPM常用命令及RPM中文手册<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=47734" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...threadid=47734</font></a><br />
<br />
RPM 與 SRPM 套件管理員<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=104360&amp;highlight=rpm" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;highlight=rpm</font></a><br />
<br />
Linux下的软件包安装方法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=163837" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=163837</font></a><br />
<br />
编译安装经验(对初学者值得推荐)<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=222575" target="_blank"><font color="#000000">http://bbs.linuxsir.org/showthread.php?t=222575</font></a><br />
</font></font></font></font></font></font></p>
<p><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="#ff0000">lilo、grub的配置说明一份<br />
<br />
<br />
</font><font color="blue">深入Linux的LILO<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=79660&amp;highlight=lilo" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...highlight=lilo</font></a><br />
LILO的超级样本（可同时启动linux和freebsd）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=143673" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...hreadid=143673</font></a><br />
GRUB 大全<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=139153" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...hreadid=139153</font></a><br />
GRUB大总结<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;postid=18053" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...=&amp;postid=18053</font></a><br />
GRUB实例<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3446" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=3446</font></a><br />
从grub&gt;引导linux<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=111407&amp;highlight=grub" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...highlight=grub</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=6959" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=6959</font></a><br />
xp和linux怎么样双启动<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=108694&amp;highlight=linux+rescue" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...t=linux+rescue</font></a><br />
制作Linux的优盘启动盘<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=24093&amp;highlight=%D6%C6%D7%F7Linux%B5%C4%D3%C5%C5%CC%C6%F4%B6%AF%C5%CC" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...F4%B6%AF%C5%CC</font></a><br />
Grub for DOS/NTLDR中文版Climbing定制版第四版<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=174598" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=174598</font></a><br />
用 WinGrub 引导Linux安装详述（windows版的grub）<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=214551" target="_blank"><font color="#000000">http://bbs.linuxsir.org/showthread.php?t=214551</font></a><br />
<br />
os loader引导多系统实战(ntloader)<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3953" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...&amp;threadid=3953</font></a><br />
Windown000/2003/XP中启动Linux的方法<br />
<a href="http://www.linuxsir.org/bbs/showthre...hreadid=128912" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...hreadid=128912</font></a><br />
</font><!-- / message --><!-- sig --><br />
</font></font></font></font></font></font></p>
<p><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="#ff0000">、/etc/X11/XF86Config 或/etc/X11/xorg 文件的例子<br />
<br />
<br />
</font><font color="blue">ATI<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=116778" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=116778</font></a><br />
安装ATI 8.8.25 新驱动(for xorg 6.8,kernel 2.6.10)<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=173859" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthread.php?t=173859</font></a><br />
NVIDIA<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=110657&amp;highlight=XF86Config" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ght=XF86Config</font></a><br />
调整刷新率<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=35375&amp;highlight=XF86Config" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...ght=XF86Config</font></a><br />
设置和修改X Window的显示模式<br />
<a href="http://www.linuxsir.org/bbs/showthre...BE%C4%A3%CA%BD" target="_blank"><font color="#000000">http://www.linuxsir.org/bbs/showthre...BE%C4%A3%CA%BD</font></a><br />
</font></font></font></font></font></font></font></p>
<p><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="#ff0000">计划拟定在基础版的置顶贴中录入以下的内容（目录）：<br />
</font><a href="http://bbs.linuxsir.org/showpost.php?p=690555&amp;postcount=6" target="_blank"><font color="blue">1、/etc/X11/XF86Config 文件的例子一份(关于图形界面的大部分问题都在这里)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=690572&amp;postcount=7" target="_blank"><font color="blue">2、lilo、grub的配置说明一份(关于启动，双系统启动，...n系统启动的问题大部分都在这里)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=690580&amp;postcount=8" target="_blank"><font color="blue">3、rpm说明书一份(很多版本的软件安装介绍)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=690592&amp;postcount=9" target="_blank"><font color="blue">4、各种linux发行版的简介</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=690611&amp;postcount=10" target="_blank"><font color="blue">5、包的依赖关系的说明(为什么软件会装不上)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=690647&amp;postcount=11" target="_blank"><font color="blue">6、linux常用命令一份(用linux一定要学会打命令)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=690672&amp;postcount=12" target="_blank"><font color="blue">7、Linux下的主要配置文件的说明一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=690856&amp;postcount=13" target="_blank"><font color="blue">8、网络配置说明一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697688&amp;postcount=14" target="_blank"><font color="blue">9、linux下常用软件的介绍一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697690&amp;postcount=15" target="_blank"><font color="blue">10、汉化说明一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697691&amp;postcount=16" target="_blank"><font color="blue">11、X Window的简介一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697692&amp;postcount=17" target="_blank"><font color="blue">12、各种文件系统的简介一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697696&amp;postcount=18" target="_blank"><font color="blue">13、安装各种显卡/声卡的说明一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697700&amp;postcount=19" target="_blank"><font color="blue">14、各种linux常用工具的简介一份</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697701&amp;postcount=20" target="_blank"><font color="blue">15、linux的基本概念简介(请从windows转到linux的用户先看看这里)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=697706&amp;postcount=21" target="_blank"><font color="blue">16、挂载各种文件系统、U盘等等的说明(linux不像windows,分区，光驱，其它设备不一定是自动就能用的)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657895&amp;postcount=22" target="_blank"><font color="blue">17、linux VS. windows</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657898&amp;postcount=23" target="_blank"><font color="blue">18、linux下常用软件介绍</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657905&amp;postcount=24" target="_blank"><font color="blue">19、linux下的各个目录的含义</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657907&amp;postcount=25" target="_blank"><font color="blue">20、中文输入法的安装说明</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657909&amp;postcount=26" target="_blank"><font color="blue">21、备份恢复说明</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657911&amp;postcount=27" target="_blank"><font color="blue">22、编译器简介 gcc，make，jdk安装(安装很多软件都要靠它们)</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657914&amp;postcount=28" target="_blank"><font color="blue">23、经验点滴</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657916&amp;postcount=29" target="_blank"><font color="blue">24、linux操作的小机巧、快捷键，Tab补齐等</font></a><br />
<a href="http://bbs.linuxsir.org/showpost.php?p=657922&amp;postcount=30" target="_blank"><font color="blue">25、vi常用命令</font></a><br />
</font></font></font></font></font></font></font></p>
<p><!-- / message --></p>
<p><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><br />
<!-- message --></font></font></font></font></font></font></font></p>
<div id="post_message_678989" style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><a href="http://bbs.linuxsir.org/showthread.php?t=212832" target="_blank"><font color="red">学习编译内核── 为新手指南</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=111908" target="_blank"><font color="red">FC2重新编辑内核心</font></a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=109174" target="_blank"><font color="red">Linux内核编译过程的最终总结版</font></a><br />
<a href="http://bbs.linuxsir.org/showthread.php?t=200782" target="_blank"><font color="red">2.6.X内核配置中文说明</font></a><br />
<br />
<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=16114" target="_blank"><font color="blue">怎么单独编译一个模块？</font></a><br />
<a href="http://fedora.linuxsir.org/main/?q=node/51" target="_blank"><font color="blue">《如何编译安装源码包软件》</font></a><br />
<a href="http://fedora.linuxsir.org/main/?q=node/50" target="_blank"><font color="blue">《RPM 的介绍和应用》</font></a></font></font></font></font></font></font></font></div>
<div style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue">&nbsp;</font></font></font></font></font></font></font></div>
<div style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue">Linux该怎么读? (发现很多人读错，我个人以Linus的录音为准)<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=19660" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=19660</a><br />
<br />
Linux常用术语<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=172301" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=172301</a><br />
<br />
Linux 系统的单用户模式、修复模式、跨控制台登录方法在系统修复中的运用<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=231161" target="_blank">http://bbs.linuxsir.org/showthread.php?t=231161</a><br />
<br />
硬盘安装WINGRUB引导Linux安装：<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=214551" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=214551</a><br />
<br />
硬盘分区及GRUB大总结 （系统引导及分区方面大总结，常见问题中的NO1）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;postid=18053" target="_blank">http://www.linuxsir.org/bbs/showthre...=&amp;postid=18053</a><br />
<br />
Linux单用户方式 （系统进不去了，常听人说用单用户方式进去试试，这里就是单用户方式的介绍）<br />
<a href="http://linuxsir.org/bbs/showthread.php?s=&amp;threadid=3962" target="_blank">http://linuxsir.org/bbs/showthread.php?s=&amp;threadid=3962</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=16998" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=16998</a><br />
<br />
如何使用MD5校正码 （遇到了不知怎么用就来看看吧）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?threadid=5990" target="_blank">http://www.linuxsir.org/bbs/showthre...?threadid=5990</a><br />
<br />
英文系统，中文输入及显示最终解决办法[本站原创] （英文爱好者喜欢做的事）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3781" target="_blank">http://www.linuxsir.org/bbs/showthre...&amp;threadid=3781</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=17458" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=17458</a><br />
<br />
让你的浏览器支持java和flash（老方法，先放这，现在安装Flash越来越简单了，有Rpm包下载）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=9052" target="_blank">http://www.linuxsir.org/bbs/showthre...&amp;threadid=9052</a><br />
<br />
关于安装redhat8后,导至原win2000变慢的解决方法 （不少装2000的朋友会遇到）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=9304" target="_blank">http://www.linuxsir.org/bbs/showthre...&amp;threadid=9304</a><br />
<br />
在windows下查看和操作linux的软件[由风起兄弟提供] （没准你会用到）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3848" target="_blank">http://www.linuxsir.org/bbs/showthre...&amp;threadid=3848</a><br />
<br />
关于fat32，NTFS加载问题 （相关问题贴不少，精华区，置顶的帖子都不难找） <br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=8721" target="_blank">http://www.linuxsir.org/bbs/showthre...&amp;threadid=8721</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=3393" target="_blank">http://www.linuxsir.org/bbs/showthre...&amp;threadid=3393</a><br />
<br />
Linux如何挂载 iso虚拟光驱<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=26463" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=26463</a><br />
<br />
*.bin用什么打开？？<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=3992&amp;pp=15" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=3992&amp;pp=15</a><br />
<br />
redhat，启动默认是图形方式，我怎么才能改为文本方式？<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=11656" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=11656</a><br />
<br />
如何打开硬盘的ata66、ata100、ata133模式？各参数分别是什么意思？ （好像现在也不用多关心了）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=17934" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=17934</a><br />
<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=215054" target="_blank"><font color="blue">《VMware 虚拟安装Fedora Core 4.0 手册》</font></a><br />
<br />
vmware for linux 使用经典问答<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=125232" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=125232</a><br />
vmware,qemu各种方式上网设置<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=185418&amp;highlight=vmware" target="_blank">http://www.linuxsir.org/bbs/showthre...ghlight=vmware</a><br />
<br />
编译内核相关帖子，最好都看看 （相关问题不少，能搜索一大堆）<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=7113" target="_blank">http://www.linuxsir.org/bbs/showthre...&amp;threadid=7113</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=16439" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=16439</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=38974" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=38974</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?s=&amp;threadid=80090" target="_blank">http://www.linuxsir.org/bbs/showthre...threadid=80090</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=196411" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=196411</a><br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=180906" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=180906</a><br />
<br />
针对硬盘安装系统而写的系统引导过程及硬盘结构和分区出现错误后解决办法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=188240" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=188240</a><br />
<br />
在linux下面用smb命令拷贝共享文件的一些细节命令<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=196375" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=196375</a><br />
<br />
解决gnome和KDE字体大小不同的一种方法<br />
<a href="http://www.linuxsir.org/bbs/showthread.php?t=195585" target="_blank">http://www.linuxsir.org/bbs/showthread.php?t=195585</a><br />
如何更该控制台的字体<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=210849" target="_blank">http://bbs.linuxsir.org/showthread.php?t=210849</a><br />
<br />
关于用 framebuffer 驱动，在console 模式下的分辨率的参数及配置<br />
<a href="http://bbs.linuxsir.org/showthread.php?t=211427" target="_blank">http://bbs.linuxsir.org/showthread.php?t=211427</a><br />
</font></font></font></font></font></font></font></div>
<div style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue">&nbsp;</font></font></font></font></font></font></font></div>
<div style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue">------------------------------------------------------------</font></font></font></font></font></font></font></div>
<div style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><strong>指令：fsck</strong> <!-- vB 中文修改开始: 显示声望 --><!-- vB 中文修改结束 --><!-- / icon and title --></font></font></font></font></font></font></font>
<hr style="color: rgb(198,219,255)" size="1" />
<font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><br />
<!-- message --></font></font></font></font></font></font></font>
<div id="post_message_17442" style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue">指令：fsck <br />
<br />
使用权限 : 超级使用者 <br />
<br />
使用方式 : fsck [-sACVRP] [-t fstype] [--] [fsck-options] filesys [...] <br />
<br />
说明 ： 检查与修复 Linux 档案系统，可以同时检查一个或多个 Linux 档案系统 <br />
<br />
<br />
参数 ： <br />
<br />
filesys ： device 名称(eg./dev/sda1)，mount 点 (eg. / 或 /usr) <br />
-t : 给定档案系统的型式，若在 /etc/fstab 中已有定义或 kernel 本身已支援的则不需加上此参数 <br />
-s : 依序一个一个地执行 fsck 的指令来检查 <br />
-A : 对/etc/fstab 中所有列出来的 partition 做检查 <br />
-C : 显示完整的检查进度 <br />
-d : 列印 e2fsck 的 debug 结果 <br />
-p : 同时有 -A 条件时，同时有多个 fsck 的检查一起执行 <br />
-R : 同时有 -A 条件时，省略 / 不检查 <br />
-V : 详细显示模式 <br />
<br />
-a : 如果检查有错则自动修复 <br />
-r : 如果检查有错则由使用者回答是否修复 <br />
<br />
例子 : <br />
检查 msdos 档案系统的 /dev/hda5 是否正常，如果有异常便自动修复 : <br />
fsck -t msdos -a /dev/hda5</font></font></font></font></font></font></font></div>
<!-- / message --><!-- sig --></div>
<div style="overflow-x: hidden"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue"><font color="blue">------------------------------------------------------------</font></font></font></font></font></font></font></div>
<!-- / message --><!-- sig --><!-- sig --><!-- / message --><!-- sig --><!-- / message --><!-- sig --><!-- / message --><!-- sig --><!-- / message --><!-- sig --><!-- / message --><!-- sig -->
<img src ="http://www.blogjava.net/keweibo/aggbug/217613.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/keweibo/" target="_blank">Ke</a> 2008-07-26 08:50 <a href="http://www.blogjava.net/keweibo/articles/217613.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>