{"id":2115,"date":"2017-04-24T07:38:00","date_gmt":"2017-04-23T23:38:00","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=2115"},"modified":"2017-04-24T07:38:00","modified_gmt":"2017-04-23T23:38:00","slug":"cacti%e9%87%8d%e7%bd%ae%e5%af%86%e7%a0%81","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/qianduan\/cacti%e9%87%8d%e7%bd%ae%e5%af%86%e7%a0%81\/","title":{"rendered":"cacti\u91cd\u7f6e\u5bc6\u7801"},"content":{"rendered":"<p>\u4e0a\u6b21\u767b\u5f55cacti\u53d1\u73b0\uff0c\u603b\u662f\u63d0\u793a\u5bc6\u7801\u9519\u8bef\uff0c\u539f\u6765\u5bc6\u7801\u88ab\u4fee\u6539\u4e86\uff0c\u5c3d\u7ba1\u540e\u6765\u767b\u4e0a\u4e86\uff0c\u7136\u540e\u5c31\u60f3\u7740\u4e07\u4e00\u65f6\u95f4\u4e45\u4e86\uff0c\u5bc6\u7801\u5fd8\u4e86\uff0c\u5982\u4f55\u627e\u56de\u5462\uff1f<\/p>\n<p>\u7f51\u4e0a\u6709\u5f88\u591a\u5173\u4e8ecacti\u91cd\u7f6e\u5bc6\u7801\u7684\u4ecb\u7ecd\uff0c\u4f46\u6211\u89c9\u5f97\u8fd9\u4e00\u7bc7\u4e0d\u9519\uff0c\u5c31\u6458\u5f55\u4e0b\u6765\u4e86\uff0c\u4ec5\u4f9b\u53c2\u8003<\/p>\n<p>\u7528root\u7528\u6237\u8fdb\u5165\u7cfb\u7edf<\/p>\n<p>[root@localhsot]# mysql -u root -p<br \/>\nmysql&gt; show databases;<br \/>\nmysql&gt; use cacti;<br \/>\nmysql&gt; show tables;<br \/>\nmysql&gt; select from user_auth;<br \/>\nmysql&gt; update user_auth set password=md5(&#8220;cactipasswd&#8221;) where id=&#8217;1&#8242;;<\/p>\n<p>\u73b0\u5728cacti\u65b0\u5bc6\u7801\u5c31\u662fcactipasswd<\/p>\n<p><wbr \/><\/p>\n<p>\u5b9e\u4f8b\u5982\u4e0b\uff1a<br \/>\n[root@localhost ~]# mysql -uroot -p<br \/>\nEnter password:<br \/>\nWelcome to the MySQL monitor.\u00a0<wbr \/><wbr \/>\u00a0<wbr \/>Commands end with ; or \\g.<br \/>\nYour MySQL connection id is 28<br \/>\nServer version: 5.0.77 Source distribution<\/p>\n<p>Type &#8216;help;&#8217; or &#8216;\\h&#8217; for help. Type &#8216;\\c&#8217; to clear the buffer.<\/p>\n<p>mysql&gt; use cacti;<br \/>\nReading table information for completion of table and column names<br \/>\nYou can turn off this feature to get a quicker startup with -A<\/p>\n<p>Database changed<br \/>\nmysql&gt; update user_auth set password=md5(&#8220;cactipasswd&#8221;) where id=&#8217;1&#8242;;<br \/>\nQuery OK, 1 row affected (0.00 sec)<br \/>\nRows matched: 1\u00a0<wbr \/><wbr \/>\u00a0<wbr \/>Changed: 1\u00a0<wbr \/><wbr \/>\u00a0<wbr \/>Warnings: 0<\/p>\n<p>mysql&gt; quit;<br \/>\nBye<br \/>\n[root@localhost ~]#<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u6b21\u767b\u5f55cacti\u53d1\u73b0\uff0c\u603b\u662f\u63d0\u793a\u5bc6\u7801\u9519\u8bef\uff0c\u539f\u6765\u5bc6\u7801\u88ab\u4fee\u6539\u4e86\uff0c\u5c3d\u7ba1\u540e\u6765\u767b\u4e0a\u4e86\uff0c\u7136\u540e\u5c31\u60f3\u7740\u4e07\u4e00\u65f6\u95f4\u4e45\u4e86\uff0c\u5bc6\u7801\u5fd8\u4e86\uff0c &#8230; <a title=\"cacti\u91cd\u7f6e\u5bc6\u7801\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/qianduan\/cacti%e9%87%8d%e7%bd%ae%e5%af%86%e7%a0%81\/\" aria-label=\"\u9605\u8bfb cacti\u91cd\u7f6e\u5bc6\u7801\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,49,10],"tags":[],"class_list":["post-2115","post","type-post","status-publish","format-standard","hentry","category-qianduan","category-linux","category-shujuku"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=2115"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2115\/revisions"}],"predecessor-version":[{"id":2116,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2115\/revisions\/2116"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=2115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=2115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=2115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}