<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>肉肉's Blog</title><link>http://x-rr.com/blog/</link><description>Life = 折腾</description><item><title>SVN代码统计工具-statsvn傻瓜版，从此告别命令行统计时代</title><link>http://x-rr.com/blog/?id=49</link><description>&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://x-rr.com/blog/zb_users/upload/statsvn.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;SVN代码统计工具&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;话不多说，我相信每个带团队的人都非常烦躁统计代码&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;特别是多项目维护的时候，通过CMD来统计代码实在烦，每次都要翻下命令行参数的使用&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;这里做了小工具，可以通过UI操作，简单的进行代码的统计，可以根据时间区间、提交人、排除文件类型等统计报表&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://x-rr.com/blog/zb_users/upload/statsvn.zip&quot; target=&quot;_self&quot;&gt;下载链接&lt;/a&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;喜欢的可以支付宝给个打赏，鼓励下原创&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://x-rr.com/blog/zb_users/upload/DS.png&quot;/&gt;&lt;/p&gt;</description><pubDate>Thu, 09 Jan 2020 14:24:06 +0800</pubDate></item><item><title>敏捷的“变与不变”</title><link>http://x-rr.com/blog/?id=48</link><description>&lt;p&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;strong&gt;瀑布模式&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;每一步都是建立在上一步的基础：因此对上一步的输出，就会要求尽可能准确，完整，而当后期发生任何的变化，无论是需求还是设计，都会对整个项目的风险和成本，造成很大的影响&lt;/p&gt;&lt;p&gt;设置严格的审批流程，评估风险和成本，以决定是否接受变化：需求大多数是通过详细的需求说明文档来管理的，无论是Use Case，还是遵循IEEE 830的标准，或者ISO标准，都是对需求有非常具体详细的记录，而且很多的需求是从系统运行的角度来描述，很多时候，很难进行优先级的排序&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;例如：&lt;/p&gt;&lt;p&gt;电视机需要一个显示屏幕&lt;/p&gt;&lt;p&gt;电视机需要AV接口&lt;/p&gt;&lt;p&gt;电视机需要遥控器&lt;/p&gt;&lt;p&gt;电视机需要HDMI接口&lt;/p&gt;&lt;p&gt;电视机需要智能操作系统&lt;/p&gt;&lt;p&gt;然后需求告诉你“这些都很重要！我都要！”&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;strong&gt;敏捷模式&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;决定需求优先级：需求是用过story和product backlog进行管理的，是从用户角度切入的对于产品的认知，他们之间相互独立，没有耦合关系，因此比较容易进行排序，我们把刚那个例子改了一下：&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;作为用户，我希望能看电视频道&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;作为用户，我希望躺在床上遥控&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;作为用户，我希望把PS4接入电视玩&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;作为用户，我希望可以在电视上聊微信&lt;/p&gt;&lt;p&gt;这样的方式，用户是比较容易决定哪一个功能更加重要，也就可以快速的确定优先级。&lt;/p&gt;&lt;p&gt;这样，用户就可以根据现实情况，灵活的调整实现的顺序。因此，当任何需求的变更出现的时候，用户只需要通过设置合适的优先级，就可以将新的变更应用于系统中。&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;迭代式开发：可以帮助团队更加专注于实现最重要的功能，在技术方案上，不必急于完成所有的技术细节的设计，从而帮助他们“延迟决定”，采用演进式的设计，逐步达到最优的技术方案。这种方式，会促使团队根据当前确定的需求，通过持续的重构，获得最好的技术方案，不会因为在信息不完整的情况下，匆匆作出重大的但错误的技术决定，而导致在后期进行大规模重构带来的巨大风险和成本。因此，这样可以从技术实现方面，帮助团队更容易的接受变化。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;strong&gt;变还是不变？&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;拥抱变化并不是允许毫无章法的变化，软件开发是一个类似于马拉松是的长跑，需要整个团队保持一个健康的节奏，这样才能顺利的跑到终点，如果节奏总是被不断的破坏，项目是很难最终成功的。而Sprint就是Scrum的节奏，如果在一个Sprint的过程中，团队不断的被新的要求干扰，就很难培养出对整个团队能力的感觉，也就会对项目的规划和估算带来很大的影响。另外，Sprint的长度往往是2～4周，也就是说，响应用户变化的周期是2～4周，任何新的重要变更，最长就是在2～4周后，就可以被响应和实现，这种频度，对于大多数的项目来说，是可以满足用户的变更要求的。所以在一个Sprint内保持需求的相对稳定是必要的，也是可以接受的，如果用户的需求变更频率更高，可以缩短Sprint的长度，以提高响应速度。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;任何无序的变化，都是需要通过一定的方式，转化为有序的变化，才能够有利于项目的成功。Scrum中，通过设置合理的需求的优先级，以及合适的Sprint的长度来将需求的变化更加有序，通过迭代的开发和演进式的设计，来帮助团队更加容易的接受和适应变化，因此，相对于传统的瀑布式的开发模式，它更贴近用户，更加灵活，变更的成本和风险更低。&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;strong&gt;其实变与不变没有一定的结论！希望人人都能做好产品经理！&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 08 Oct 2019 10:12:51 +0800</pubDate></item><item><title>react 学习</title><link>http://x-rr.com/blog/?id=47</link><description>&lt;p&gt;&lt;a href=&quot;https://react.docschina.org/docs/rendering-elements.html&quot; _src=&quot;https://react.docschina.org/docs/rendering-elements.html&quot;&gt;https://react.docschina.org/docs/rendering-elements.html&lt;/a&gt; &lt;/p&gt;&lt;h1 style=&quot;box-sizing: border-box; margin: 8px 0px 20px; color: rgb(13, 26, 38); font-weight: 500; padding: 0px; font-family: Avenir, &amp;quot;Chinese Quote&amp;quot;, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 30px; font-variant-numeric: tabular-nums; line-height: 38px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;项目实战&lt;a class=&quot;edit-button&quot; href=&quot;https://github.com/ant-design/ant-design/edit/master/docs/react/practical-projects.zh-CN.md&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: color 0.3s ease; touch-action: manipulation; display: inline-block; margin-left: 8px;&quot;&gt;&lt;span class=&quot;anticon anticon-edit&quot; style=&quot;box-sizing: border-box; display: block; vertical-align: -0.125em; text-align: center; line-height: 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; color: rgb(105, 123, 140); font-size: 16px;&quot;&gt;&lt;svg viewbox=&quot;64 64 896 896&quot; class=&quot;&quot; data-icon=&quot;edit&quot; width=&quot;1em&quot; height=&quot;1em&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;&lt;div class=&quot;toc-affix&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; position: absolute; top: 8px; right: 20px; color: rgb(49, 70, 89); font-family: &amp;quot;Chinese Quote&amp;quot;, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255); width: 110px; height: 204px;&quot;&gt;&lt;div class=&quot;ant-affix&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; position: fixed; z-index: 9; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow: auto; max-height: calc(100vh - 16px); top: 16px; left: 1185.98px; width: 110px;&quot;&gt;&lt;ul class=&quot;toc list-paddingleft-2&quot; style=&quot;list-style-type: none;&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#创建新应用&quot; title=&quot;创建新应用&quot; style=&quot;box-sizing: border-box; color: rgb(49, 70, 89); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid transparent; margin-left: -1px;&quot;&gt;创建新应用&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#使用-antd&quot; title=&quot;使用 antd&quot; style=&quot;box-sizing: border-box; color: rgb(49, 70, 89); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid transparent; margin-left: -1px;&quot;&gt;使用 antd&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#新建路由&quot; title=&quot;新建路由&quot; style=&quot;box-sizing: border-box; color: rgb(49, 70, 89); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid transparent; margin-left: -1px;&quot;&gt;新建路由&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#编写-UI-Component&quot; title=&quot;编写 UI Component&quot; style=&quot;box-sizing: border-box; color: rgb(49, 70, 89); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid transparent; margin-left: -1px;&quot;&gt;编写 UI Component&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#定义-dva-Model&quot; title=&quot;定义 dva Model&quot; style=&quot;box-sizing: border-box; color: rgb(49, 70, 89); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid transparent; margin-left: -1px;&quot;&gt;定义 dva Model&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#connect-起来&quot; title=&quot;connect 起来&quot; style=&quot;box-sizing: border-box; color: rgb(49, 70, 89); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid transparent; margin-left: -1px;&quot;&gt;connect 起来&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#构建应用&quot; title=&quot;构建应用&quot; style=&quot;box-sizing: border-box; color: rgb(49, 70, 89); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid transparent; margin-left: -1px;&quot;&gt;构建应用&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a class=&quot;current&quot; href=&quot;https://ant.design/docs/react/practical-projects-cn#下一步&quot; title=&quot;下一步&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: all 0.3s ease; touch-action: manipulation; padding-left: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 110px; border-left: 1px solid rgb(24, 144, 255); margin-left: -1px; border-top-color: rgb(24, 144, 255); border-right-color: rgb(24, 144, 255); border-bottom-color: rgb(24, 144, 255);&quot;&gt;下一步&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;section class=&quot;markdown&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; color: rgb(49, 70, 89); line-height: 2; font-family: &amp;quot;Chinese Quote&amp;quot;, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px;&quot;&gt;在真实项目开发中，你可能会需要 Redux 或者 MobX 这样的数据流方案，Ant Design React 作为一个 UI 库，可以和任何 React 生态圈内的数据流方案以及应用框架搭配使用。我们基于 Redux 推出了自己的最佳实践 dva，以及可插拔的企业级应用框架 umi，推荐你在项目中使用。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px;&quot;&gt;&lt;a href=&quot;http://dvajs.com/&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: color 0.3s ease; touch-action: manipulation;&quot;&gt;dva&lt;/a&gt;&amp;nbsp;是一个基于 Redux 的 轻量级数据流方案，概念来自 elm，支持 side effects、热替换、动态加载、react-native、SSR 等，已在生产环境广泛应用。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px;&quot;&gt;&lt;a href=&quot;http://umijs.org/&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: color 0.3s ease; touch-action: manipulation;&quot;&gt;umi&lt;/a&gt;&amp;nbsp;则是一个可插拔的企业级 react 应用框架。umi 以路由为基础的，支持&lt;a href=&quot;https://umijs.org/zh/guide/router.html&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: color 0.3s ease; touch-action: manipulation;&quot;&gt;类 next.js 的约定式路由&lt;/a&gt;，以及各种进阶的路由功能，并以此进行功能扩展，比如&lt;a href=&quot;https://umijs.org/zh/plugin/umi-plugin-react.html#dynamicimport&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: color 0.3s ease; touch-action: manipulation;&quot;&gt;支持路由级的按需加载&lt;/a&gt;。然后配以完善的&lt;a href=&quot;https://umijs.org/zh/plugin/&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: color 0.3s ease; touch-action: manipulation;&quot;&gt;插件体系&lt;/a&gt;，覆盖从源码到构建产物的每个生命周期，支持各种功能扩展和业务需求。&lt;/p&gt;&lt;blockquote style=&quot;box-sizing: border-box; margin: 1em 0px; padding: 0px 0px 0px 0.8em; font-size: 12.6px; color: rgb(105, 123, 140); border-left: 4px solid rgb(235, 237, 240);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;你可能也会对&amp;nbsp;&lt;a href=&quot;https://pro.ant.design/&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: color 0.3s ease; touch-action: manipulation;&quot;&gt;Ant Design Pro&lt;/a&gt;&amp;nbsp;感兴趣，这是一个基于 umi、dva 和 ant design 的开箱即用的中台前端/设计解决方案。&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px;&quot;&gt;本文会引导你使用 umi、dva 和 antd 从 0 开始创建一个简单应用。&lt;/p&gt;&lt;h2 id=&quot;创建新应用&quot; data-scrollama-index=&quot;0&quot; style=&quot;box-sizing: border-box; margin: 1.6em 0px 0.6em; color: rgb(13, 26, 38); font-weight: 500; padding: 0px; font-size: 24px; line-height: 32px; font-family: Avenir, &amp;quot;Chinese Quote&amp;quot;, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-variant-numeric: tabular-nums; clear: both;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;创建新应用&lt;/span&gt;&lt;a href=&quot;https://ant.design/docs/react/practical-projects-cn#创建新应用&quot; class=&quot;anchor&quot; style=&quot;box-sizing: border-box; color: rgb(24, 144, 255); background-color: transparent; text-decoration-line: none; outline: none; cursor: pointer; transition: opacity 0.3s ease; touch-action: manipulation; opacity: 0; margin-left: 8px;&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px;&quot;&gt;先创建一个空目录，&lt;/p&gt;&lt;pre class=&quot;language-bash&quot; style=&quot;box-sizing: border-box; font-family: &amp;quot;Lucida Console&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 1em; margin-top: 16px; margin-bottom: 16px; overflow: auto; padding: 12px 20px; border-radius: 2px; background-color: rgb(242, 244, 245); color: black; direction: ltr; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none;&quot;&gt;$&amp;nbsp;mkdir&amp;nbsp;myapp
$&amp;nbsp;cd&amp;nbsp;myapp&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 1em; margin-bottom: 1em; padding: 0px;&quot;&gt;推荐使用 yarn 创建应用，执行以下命令，&lt;/p&gt;&lt;blockquote style=&quot;box-sizing: border-box; margin: 1em 0px; padding: 0px 0px 0px 0.8em; font-size: 12.6px; color: rgb(105, 123, 140); border-left: 4px solid rgb(235, 237, 240);&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;如果你坚持用 npm，可执行&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 0.9em; margin: 0px 1px; padding: 0.2em 0.4em; background: rgb(242, 244, 245); border-radius: 3px; border: 1px solid rgb(238, 238, 238);&quot;&gt;npm install -g create-umi &amp;amp;&amp;amp; create-umi&lt;/code&gt;，效果一致。&lt;/p&gt;&lt;/blockquote&gt;&lt;pre class=&quot;language-bash&quot; style=&quot;box-sizing: border-box; font-family: &amp;quot;Lucida Console&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 1em; margin-top: 16px; margin-bottom: 16px; overflow: auto; padding: 12px 20px; border-radius: 2px; background-color: rgb(242, 244, 245); color: black; direction: ltr; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none;&quot;&gt;$&amp;nbsp;yarn&amp;nbsp;create&amp;nbsp;umi

