-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path24.html
More file actions
278 lines (278 loc) · 22 KB
/
Copy path24.html
File metadata and controls
278 lines (278 loc) · 22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="CodeClub - MySQL 安装配置" />
<meta name="author" content="Jackson" />
<title>MySQL 安装配置 - CodeClub</title>
<link rel="icon" type="image/x-icon" href="../../img/logo.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="../../css/main.css" />
<link rel="stylesheet" href="../../css/dark-mode.css" />
<link rel="stylesheet" href="../../css/mobile-optimizations.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/12.0.0/marked.min.js"></script>
<style>
.tutorial-page {
max-width: 1200px;
margin: 70px auto 40px;
padding: 0 20px;
display: flex;
gap: 20px;
}
.tutorial-sidebar {
width: 240px;
flex-shrink: 0;
position: sticky;
top: 70px;
max-height: calc(100vh - 90px);
overflow-y: auto;
background: var(--bg-secondary, #fff);
border-radius: 8px;
padding: 16px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.tutorial-sidebar h3 {
font-size: 15px;
margin: 0 0 12px;
color: var(--text-primary, #1a1a2e);
padding-bottom: 8px;
border-bottom: 2px solid var(--primary, #3b82f6);
}
.tutorial-sidebar a {
display: block;
padding: 5px 8px;
color: var(--text-secondary, #666);
text-decoration: none;
font-size: 13px;
border-radius: 4px;
line-height: 1.4;
}
.tutorial-sidebar a:hover {
background: var(--primary, #3b82f6);
color: #fff;
}
.tutorial-sidebar a.active {
background: var(--primary, #3b82f6);
color: #fff;
font-weight: 600;
}
.tutorial-main {
flex: 1;
min-width: 0;
}
.tutorial-article {
background: var(--bg-secondary, #fff);
border-radius: 8px;
padding: 32px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.tutorial-article h1 {
font-size: 26px;
margin-bottom: 16px;
color: var(--text-primary, #1a1a2e);
border-bottom: 2px solid var(--primary, #3b82f6);
padding-bottom: 12px;
}
.markdown-body {
font-size: 15px;
line-height: 1.8;
color: var(--text-secondary, #333);
}
.markdown-body h1 {
font-size: 24px;
border-bottom: 1px solid var(--border, #e5e7eb);
padding-bottom: 8px;
}
.markdown-body h2 {
font-size: 20px;
border-bottom: 1px solid var(--border, #e5e7eb);
padding-bottom: 6px;
}
.markdown-body h3 {
font-size: 17px;
}
.markdown-body pre {
background: #1e1e2e;
color: #cdd6f4;
padding: 16px;
border-radius: 8px;
overflow-x: auto;
}
.markdown-body code {
font-family: 'Fira Code', 'Cascadia Code', monospace;
font-size: 14px;
}
.markdown-body p code {
background: #f1f5f9;
padding: 2px 6px;
border-radius: 4px;
color: #e83e8c;
}
.markdown-body blockquote {
border-left: 4px solid var(--primary, #3b82f6);
padding: 12px 20px;
margin: 16px 0;
background: #f8fafc;
border-radius: 0 8px 8px 0;
}
.markdown-body img {
max-width: 100%;
border-radius: 8px;
}
.markdown-body table {
border-collapse: collapse;
width: 100%;
margin: 16px 0;
}
.markdown-body table th,
.markdown-body table td {
border: 1px solid var(--border, #e5e7eb);
padding: 8px 12px;
text-align: left;
}
.markdown-body table th {
background: var(--bg-primary, #f8fafc);
font-weight: 600;
}
.markdown-body table tr:nth-child(2n) {
background: var(--bg-primary, #f8fafc);
}
.markdown-body ul,
.markdown-body ol {
padding-left: 24px;
margin: 12px 0;
}
.markdown-body li {
margin: 4px 0;
}
.markdown-body hr {
border: none;
border-top: 1px solid var(--border, #e5e7eb);
margin: 24px 0;
}
.markdown-body a {
color: var(--primary, #3b82f6);
text-decoration: none;
}
.markdown-body a:hover {
text-decoration: underline;
}
.page-navigation {
display: flex;
justify-content: space-between;
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid var(--border, #e5e7eb);
}
.page-nav-link {
color: var(--primary, #3b82f6);
text-decoration: none;
font-weight: 500;
font-size: 14px;
}
.page-nav-link:hover {
text-decoration: underline;
}
.source-link {
margin-top: 16px;
font-size: 13px;
color: var(--text-secondary, #999);
}
.source-link a {
color: var(--primary, #3b82f6);
}
@media (max-width: 768px) {
.tutorial-page {
flex-direction: column;
}
.tutorial-sidebar {
width: 100%;
position: static;
max-height: 200px;
}
}
</style>
</head>
<body>
<nav class="navbar">
<div class="navbar-container">
<a class="navbar-brand" href="../../index.html">
<img src="../../img/logo.png" alt="CodeClub" width="32" height="32" />
<span>CodeClub</span>
</a>
<button class="mobile-menu-toggle" aria-label="切换导航菜单"><span></span><span></span><span></span></button>
<ul class="navbar-nav">
<li><a class="nav-link" href="../../index.html">首页</a></li>
<li><a class="nav-link" href="../../nav.html">网址导航</a></li>
<li><a class="nav-link" href="../../blog/">博客</a></li>
<li><a class="nav-link" href="../../wiki/index.html" target="_blank">WiKi</a></li>
<li><a class="nav-link active" href="../index.html">教程</a></li>
<li><a class="nav-link" href="../../book.html">图书</a></li>
<li><a class="nav-link" href="../../contact.html">联系我</a></li>
<li><a class="nav-link" href="../../about.html">关于我</a></li>
</ul>
</div>
</nav>
<div class="tutorial-page">
<div class="tutorial-sidebar">
<h3>📖 Shell</h3>
<a href="0.html">Linux</a>
<a href="1.html">Linux 简介</a>
<a href="2.html">Linux 安装</a>
<a href="3.html">Linux 云服务器</a>
<a href="4.html">WSL 安装 Linux</a>
<a href="5.html">Linux 系统启动过程</a>
<a href="6.html">Linux 系统目录结构</a>
<a href="7.html">Linux 忘记密码解决方法</a>
<a href="8.html">Linux 远程登录</a>
<a href="9.html">Linux 文件基本属性</a>
<a href="10.html">Linux 文件与目录管理</a>
<a href="11.html">Linux 用户和用户组管理</a>
<a href="12.html">Linux 磁盘管理</a>
<a href="13.html">Linux vi/vim</a>
<a href="14.html">linux yum 命令</a>
<a href="15.html">Linux apt 命令</a>
<a href="16.html">Shell 教程</a>
<a href="17.html">Shell 变量</a>
<a href="18.html">Shell echo 命令</a>
<a href="19.html">Shell test 命令</a>
<a href="20.html">Shell 流程控制</a>
<a href="21.html">Shell 函数</a>
<a href="22.html">Linux 命令大全</a>
<a href="23.html">Nginx 安装配置</a>
<a href="24.html" class="active">MySQL 安装配置</a>
</div>
<div class="tutorial-main">
<div class="tutorial-article">
<div class="markdown-body" id="md-content"></div>
<div class="page-navigation">
<a href="23.html" class="page-nav-link">← Nginx 安装配置</a>
<span></span>
</div>
<div class="source-link">原文来源:<a href="https://www.runoob.com" target="_blank">菜鸟教程</a></div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer-content"><p>© 2024 CodeClub. All rights reserved.</p></div>
</footer>
<script src="../../js/dark-mode.js"></script>
<script src="../../js/mobile-menu.js"></script>
<script>
const md = `# MySQL 安装配置\n\nMySQL 是最流行的关系型数据库管理系统,由瑞典MySQL AB公司开发,目前属于Oracle公司。\n\n\nMySQL所使用的SQL语言是用于访问数据库的最常用标准化语言。\n\n\nMySQL由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,一般中小型网站的开发都选择MySQL作为网站数据库。\n\n\n\n---\n\n\n## MySQL 安装\n\n本教程的系统平台:CentOS release 6.6 (Final) 64位。\n\n\n\n### 一、安装编译工具及库文件\n\n\n\`\`\`\n\nyum -y install gcc gcc-c++ make autoconf libtool-ltdl-devel gd-devel freetype-devel libxml2-devel libjpeg-devel libpng-devel openssl-devel curl-devel bison patch unzip libmcrypt-devel libmhash-devel ncurses-devel sudo bzip2 flex libaio-devel\n\n\`\`\`\n\n\n### 二、 安装cmake 编译器\n\ncmake 版本:cmake-3.1.1。\n\n\n\n1、下载地址:[http://www.cmake.org/files/v3.1/cmake-3.1.1.tar.gz](http://www.cmake.org/files/v3.1/cmake-3.1.1.tar.gz)\n\n\n\n\`\`\`\n\n$ wget http://www.cmake.org/files/v3.1/cmake-3.1.1.tar.gz\n\n\`\`\`\n\n\n\n2、解压安装包\n\n\n\n\`\`\`\n\n$ tar zxvf cmake-3.1.1.tar.gz\n\n\`\`\`\n\n\n3、进入安装包目录\n\n\n\n\`\`\`\n\n$ cd cmake-3.1.1\n\n\`\`\`\n\n\n4、编译安装 \n\n\n\n\`\`\`\n\n$ ./bootstrap\n$ make && make install\n\n\`\`\`\n\n\n---\n\n\n### 三、安装 MySQL\n\n\nMySQL版本:mysql-5.6.15。\n\n\n\n1、下载地址: [http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.15.tar.gz](http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.15.tar.gz)\n\n\n\n\`\`\`\n\n$ wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.15.tar.gz\n\n\`\`\`\n\n\n2、解压安装包\n\n\n\n\`\`\`\n\n$ tar zxvf mysql-5.6.15.tar.gz\n\n\`\`\`\n\n\n3、进入安装包目录\n\n\n\n\`\`\`\n\n$ cd mysql-5.6.15\n\n\`\`\`\n\n\n4、编译安装 \n\n\n\n\`\`\`\n\n$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/webserver/mysql/ -DMYSQL_UNIX_ADDR=/tmp/mysql.sock -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_MEMORY_STORAGE_ENGINE=1 -DWITH_READLINE=1 -DWITH_INNODB_MEMCACHED=1 -DWITH_DEBUG=OFF -DWITH_ZLIB=bundled -DENABLED_LOCAL_INFILE=1 -DENABLED_PROFILING=ON -DMYSQL_MAINTAINER_MODE=OFF -DMYSQL_DATADIR=/usr/local/webserver/mysql/data -DMYSQL_TCP_PORT=3306\n$ make && make install\n\n\`\`\`\n\n\n5、查看mysql版本:\n\n\n\n\`\`\`\n\n$ /usr/local/webserver/mysql/bin/mysql --version\n\n\`\`\`\n\n\n\n到此,mysql安装完成。\n\n\n\n---\n\n\n## \nMySQL 配置\n\n\n\n1、创建mysql运行使用的用户mysql:\n\n\n\n\`\`\`\n\n$ /usr/sbin/groupadd mysql\n$ /usr/sbin/useradd -g mysql mysql\n\n\`\`\`\n\n\n2、创建binlog和库的存储路径并赋予mysql用户权限\n\n\n\n\`\`\`\n\n$ mkdir -p /usr/local/webserver/mysql/binlog /www/data_mysql\n$ chown mysql.mysql /usr/local/webserver/mysql/binlog/ /www/data_mysql/\n\n\`\`\`\n\n\n3、创建my.cnf配置文件\n\n\n\n将/etc/my.cnf替换为下面内容\n\n\n\n\`\`\`\n\n$ cat /etc/my.cnf\n\n[client]\nport = 3306\nsocket = /tmp/mysql.sock\n[mysqld]\nreplicate-ignore-db = mysql\nreplicate-ignore-db = test\nreplicate-ignore-db = information_schema\nuser = mysql\nport = 3306\nsocket = /tmp/mysql.sock\nbasedir = /usr/local/webserver/mysql\ndatadir = /www/data_mysql\nlog-error = /usr/local/webserver/mysql/mysql_error.log\npid-file = /usr/local/webserver/mysql/mysql.pid\nopen_files_limit = 65535\nback_log = 600\nmax_connections = 5000\nmax_connect_errors = 1000\ntable_open_cache = 1024\nexternal-locking = FALSE\nmax_allowed_packet = 32M\nsort_buffer_size = 1M\njoin_buffer_size = 1M\nthread_cache_size = 600\n#thread_concurrency = 8\nquery_cache_size = 128M\nquery_cache_limit = 2M\nquery_cache_min_res_unit = 2k\ndefault-storage-engine = MyISAM\ndefault-tmp-storage-engine=MYISAM\nthread_stack = 192K\ntransaction_isolation = READ-COMMITTED\ntmp_table_size = 128M\nmax_heap_table_size = 128M\nlog-slave-updates\nlog-bin = /usr/local/webserver/mysql/binlog/binlog\nbinlog-do-db=oa_fb\nbinlog-ignore-db=mysql\nbinlog_cache_size = 4M\nbinlog_format = MIXED\nmax_binlog_cache_size = 8M\nmax_binlog_size = 1G\nrelay-log-index = /usr/local/webserver/mysql/relaylog/relaylog\nrelay-log-info-file = /usr/local/webserver/mysql/relaylog/relaylog\nrelay-log = /usr/local/webserver/mysql/relaylog/relaylog\nexpire_logs_days = 10\nkey_buffer_size = 256M\nread_buffer_size = 1M\nread_rnd_buffer_size = 16M\nbulk_insert_buffer_size = 64M\nmyisam_sort_buffer_size = 128M\nmyisam_max_sort_file_size = 10G\nmyisam_repair_threads = 1\nmyisam_recover\ninteractive_timeout = 120\nwait_timeout = 120\nskip-name-resolve\n#master-connect-retry = 10\nslave-skip-errors = 1032,1062,126,1114,1146,1048,1396\n#master-host = 192.168.1.2\n#master-user = username\n#master-password = password\n#master-port = 3306\nserver-id = 1\nloose-innodb-trx=0 \nloose-innodb-locks=0 \nloose-innodb-lock-waits=0 \nloose-innodb-cmp=0 \nloose-innodb-cmp-per-index=0\nloose-innodb-cmp-per-index-reset=0\nloose-innodb-cmp-reset=0 \nloose-innodb-cmpmem=0 \nloose-innodb-cmpmem-reset=0 \nloose-innodb-buffer-page=0 \nloose-innodb-buffer-page-lru=0 \nloose-innodb-buffer-pool-stats=0 \nloose-innodb-metrics=0 \nloose-innodb-ft-default-stopword=0 \nloose-innodb-ft-inserted=0 \nloose-innodb-ft-deleted=0 \nloose-innodb-ft-being-deleted=0 \nloose-innodb-ft-config=0 \nloose-innodb-ft-index-cache=0 \nloose-innodb-ft-index-table=0 \nloose-innodb-sys-tables=0 \nloose-innodb-sys-tablestats=0 \nloose-innodb-sys-indexes=0 \nloose-innodb-sys-columns=0 \nloose-innodb-sys-fields=0 \nloose-innodb-sys-foreign=0 \nloose-innodb-sys-foreign-cols=0\n\nslow_query_log_file=/usr/local/webserver/mysql/mysql_slow.log\nlong_query_time = 1\n[mysqldump]\nquick\nmax_allowed_packet = 32M\n\n\`\`\`\n\n\n4、初始化数据库\n\n\n\n\`\`\`\n\n$/usr/local/webserver/mysql/scripts/mysql_install_db --defaults-file=/etc/my.cnf --user=mysql\n\n\`\`\`\n\n\n显示如下信息:\n\n\n\n\`\`\`\n\nInstalling MySQL system tables...2015-01-26 20:18:51 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).\nOK\n\nFilling help tables...2015-01-26 20:18:57 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).\nOK\n...\n\n\`\`\`\n\n\n5、创建开机启动脚本\n\n\n\n\`\`\`\n\n$ cd /usr/local/webserver/mysql/\n$ cp support-files/mysql.server /etc/rc.d/init.d/mysqld \n$ chkconfig --add mysqld \n$ chkconfig --level 35 mysqld on\n\n\`\`\`\n\n\n6、启动mysql服务器\n\n\n\n\`\`\`\n\n$ service mysqld start\n\n\`\`\`\n\n\n7、连接 MySQL\n\n\n\n\`\`\`\n\n$ /usr/local/webserver/mysql/bin/mysql -u root -p\n\n\`\`\`\n\n\n\n\n\n## 修改MySQL用户密码\n\n\n\`\`\`\nmysqladmin -u用户名 -p旧密码 password 新密码\n\`\`\`\n\n或进入mysql命令行\n\n\n\n\`\`\`\nSET PASSWORD FOR \'用户名\'@\'主机\' = PASSWORD(‘密码\');\n\n\`\`\`\n\n创建新用户并授权:\n\n\n\n\`\`\`\ngrant all privileges on *.* to 用户名@\'%\' identified by \'密码\' with grant option;\n\`\`\`\n\n\n### 其他命令\n\n\n- 启动:service mysqld start\n- 停止:service mysqld stop\n- 重启:service mysqld restart\n- 重载配置:service mysqld reload\n \n \n \n \n \n\n \n \n [ Shell 传递参数](http://www.runoob.com/linux/linux-shell-passing-arguments.html)\n \n\n \n \n \n \n \n\n\n\n\n\n \n## \n \n \n \n 1 篇笔记\n 写笔记\n\n\n\n\n\n \n\n #0 li1121567428\n\n li1***567428@live.com\n\n 118启动MySQL服务器程序,确认状态\n\n\n\n1)启动MySQL服务程序\n\n\n启动服务并查看状态:\n\n\n\n\`\`\`\n\n[root@dbsvr1 pub]# service mysql start\nStarting MySQL... [确定]\n[root@dbsvr1 pub]# service mysql status\nMySQL running (31724) [确定]\n\n\`\`\`\n\n\n服务器进程为mysqld,监听的默认端口为TCP 3306:\n\n\n\n\n\`\`\`\n\n[root@dbsvr1 pub]# netstat -anpt | grep mysql\ntcp 0 0 :::3306 :::* LISTEN 31724/mysqld\n\n\`\`\`\n\n2)查看MySQL服务器进程、运行用户\n\n\n提供连接服务的进程为mysqld,由其父进程mysqld_safe启动。\n\n\n\n\`\`\`\n\n[root@dbsvr1 pub]# ps -elf | grep mysqld\n\n4 S root 31619 1 0 80 0 - 2834 wait 15:14 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid file=/var/lib/mysql/dbsvr1.tarena.com.pid\n\n4 S mysql 31724 31619 0 80 0 - 252496 poll_s 15:14 pts/0 00:00:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/dbsvr1.tarena.com.err --pid-file=/var/lib/mysql/dbsvr1.tarena.com.pid\n\n\`\`\`\n\n\n数据库的默认存放位置为 /var/lib/mysql:\n\n\n\n\`\`\`\n\n[root@dbsvr1 pub]# ls /var/lib/mysql/\nauto.cnf ibdata1 mysql RPM_UPGRADE_HISTORY\ndbsvr1.tarena.com.err ib_logfile0 mysql.sock RPM_UPGRADE_MARKER-LAST\ndbsvr1.tarena.com.pid ib_logfile1 performance_schema test\n\n\`\`\`\n[li1121567428](https://www.runoob.comjavascript:;) li1121567428\n\n li1***567428@live.com\n\n9年前 (2017-07-01)\n \n\n \n \n\n \n \n \n### 点我分享笔记\n\n \n \n \n \n \n \n [取消](https://www.runoob.comjavascript:;)\n\n\n \n \n \n \n \n \n\n\n 分享笔记\n \n \n \n \n \n \n\n 昵称昵称 (必填)\n 邮箱邮箱 (必填)\n 引用地址引用地址\n \n\n \n \n \n \n\n \n \n\n\n\n\n\n\n\n\n\n \n\n \n\n\n\n\n\n\n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n\n\n\n\n\n 在线实例\n\n\n ·[HTML 实例](https://www.runoob.com/html/html-examples.html)\n\n\n ·[CSS 实例](https://www.runoob.com/css/css-examples.html)\n\n\n ·[JavaScript 实例](https://www.runoob.com/js/js-examples.html)\n\n\n ·[Ajax 实例](https://www.runoob.com/ajx/ajax-examples.html)\n\n\n ·[jQuery 实例](https://www.runoob.com/jquery/jquery-examples.html)\n\n\n ·[XML 实例](https://www.runoob.com/xml/xml-examples.html)\n\n\n ·[Java 实例](https://www.runoob.com/java/java-examples.html)\n\n\n\n\n\n 字符集&工具\n\n\n · [HTML 字符集设置](https://www.runoob.com/charsets/html-charsets.html)\n\n\n · [HTML ASCII 字符集](https://www.runoob.com/tags/html-ascii.html)\n\n\n · [JS 混淆/加密](https://www.jyshare.com/front-end/6939/)\n\n\n · [PNG/JPEG 图片压缩](https://www.jyshare.com/front-end/6232/)\n\n\n · [HTML 拾色器](https://www.runoob.com/tags/html-colorpicker.html)\n\n\n · [JSON 格式化工具](https://www.jyshare.com/front-end/53)\n\n\n · [随机数生成器](https://www.jyshare.com/front-end/6680/)\n\n\n\n\n 最新更新\n\n\n ·\n [\n OpenCode 自定义... ](http://www.runoob.com/opencode/opencode-custom-tools.html)\n\n\n ·\n [\n OpenCode Skills ](http://www.runoob.com/opencode/opencode-skills.html)\n\n\n ·\n [\n OpenCode MCP 服... ](http://www.runoob.com/opencode/opencode-mcp.html)\n\n\n ·\n [\n OpenCode LSP 服... ](http://www.runoob.com/opencode/opencode-lsp.html)\n\n\n ·\n [\n OpenCode 权限配置 ](http://www.runoob.com/opencode/opencode-permissions.html)\n\n\n ·\n [\n OpenCode 格式化... ](http://www.runoob.com/opencode/opencode-formatter.html)\n\n\n ·\n [\n OpenCode 自定义... ](http://www.runoob.com/opencode/opencode-commands.html)\n\n\n\n\n 站点信息\n\n\n ·\n [意见反馈](https://www.runoob.commailto:admin@runoob.com)\n\n\n ·\n [免责声明](https://www.runoob.com/disclaimer)\n\n\n ·\n [关于我们](https://www.runoob.com/aboutus)\n\n\n ·\n [文章归档](https://www.runoob.com/archives)\n\n\n\n\n\n\n\n **关注微信**\n\n\n\n \n\n\n\n\n\n\n Copyright © 2013-2026 **[菜鸟教程](https://www.runoob.com//www.runoob.com/)** \n **[runoob.com](https://www.runoob.com//www.runoob.com/)** All Rights Reserved. 备案号:[闽ICP备15012807号-1](https://beian.miit.gov.cn/)\n\n\n\n [ ](https://www.runoob.comjavascript:void(0))\n [](https://www.runoob.comjavascript:void(0))\n [](https://www.runoob.comjavascript:void(0))\n\n\n\n#### 微信关注\n\n `;
document.getElementById('md-content').innerHTML = marked.parse(md);
</script>
</body>
</html>