|
14 | 14 | <a xmlns="" href="http://cn.linkedin.com/in/netkiller/">Linkedin</a> |
|
15 | 15 | <a xmlns="" href="https://www.youtube.com/user/bg7nyt/videos">Youtube</a> |
|
16 | 16 | <a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> |
|
17 |
| - <a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">第 3 章 阿里云</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">上一页</a> </td><th width="60%" align="center">部分 I. 云计算</th><td width="20%" align="right"> <a accesskey="n" href="RDS.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=watch&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=fork&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&type=follow&count=true&size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a> | <a href="https://www.zhihu.com/club/1241768772601950208">多维度架构</a></td><td></td><td></td><td></td><td></td></tr></table><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="idm306399391792"></a>第 3 章 阿里云</h2></div></div></div><div class="toc"><p><strong>目录</strong></p><dl class="toc"><dt><span class="section"><a href="ch03.html#ECS">3.1. ECS</a></span></dt><dd><dl><dt><span class="section"><a href="ch03.html#idm306399390336">3.1.1. Rocky Linux 镜像</a></span></dt><dd><dl><dt><span class="section"><a href="ch03.html#idm306399388448">3.1.1.1. 阿里云 Rocky Linux 镜像初始化</a></span></dt><dt><span class="section"><a href="ch03.html#idm306399372576">3.1.1.2. Python 环境</a></span></dt><dt><span class="section"><a href="ch03.html#idm306426457216">3.1.1.3. 阿里云平台 Rocky Linux 系统 BUG</a></span></dt><dt><span class="section"><a href="ch03.html#idm306406417664">3.1.1.4. 开启交换分区</a></span></dt><dt><span class="section"><a href="ch03.html#idm306406417536">3.1.1.5. 启用 rc.local</a></span></dt></dl></dd><dt><span class="section"><a href="ch03.html#idm306406405584">3.1.2. 阿里云 AlmaLinux 9.0 镜像初始化</a></span></dt><dt><span class="section"><a href="ch03.html#idm306406404256">3.1.3. CentOS 8.4 初始化</a></span></dt><dt><span class="section"><a href="ch03.html#idm306406396720">3.1.4. 阿里云 Ubuntu 16.04.7 LTS 镜像 cron.daily 不执行 BUG 排除过程</a></span></dt></dl></dd><dt><span class="section"><a href="RDS.html">3.2. RDS MySQL</a></span></dt><dd><dl><dt><span class="section"><a href="RDS.html#idm306406385376">3.2.1. RDS MySQL => 本地 MySQL 数据库</a></span></dt><dd><dl><dt><span class="section"><a href="RDS.html#idm306406383808">3.2.1.1. MySQL 5.7</a></span></dt><dt><span class="section"><a href="RDS.html#idm306418538768">3.2.1.2. MySQL 8.0</a></span></dt></dl></dd></dl></dd><dt><span class="section"><a href="日志服务.html">3.3. 日志服务</a></span></dt><dd><dl><dt><span class="section"><a href="日志服务.html#idm306425029232">3.3.1. SLB 日志</a></span></dt><dd><dl><dt><span class="section"><a href="日志服务.html#idm306418613424">3.3.1.1. 注册流程</a></span></dt><dt><span class="section"><a href="日志服务.html#idm306425135872">3.3.1.2. Top 100 IP 地址</a></span></dt><dt><span class="section"><a href="日志服务.html#idm306418563904">3.3.1.3. 统计 GET/POST/PUT/DELETE/HEAD/OPTIONS</a></span></dt><dt><span class="section"><a href="日志服务.html#idm306399371264">3.3.1.4. 分析接口请求时间</a></span></dt></dl></dd><dt><span class="section"><a href="日志服务.html#idm306399369712">3.3.2. Kubernetes 日志</a></span></dt><dt><span class="section"><a href="日志服务.html#idm306399368944">3.3.3. Aliyun LOG Java Producer</a></span></dt></dl></dd></dl></div> |
| 17 | + <a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">第 3 章 阿里云</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">上一页</a> </td><th width="60%" align="center">部分 I. 云计算</th><td width="20%" align="right"> <a accesskey="n" href="RDS.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=watch&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&repo=netkiller.github.io&type=fork&count=true&size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&type=follow&count=true&size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a> | <a href="https://www.zhihu.com/club/1241768772601950208">多维度架构</a></td><td></td><td></td><td></td><td></td></tr></table><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="idm512633675840"></a>第 3 章 阿里云</h2></div></div></div><div class="toc"><p><strong>目录</strong></p><dl class="toc"><dt><span class="section"><a href="ch03.html#ECS">3.1. ECS</a></span></dt><dd><dl><dt><span class="section"><a href="ch03.html#idm512633673328">3.1.1. Rocky Linux 镜像</a></span></dt><dd><dl><dt><span class="section"><a href="ch03.html#idm512633672688">3.1.1.1. 阿里云 Rocky Linux 镜像初始化</a></span></dt><dt><span class="section"><a href="ch03.html#idm512633656736">3.1.1.2. Python 环境</a></span></dt><dt><span class="section"><a href="ch03.html#idm512633655984">3.1.1.3. 阿里云平台 Rocky Linux 系统 BUG</a></span></dt><dt><span class="section"><a href="ch03.html#idm512658270448">3.1.1.4. 开启交换分区</a></span></dt><dt><span class="section"><a href="ch03.html#idm512634962880">3.1.1.5. 启用 rc.local</a></span></dt></dl></dd><dt><span class="section"><a href="ch03.html#idm512633647696">3.1.2. 阿里云 AlmaLinux 9.0 镜像初始化</a></span></dt><dt><span class="section"><a href="ch03.html#idm512633647440">3.1.3. CentOS 8.4 初始化</a></span></dt><dt><span class="section"><a href="ch03.html#idm512633638608">3.1.4. 阿里云 Ubuntu 16.04.7 LTS 镜像 cron.daily 不执行 BUG 排除过程</a></span></dt></dl></dd><dt><span class="section"><a href="RDS.html">3.2. RDS MySQL</a></span></dt><dd><dl><dt><span class="section"><a href="RDS.html#idm512633627936">3.2.1. RDS MySQL => 本地 MySQL 数据库</a></span></dt><dd><dl><dt><span class="section"><a href="RDS.html#idm512633624592">3.2.1.1. MySQL 5.7</a></span></dt><dt><span class="section"><a href="RDS.html#idm512633624336">3.2.1.2. MySQL 8.0</a></span></dt></dl></dd></dl></dd><dt><span class="section"><a href="日志服务.html">3.3. 日志服务</a></span></dt><dd><dl><dt><span class="section"><a href="日志服务.html#idm512633612960">3.3.1. SLB 日志</a></span></dt><dd><dl><dt><span class="section"><a href="日志服务.html#idm512633612160">3.3.1.1. 注册流程</a></span></dt><dt><span class="section"><a href="日志服务.html#idm512633610752">3.3.1.2. Top 100 IP 地址</a></span></dt><dt><span class="section"><a href="日志服务.html#idm512633609328">3.3.1.3. 统计 GET/POST/PUT/DELETE/HEAD/OPTIONS</a></span></dt><dt><span class="section"><a href="日志服务.html#idm512633607936">3.3.1.4. 分析接口请求时间</a></span></dt></dl></dd><dt><span class="section"><a href="日志服务.html#idm512633606432">3.3.2. Kubernetes 日志</a></span></dt><dt><span class="section"><a href="日志服务.html#idm512633605664">3.3.3. Aliyun LOG Java Producer</a></span></dt></dl></dd></dl></div> |
18 | 18 |
|
19 | 19 | <p>时代变了!!!今局面是云计算全面替代自建IDC的时代,所以必须将云计算单列一个章节,严肃对待。</p>
|
20 | 20 |
|
21 | 21 | <div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="ECS"></a>3.1. ECS</h2></div></div></div>
|
22 | 22 |
|
23 |
| - <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm306399390336"></a>3.1.1. Rocky Linux 镜像</h3></div></div></div> |
| 23 | + <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm512633673328"></a>3.1.1. Rocky Linux 镜像</h3></div></div></div> |
24 | 24 |
|
25 |
| - <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm306399388448"></a>3.1.1.1. 阿里云 Rocky Linux 镜像初始化</h4></div></div></div> |
| 25 | + <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm512633672688"></a>3.1.1.1. 阿里云 Rocky Linux 镜像初始化</h4></div></div></div> |
26 | 26 |
|
27 | 27 | <p>首次安装后初始化系统</p>
|
28 | 28 | <pre class="screen">
|
|
168 | 168 |
|
169 | 169 | </pre>
|
170 | 170 | </div>
|
171 |
| - <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm306399372576"></a>3.1.1.2. Python 环境</h4></div></div></div> |
| 171 | + <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm512633656736"></a>3.1.1.2. Python 环境</h4></div></div></div> |
172 | 172 |
|
173 | 173 | <pre class="screen">
|
174 | 174 |
|
|
177 | 177 |
|
178 | 178 | </pre>
|
179 | 179 | </div>
|
180 |
| - <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm306426457216"></a>3.1.1.3. 阿里云平台 Rocky Linux 系统 BUG</h4></div></div></div> |
| 180 | + <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm512633655984"></a>3.1.1.3. 阿里云平台 Rocky Linux 系统 BUG</h4></div></div></div> |
181 | 181 |
|
182 | 182 | <p>系统更新链接不上</p>
|
183 | 183 | <pre class="screen">
|
|
270 | 270 | </pre>
|
271 | 271 | <p>再次运行 dnf upgrade -y 顺利通过</p>
|
272 | 272 | </div>
|
273 |
| - <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm306406417664"></a>3.1.1.4. 开启交换分区</h4></div></div></div> |
| 273 | + <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm512658270448"></a>3.1.1.4. 开启交换分区</h4></div></div></div> |
274 | 274 |
|
275 | 275 | <p>开启交换分区</p>
|
276 | 276 | <pre class="screen">
|
|
314 | 314 | 80
|
315 | 315 |
|
316 | 316 | </pre>
|
317 |
| - <div class="example"><a id="idm306406412976"></a><p class="title"><strong>例 3.1. 开启交换分区</strong></p><div class="example-contents"> |
| 317 | + <div class="example"><a id="idm512634964304"></a><p class="title"><strong>例 3.1. 开启交换分区</strong></p><div class="example-contents"> |
318 | 318 |
|
319 | 319 | <pre class="screen">
|
320 | 320 |
|
|
347 | 347 | </pre>
|
348 | 348 | </div></div><br class="example-break" />
|
349 | 349 | </div>
|
350 |
| - <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm306406417536"></a>3.1.1.5. 启用 rc.local</h4></div></div></div> |
| 350 | + <div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm512634962880"></a>3.1.1.5. 启用 rc.local</h4></div></div></div> |
351 | 351 |
|
352 | 352 | <p>/etc/rc.local 是一个开机启动脚本</p>
|
353 | 353 | <pre class="screen">
|
|
412 | 412 | </pre>
|
413 | 413 | </div>
|
414 | 414 | </div>
|
415 |
| - <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm306406405584"></a>3.1.2. 阿里云 AlmaLinux 9.0 镜像初始化</h3></div></div></div> |
| 415 | + <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm512633647696"></a>3.1.2. 阿里云 AlmaLinux 9.0 镜像初始化</h3></div></div></div> |
416 | 416 |
|
417 | 417 | <p>阿里云ECS购买之后建议对 AlmaLinux 做标准初始化配置</p>
|
418 | 418 | <pre class="screen">
|
|
470 | 470 |
|
471 | 471 | </pre>
|
472 | 472 | </div>
|
473 |
| - <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm306406404256"></a>3.1.3. CentOS 8.4 初始化</h3></div></div></div> |
| 473 | + <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm512633647440"></a>3.1.3. CentOS 8.4 初始化</h3></div></div></div> |
474 | 474 |
|
475 | 475 | <p>阿里云启动之后</p>
|
476 | 476 | <pre class="screen">
|
|
508 | 508 | </pre>
|
509 | 509 | </div>
|
510 | 510 |
|
511 |
| - <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm306406396720"></a>3.1.4. 阿里云 Ubuntu 16.04.7 LTS 镜像 cron.daily 不执行 BUG 排除过程</h3></div></div></div> |
| 511 | + <div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm512633638608"></a>3.1.4. 阿里云 Ubuntu 16.04.7 LTS 镜像 cron.daily 不执行 BUG 排除过程</h3></div></div></div> |
512 | 512 |
|
513 | 513 | <p>/etc/cron.daily 下面任务不执行</p>
|
514 | 514 | <p>检查日志并无异常</p>
|
|
0 commit comments