yarn&amp;nbsp;create&amp;nbsp;v1.12.0[1/4]&amp;nbsp;</description><pubDate>Mon, 14 Jan 2019 10:04:38 +0800</pubDate></item><item><title>centos 环境配置</title><link>http://x-rr.com/blog/?id=46</link><description>&lt;p&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;YUM更行&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(255, 255, 255); font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;CentOS&amp;nbsp;7.x
rpm&amp;nbsp;-Uvh&amp;nbsp;https://mirror.webtatic.com/yum/el7/epel-release.rpm
rpm&amp;nbsp;-Uvh&amp;nbsp;https://mirror.webtatic.com/yum/el7/webtatic-release.rpm&lt;/pre&gt;&lt;p&gt;&lt;strong style=&quot;font-size: 18px;&quot;&gt;安装：&lt;/strong&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(73, 73, 73); font-family: Arial, Helvetica, sans-serif; background-color: rgb(199, 203, 189);&quot;&gt;yum -y install&amp;nbsp; xxx&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;font-size: 18px;&quot;&gt;MYSQL:&lt;/strong&gt;&lt;/p&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;一、检查系统是否安装其他版本的MYSQL数据&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; white-space: normal; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#yum&amp;nbsp;list&amp;nbsp;installed&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;mysql
#yum&amp;nbsp;-y&amp;nbsp;remove&amp;nbsp;mysql-libs.x86_64&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;二、安装及配置&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; white-space: normal; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;wget&amp;nbsp;http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
#&amp;nbsp;rpm&amp;nbsp;-ivh&amp;nbsp;mysql-community-release-el6-5.noarch.rpm
#&amp;nbsp;yum&amp;nbsp;repolist&amp;nbsp;all&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;mysql&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;安装MYSQL数据库&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; white-space: normal; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;yum&amp;nbsp;install&amp;nbsp;mysql-community-server&amp;nbsp;-y&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;设置为开机启动(2、3、4都是on代表开机自动启动)&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; white-space: normal; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;chkconfig&amp;nbsp;--list&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;mysqld
#&amp;nbsp;chkconfig&amp;nbsp;mysqld&amp;nbsp;on&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;三、设置远程root
启动mysql&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; white-space: normal; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;service&amp;nbsp;mysqld&amp;nbsp;start&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;设置root密码&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; white-space: normal; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;mysql_secure_installation&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;margin: 0px; padding: 0px; font-family: verdana, &amp;quot;ms song&amp;quot;, 宋体, Arial, 微软雅黑, Helvetica, sans-serif; font-size: 13px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;登陆root账号&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;margin: 0px; padding: 0px; font-family: verdana, &amp;quot;ms song&amp;quot;, 宋体, Arial, 微软雅黑, Helvetica, sans-serif; font-size: 13px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;mysql&amp;nbsp;-uroot&amp;nbsp;-p&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;建立远程root用户&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;mysql&amp;gt;&amp;nbsp;GRANT&amp;nbsp;ALL&amp;nbsp;PRIVILEGES&amp;nbsp;ON&amp;nbsp;*.*&amp;nbsp;TO&amp;nbsp;&amp;#39;root&amp;#39;@&amp;#39;%&amp;#39;&amp;nbsp;IDENTIFIED&amp;nbsp;BY&amp;nbsp;&amp;#39;你设置的密码&amp;#39;&amp;nbsp;WITH&amp;nbsp;GRANT&amp;nbsp;OPTION;
mysql&amp;gt;&amp;nbsp;flush&amp;nbsp;privileges;&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; line-height: 1.5;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;四、设置utf-8编码

查看mysql原本编码：&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;mysql&amp;gt;&amp;nbsp;show&amp;nbsp;variables&amp;nbsp;like&amp;nbsp;&amp;#39;character%&amp;#39;;&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;设置编码&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;vi&amp;nbsp;/etc/my.cnf&lt;/pre&gt;&lt;/div&gt;&lt;pre name=&quot;code&quot; class=&quot;csharpcode&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;如下(少补)：&lt;/pre&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); text-decoration-line: underline; border: none !important;&quot;&gt;&lt;img src=&quot;https://common.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; max-width: 900px; height: auto; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; line-height: 1.5;&quot;&gt;[mysqld]
character-set-server=utf8 
collation-server=utf8_general_ci 
sql_mode=&amp;#39;NO_ENGINE_SUBSTITUTION&amp;#39;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;[mysql]
default-character-set = utf8

[mysql.server]
default-character-set = utf8


[mysqld_safe]
default-character-set = utf8


