{"id":4052,"date":"2021-11-25T22:59:58","date_gmt":"2021-11-26T06:59:58","guid":{"rendered":"https:\/\/www.xh86.me\/?p=4052"},"modified":"2021-11-25T23:02:50","modified_gmt":"2021-11-26T07:02:50","slug":"%e8%b6%85%e7%89%9b-x-%e7%9a%84%e4%bc%81%e4%b8%9a%e7%ba%a7%e7%bd%91%e7%bb%9c%e8%ae%be%e5%a4%87%e8%87%aa%e5%8a%a8%e5%a4%87%e4%bb%bd%e7%b3%bb%e7%bb%9f%e6%90%ad%e5%bb%ba","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=4052","title":{"rendered":"\u8d85\u725b X \u7684\u4f01\u4e1a\u7ea7\u7f51\u7edc\u8bbe\u5907\u81ea\u52a8\u5907\u4efd\u7cfb\u7edf\u642d\u5efa"},"content":{"rendered":"<div class=\"wxsyncmain\">\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1; font-size: 24px;\"><strong>\u80cc\u666f<\/strong><\/span><\/p>\n<hr style=\"margin-top: 24px; margin-bottom: 24px; white-space: normal; box-sizing: content-box; height: 0.25em; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start;\" \/>\n<p style=\"white-space: normal;\">\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u7f51\u7edc\u8fd0\u7ef4\u7ba1\u7406\u7684\u7f51\u7edc\u8bbe\u5907\u5728\u91cf\u7ea7\u8f83\u5c0f\u7684\u65f6\u5019\uff0c\u4f20\u7edf\u7684\u7f51\u7edc\u914d\u7f6e\u5907\u4efd\u901a\u5e38\u662f\u4eba\u8089\u767b\u9646\u624b\u52a8\u5907\u4efd\uff0c\u968f\u7740\u7ba1\u7406\u7f51\u7edc\u8bbe\u5907\u8d8a\u6765\u8d8a\u591a\uff0c\u8fdb\u9636\u7684\u65b9\u5f0f\u901a\u5e38\u4f1a\u4f7f\u7528\u811a\u672c\u81ea\u52a8\u6293\u53d6\u914d\u7f6e\uff0c\u901a\u8fc7 FTP \u7b49\u628a\u914d\u7f6e\u4e0a\u4f20\u5230\u67d0\u5904\u5b58\u50a8\uff0c\u4f46\u5982\u679c\u53ef\u4ee5\u6709\u4e00\u4e2a\u5907\u4efd\u7cfb\u7edf\u4e0d\u9700\u8981\u4f60\u4f7f\u7528\u811a\u672c\u3001\u4e0d\u9650\u8bbe\u5907\u5382\u5546\u53ef\u4ee5\u652f\u6301\u56fd\u5185\u5916\u4e3b\u6d41\u7684\u7f51\u7edc\u8bbe\u5907\u3001\u540c\u65f6\u6709web\u754c\u9762,\u80fd\u591f\u67e5\u770b\u914d\u7f6e\u5dee\u5f02\u5bf9\u6bd4\uff0c\u540c\u65f6\u53ef\u4ee5\u540c\u65f6\u540c\u6b65\u914d\u7f6e\u5230\u5185\u90e8 Gitlab\u3002<\/span><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u800c\u6211\u4eec\u4eca\u5929\u8981\u804a\u7684\u5c31\u662f\u8fd9\u6837\u7684\u4e00\u4e2a\u7cfb\u7edf, \u800c\u4e14\u5b89\u88c5\u914d\u7f6e\u7b80\u5355,\u6700\u91cd\u8981<\/span><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\"><span style=\"box-sizing: inherit; font-family: 'Noto Serif', serif; font-size: 24pt; outline: 0px; vertical-align: baseline; text-align: start; text-size-adjust: auto; color: #ff0000; border: 0px initial initial;\">\u5f00\u6e90\u514d\u8d39<\/span><span style=\"caret-color: #333333; font-family: 'Noto Serif', serif; font-size: 19px; text-align: start; text-size-adjust: auto; background-color: #ffffff;\">\u00a0<\/span><\/span><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u771f\u6b63\u7684\u5927\u6740\u5668 \u4e0d\u8d1f\u201d\u6700\u597d\u7528\u201d\u4e4b\u540d\u3002<\/span><\/p>\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u00a0<\/span><\/p>\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u5b98\u7f51\u94fe\u63a5\uff1ahttps:\/\/github.com\/ytti\/oxidized<\/span><\/p>\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u00a0<\/span><\/p>\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1; font-size: 24px;\"><strong>oxidized\u642d\u5efa<\/strong><\/span><\/p>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"3\">\n<p style=\"box-sizing: border-box;\"><strong>\u73af\u5883\u51c6\u5907<\/strong><\/p>\n<\/blockquote>\n<table>\n<tbody>\n<tr class=\"ue-table-interlace-color-single\">\n<td valign=\"top\" width=\"165\">\n<section style=\"font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"font-size: 15px;\">\u7cfb\u7edf<br \/>\n<\/span><\/section>\n<\/td>\n<td valign=\"top\" width=\"145\">\n<section style=\"font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"font-size: 15px;\">nginx<\/span><\/section>\n<\/td>\n<td valign=\"top\" width=\"184\">\n<section style=\"font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"font-size: 15px;\">oxidized<br \/>\n<\/span><\/section>\n<\/td>\n<\/tr>\n<tr class=\"ue-table-interlace-color-double\">\n<td valign=\"top\" width=\"165\">\n<section style=\"font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"font-size: 15px;\">\u00a0Centos 7<br \/>\n<\/span><\/section>\n<\/td>\n<td valign=\"top\" width=\"145\">\n<section style=\"font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"font-size: 15px;\">1.18.0<br \/>\n<\/span><\/section>\n<\/td>\n<td valign=\"top\" width=\"184\">\n<section style=\"font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"font-size: 15px;\">0.28.0<\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u00a0<\/span><\/p>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"3\">\n<p style=\"box-sizing: border-box;\"><strong>\u5378\u8f7d\u7cfb\u7edf\u81ea\u5e26 ruby\uff0c\u56e0\u4e3a\u7cfb\u7edf\u81ea\u5e26\u7684\u7248\u672c\u4f4e\u4e8e\u9700\u8981\u7684\u7248\u672c\u8981\u6c42<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# sudo yum remove ruby ruby-devel<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"9\">\n<p style=\"box-sizing: border-box;\"><strong>\u5b89\u88c5\u5de5\u5177\u5305<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# sudo yum groupinstall \"Development Tools\"<\/pre>\n<p style=\"white-space: normal;\">\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"15\">\n<p style=\"box-sizing: border-box;\"><strong>\u5b89\u88c5 Ruby<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# wget https:\/\/cache.ruby-lang.org\/pub\/ruby\/2.5\/ruby-2.5.5.tar.gz\r\n[root@host ~]# tar -zxvf ruby-2.5.5.tar.gz\r\n[root@host ~]# cd ruby-2.5.5\r\n[root@host ~]# .\/configure\r\n[root@host ~]# make\r\n[root@host ~]# sudo make install<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"27\">\n<p style=\"box-sizing: border-box;\"><strong>\u5b89\u88c5\u6240\u6709\u4f9d\u8d56\u73af\u5883<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# yum install make cmake which sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"33\">\n<p style=\"box-sizing: border-box;\"><strong>\u5b89\u88c5 Oxidized<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# gem install oxidized\r\n[root@host ~]# gem install oxidized-script oxidized-web<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"40\">\n<p style=\"box-sizing: border-box;\"><strong><span style=\"caret-color: #6a737d; color: #6a737d; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; text-size-adjust: auto;\">\u5b89\u88c5\u5b8c\u6210\u540e\u9996\u6b21\u8fd0\u884c Oxidized\uff0c\u4f1a\u63d0\u793a\u53bb\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/span><\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# oxidized\r\nedit ~\/.config\/oxidized\/config<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"47\">\n<p style=\"box-sizing: border-box;\"><strong>\u7ec4\u4ef6\u8bf4\u660e<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\"><strong>config  \u6587\u4ef6: <\/strong>\u5c31\u7528\u6765\u5b58\u653e\u914d\u7f6e\u6587\u4ef6\r\n<strong>Sources \u5b57\u6bb5:<\/strong> \u6307\u51fa\u8981\u5907\u4efd\u8bbe\u5907\u7684\u5b58\u653e\u65b9\u5f0f\r\n<strong>Outputs \u5b57\u6bb5:<\/strong> \u6307\u51fa\u5907\u4efd\u6587\u4ef6\u5b58\u653e\u7684\u65b9\u5f0f\r\n<strong>model \u5b57\u6bb5\uff1a<\/strong>\u6307\u51fa\u8be5\u8bbe\u5907\u7684\u5382\u5546\u6240\u7528\u7684os\u540d\u79f0, \u6838\u5fc3\u529f\u80fd\u5c31\u662f\u9760\u8fd9\u4e2a\u5b9e\u73b0\u7684\u3002\r\n<strong>router.db\u6587\u4ef6<\/strong> \u53ef\u4ee5\u7406\u89e3\u6210 \u5b58\u653e\u88ab\u7ba1\u7406\u4e3b\u673a\u7684\u5730\u65b9<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"57\">\n<p style=\"box-sizing: border-box;\"><strong>\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# vi  ~\/.config\/oxidized\/config\r\nusername: username \/\/\u7528\u6237\u540d router.db\u4e2d\u8bfb\u53d6.\r\npassword: password \/\/\u5bc6\u7801   router.db\u4e2d\u8bfb\u53d6.\r\nmodel: junos       \/\/\u6a21\u578b   router.db\u4e2d\u8bfb\u53d6.\r\ninterval: 86400     \/\/\u5907\u4efd\u5468\u671f\uff08\u79d2\uff09\r\nuse_syslog: false  \/\/\u65e5\u5fd7\u5f00\u5173\r\ndebug: false       \/\/\u8bca\u65ad\u5f00\u5173\r\nthreads: 100        \/\/\u7ebf\u7a0b\r\ntimeout: 20        \/\/\u8d85\u65f6\r\nretries: 3         \/\/\u91cd\u8bd5\u6b21\u6570\r\nprompt: !ruby\/regexp \/^([w.@-]+[#&gt;]s?)$\/\r\nrest: 10.7.212.16:8888\r\nnext_adds_job: false\r\nvars: {}\r\ngroups: {}\r\nmodels: {}\r\npid: \"\/root\/.config\/oxidized\/pid\"\r\ninput:              \/\/\u8fde\u63a5\u8bbe\u5907\u6a21\u5f0f\r\n  default: ssh, telnet\r\n  debug: false\r\n  ssh:\r\n    secure: false\r\ndefault: git        \/\/\u8f93\u51fa\u5230git\uff0c\u7528\u6765\u914d\u7f6e\u5bf9\u6bd4\u4f7f\u7528\r\n  git:\r\n    user: Oxidized\r\n    email: o@example.com\r\n    repo: \"\/root\/.config\/oxidized\/git-repos\/default.git\"\r\nsource:\r\n  default: csv\r\n  csv:\r\n    file: \"\/root\/.config\/oxidized\/router.db\" \/\/\u50a8\u5b58\u8bbe\u5907\u4fe1\u606fIP\u3001Username\u3001Password \u7b49\r\n    delimiter: !ruby\/regexp \/:\/\r\n    map: \/\/\u8fde\u63a5\u987a\u5e8f\u683c\u5f0f\r\n      name: 0\r\n      model: 1\r\n      ip: 2\r\n      group: 3\r\n      username: 4\r\n      password: 5\r\n    vars_map:\r\n      enable: 6\r\n      comware_cmdline: 7\r\n    gpg: false\r\nmodel_map:\r\n  juniper: junos\r\n  cisco: ios\r\n  huawei: vrp<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"109\">\n<p style=\"box-sizing: border-box;\"><strong>\u7f16\u8f91\u5b8c\u914d\u7f6e\u6587\u4ef6\u540e\uff0c\u5728\u76f8\u540c\u8def\u5f84\u4e0b\u521b\u5efa\u4e00\u4e2a router.db\u6587\u4ef6\uff0c\u7528\u6765\u5b58\u50a8\u4e3b\u673a\u57fa\u672c\u4fe1\u606f\u5e76\u88ab config\u6587\u4ef6\u8c03\u7528vi ~\/.config\/oxidized\/router.db<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">test:vrp:172.16.0.1:test:test:test<\/pre>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"115\">\n<p style=\"box-sizing: border-box;\"><strong>\u518d\u6b21\u8fd0\u884c Oxidized\uff0c\u6d4b\u8bd5\u5907\u4efd\u8bbe\u5907\u914d\u7f6e\u6210\u529f<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# oxidized\r\nI, [2020-07-28T11:06:20.592961 #14850]  INFO -- : Oxidized starting, running as pid 14850\r\nI, [2020-07-28T11:06:20.593455 #14850]  INFO -- : lib\/oxidized\/nodes.rb: Loading nodes\r\nI, [2020-07-28T11:06:20.691863 #14850]  INFO -- : lib\/oxidized\/nodes.rb: Loaded 2 nodes\r\nPuma starting in single mode...\r\n* Version 3.11.4 (ruby 2.5.5-p157), codename: Love Song\r\n* Min threads: 0, max threads: 16\r\n* Environment: development\r\n* Listening on tcp:\/\/10.7.212.16:8888\r\nUse Ctrl-C to stop\r\nI, [2020-07-28T11:06:39.980781 #14850]  INFO -- : Configuration updated for test\/test<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"131\">\n<p style=\"box-sizing: border-box;\"><strong>\u9a8c\u8bc1\uff0c\u6253\u5f00 WEB \u9875\u9762 \uff0c\u7aef\u53e3\u00a0http:\/\/IP:8888\u00a0<\/strong><\/p>\n<\/blockquote>\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-9d1759336360e6e078f3c786c552d361.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages\" style=\"width: 100%; height: auto;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-9d1759336360e6e078f3c786c552d361.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-backh=\"123\" data-backw=\"578\" data-ratio=\"0.21319520174482007\" data-s=\"300,640\" data-type=\"png\" data-w=\"1834\" \/><\/div><\/p>\n<p style=\"text-align: center;\">\n<p style=\"white-space: normal;\"><span style=\"color: #4d4d4d; font-family: 'Microsoft YaHei', 'SF Pro Display', Roboto, Noto, Arial, 'PingFang SC', sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; letter-spacing: 0.544px; text-align: start; text-indent: 34px; widows: 1;\">\u00a0\u914d\u7f6e\u5bf9\u6bd4\u6f14\u793a<\/span><\/p>\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-c415a0c3a0c69e958767d6b85ed27bc0.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages\" style=\"width: 100%; height: auto;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-c415a0c3a0c69e958767d6b85ed27bc0.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.28013698630136985\" data-s=\"300,640\" data-type=\"png\" data-w=\"1460\" data-backw=\"578\" data-backh=\"162\" \/><\/div><\/p>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"131\">\n<p style=\"box-sizing: border-box;\"><strong>Oxidized Web \u53c2\u6570\u4ecb\u7ecd<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\"><strong>last status: <\/strong>\u7eff\u8272(\u5907\u4efd\u6b63\u5e38), \u84dd\u8272(\u6b63\u5728\u5907\u4efd), \u7ea2\u8272(\u5907\u4efd\u5931\u8d25)\r\n<strong>last update:<\/strong> \u4e0a\u4e00\u6b21\u5907\u4efd\u7684\u65f6\u95f4\r\n<strong>action:<\/strong> \u70b9\u51fb\u7b2c\u4e00\u4e2a\u56fe\u6807\u5c31\u80fd\u770b\u5230\u8bbe\u5907\u5907\u4efd\u6587\u4ef6\u5185\u5bb9\uff0c\u7b2c\u4e8c\u4e2a\u56fe\u6807\u4e3a\u914d\u7f6e\u6587\u4ef6\u6bd4\u5bf9\uff0c\u7b2c\u4e09\u4e2a\u56fe\u6807\u4e3a\u624b\u52a8\u5f3a\u5236\u5907\u4efd.<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"147\">\n<p style=\"box-sizing: border-box;\"><strong>\u5b89\u88c5 nginx \u670d\u52a1\uff0c\u9ed8\u8ba4 WEB \u4e0d\u63d0\u4f9b\u767b\u5f55\u8ba4\u8bc1\uff0c\u5b89\u88c5 nginx\u00a0\u8fdb\u884c\u767b\u5f55\u8ba4\u8bc1<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# sudo yum install nginx<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"153\">\n<p style=\"box-sizing: border-box;\"><strong>\u5b89\u88c5 httpd \u670d\u52a1<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# sudo yum install httpd-tools<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"159\">\n<p style=\"box-sizing: border-box;\"><strong>\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u7528\u4e8e\u5b58\u50a8\u7528\u6237\u4fe1\u606f<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# sudo mkdir \/usr\/local\/nginx\/\r\n[root@host ~]# sudo chown -R 777 \/usr\/local\/nginx\/<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"166\">\n<p style=\"box-sizing: border-box;\"><strong>\u521b\u5efa web \u767b\u5f55\u8ba4\u8bc1\u7528\u6237<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# htpasswd -c \/usr\/local\/nginx\/.htpasswd oxidized\r\nNew password:\r\nRe-type new password:\r\nAdding password for user oxidized<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"175\">\n<p style=\"box-sizing: border-box;\"><strong>\u4fee\u6539 nginx\u914d\u7f6e\u6587\u4ef6\u5982\u4e0b\uff1a<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# vi \/etc\/nginx\/conf.d\/default.conf\r\n server {\r\n    listen       80;\r\n    server_name  10.7.212.16;\r\n    location \/ {\r\n        root   \/usr\/share\/nginx\/html;\r\n        index  index.html index.htm;\r\n        auth_basic \"Welcome to Oxidized WEB Login\";\r\n        auth_basic_user_file \/usr\/local\/nginx\/.htpasswd;\r\n        proxy_pass http:\/\/10.7.212.16:8888;\r\n    }<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"191\">\n<p style=\"box-sizing: border-box;\"><strong>\u8d4b\u4e88nginx \u914d\u7f6e\u6587\u4ef6\u6743\u9650\uff0c\u5e76\u542f\u52a8 nginx<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# sudo chown -R 777 \/usr\/local\/nginx\/\r\n[root@host ~]# systemctl enable nginx &amp;&amp; systemctl start nginx<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"199\">\n<p style=\"box-sizing: border-box;\"><strong>\u767b\u5f55 web \u754c\u9762\u63d0\u793a\u8f93\u5165\u7528\u6237\u540d\u5bc6\u7801\uff0c\u7528\u4e4b\u524d\u521b\u5efa\u7684\u7528\u6237\u8ba4\u8bc1\u6210\u529f\u540e\u8df3\u8f6c\u5230 Oxidized<\/strong><\/p>\n<\/blockquote>\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-159a198a5fef157462ccc4abfab989da.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages\" style=\"width: 100%; height: auto;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-159a198a5fef157462ccc4abfab989da.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.48884381338742394\" data-s=\"300,640\" data-type=\"png\" data-w=\"493\" data-backw=\"493\" data-backh=\"241\" \/><\/div><\/p>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"140\">\n<p style=\"box-sizing: border-box;\"><strong>\u6700\u540e\u628a Oxidized nohub \u8bbe\u7f6e\u4e3a\u540e\u53f0\u8fd0\u884c\u5c31\u884c\u5566\uff01<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">[root@host ~]# nohup oxidized &gt;&gt; \/var\/log\/oxidized.log 2&gt;&amp;1 &amp;<\/pre>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.5em; font-weight: 600; line-height: 1.25; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"245\"><\/h3>\n<h3 style=\"box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.5em; font-weight: 600; line-height: 1.25; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"245\">\u8e29\u8fc7\u7684\u5751<\/h3>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"247\">\n<p style=\"box-sizing: border-box;\"><strong>\u534e\u4e3a\u9632\u706b\u5899HRP\u5907\u4efd\u5931\u8d25<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">$ \u8fdb\u5165\u6a21\u5757\u76ee\u5f55\r\n[root@host ~]#  cd \/opt\/rh\/rh-ruby25\/root\/usr\/local\/share\/gems\/gems\/oxidized-0.28.0\/lib\/oxidized\/model\r\n$ \u4fee\u6539 vrp.rb \u914d\u7f6e\u6587\u4ef6\r\n[root@host ~]# vi vrp.rb\r\n$ \u4fee\u6539\u5982\u4e0b\uff1a\r\nprompt \/^(HRP_[MS])?(&lt;[w.-]+&gt;)$\/<\/pre>\n<hr style=\"box-sizing: content-box; height: 0.25em; margin-top: 24px; margin-bottom: 24px; background-color: #e1e4e8; border-width: 0px; border-bottom-color: #eeeeee; caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" \/>\n<blockquote style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-top: 0px; padding-right: 1em; padding-left: 1em; color: #6a737d; border-left-width: 0.25em; border-left-color: #dfe2e5; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal; text-size-adjust: auto;\" data-source-line=\"257\">\n<p style=\"box-sizing: border-box;\"><strong>nginx \u5b89\u88c5\u5931\u8d25<\/strong><\/p>\n<\/blockquote>\n<pre style=\"box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; caret-color: #24292e; color: #24292e; text-align: start; text-size-adjust: auto;\">$ \u65b0\u5efa vim nginx.repo \u6587\u4ef6\r\n[root@host ~]#  vi \/etc\/yum.repos.d\/\r\n[nginx-stable]\r\nname=nginx stable repo\r\nbaseurl=http:\/\/nginx.org\/packages\/centos\/$releasever\/$basearch\/\r\ngpgcheck=1\r\nenabled=1\r\ngpgkey=https:\/\/nginx.org\/keys\/nginx_signing.key<\/pre>\n<p>[nginx-mainline]<br \/>\nname=nginx mainline repo<br \/>\nbaseurl=http:\/\/nginx.org\/packages\/mainline\/centos\/$releasever\/$basearch\/<br \/>\ngpgcheck=1<br \/>\nenabled=0<br \/>\ngpgkey=https:\/\/nginx.org\/keys\/nginx_signing.key<\/p>\n<p><strong>\u7136\u540e\u518d yum -y install nginx \u5c31\u53ef\u4ee5\u6b63\u5e38\u5b89\u88c5\u5566\uff01<\/strong><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f \u7f51\u7edc\u8fd0\u7ef4\u7ba1\u7406\u7684\u7f51\u7edc\u8bbe\u5907\u5728\u91cf\u7ea7\u8f83\u5c0f\u7684\u65f6\u5019\uff0c\u4f20\u7edf\u7684\u7f51\u7edc\u914d\u7f6e\u5907\u4efd\u901a\u5e38\u662f\u4eba\u8089\u767b\u9646\u624b\u52a8\u5907\u4efd\uff0c\u968f\u7740\u7ba1\u7406\u7f51\u7edc\u8bbe\u5907\u8d8a\u6765\u8d8a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-4052","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/4052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4052"}],"version-history":[{"count":2,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/4052\/revisions"}],"predecessor-version":[{"id":4086,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/4052\/revisions\/4086"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}