[client]
default-character-set = utf8&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); text-decoration-line: underline; border: none !important;&quot;&gt;&lt;img src=&quot;https://common.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; max-width: 900px; height: auto; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; line-height: 1.5;&quot;&gt;重启mysql&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;#&amp;nbsp;service&amp;nbsp;mysqld&amp;nbsp;restart&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px; line-height: 1.5;&quot;&gt;再次查看编码：&lt;/p&gt;&lt;div class=&quot;cnblogs_code&quot; style=&quot;margin: 5px 0px; padding: 5px; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); overflow: auto; font-family: &amp;quot;Courier New&amp;quot; !important; font-size: 12px !important;&quot;&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); text-decoration-line: underline; border: none !important;&quot;&gt;&lt;img src=&quot;https://common.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; max-width: 900px; height: auto; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word; font-family: &amp;quot;Courier New&amp;quot; !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;mysql&amp;nbsp;-uroot&amp;nbsp;-p
mysql&amp;gt;&amp;nbsp;show&amp;nbsp;variables&amp;nbsp;like&amp;nbsp;&amp;#39;character%&amp;#39;;
+--------------------------+----------------------------+
|&amp;nbsp;Variable_name&amp;nbsp;|&amp;nbsp;Value&amp;nbsp;|
+--------------------------+----------------------------+
|&amp;nbsp;character_set_client&amp;nbsp;|&amp;nbsp;utf8&amp;nbsp;|
|&amp;nbsp;character_set_connection&amp;nbsp;|&amp;nbsp;utf8&amp;nbsp;|
|&amp;nbsp;character_set_database&amp;nbsp;|&amp;nbsp;utf8&amp;nbsp;|
|&amp;nbsp;character_set_filesystem&amp;nbsp;|&amp;nbsp;binary&amp;nbsp;|
|&amp;nbsp;character_set_results&amp;nbsp;|&amp;nbsp;utf8&amp;nbsp;|
|&amp;nbsp;character_set_server&amp;nbsp;|&amp;nbsp;utf8&amp;nbsp;|
|&amp;nbsp;character_set_system&amp;nbsp;|&amp;nbsp;utf8&amp;nbsp;|
|&amp;nbsp;character_sets_dir&amp;nbsp;|&amp;nbsp;/usr/share/mysql/charsets/&amp;nbsp;|
+--------------------------+----------------------------+
8&amp;nbsp;rows&amp;nbsp;in&amp;nbsp;set&amp;nbsp;(0.00&amp;nbsp;sec)&lt;/pre&gt;&lt;div class=&quot;cnblogs_code_toolbar&quot; style=&quot;margin: 5px 0px 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;cnblogs_code_copy&quot; style=&quot;margin: 0px; padding: 0px 5px 0px 0px; line-height: 1.5;&quot;&gt;&lt;a title=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; color: rgb(51, 51, 51); text-decoration-line: underline; border: none !important;&quot;&gt;&lt;img src=&quot;https://common.cnblogs.com/images/copycode.gif&quot; alt=&quot;复制代码&quot; style=&quot;margin: 0px; padding: 0px; max-width: 900px; height: auto; border: none !important;&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;TOMCAT：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;安装：&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(75, 75, 75); font-size: 13px; white-space: pre-wrap;&quot;&gt;yum install tomcat&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(75, 75, 75); font-size: 13px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;font-size: 18px; white-space: normal;&quot;&gt;启动：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(75, 75, 75); font-size: 13px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-variant-ligatures: common-ligatures; white-space: pre; background-color: rgb(246, 248, 250);&quot;&gt;systemctl &lt;/span&gt;&lt;span class=&quot;hljs-operator&quot; style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; font-family: Consolas, Inconsolata, Courier, monospace; font-variant-ligatures: common-ligatures; white-space: pre;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; outline: 0px; color: rgb(0, 0, 136); font-size: inherit; word-break: break-all;&quot;&gt;start&lt;/span&gt; tomcat.service&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color: rgb(75, 75, 75); font-size: 18px; white-space: normal;&quot;&gt;安装管理包：&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color: rgb(75, 75, 75); font-size: 18px; white-space: normal;&quot;&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre name=&quot;code&quot; class=&quot;code-pre command&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; white-space: pre-wrap; word-wrap: break-word; color: rgb(75, 75, 75); font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;yum&amp;nbsp;install&amp;nbsp;tomcat-webapps&amp;nbsp;tomcat-admin-webapp&lt;/pre&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;strong style=&quot;color: rgb(75, 75, 75); font-size: 18px;&quot;&gt;安装在线文档：&lt;/strong&gt;&lt;strong style=&quot;color: rgb(75, 75, 75); font-size: 18px;&quot;&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre name=&quot;code&quot; class=&quot;code-pre command&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; white-space: pre-wrap; word-wrap: break-word; color: rgb(75, 75, 75); font-size: 13px; background-color: rgb(255, 255, 255);&quot;&gt;yum&amp;nbsp;install&amp;nbsp;tomcat-docs-webapp&amp;nbsp;tomcat-javadoc&lt;/pre&gt;&lt;p&gt;&lt;strong style=&quot;color: rgb(75, 75, 75); font-size: 18px; white-space: normal;&quot;&gt;&lt;/strong&gt;&lt;strong style=&quot;font-size: 18px; white-space: normal;&quot;&gt;PHP：&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;font-size: 18px; white-space: normal;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 16px; text-align: justify; background-color: rgb(255, 255, 255);&quot;&gt;yum install php70w&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;font-size: 18px; white-space: normal;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 16px; text-align: justify; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;font-size: 18px; white-space: normal;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 16px; text-align: justify; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;h1 style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 28px; color: rgb(79, 79, 79); line-height: 36px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;pear&lt;/h1&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;Wget&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(51, 51, 51);&quot;&gt;&lt;a href=&quot;http://pear.php.net/go-pear.phar&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;box-sizing: border-box; outline: 0px; color: rgb(103, 149, 181); text-decoration-line: none; cursor: pointer; word-break: break-all;&quot;&gt;http://pear.php.net/go-pear.phar&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(51, 51, 51);&quot;&gt;php go-pear&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(102, 0, 102);&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(51, 51, 51);&quot;&gt;phar&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 28px; color: rgb(79, 79, 79); line-height: 36px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;pecl&lt;/h1&gt;&lt;p&gt;&lt;strong style=&quot;font-size: 18px; white-space: normal;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 16px; text-align: justify; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow-x: auto; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; word-break: break-all; background-color: rgb(255, 255, 255);&quot;&gt;yum&amp;nbsp;install&amp;nbsp;php70w-devel


在php7之前是mongo扩展,&amp;nbsp;在php7之后是mogodb扩展。两者的用法完全不一样。
1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;安装轻型目录访问协议
yum&amp;nbsp;install&amp;nbsp;openldap-devel&lt;/pre&gt;&lt;p&gt;&lt;strong style=&quot;font-size: 18px; white-space: normal;&quot;&gt;&lt;/strong&gt;&lt;/p&gt;&lt;h1 style=&quot;white-space: normal; box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 28px; color: rgb(79, 79, 79); line-height: 36px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; background-color: rgb(255, 255, 255);&quot;&gt;MongoDb&lt;/h1&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;1:创建仓库&lt;br style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;pre class=&quot;cf&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow: auto; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204);&quot;&gt;vi&amp;nbsp;/etc/yum.repos.d/mongodb-org-3.4.repo&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;2：把下面的内容复制到文件中 保存退出&lt;br style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow-x: auto; font-family: Consolas, Inconsolata, Courier, monospace; line-height: 22px; word-break: break-all; background-color: rgb(255, 255, 255);&quot;&gt;[mongodb-org-3.4]
name=MongoDB&amp;nbsp;Repository
baseurl=&amp;nbsp;
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;3：yum安装 如图安装完成&lt;/p&gt;&lt;pre class=&quot;cf&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow: auto; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204);&quot;&gt;yum&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;mongodb-org&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;img src=&quot;https://xgs888.top/image/20171111/1510374285268952.png&quot; title=&quot;1510374285268952.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; outline: 0px; max-width: 100%; margin: 0px; word-break: break-all; cursor: zoom-in; border: 0px; vertical-align: middle;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;4：修改配置文件&lt;/p&gt;&lt;pre class=&quot;cf&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow: auto; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204);&quot;&gt;vi&amp;nbsp;/etc/mongod.conf&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(255, 0, 0);&quot;&gt;把bindIP改成 0.0.0.0所有的机器都可以访问&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;img src=&quot;https://xgs888.top/image/20171111/1510374400594065.png&quot; title=&quot;1510374400594065.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; outline: 0px; max-width: 100%; margin: 0px; word-break: break-all; cursor: zoom-in; border: 0px; vertical-align: middle;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;5：启动mogodb&lt;br style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all;&quot;/&gt;&lt;/p&gt;&lt;pre class=&quot;cf&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow: auto; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204);&quot;&gt;systemctl&amp;nbsp;start&amp;nbsp;mongod.service
systemctl&amp;nbsp;stop&amp;nbsp;mongod.service&amp;nbsp;//停止
systemctl&amp;nbsp;restart&amp;nbsp;mongod.service&amp;nbsp;//重启&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;6:设置开机自启动&lt;/p&gt;&lt;pre class=&quot;cf&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow: auto; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204);&quot;&gt;systemctl&amp;nbsp;enable&amp;nbsp;mongod&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;7：链接mongodb&lt;/p&gt;&lt;pre class=&quot;cf&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px; margin-top: 0px; margin-bottom: 24px; position: relative; white-space: pre-wrap; word-wrap: break-word; overflow: auto; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204);&quot;&gt;mongo&amp;nbsp;127.0.0.1:27017&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(250, 247, 239);&quot;&gt;&lt;img src=&quot;https://xgs888.top/image/20171111/1510374710243870.png&quot; title=&quot;1510374710243870.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; outline: 0px; max-width: 100%; margin: 0px; word-break: break-all; cursor: zoom-in; border: 0px; vertical-align: middle;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(250, 247, 239);&quot;&gt;MongoDB默认将数据文件存储在&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; outline: 0px; border-radius: 4px; word-break: break-all; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; color: rgb(57, 57, 57); background-color: rgb(250, 247, 239);&quot;&gt;/var/lib/mongo&lt;/code&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(250, 247, 239);&quot;&gt;目录，默认日志文件在&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; outline: 0px; border-radius: 4px; word-break: break-all; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; color: rgb(57, 57, 57); background-color: rgb(250, 247, 239);&quot;&gt;/var/log/mongodb&lt;/code&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(250, 247, 239);&quot;&gt;中。如果要修改,可以在&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; outline: 0px; border-radius: 4px; word-break: break-all; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; color: rgb(57, 57, 57); background-color: rgb(250, 247, 239);&quot;&gt;/etc/mongod.conf&lt;/code&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px; word-break: break-all; color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(250, 247, 239);&quot;&gt;&amp;nbsp;配置中指定备用日志和数据文件目录&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;MongoDB默认将数据文件存放在/var/lib/momgo目录 ,&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;默认日志文件存在/var/log/mongodb/mongod.log目录,&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;如需修改可以在/etc/mongod.conf配置文件中指定目录&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;img src=&quot;https://xgs888.top/image/20171111/1510374977846256.png&quot; title=&quot;1510374977846256.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; outline: 0px; max-width: 100%; margin: 0px; word-break: break-all; cursor: zoom-in; border: 0px; vertical-align: middle;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;扩展安装&lt;/p&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 4px 56px; margin-top: 0px; margin-bottom: 24px; position: relative; overflow: auto; white-space: pre-wrap; word-wrap: break-word; font-family: Menlo, Monaco, Consolas, &amp;quot;Andale Mono&amp;quot;, &amp;quot;lucida console&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 20px; color: rgb(51, 51, 51); word-break: break-all; background-color: rgb(251, 251, 251); border-width: 1px 1px 1px 4px; border-style: solid; border-color: rgb(221, 221, 221); border-image: initial;&quot;&gt;pecl&amp;nbsp;install&amp;nbsp;mongodb&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;img src=&quot;https://xgs888.top/image/20171116/1510807517651030.png&quot; title=&quot;1510807517651030.png&quot; alt=&quot;image.png&quot; style=&quot;box-sizing: border-box; outline: 0px; max-width: 100%; margin: 0px; word-break: break-all; cursor: zoom-in; border: 0px; vertical-align: middle;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;编辑php.ini&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;extension=mongodb.so;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;重启一下&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold; background-color: rgb(255, 255, 255);&quot;&gt;Apache:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;yum -y install httpd&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;yum -y install php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; white-space: normal; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;yum -y install mysql-connector-odbc mysql-devel libdbi-dbd-mysql&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2 class=&quot;content-list-image clearfix&quot; style=&quot;margin: 10px 0px; padding: 0px; font-size: 21px; line-height: 1.5; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;操作命令总结：&lt;/h2&gt;&lt;h2 style=&quot;margin: 10px 0px; padding: 0px; font-size: 21px; line-height: 1.5; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; color: rgb(0, 0, 255);&quot;&gt;1.&amp;nbsp;&lt;span style=&quot;margin: 0px; padding: 0px; font-size: 16px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;apache命令&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;margin: 0px; padding: 0px; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-size: 16px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;systemctl start httpd.service #启动apache(后面的.service省略也行)&lt;/strong&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 或者是：service httpd start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-size: 16px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;systemctl stop httpd.service #停止apache &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;或者是：service httpd stop&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-size: 16px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;systemctl restart httpd.service #重启apache &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;或者是：service httpd restart&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-size: 16px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;systemctl enable httpd.service #设置apache开机启动 &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;或者是：service httpd enable&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-size: 16px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;restart一下，然后：&lt;/strong&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;输入localhost&lt;/strong&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;出现之后代表已经安装上去了。&lt;/strong&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;img src=&quot;http://blog.itpub.net/attachment/201409/1/29773961_1409553741Nie2.png&quot; alt=&quot;&quot; width=&quot;700&quot; height=&quot;437.5&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; max-width: 700px; height: auto;&quot;/&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;margin: 0px; padding: 0px; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-size: 16px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;2. mysql命令&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;content-list-image clearfix&quot; style=&quot;margin: 0px; padding: 0px; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Verdana, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre class=&quot;prettyprint hljs-dark&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;systemctl&amp;nbsp;enable&amp;nbsp;mysqld&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#开机启动&amp;nbsp;&amp;nbsp;或者：&amp;nbsp;service&amp;nbsp;mysql&amp;nbsp;enable&lt;/pre&gt;&lt;pre class=&quot;prettyprint hljs-dark&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;systemctl&amp;nbsp;start&amp;nbsp;mysqld&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#启动服务&amp;nbsp;&amp;nbsp;&amp;nbsp;或者：&amp;nbsp;service&amp;nbsp;mysql&amp;nbsp;start&lt;/pre&gt;&lt;pre class=&quot;prettyprint hljs-dark&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-family: 宋体;&quot;&gt;&lt;code class=&quot;hljs autoit&quot; style=&quot;margin: 1px 5px; padding: 0px 5px !important; line-height: 1.8; vertical-align: middle; display: inline-block; font-family: &amp;quot;Courier New&amp;quot;, sans-serif !important; font-size: 12px !important; background-color: rgb(245, 245, 245) !important; border: 1px solid rgb(204, 204, 204) !important; border-radius: 3px !important;&quot;&gt;&lt;span class=&quot;hljs-preprocessor&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;systemctl restart mysqld&lt;/span&gt;&lt;/code&gt; &amp;nbsp; &amp;nbsp; #重启服务 &amp;nbsp;或者： service mysql restart&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;span style=&quot;margin: 0px; padding: 0px; font-family: 宋体;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;code class=&quot;hljs autoit&quot; style=&quot;margin: 1px 5px; padding: 0px 5px !important; line-height: 1.8; vertical-align: middle; display: inline-block; font-family: &amp;quot;Courier New&amp;quot;, sans-serif !important; font-size: 12px !important; background-color: rgb(245, 245, 245) !important; border: 1px solid rgb(204, 204, 204) !important; border-radius: 3px !important;&quot;&gt;&lt;span class=&quot;hljs-preprocessor&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;systemctl &lt;span style=&quot;margin: 0px; padding: 0px; font-family: 宋体; font-size: 14px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;stop&lt;/span&gt;&lt;/span&gt;&amp;nbsp; mysqld&lt;/span&gt;&lt;/code&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; #停止服务 &amp;nbsp; &lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;或者：&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;service mysqld stop&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;&lt;/pre&gt;&lt;code class=&quot;hljs-preprocessor&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/code&gt;&lt;div id=&quot;wmd-preview-section-308&quot; class=&quot;wmd-preview-section preview-content&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px;&quot;&gt;初次安装mysql是root账户是没有密码的&amp;nbsp;&lt;br style=&quot;margin: 0px; padding: 0px;&quot;/&gt;设置密码的方法&lt;/p&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div id=&quot;highlighter_382113&quot; class=&quot;syntaxhighlighter  sql&quot; style=&quot;padding: 0px; width: 932.938px; margin: 1em 0px !important; position: relative !important; overflow: auto !important; font-size: 1em !important;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;932&quot; height=&quot;NaN&quot; style=&quot;width: 892px;&quot;&gt;&lt;tbody style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;tr style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;padding: 3px; border-color: silver; border-collapse: collapse; margin: 0px !important; border-radius: 0px !important; background: none !important; bottom: auto !important; float: none !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;&quot; width=&quot;35&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-top-style: initial !important; border-right-style: solid !important; border-bottom-style: initial !important; border-left-style: initial !important; border-top-color: initial !important; border-right-color: rgb(108, 226, 108) !important; border-bottom-color: initial !important; border-left-color: initial !important; border-image: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border-width: 0px 2px 0px 0px !important; border-top-style: initial !important; border-right-style: solid !important; border-bottom-style: initial !important; border-left-style: initial !important; border-top-color: initial !important; border-right-color: rgb(108, 226, 108) !important; border-bottom-color: initial !important; border-left-color: initial !important; border-image: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-top-style: initial !important; border-right-style: solid !important; border-bottom-style: initial !important; border-left-style: initial !important; border-top-color: initial !important; border-right-color: rgb(108, 226, 108) !important; border-bottom-color: initial !important; border-left-color: initial !important; border-image: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;padding: 3px; border-color: silver; border-collapse: collapse; margin: 0px !important; border-radius: 0px !important; background: none !important; bottom: auto !important; float: none !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important;&quot; width=&quot;NaN&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;&amp;lt;code class=&lt;/code&gt;&lt;code class=&quot;sql string&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: blue !important;&quot;&gt;&amp;quot; hljs vala&amp;quot;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;&amp;gt;# mysql -u root&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;mysql&amp;gt; &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;set&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;password&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;for&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;root@localhost = &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;password&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;sql string&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: blue !important;&quot;&gt;&amp;#39;123456&amp;#39;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;);&amp;nbsp; //这里注意自己替换密码&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;mysql&amp;gt; exit&amp;lt;/code&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin: 10px auto; padding: 0px;&quot;&gt;创建一个可以从任何地方连接服务器的一个完全的超级用户，但是必须使用一个口令&lt;/p&gt;&lt;div style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;div id=&quot;highlighter_687547&quot; class=&quot;syntaxhighlighter  sql&quot; style=&quot;padding: 0px; width: 932.938px; margin: 1em 0px !important; position: relative !important; overflow: auto !important; font-size: 1em !important;&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;932&quot; height=&quot;NaN&quot; style=&quot;width: 892px;&quot;&gt;&lt;tbody style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;tr style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;padding: 3px; border-color: silver; border-collapse: collapse; margin: 0px !important; border-radius: 0px !important; background: none !important; bottom: auto !important; float: none !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;&quot; width=&quot;35&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 0.5em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border-width: 0px 2px 0px 0px !important; border-top-style: initial !important; border-right-style: solid !important; border-bottom-style: initial !important; border-left-style: initial !important; border-top-color: initial !important; border-right-color: rgb(108, 226, 108) !important; border-bottom-color: initial !important; border-left-color: initial !important; border-image: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;padding: 3px; border-color: silver; border-collapse: collapse; margin: 0px !important; border-radius: 0px !important; background: none !important; bottom: auto !important; float: none !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important;&quot; width=&quot;NaN&quot; height=&quot;NaN&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;margin: 0px !important; padding: 0px 1em !important; border-radius: 0px !important; background: none rgb(244, 244, 244) !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;&quot;&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;&amp;lt;code class=&lt;/code&gt;&lt;code class=&quot;sql string&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: blue !important;&quot;&gt;&amp;quot; hljs applescript&amp;quot;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;&amp;gt;mysql&amp;gt; &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;grant&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql color1&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: gray !important;&quot;&gt;all&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;privileges&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;on&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;*.* &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;to&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql color2&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(255, 20, 147) !important;&quot;&gt;user&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;@localhost identified &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important; color: rgb(0, 0, 255) !important;&quot;&gt;by&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;sql plain&quot; style=&quot;white-space: pre-wrap; margin: 0px !important; padding: 0px !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.8em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; min-height: auto !important;&quot;&gt;‘123456’&amp;lt;/code&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 16px; white-space: normal; box-sizing: border-box; outline: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 16px; white-space: normal; box-sizing: border-box; outline: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold;&quot;&gt;Go:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 16px; white-space: normal; box-sizing: border-box; outline: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 id=&quot;下载并解压&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 24px; color: rgb(79, 79, 79); line-height: 32px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;下载并解压&lt;/h2&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;下载&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;soft]#&amp;nbsp;wget&amp;nbsp;-c&amp;nbsp;https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz1&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;解压&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote style=&quot;box-sizing: border-box; outline: 0px; padding: 16px; margin: 0px 0px 24px; color: rgba(0, 0, 0, 0.5); border-left: 8px solid rgb(221, 223, 228); background: rgb(238, 240, 244); overflow: auto; word-wrap: normal; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;将源码包解压后直接放到&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;/usr/local&lt;/code&gt;&amp;nbsp;目录下, 不用再次&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;make &amp;amp;&amp;amp; make install&lt;/code&gt;&amp;nbsp;来安装了, 开箱即用&lt;/p&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;soft]#&amp;nbsp;tar&amp;nbsp;-C&amp;nbsp;/usr/local/&amp;nbsp;-zxvf&amp;nbsp;go1.8.3.linux-amd64.tar.gz&amp;nbsp;1&lt;/pre&gt;&lt;h2 id=&quot;添加系统环境变量&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 24px; color: rgb(79, 79, 79); line-height: 32px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a style=&quot;box-sizing: border-box; outline: 0px; color: rgb(78, 161, 219); cursor: pointer; background-color: transparent; text-decoration-skip: ink; word-break: break-all;&quot; name=&quot;t1&quot;&gt;&lt;/a&gt;添加系统环境变量&lt;/h2&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;创建新文件并打开&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;soft]#&amp;nbsp;vim&amp;nbsp;/etc/profile.d/go.sh1&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;输入以下内容&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;&amp;gt;&amp;nbsp;输入内容

export&amp;nbsp;PATH=$PATH:/usr/local/go/bin&amp;gt;&amp;nbsp;保存退出:wq!1234567&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;立即生效环境变量&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;soft]#&amp;nbsp;source&amp;nbsp;/etc/profile.d/go.sh1&lt;/pre&gt;&lt;blockquote style=&quot;box-sizing: border-box; outline: 0px; padding: 16px; margin: 0px 0px 24px; color: rgba(0, 0, 0, 0.5); border-left: 8px solid rgb(221, 223, 228); background: rgb(238, 240, 244); overflow: auto; word-wrap: normal; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;你可能会说这么添加环境变量, 多不快捷啊！当然你也可以直接在shell中输入以下内容:&lt;/p&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;export&amp;nbsp;PATH=$PATH:/usr/local/go/bin1&lt;/pre&gt;&lt;blockquote style=&quot;box-sizing: border-box; outline: 0px; padding: 16px; margin: 0px 0px 24px; color: rgba(0, 0, 0, 0.5); border-left: 8px solid rgb(221, 223, 228); background: rgb(238, 240, 244); overflow: auto; word-wrap: normal; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;但就个人认为我这个方法来是比较不错的, 编译一个软件需要添加一个文件,&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;然后&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;source&lt;/code&gt;&amp;nbsp;一下导入到当前软件需要添加的环境变量到系统$PATH中, 每一个人都有一个强迫症的习惯吧!&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;那好, 请尊重自己好了~~~&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;再在好了, 你可能在shell的任何位置输入&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;go&lt;/code&gt;&amp;nbsp;命令了!&lt;/p&gt;&lt;/blockquote&gt;&lt;h2 id=&quot;添加gopath目录&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 24px; color: rgb(79, 79, 79); line-height: 32px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a style=&quot;box-sizing: border-box; outline: 0px; color: rgb(78, 161, 219); cursor: pointer; background-color: transparent; text-decoration-skip: ink; word-break: break-all;&quot; name=&quot;t2&quot;&gt;&lt;/a&gt;添加GOPATH目录&lt;/h2&gt;&lt;blockquote style=&quot;box-sizing: border-box; outline: 0px; padding: 16px; margin: 0px 0px 24px; color: rgba(0, 0, 0, 0.5); border-left: 8px solid rgb(221, 223, 228); background: rgb(238, 240, 244); overflow: auto; word-wrap: normal; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;添加GOPATH和添加环境变量没有本质的区别就是作用不一样罢了&lt;/p&gt;&lt;/blockquote&gt;&lt;h3 id=&quot;创建工作路径&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 22px; color: rgb(79, 79, 79); line-height: 30px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a style=&quot;box-sizing: border-box; outline: 0px; color: rgb(78, 161, 219); cursor: pointer; background-color: transparent; text-decoration-skip: ink; word-break: break-all;&quot; name=&quot;t3&quot;&gt;&lt;/a&gt;创建工作路径&lt;/h3&gt;&lt;blockquote style=&quot;box-sizing: border-box; outline: 0px; padding: 16px; margin: 0px 0px 24px; color: rgba(0, 0, 0, 0.5); border-left: 8px solid rgb(221, 223, 228); background: rgb(238, 240, 244); overflow: auto; word-wrap: normal; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;创建一个工作目录, 这个目录就是你以后开发学习go语言的主要战场了, 如在用户家目录创建这样一个目录&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;dev/go&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;~]#&amp;nbsp;mkdir&amp;nbsp;-p&amp;nbsp;~/dev/go1&lt;/pre&gt;&lt;h3 id=&quot;添加这个目录路径作为gopath&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 22px; color: rgb(79, 79, 79); line-height: 30px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a style=&quot;box-sizing: border-box; outline: 0px; color: rgb(78, 161, 219); cursor: pointer; background-color: transparent; text-decoration-skip: ink; word-break: break-all;&quot; name=&quot;t4&quot;&gt;&lt;/a&gt;添加这个目录路径作为GOPATH&lt;/h3&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;创建一个环境变量文件&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;gopath.sh&lt;/code&gt;&amp;nbsp;并打开&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;~]#&amp;nbsp;vim&amp;nbsp;/etc/profile.d/gopath.sh1&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;输入GOPATH具体指向位置&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;export&amp;nbsp;GOPATH=/root/dev/go1&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;保存退出&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;:wq!1&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;立即生效这个GOPATH环境变量&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;~]#&amp;nbsp;source&amp;nbsp;/etc/profile.d/gopath.sh&amp;nbsp;1&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;验证GOPATH环境变量是否添加成功&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;~]#&amp;nbsp;echo&amp;nbsp;$GOPATH/root/dev/go12&lt;/pre&gt;&lt;blockquote style=&quot;box-sizing: border-box; outline: 0px; padding: 16px; margin: 0px 0px 24px; color: rgba(0, 0, 0, 0.5); border-left: 8px solid rgb(221, 223, 228); background: rgb(238, 240, 244); overflow: auto; word-wrap: normal; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(153, 153, 153); line-height: 22px; text-align: justify; word-break: break-all;&quot;&gt;OK, 那么这个GOPATH环境变量也就添加完成了&lt;/p&gt;&lt;/blockquote&gt;&lt;h2 id=&quot;运算go环境测试&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 0px; margin: 8px 0px 16px; font-size: 24px; color: rgb(79, 79, 79); line-height: 32px; word-break: break-all; font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a style=&quot;box-sizing: border-box; outline: 0px; color: rgb(78, 161, 219); cursor: pointer; background-color: transparent; text-decoration-skip: ink; word-break: break-all;&quot; name=&quot;t5&quot;&gt;&lt;/a&gt;运算GO环境测试&lt;/h2&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;创建测试文件&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;hello_world.go&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;~]#&amp;nbsp;vim&amp;nbsp;~/dev/go/hello_world.go1&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;编辑文件&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;package&amp;nbsp;mainimport&amp;nbsp;(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;fmt&amp;quot;)func&amp;nbsp;main()&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fmt.Println(&amp;nbsp;&amp;quot;Hello&amp;nbsp;world!&amp;quot;&amp;nbsp;)}123456789&lt;/pre&gt;&lt;ul style=&quot;list-style-type: none;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;运算测试文件&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; outline: 0px; font-family: Consolas, Inconsolata, Courier, monospace; padding: 2px 4px; line-height: 22px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244); border-radius: 2px; word-break: break-all;&quot;&gt;hello_world.go&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prettyprint&quot; name=&quot;code&quot; style=&quot;box-sizing: border-box; outline: 0px; padding: 8px 16px 6px 56px; margin-top: 0px; margin-bottom: 24px; font-family: Consolas, Inconsolata, Courier, monospace; position: relative; overflow-y: hidden; overflow-x: auto; line-height: 22px; word-break: break-all; background-color: rgb(246, 248, 250); border: none; font-variant-ligatures: common-ligatures;&quot;&gt;[root@localhost&amp;nbsp;~]#&amp;nbsp;go&amp;nbsp;run&amp;nbsp;~/dev/go/hello_world.go&amp;nbsp;Hello&amp;nbsp;world!&lt;/pre&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 16px; white-space: normal; box-sizing: border-box; outline: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 26px; text-align: justify; word-break: break-all; background-color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(79, 79, 79); font-family: -apple-system, &amp;quot;SF UI Text&amp;quot;, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;WenQuanYi Micro Hei&amp;quot;, sans-serif, SimHei, SimSun; font-size: 28px; font-weight: bold;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 13 Sep 2018 10:09:15 +0800</pubDate></item><item><title>学习型管理-培养领导团队的A3管理方法（珍藏版） 读书笔记</title><link>http://x-rr.com/blog/?id=45</link><description>&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://timgsa.baidu.com/timg?image&amp;quality=80&amp;size=b9999_10000&amp;sec=1535192043327&amp;di=6a53c32b8fe7ef582758487786bc923a&amp;imgtype=0&amp;src=http%3A%2F%2Fimg14.360buyimg.com%2Fn1%2Fjfs%2Ft3184%2F167%2F1798656926%2F94871%2F14066bcb%2F57d3c85fN1a13853d.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;white-space: normal;&quot;&gt;A3是什么？人家搞了几十年，难道我读一本书就能搞定了？&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;8月中旬，忽然收到一封邮件，领导指示，月底前读完这本书，写个读书笔记……当时我的内心……千万头@#￥￥%奔腾而过。&lt;/p&gt;&lt;p&gt;内心虽然拒绝，但是表面上肯定是要欣然接受，然后屁颠屁颠的去淘宝卖书（木有电子版啊），居然都没提给我&lt;strong&gt;报销书费&lt;/strong&gt;的事情，再次奔腾一次！&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;8月16号收到书，今天8月25日，粗略看了一遍目录，通读一次全文，划了一些重点。&lt;/p&gt;&lt;p&gt;说实话书的质量我就不吐槽了，能叫珍藏版的质量如此寒酸，我也是醉了。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;书基本上是分了3个主要内容：介绍下概念-&amp;gt;举了个栗子-&amp;gt;总结一下。&lt;/p&gt;&lt;p&gt;用思维导图来整理我看的内容看似不太合理，我就大概简述下这本书的大概内容吧。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;概念&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;A3:狭义上来说就是一张A3尺寸大小的纸，但是对于丰田或者书上说的那些精益的公司来说&lt;/p&gt;&lt;p&gt;却意味着一份&lt;strong&gt;基于PDCA,&lt;/strong&gt;&lt;strong&gt;遵循自然逻辑&lt;/strong&gt;，&lt;strong&gt;连接清晰易懂&lt;/strong&gt;，&lt;strong&gt;解决问题&lt;/strong&gt;，&lt;strong&gt;培育员工&lt;/strong&gt;的流程。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;怎么做&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;到现场去&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;现场描述的是员工为客户创造价值的地方，真正的改善也只能建立在对一线工作环境的观察上。&lt;/p&gt;&lt;p&gt;到一线才能找到真正的问题，而问题则真是组织公司达成目标的障碍。&lt;/p&gt;&lt;p&gt;当我们把问题定义清楚了，那么问题的一半也就解决了。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;寻找根本原因&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;“&lt;/strong&gt;5个为什么&lt;strong&gt;”&lt;/strong&gt;但是注意不要把问题越问越大，最后超过了我们所能控制的范围，这样就失去了问为什么的作用。&lt;/p&gt;&lt;p&gt;目标并不是一定要问5此，而是不断地促使你思考问题的根本原因。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;基于多重方案的决策&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;准备许多备选方案，能改善对话的质量，并激发更深层次的学习。&lt;/p&gt;&lt;p&gt;探寻问题的对策，并非永久解决方案。&lt;/p&gt;&lt;p&gt;对策只是“在找到更好的方法或状况发生变化前，为解决问题而采用的快速反应”。&lt;/p&gt;&lt;p&gt;只有通过模拟更宽范围的可能情况而将风险最小化；过早做出不成熟的决策，会冒错失关键事实的风险。&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;计划跟进&lt;/strong&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;只要指定好了目标期限，那么工作才能准时完成。&lt;/p&gt;&lt;p&gt;隐藏错误-&amp;gt;庆祝找到错误。&lt;/p&gt;&lt;p&gt;需要关注问题解决的流程是否从快速改正，转成针对根本原因的对策。&lt;/p&gt;&lt;p&gt;用PDCA循环来执行计划，通过试验获得知识。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;培养A3的思想者&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;重点是需要建立A3的思想，建立有效的对策，主键灌输思考方式。&lt;/p&gt;&lt;p&gt;形成一套明确的、一直的规则，形成平等的相互依赖的组织。&lt;/p&gt;&lt;p&gt;形成清晰的、可继续培养的解决问题流程，从而创建一个问题解决这组成的组织。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;总结&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;A3的关键不是纸张或者格式，而是其中的过程。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;其实两周的时间，只能说我把这本书读完了，也基本了解了其中的一些基本的概念。&lt;/p&gt;&lt;p&gt;但是要运用到实践中，可能还需要不知道多少个两周，可能还需要不知道阅读这本书几遍。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;A3是一种工具，是一种方法，更是一种思想，一种需要我们不断去改进的思考方式！&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 25 Aug 2018 14:19:46 +0800</pubDate></item><item><title>民工浅谈软件开发的“质”与“量”</title><link>http://x-rr.com/blog/?id=44</link><description>&lt;p&gt;&lt;img src=&quot;http://x-rr.com/images/sb/1.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;某日与友人聊天，从他的创业中说到，农业、工业，想要&lt;span style=&quot;font-size: 18px; color: rgb(255, 0, 0);&quot;&gt;&lt;strong&gt;质高&lt;/strong&gt;&lt;/span&gt;，往往&lt;span style=&quot;color: rgb(0, 176, 80);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;量少&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;，往往起步就更加显得艰辛与困难。&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;PS：&lt;/strong&gt;&lt;/span&gt;所谓的量少，并不是指的总量少，而是指的&lt;span style=&quot;color: rgb(112, 48, 160);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;单位&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;产出量少&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;突然我就低下了头，想了想我自己的处境。做IT的谁又不是经常把&lt;span style=&quot;color: rgb(0, 112, 192);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;质量&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;挂在嘴边呢？&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://x-rr.com/images/sb/3.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;虽然我既不是QA也不是QC，更不是曾经的PM，但是自从天天被别人使唤来使唤去开始，&lt;/p&gt;&lt;p&gt;我就深深的了解到，质高往往是需要牺牲单产量大的。如何找到平衡点才是你们做QA\QC\PM需要考虑的！&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(227, 108, 9); font-size: 18px;&quot;&gt;&lt;strong&gt;跑题了，回归下！&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;让我们抛弃所谓的开发模式，去他妈的SCRUM（虽然我也读过SM课程），我们要追求的是什么？&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(192, 0, 0);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;是满足干系人！是满足干系人！是满足干系人！&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;所有一切不从干系人利益出发的需求，都是耍流氓。&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(146, 208, 80); font-size: 20px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(146, 208, 80);&quot;&gt;但是！&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;我们要开始一个&lt;span style=&quot;color: rgb(217, 150, 148);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;纯属虚构&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;的故事了，&lt;span style=&quot;font-size: 18px; color: rgb(0, 176, 240);&quot;&gt;&lt;strong&gt;如有雷同&lt;/strong&gt;&lt;/span&gt;，&lt;span style=&quot;font-size: 18px; color: rgb(0, 32, 96);&quot;&gt;&lt;strong&gt;纯属抄袭&lt;/strong&gt;&lt;/span&gt;！&lt;/p&gt;&lt;p&gt;干系人说需要你开发某些功能，正常估时大约是40人天，然后要你在不加资源的前提下缩减到10人天。&lt;/p&gt;&lt;p&gt;what a fucking day!&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;你看着手下说，兄弟们这两天辛苦下，我们加加班，因为我们的上帝需要我们2天造出全世界，&lt;span style=&quot;font-size: 16px; color: rgb(147, 137, 83);&quot;&gt;但是我们没有支援，只能靠我们自己&lt;/span&gt;。&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://x-rr.com/images/sb/2.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;10人天做完了。我了个去，单产好高，提高了&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;4&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;倍！&lt;/p&gt;&lt;p&gt;恩，干系人看着这个&lt;strong&gt;&lt;span style=&quot;font-size: 18px; color: rgb(0, 176, 80);&quot;&gt;试用早产儿&lt;/span&gt;&lt;/strong&gt;会心一笑！&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;然后QC牛逼哄哄的来了，劈头盖脸的开了一堆BUG。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;你看着手下继续说，兄弟们这两天辛苦下，我们要在干系人没发现之前，干掉这些BUG，&lt;span style=&quot;color: rgb(147, 137, 83); font-size: 16px;&quot;&gt;但是我们没有支援，只能靠我们自己&lt;/span&gt;。&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://x-rr.com/images/sb/2.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;又花了10天，在上帝还没完整使用前，偷偷把版本给替换了。单产不小心降至正常的&lt;span style=&quot;color: rgb(255, 192, 0);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;倍。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;接着公司的验收部门骑着大黑马就来了，劈头盖脸的开了一堆反馈问题。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;你看着手下无奈的说，兄弟们这两天辛苦下，我们要是内部验证版本都不过，就不能按时发布正式版了，&lt;span style=&quot;color: rgb(147, 137, 83); font-size: 16px;&quot;&gt;但是我们没有支援，只能靠我们自己&lt;/span&gt;。&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://x-rr.com/images/sb/2.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;10天后，总算把反馈BUG一扫而空，喜极而泣之余，正式版总算是发出来了。不过单产又降低了点，变成了正常的&lt;span style=&quot;font-size: 18px; color: rgb(0, 176, 80);&quot;&gt;&lt;strong&gt;1.3&lt;/strong&gt;&lt;/span&gt;倍左右。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;上帝用了一个月后，脚踏七彩祥云来了，手拿九尺丁耙，一棍子把你给抡的找不着北。原来一堆数据问题被上帝发现了。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;你看着手下无奈的说，兄弟这两天辛苦下，我们不把上帝伺候好，估计是没有休假了，&lt;span style=&quot;color: rgb(147, 137, 83); font-size: 16px;&quot;&gt;但是我们没有支援，只能靠我们自己&lt;/span&gt;。&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://x-rr.com/images/sb/2.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;在相继发了十几二十个补丁后，版本数据问题总算解决了，版本也稳定了，总算可以功成身退了。&lt;/p&gt;&lt;p&gt;做总结的时候突然发现，单产已经降到了原来&lt;span style=&quot;color: rgb(112, 48, 160);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;0.5&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;倍甚至更低！&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 20px; color: rgb(255, 0, 0);&quot;&gt;呵呵~~~&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;我相信如果一开始用40个工日做计划，给上帝解释下40个工日的原因，至少能保证正常的单产数量。&lt;/p&gt;&lt;p&gt;而现在呢？&lt;span style=&quot;font-size: 18px; color: rgb(84, 141, 212);&quot;&gt;质差量低&lt;/span&gt;！一塌糊涂！&lt;/p&gt;&lt;p&gt;外部&lt;span style=&quot;font-size: 18px; color: rgb(95, 73, 122);&quot;&gt;&lt;strong&gt;满意度低&lt;/strong&gt;&lt;/span&gt;，内部&lt;span style=&quot;color: rgb(247, 150, 70);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;幸福度低！&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(247, 150, 70);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;质与量本身就是一对矛盾的个体，往往达到其平衡才是最高境界，而要是想追求高质量，有时候是必须要有所牺牲的。&lt;/p&gt;&lt;p&gt;一味的追求某一些极致，必定会&lt;strong&gt;&lt;span style=&quot;font-size: 18px; color: rgb(73, 68, 41);&quot;&gt;鸡飞蛋打&lt;/span&gt;&lt;/strong&gt;！&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 27 Sep 2017 21:58:05 +0800</pubDate></item><item><title>基于关联规则算法处理工程计价清单的自动组价数据挖掘</title><link>http://x-rr.com/blog/?id=43</link><description>&lt;p&gt;
    &lt;strong style=&quot;box-sizing: border-box; color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;一、关联规则的定义和属性&lt;/strong&gt;&lt;br style=&quot;box-sizing: border-box; color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;考察一些涉及许多物品的事务：事务1 中出现了物品甲，事务2 中出现了物品乙，事务3 中则同时出现了物品甲和乙。那么，物品甲和乙在事务中的出现相互之间是否有规律可循呢？在数据库的知识发现中，关联规则就是描述这种在一个事务中物品之间同时出现的规律的知识模式。更确切的说，关联规则通过量化的数字描述物品甲的出现对物品乙的出现有多大的影响。&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; background-color: rgb(255, 255, 255);&quot;/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;现实中，这样的例子很多。例如超级市场利用前端收款机收集存储了大量的售货数据，这些数据是一条条的购买事务记录，每条记录存储了事务处理时间，顾客购买的物品、物品的数量及金额等。这些数据中常常隐含形式如下的关联规则：在购买铁锤的顾客当中，有70 ％的人同时购买了铁钉。这些关联规则很有价值，商场管理人员可以根据这些关联规则更好地规划商场，如把铁锤和铁钉这样的商品摆放在一起，能够促进销售。&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;white-space: normal; box-sizing: border-box; color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;二、关联规则的应用背景&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;white-space: normal; box-sizing: border-box; color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;而在工程造价领域，根据不同的清单进行组价，而组价的规则千变万化，对于一个有经验的预算员来说可能驾轻就熟，但是每条清单进行处理也需要一定的时间；而对于一名新近的预算员来说，组价就会变得异常的困难。因此自动（一键）组价功能的功能价值就更加的凸显。&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;在实现这个算法前有几点假设：&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;1、清单、子目数据已经正常收集在某一个DB中；&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;2、已经做好初步去重工作；&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;3、特定项目特征，工作内容组合的清单已经映射成唯一一条清单（代码中简单的现已清单编码来进行演示）；&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;三、关联规则的应用实现&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;http://x-rr.com/images/11.png&quot; width=&quot;548&quot; height=&quot;586&quot; style=&quot;width: 548px; height: 586px;&quot;/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong&gt;主要函数实现代码：&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;pre class=&quot;brush:js;toolbar:false&quot;&gt;// 数据初始化，计算每个元素的权重，并去除小于一定权重的元素
function InitData(data){  
    var buffer=[];  
    var isShow=false;  
    for (var i = data.length - 1; i &amp;gt;= 0; i--) {  
        for (var j = data[i].length - 1; j &amp;gt;= 0; j--) {  
            isShow=false;  
            for (var k = buffer.length - 1; k &amp;gt;= 0; k--) {  
                if (buffer[k].name==data[i][j]) {  
                    buffer[k].count++;  
                    isShow=true;  
                    break;  
                }  
            }  
            if (isShow==false) {  
                buffer.push({  
                name:data[i][j],  
                count:1  
                })  
            }  
        }  
    }  
    var ret=[];  
    for (var i = buffer.length - 1; i &amp;gt;= 0; i--) {  
        if (buffer[i].count&amp;gt;=min_sup) {  
            ret.push([buffer[i].name]); 
        }  
    }  
    return ret;  
}

// 计算数组中的子集的权重，进行剪枝
function GenArr(data){  
    var candi=[];  
    for(var i=0;i&amp;lt;data.length;i++){  
	for(var j=i+1;j&amp;lt;data.length;j++){  
	    candi.push(data[i].concat(data[j]).unique());  
	}  
    }  
    candi=unique(candi);  

    var buffer=[];  
    for (var i = candi.length - 1; i &amp;gt;= 0; i--) {  
        buffer.push({arr:candi[i],count:0});  
    }  
    //计算权重  
    for (var i = buffer.length - 1; i &amp;gt;= 0; i--) {  
        for (var j = dataArr.length - 1; j &amp;gt;= 0; j--) {  
            if(isContain(dataArr[j],buffer[i].arr)){  
                buffer[i].count++;  
            }  
        }  
    }  
    //剪枝  
    var ret=[];  
    var lock = false;
    for (var i = buffer.length - 1; i &amp;gt;= 0; i--) {  
        if(buffer[i].count&amp;gt;=min_sup){  
            if (!lock){
                result = [];
                lock = true;
	    }
	    ret.push(buffer[i].arr);  
	    result.push({arr:buffer[i].arr, count:buffer[i].count});
        }  
    }  
    return ret;  
}&lt;/pre&gt;
&lt;p&gt;
    &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;四、结果检视：&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;span style=&quot;color:#666666;font-family:Microsoft Yahei, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 27px; background-color: rgb(255, 255, 255);&quot;&gt;&lt;strong&gt;Input:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;/images/22.png&quot;/&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
    &lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;Output:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;strong style=&quot;color: rgb(102, 102, 102); font-family: &amp;#39;Microsoft Yahei&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 27px; white-space: normal; box-sizing: border-box; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;/images/33.png&quot;/&gt;&lt;/strong&gt;
&lt;/p&gt;</description><pubDate>Fri, 09 Jun 2017 08:58:15 +0800</pubDate></item><item><title>领导你除了会忽悠还会干啥？</title><link>http://x-rr.com/blog/?id=42</link><description>&lt;p style=&quot;text-indent: 28px; text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 黑体, SimHei; font-size: 20px;&quot;&gt;领导你除了会忽悠还会干啥？&lt;/span&gt;&lt;img src=&quot;http://x-rr.com/blog/zb_users/emotion/face/Nothing_to_say.gif&quot;/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 28px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;2011&lt;span style=&quot;font-family:宋体&quot;&gt;年底开始接触&lt;/span&gt;PMP&lt;span style=&quot;font-family:宋体&quot;&gt;学习，也是那时开始，让我对项目管理有了一个全新的认识。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;经过几个月的学习，终于在&lt;/span&gt;2012&lt;span style=&quot;font-family:宋体&quot;&gt;年&lt;/span&gt;3&lt;span style=&quot;font-family:宋体&quot;&gt;月获得了期盼已久的&lt;/span&gt;PMP&lt;span style=&quot;font-family:宋体&quot;&gt;证书，拿到证书的那一刻，感觉，并不是一个终点，对于我来说，应该算是职业道路上一个崭新的起点。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;个人&lt;/span&gt;2008&lt;span style=&quot;font-family:宋体&quot;&gt;年从学校毕业接触软件开发工作，&lt;/span&gt;2011&lt;span style=&quot;font-family:宋体&quot;&gt;年初开始将部分的工作重心转移到项目管理上，职位也从开发工程师提升为项目助理。但是所谓的助理，其实只是一些项目的分解之类的工作，而那时的自己，对于项目管理的认识应该也仅限于&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;吧。头脑里的想法就是项目管理&lt;/span&gt;=WBS&lt;span style=&quot;font-family:宋体&quot;&gt;。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;2011&lt;span style=&quot;font-family:宋体&quot;&gt;年底开始的学习让我彻底颠覆了这个概念，原来对于一个合格的项目管理者来说，&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;真的只是冰山一角。范围、时间、成本、质量、人力资源，沟通、风险、采购，不管哪一个都可以分析的非常的复杂。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;直到今日，拿到&lt;/span&gt;PMP&lt;span style=&quot;font-family:宋体&quot;&gt;证书已经是第&lt;/span&gt;5&lt;span style=&quot;font-family:宋体&quot;&gt;个年头了，可以说，这五年在我职业生涯里起到了至关重要的地位，为我的项目管理的职业盛业奠定了一定的基础。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;其实说到与实际项目的结合，其实这五年应该是一个循序渐进的过程。从一开始的信心满满，无知无畏，到后来的不断碰壁，再到现在的游刃有余，其实整个里程说来简单，实际过程中的种种只有自己内心最清楚，正好趁着这次征文的机会，把我这些年来认为比较重要的几个点给大家来详细的说说。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;项目成功的第一步：是否成功解耦。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;其实本来是想说明下&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;的关键，但是我相信，对于中国的项目管理人来说，大部分的&lt;/span&gt;PM&lt;span style=&quot;font-family:宋体&quot;&gt;应该是从&lt;/span&gt;CODING&lt;span style=&quot;font-family:宋体&quot;&gt;转过来的，所以我个人觉得用解耦这个词语，能够更加形象的反映出整个项目管理的开始。中国有句俗话说：好的开始是成功的一半。那么好的项目解耦必定就成为了成功项目的第一步了。那么问题来了，如何做好项目的解耦呢？其实，这个问题说复杂了，我觉得这篇文章就这一个主题也是不够写的，所以我只会把关键的几点跟大家讨论一下。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;1、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;在做项目解耦前必需做好业务的解耦，而这点其实是对&lt;/span&gt;PM&lt;span style=&quot;font-family:宋体&quot;&gt;来说最为困难的一点，因为业务往往是掌握在产品经理或者需求团队的手里，但是试问一句，不了解业务如何做好后面的功能分解呢？不过好功能分解又如何做好&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;呢？&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;2、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;用敏捷的思路来做好解耦工作。这点其实是需要结合&lt;/span&gt;SCRUM&lt;span style=&quot;font-family:宋体&quot;&gt;的思想来的，什么意思呢？只有锁定需求细节，架构设计方案等，才能把&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;做的比较合理，但是如今的软件系统的复杂程度，基本是无法确保一开始的考虑和想法是准确的，必然就会涉及到不停的修改和完善，那样就会涉及到更新一开始的&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;内容，而这个是一个耗费极高的事情。所以关键在于，我们只要先明确需求，不做详细任务拆解，只有等到某个&lt;/span&gt;Sprint&lt;span style=&quot;font-family:宋体&quot;&gt;开始前，做迭代计划的时候把这个&lt;/span&gt;Spring&lt;span style=&quot;font-family:宋体&quot;&gt;对应的需求做相应的拆解，这个拆解应该是整个&lt;/span&gt;scrum&lt;span style=&quot;font-family:宋体&quot;&gt;团队做的，而不是&lt;/span&gt;PM&lt;span style=&quot;font-family:宋体&quot;&gt;一人独立完成，除非你非常牛。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;3、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;计划≠执行，其实做&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;从上面两点来说已经够复杂的了，但是对于是否能够按照&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;上面的时间来执行，其实才是更为困难的，其实这个主要也是牵扯到过程中管理的一些内容了，这里简要叙述的话，也就一句话，要在过程中不断地更新项目执行计划，不断调整，从而能够把&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;执行的更为合理。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px;text-indent:0&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;项目成功的第二步：不停的更新。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;不停的更新，其实应该是贯穿整个项目生命周期的一件事情，更新业务，更新需求，更新计划，更新变更，更新项目执行过程，更新项目成果，更新交付成果等等。所有的一切都需要不停地更新，才能达到最终的成功。我这里来说说项目执行和过程中的更新，这些更新能够能好的保证我们的项目按照我们预期的进度顺利的进行。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;1、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;的跟踪&lt;/span&gt;+&lt;span style=&quot;font-family:宋体&quot;&gt;更新，前面也说了一个好的&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;意味着我们已经给项目开了一个好头，但是有个好的&lt;/span&gt;IDEA&lt;span style=&quot;font-family:宋体&quot;&gt;，没有去执行，一切都是白搭，所以我们要更好的去执行&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;，并且把实际执行的结果不停的将&lt;/span&gt;WBS&lt;span style=&quot;font-family:宋体&quot;&gt;进行调整，从而更好的执行和控制整个项目。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;2、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;积极的应对变更，变更我想是所有项目都会遇到的一个“不好”的东西，但是要是能把这些“不好”变成“好”，那不就等于是为我们的项目添砖加瓦么？虽然说镀金不是好的项目管理，但是处理好变更却给我们的关系人带来更好的体验，给我们的项目带来更好的结果。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;3、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;项目干系人的更新，从项目的开始、启动、执行、调整、完成，不同的阶段其实有着不同的项目干系人。而我们要做好不同阶段的干系人管理，就要不停的更新我们的干系人列表，以及干系人的优先级。比如客户只关心成果物，那么可能开始和完成就是他的优先级最高的，测试部门关心软件的质量，那么执行、调整阶段可能是他们较为关心的等等。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left:28px&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-left:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;项目成功的最第三步：资源的优化。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;其实我这里说的资源，主要指的还是团队的人。虽然说&lt;/span&gt;PM&lt;span style=&quot;font-family:宋体&quot;&gt;手里不掌握资源，但是说到底，是否有好的团队，好的人才，对于项目的成功起到了极为重要的作用。所谓的优化，就是当你拥有了这些人才之后，如何更好地整合团队，提升团队整体能力以及凝聚力，这些将会让你的项目事倍功半！&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;1、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;自愿的公开共享，团队成员要多做技术公开，藏着掖着对大家都没好处，一个人的智慧是有限的，而团队的智慧却是无穷无尽的，有的时候，团队的全面性会帮助个人的片面性更好的成长。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;2、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;摆脱工具的束缚，其实&lt;/span&gt;C++&lt;span style=&quot;font-family:宋体&quot;&gt;，&lt;/span&gt;JAVA&lt;span style=&quot;font-family:宋体&quot;&gt;看似高大，但是如果能同样达到结果，并且过程更加的简单快速，我或许会选择&lt;/span&gt;VFP&lt;span style=&quot;font-family:宋体&quot;&gt;，也就是说我们的人才最重要的才能不是他精通一些一辈子都用不上来的技术，而是他能够在最短的时间内掌握一门&lt;/span&gt; &lt;span style=&quot;font-family:宋体&quot;&gt;陌生工具的能力。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left:52px&quot;&gt;3、&lt;span style=&quot;font-size: 9px;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;让人才们有回家的感觉，一个&lt;/span&gt;TEAM&lt;span style=&quot;font-family:宋体&quot;&gt;应该像一个家一样，而不是真正的在公司，这样，当你项目结束开始下一个项目的时候，这帮兄弟才会继续陪在你的身边，帮你拿下一个又一个项目，曾经碰到一位领导是这么评论下属的：这个世界上没有谁没有了谁是不行的，你不干就滚蛋，有的是人干。当然我不能说这样的领导不是好领导，但是这样的领导一定带不出好的团队！&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left:28px&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;span style=&quot;font-family:宋体&quot;&gt;其实这三部曲说来简单，或许你们也正是这么做的，但是同样，他们和计划与执行的关系是一样的，希望各位管理人能在平时的工作中同样是这么做到的，虽然他们不怎么高深，但是我觉得如果你这么做到的，至少你离成功应该又近了一步吧，不积跬步无以至千里，认真的走好每一步必定在最后会到达成功的顶峰。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;text-indent:28px&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 14 Feb 2017 12:28:48 +0800</pubDate></item><item><title>通过htaccess绑定二级域名到子目录的方法</title><link>http://x-rr.com/blog/?id=41</link><description>&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; border: 0px; text-indent: 2em; color: rgb(51, 51, 51); font-family: &amp;#39;Microsoft YaHei&amp;#39;, 微软雅黑, SimHei, 黑体, Arial, sans-serif; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;国内虚拟主机商一般一个主机只提供1个域名绑定，而不支持多个子域名。这时候我们可以自己通过.htaccess文件设置重定向，把二级域名绑定到指定的子目录。&lt;br/&gt;先把要绑定的域名A记录或CNAME也指向和主域名所在的主机IP，然后可以.htaccess通过如下代码绑定相应文件夹：&lt;/p&gt;&lt;div class=&quot;codecolorer-container c default&quot; style=&quot;margin: 0px 0px 20px; padding: 0px; border: 1px solid rgb(231, 229, 220); width: 580px; background-image: url(http://www.aimaoji.com/blog/wp-content/plugins/codecolorer/aimaoji_log_small.png); background-color: rgb(248, 248, 248); font-size: 13px; line-height: 1.4em; font-family: Monaco, &amp;#39;Lucida Console&amp;#39;, monospace; clear: both; overflow: auto; background-position: 95% 92%; background-repeat: no-repeat no-repeat;&quot;&gt;&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;580&quot;&gt;&lt;tbody style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;&lt;tr style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;line-numbers&quot; style=&quot;margin: 0px; padding-right: 5px; padding-left: 5px; border-bottom-width: 0px; border-left-width: 0px; line-height: 1.4em; overflow-x: auto; overflow-y: hidden; text-align: right; color: rgb(136, 136, 136); background-color: rgb(231, 229, 220); border-right-width: 3px !important; border-right-color: rgb(108, 226, 108) !important;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; width: 23px;&quot;&gt;1&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;2&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;3&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;4&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;5&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;6&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;7&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;8&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;9&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;10&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;11&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;12&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;13&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;14&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;15&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 6px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; line-height: 1.4em; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;div class=&quot;c codecolorer&quot; style=&quot;margin: 0px; padding: 5px; border: 0px; line-height: 1.4em;&quot;&gt;RewriteEngine on&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteCond&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;{&lt;/span&gt;HTTP_HOST&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;^&lt;/span&gt;SLD.&lt;span class=&quot;me1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; color: rgb(0, 128, 255);&quot;&gt;domain&lt;/span&gt;.&lt;span class=&quot;me1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; color: rgb(0, 128, 255);&quot;&gt;com&lt;/span&gt;$&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&amp;nbsp;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteCond&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;{&lt;/span&gt;REQUEST_URI&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;!^/&lt;/span&gt;Catalog&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;/&lt;/span&gt;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&amp;nbsp;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteCond&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;{&lt;/span&gt;REQUEST_FILENAME&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;!-&lt;/span&gt;f&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&amp;nbsp;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteCond&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;{&lt;/span&gt;REQUEST_FILENAME&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;!-&lt;/span&gt;d&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&amp;nbsp;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteRule&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;(&lt;/span&gt;.&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;)&lt;/span&gt;$&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;/&lt;/span&gt;Catalog&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;/&lt;/span&gt;$&lt;span class=&quot;nu19&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;1&lt;/span&gt;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&amp;nbsp;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteCond&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;{&lt;/span&gt;HTTP_HOST&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;^&lt;/span&gt;SLD.&lt;span class=&quot;me1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; color: rgb(0, 128, 255);&quot;&gt;domain&lt;/span&gt;.&lt;span class=&quot;me1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; color: rgb(0, 128, 255);&quot;&gt;com&lt;/span&gt;$&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&amp;nbsp;&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteRule&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;?&lt;/span&gt;$ Catalog&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;/&lt;/span&gt;index.&lt;span class=&quot;me1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; color: rgb(0, 128, 255);&quot;&gt;php&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;[&lt;/span&gt;L&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; border: 0px; text-indent: 2em; color: rgb(51, 51, 51); font-family: &amp;#39;Microsoft YaHei&amp;#39;, 微软雅黑, SimHei, 黑体, Arial, sans-serif; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;二级域名&lt;br/&gt;SLD （ second-level domain ）;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; border: 0px; text-indent: 2em; color: rgb(51, 51, 51); font-family: &amp;#39;Microsoft YaHei&amp;#39;, 微软雅黑, SimHei, 黑体, Arial, sans-serif; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;如果很多个二级域名都指定的话，每个都这么写.htaccess文件就会非常庞大臃肿，可以使用以下正则匹配写法：&lt;/p&gt;&lt;div class=&quot;codecolorer-container c default&quot; style=&quot;margin: 0px 0px 20px; padding: 0px; border: 1px solid rgb(231, 229, 220); width: 580px; background-image: url(http://www.aimaoji.com/blog/wp-content/plugins/codecolorer/aimaoji_log_small.png); background-color: rgb(248, 248, 248); font-size: 13px; line-height: 1.4em; font-family: Monaco, &amp;#39;Lucida Console&amp;#39;, monospace; clear: both; overflow: auto; background-position: 95% 92%; background-repeat: no-repeat no-repeat;&quot;&gt;&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;580&quot;&gt;&lt;tbody style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;&lt;tr style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot; class=&quot;firstRow&quot;&gt;&lt;td class=&quot;line-numbers&quot; style=&quot;margin: 0px; padding-right: 5px; padding-left: 5px; border-bottom-width: 0px; border-left-width: 0px; line-height: 1.4em; overflow-x: auto; overflow-y: hidden; text-align: right; color: rgb(136, 136, 136); background-color: rgb(231, 229, 220); border-right-width: 3px !important; border-right-color: rgb(108, 226, 108) !important;&quot;&gt;&lt;div style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; width: 23px;&quot;&gt;1&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;2&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 6px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; line-height: 1.4em; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;div class=&quot;c codecolorer&quot; style=&quot;margin: 0px; padding: 5px; border: 0px; line-height: 1.4em;&quot;&gt;RewriteCond&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;{&lt;/span&gt;HTTP_HOST&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;(&lt;/span&gt;SLD1&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;|&lt;/span&gt;SLD2&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;|&lt;/span&gt;SLD3&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;)&lt;/span&gt;.&lt;span class=&quot;me1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; color: rgb(0, 128, 255);&quot;&gt;domain&lt;/span&gt;.&lt;span class=&quot;me1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em; color: rgb(0, 128, 255);&quot;&gt;com&lt;/span&gt;$&lt;br style=&quot;line-height: 1.4em;&quot;/&gt;RewriteRule&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;(&lt;/span&gt;.&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;)&lt;/span&gt;$&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;/%&lt;/span&gt;&lt;span class=&quot;nu19&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;/&lt;/span&gt;$&lt;span class=&quot;nu19&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;1&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;[&lt;/span&gt;L&lt;span class=&quot;sy0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;,&lt;/span&gt;&amp;nbsp;NC&lt;span class=&quot;br0&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; line-height: 1.4em;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 1em; padding: 0px; border: 0px; text-indent: 2em; color: rgb(51, 51, 51); font-family: &amp;#39;Microsoft YaHei&amp;#39;, 微软雅黑, SimHei, 黑体, Arial, sans-serif; line-height: 24px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;这样，会自动把SLD1对应到Catalog1目录，SLD2对应到Catalog2目录，SLD3对应到Catalog3，要加新的域名时，只需要在上面按格式添加即可。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 07 Feb 2017 17:14:47 +0800</pubDate></item><item><title>Scrum 大白话总结 </title><link>http://x-rr.com/blog/?id=40</link><description>&lt;p&gt;Scrum是敏捷过程中比较著名的一个过程框架，被很多团队采用。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Scrum使用迭代的开发方式，每一次迭代中，都会经历一个“计划-&amp;gt;实施-&amp;gt;验证-&amp;gt;反思”的过程。这是一个开发过程，同时也是一个对项目的认识过程，这样的设计其实也是遵循了哲学的认知论.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;名词解释：&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Sprint：每一次迭代称为一个Sprint。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Backlog：其实就是需求列表。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;SM：Scrum Master，Scrum过程的管理者。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;PO：Product Owner，需求他说了算。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;TEAM：架构师、开发人员、测试人员等。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Chicken：其他相关的人，如老总、客户。 ^_^&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;故事点：一个相对独立的功能点。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;度量：在过程中的一些度量值。如当前系统的BUG数。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;事件：过程中出现的一切事件。如小王今天早上在大家在全身心投入站会时时，放了一个屁……&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;角色&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Scrum中只有三类角色：SM、PO、Team。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;计划会议&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;一个迭代的时长一般定在2-4周。而计划会议是 Scrum 中最重要的会议。目的是定出本次Sprint的任务目标和计划，让所有成员能在接下来的日子里更流畅地进行各自的工作。同时，这也会让PO更有信心。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;主要活动：PO做出产品Backlog，然后在会议上给大家讲解。会议上Team在对故事点理解的基础上，对其进行估时。最后再将其拆分为任务点。故事点和任务都放在小黑板上。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;产物(按优先级排序)：&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;业务目标、Demo会议日期、&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Sprint Backlog（故事点列表、估优先级和估时、HowToDemo）、&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;速度和资源的计算、成员列表、&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;每日站会的时间地点、&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;故事点拆分为任务。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;注意事项：&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;PO必须参加这个会议！这是因为需要和Team进行面对面的交流来进行计划，以确定估算时间、范围、重要程度等可变因素。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;PO和团队之间要保证对故事的理解没有问题。可以保证backlog所有的列都全部写好。最重要的就是How to demo列。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;技术性的故事点，不要让PO来定优先级，这样会得到很低的优先级，而往往它们是很重要的。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Sprint Backlog&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;每期Sprint都需要一个Backlog。Backlog也就是对当前需求的描述文档。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;同时，使用黑板进行平时的调整：&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;每日站会&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;每天，Scrum团队成员都会参加这个会议。会议时间在15分钟以下，大家都站着，所以称为“站会”。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;每个人在站会上主要是叙述一下昨天做了什么、今天会做什么，以及需要的支持等。同时，每个人更新小黑板上的相关内容，&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Sprint Demo会议&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Demo会议也是十分重要的一个会议。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;主要是向PIG们展示当前阶段的项目成果。会议上应该保证明确地展示了本Sprint的业务目标。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;这是一个重在 沟通和反馈 的过程。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sprint回顾会议&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;这同样是一个非常重要的会议。因为这个会议的开展会帮助团队进步。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;会议中会对本次Sprint的所有故事、度量、事件，进行以下三方面的归类：做得好的，做得不对的、改进意见。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;（“做得不对的”表示：如果同样的事发生在下个Sprint，应该以不一样的方式来对待它。）&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;其它&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;想系统地学习Scrum，参见：Introduction to Scrum - An Agile Process&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;还有：《Scrum and XP from the Trenches》&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 12 Dec 2016 15:41:02 +0800</pubDate></item></channel></rss><!--57.92ms , 5 query , -17kb memory , 1 error-->