{"id":8346,"date":"2025-04-18T16:34:53","date_gmt":"2025-04-18T08:34:53","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/8346.html"},"modified":"2025-04-18T16:34:53","modified_gmt":"2025-04-18T08:34:53","slug":"linux%e4%b8%adwgcloud%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8e%e5%ae%a2%e6%88%b7%e7%ab%af%e7%9b%91%e6%8e%a7%e7%b3%bb%e7%bb%9f%e5%ae%8c%e6%95%b4%e9%83%a8%e7%bd%b2%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/8346.html","title":{"rendered":"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b)"},"content":{"rendered":"<\/p>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"gGpWt-toc\" style=\"margin-left:40px\">Server\u90e8\u7f72WgCloud<\/p>\n<p id=\"yiGTW-toc\" style=\"margin-left:40px\">1.\u73af\u5883\u524d\u914d\u7f6e&#xff1a;<\/p>\n<p id=\"GnHQh-toc\" style=\"margin-left:40px\">2.Mysql\u90e8\u7f72\u6559\u7a0b<\/p>\n<p id=\"50efe271-toc\" style=\"margin-left:80px\">\u4e8c\u3001\u89e3\u538b\u5b89\u88c5 MySQL<\/p>\n<p id=\"361500ef-toc\" style=\"margin-left:80px\">\u4e09\u3001\u914d\u7f6e MySQL<\/p>\n<p id=\"8eee3882-toc\" style=\"margin-left:80px\">\u56db\u3001\u914d\u7f6e\u7cfb\u7edf\u670d\u52a1<\/p>\n<p id=\"5917e418-toc\" style=\"margin-left:80px\">\u4e94\u3001\u9996\u6b21\u767b\u5f55\u548c\u5bc6\u7801\u4fee\u6539<\/p>\n<p id=\"90ebc26e-toc\" style=\"margin-left:80px\">\n<p id=\"zOhrg-toc\" style=\"margin-left:40px\">3.\u4e0b\u8f7dWgCloud\u5b89\u88c5\u5305<\/p>\n<p id=\"b4cbe811-toc\" style=\"margin-left:80px\">\u6b65\u9aa4 2&#xff1a;\u521b\u5efa\u6570\u636e\u5e93<\/p>\n<p id=\"7a2c7bf0-toc\" style=\"margin-left:80px\">\u6b65\u9aa4 3&#xff1a;\u5bfc\u5165 SQL \u6587\u4ef6<\/p>\n<p id=\"SXAT0-toc\" style=\"margin-left:80px\">\u6b65\u9aa4 3&#xff1a;\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/p>\n<p id=\"tOW9A-toc\" style=\"margin-left:120px\">\u4fee\u6539Server<\/p>\n<p id=\"eZmxB-toc\" style=\"margin-left:120px\">\u4fee\u6539Agent<\/p>\n<p id=\"ptYGg-toc\" style=\"margin-left:120px\">\u542f\u52a8\u6210\u529f<\/p>\n<p id=\"cyPYG-toc\" style=\"margin-left:40px\">4.\u5ba2\u6237\u7aef\u914d\u7f6e<\/p>\n<p id=\"fdTbG-toc\" style=\"margin-left:120px\">\u7b2c\u4e00\u79cd\u81ea\u52a8\u5316\u90e8\u7f72<\/p>\n<p id=\"ce11a1d5-toc\" style=\"margin-left:200px\">\u5c06\u6307\u4ee4\u4e2d\u7684http:\/\/localhost:9999\u66ff\u6362\u4e3a\u81ea\u5df1\u7684server\u4e3b\u673aIP\u548c\u7aef\u53e3&#xff0c;\u8fd9\u4e2a\u662f\u7528\u4e8e\u8bbe\u7f6eagent\u7684\u914d\u7f6e\u9879serverUrl<\/p>\n<p id=\"50c2bd9b-toc\" style=\"margin-left:200px\">\u5c06\u6307\u4ee4\u4e2d\u7684192.168.14.113\u66ff\u6362\u4e3a\u81ea\u5df1\u7684agent\u88ab\u63a7\u4e3b\u673aIP&#xff0c;\u8fd9\u4e2a\u662f\u7528\u4e8e\u8bbe\u7f6eagent\u7684\u914d\u7f6e\u9879bindIp&#xff0c;\u4e5f\u5c31\u662fagent\u4e3b\u673aIP<\/p>\n<p id=\"j1wUl-toc\" style=\"margin-left:40px\">5.\u6210\u529f\u90e8\u7f72&#xff01;&#xff01;&#xff01;&#xff01;<\/p>\n<p id=\"SQlSw-toc\" style=\"margin-left:40px\">6.\u6ce8\u610f\u4e8b\u9879(\u6392\u9519)<\/p>\n<p id=\"afce2613-toc\" style=\"margin-left:80px\">\u67e5\u770b MySQL \u9519\u8bef\u65e5\u5fd7<\/p>\n<hr id=\"hr-toc\" \/>\n<p id=\"udda622b1\">\u6d4b\u8bd5\u7684\u73af\u5883&#xff1a;<\/p>\n<p id=\"u77a76024\">\u672c\u4eba\u4f7f\u7528\u865a\u62df\u673a Centos7\u7cfb\u7edf\u6765\u6d4b\u8bd5<\/p>\n<p id=\"u2a5793b9\">\u5206\u4e3a\u670d\u52a1\u5668\u548c\u94fe\u63a5\u7aef<\/p>\n<p id=\"ufd703e51\">ServerIP&#xff1a;192.168.14.113 \/24<\/p>\n<p id=\"u77f11aa4\">AgentIP&#xff1a;192.168.14.114 \/24<\/p>\n<p id=\"udd81c790\">\n<p id=\"ue226face\">\u63a5\u4e0b\u6765\u6211\u4f1a\u518dserer\u7aef\u90e8\u7f72wgcloud<\/p>\n<p id=\"ua3535f33\">\u7136\u540e\u5ba2\u6237\u90fd\u5b89\u94fe\u63a5\u670d\u52a1\u5668 \u4ece\u800c\u8fbe\u6210\u670d\u52a1\u5668\u53ef\u540e\u53f0\u76d1\u63a7\u5ba2\u7aef\u7684\u5404\u9879\u4fe1\u606f\u53c2\u6570 cpu \u5185\u5b58 \u786c\u76d8\u7b49<\/p>\n<p id=\"u1cb309de\">\n<p id=\"ubeb41e49\">\u63a5\u4e0b\u6765\u662f\u6559\u7a0b &#xff08;\u4ece\u4e0a\u5f80\u4e0b\u4e00\u6b65\u6b65\u505a&#xff01;&#xff09;<\/p>\n<p id=\"u281103e9\">\n<h3 id=\"gGpWt\" style=\"background-color:transparent\">Server\u90e8\u7f72WgCloud<\/h3>\n<h3 id=\"yiGTW\">1.\u73af\u5883\u524d\u914d\u7f6e&#xff1a;<\/h3>\n<p id=\"u4b98c561\">\u5b89\u88c5java\u73af\u5883<\/p>\n<p id=\"u7cfe7818\">server\u6240\u5728\u4e3b\u673a\u9700\u8981JDK\u73af\u5883&#xff08;JDK1.8\u3001JDK11\u90fd\u53ef\u4ee5&#xff09;&#xff0c;OpenJDK\u4e5f\u53ef\u4ee5&#xff0c;\u66f4\u9ad8\u7248\u672cJDK\u4e5f\u652f\u6301&#xff0c;\u4e00\u822c\u63a8\u8350\u4f7f\u7528JDK1.8\u6216JDK11<\/p>\n<p id=\"uee296e39\">\u65b9\u5f0f\u6709\u5f88\u591a \u53ea\u8981\u80fd\u5b89\u88c5\u597d\u5c31\u884c<\/p>\n<p>yum install -y java-1.8.0-openjdk <\/p>\n<p id=\"uc3ae2c1c\">\u5b89\u88c5\u5b8c\u6210\u68c0\u6d4b<\/p>\n<p>openjdk version &#034;1.8.0_292&#034;<br \/>\nOpenJDK Runtime Environment (build 1.8.0_292-b10)<br \/>\nOpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)<\/p>\n<p id=\"uc364d5b5\">\n<p id=\"ubde1c0c0\">\n<p id=\"u3b8e44c3\">\u9996\u5148\u8981\u90e8\u7f72\u597dMySQL\u6570\u636e\u5e93 \u6765\u521b\u5efa\u5bfc\u5165WgCloud\u7684\u6570\u636e\u5e93 \u4ece\u800c\u5b9e\u73b0\u90e8\u7f72<\/p>\n<p id=\"u68c1591d\">\u4ee5\u4e0b\u5c31\u662f\u5b89\u88c5\u90e8\u7f72mysql\u7684\u6559\u7a0b<\/p>\n<h3 id=\"GnHQh\">2.Mysql\u90e8\u7f72\u6559\u7a0b<\/h3>\n<p id=\"u143df1bc\">\u5b98\u65b9\u7f51\u7ad9<\/p>\n<p>wget https:\/\/dev.mysql.com\/get\/Downloads\/MySQL-5.7\/mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz <\/p>\n<p id=\"ue59734ec\">\u534e\u4e2d\u79d1\u6280\u5927\u5b66\u955c\u50cf&#xff1a;<\/p>\n<p>wget https:\/\/mirrors.hust.edu.cn\/mysql\/downloads\/MySQL-5.7\/mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz <\/p>\n<p id=\"ub9add049\">\u4e2d\u79d1\u5927\u955c\u50cf&#xff1a;<\/p>\n<p>wget https:\/\/mirrors.ustc.edu.cn\/mysql-ftp\/Downloads\/MySQL-5.7\/mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz <\/p>\n<p id=\"u88f17547\">\u65b9\u6848\u4e09&#xff1a;\u624b\u52a8\u4e0b\u8f7d\u540e\u4e0a\u4f20<\/p>\n<li id=\"u63b2bc6c\">\u5728\u60a8\u7684\u672c\u5730\u7535\u8111\u4e0a\u8bbf\u95ee\u4ee5\u4e0b\u94fe\u63a5\u4e0b\u8f7d&#xff1a;<\/li>\n<ul>\n<li>\n<ul>\n<li id=\"uc0f8ebc4\">https:\/\/downloads.mysql.com\/archives\/community\/<\/li>\n<li id=\"ud9f60f53\">\u9009\u62e9 MySQL Community Server 5.7.28<\/li>\n<li id=\"u5fd107e7\">\u9009\u62e9 Linux-Generic \u7248\u672c<\/li>\n<li id=\"u06fa5fea\">\u4e0b\u8f7d mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li id=\"u2360091d\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1108\" id=\"u88a74bfd\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083440-68020ea03c6ce.png\" width=\"2357\" \/><\/p>\n<\/li>\n<\/ul>\n<p id=\"u7d238197\">\n<p id=\"u12b02eb7\">\u6211\u5df2\u7ecf\u4e0b\u8f7d\u4e0a\u4f20\u5b8c\u6bd5<\/p>\n<p id=\"ub95c5017\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"204\" id=\"ud26eb810\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083441-68020ea147ce2.png\" width=\"1273\" \/><\/p>\n<p id=\"u2fc67461\">\n<li id=\"u83be997d\">\u9996\u5148\u68c0\u67e5\u7cfb\u7edf\u73af\u5883&#xff1a;<\/li>\n<p># \u67e5\u770b\u7cfb\u7edf\u7248\u672c<br \/>\ncat \/etc\/redhat-release<\/p>\n<p># \u68c0\u67e5\u7cfb\u7edf\u4f4d\u6570<br \/>\nuname -a <\/p>\n<p id=\"udd8b8139\">\u5b89\u88c5\u5fc5\u9700\u7684\u4f9d\u8d56\u5305&#xff1a;<\/p>\n<p># \u5b89\u88c5\u57fa\u7840\u5de5\u5177<br \/>\nyum -y install gcc vim wget net-tools lrzsz<\/p>\n<p># \u5b89\u88c5 MySQL \u4f9d\u8d56\u5305<br \/>\nyum -y install libaio <\/p>\n<p id=\"u072f1ad3\">\u521b\u5efa MySQL \u7528\u6237\u548c\u7ec4&#xff1a;<\/p>\n<p>groupadd mysql<br \/>\nuseradd -M -s \/sbin\/nologin mysql -g mysql <\/p>\n<p id=\"u1851308b\">\u5173\u95ed SELinux \u548c\u9632\u706b\u5899&#xff1a;<\/p>\n<p># \u6c38\u4e45\u5173\u95ed SELinux<br \/>\nsed -i &#039;s\/SELINUX&#061;enforcing\/SELINUX&#061;disabled\/&#039; \/etc\/selinux\/config<br \/>\n# \u4e34\u65f6\u5173\u95ed<br \/>\nsetenforce 0<\/p>\n<p># \u5173\u95ed\u9632\u706b\u5899<br \/>\nsystemctl stop firewalld<br \/>\nsystemctl disable firewalld <\/p>\n<h4 id=\"50efe271\">\u4e8c\u3001\u89e3\u538b\u5b89\u88c5 MySQL<\/h4>\n<li id=\"u5da79700\">\u89e3\u538b\u5e76\u79fb\u52a8\u5230\u6307\u5b9a\u76ee\u5f55&#xff1a;<\/li>\n<p>cd \/usr\/local\/src  #\u6839\u636e\u4f60\u7684\u76ee\u5f55\u6765<br \/>\ntar zxf mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz<br \/>\nmv mysql-5.7.28-linux-glibc2.12-x86_64 \/usr\/local\/mysql <\/p>\n<li id=\"u778d8b3a\">\u521b\u5efa\u6570\u636e\u76ee\u5f55&#xff1a;<\/li>\n<p>mkdir \/usr\/local\/mysql\/data<br \/>\nchown -R mysql:mysql \/usr\/local\/mysql\/ <\/p>\n<h4 id=\"361500ef\">\u4e09\u3001\u914d\u7f6e MySQL<\/h4>\n<li id=\"uccd7cd8f\">\u521b\u5efa\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/li>\n<p>cat &gt; \/etc\/my.cnf &lt;&lt; EOF<br \/>\n[client]<br \/>\nsocket&#061;\/usr\/local\/mysql\/data\/mysql.sock<\/p>\n<p>[mysqld]<br \/>\nsocket&#061;\/usr\/local\/mysql\/data\/mysql.sock<br \/>\nbind-address &#061; 0.0.0.0<br \/>\nskip-name-resolve<br \/>\nport &#061; 3306<br \/>\nbasedir&#061;\/usr\/local\/mysql<br \/>\ndatadir&#061;\/usr\/local\/mysql\/data<br \/>\nmax_connections&#061;2048<br \/>\ncharacter-set-server&#061;utf8<br \/>\ndefault-storage-engine&#061;INNODB<br \/>\nlower_case_table_names&#061;1<br \/>\nmax_allowed_packet&#061;16M<br \/>\nEOF <\/p>\n<p id=\"uf0f29a8e\">\u521d\u59cb\u5316\u6570\u636e\u5e93&#xff08;\u8bf7\u52a1\u5fc5\u8bb0\u5f55\u4e34\u65f6\u5bc6\u7801&#xff09;&#xff1a;<\/p>\n<p id=\"u2b64b224\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"514\" id=\"z5GTD\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083441-68020ea1630d8.png\" width=\"1699\" \/><\/p>\n<p>cd \/usr\/local\/mysql\/bin<br \/>\n.\/mysqld &#8211;initialize &#8211;user&#061;mysql &#8211;basedir&#061;\/usr\/local\/mysql &#8211;datadir&#061;\/usr\/local\/mysql\/data <\/p>\n<p id=\"udcdb04f4\">\u914d\u7f6e\u73af\u5883\u53d8\u91cf&#xff1a;<\/p>\n<p>echo &#034;export PATH&#061;\\\\$PATH:\/usr\/local\/mysql\/bin&#034; &gt;&gt; \/etc\/profile<br \/>\nsource \/etc\/profile <\/p>\n<p id=\"u256460f2\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1049\" id=\"u4063ad72\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083441-68020ea1d1768.png\" width=\"1628\" \/><\/p>\n<h4 id=\"8eee3882\">\u56db\u3001\u914d\u7f6e\u7cfb\u7edf\u670d\u52a1<\/h4>\n<p id=\"u527d6198\">\u914d\u7f6e\u542f\u52a8\u811a\u672c&#xff1a;<\/p>\n<p>cp \/usr\/local\/mysql\/support-files\/mysql.server \/etc\/init.d\/mysqld<br \/>\nchmod &#043;x \/etc\/init.d\/mysqld <\/p>\n<p id=\"ue70c9408\">\u521b\u5efa systemd \u670d\u52a1\u6587\u4ef6&#xff1a;<\/p>\n<p>cat &gt; \/lib\/systemd\/system\/mysqld.service &lt;&lt; EOF<br \/>\n[Unit]<br \/>\nDescription&#061;mysqld<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\nType&#061;forking<br \/>\nExecStart&#061;\/etc\/init.d\/mysqld start<br \/>\nExecReload&#061;\/etc\/init.d\/mysqld restart<br \/>\nExecStop&#061;\/etc\/init.d\/mysqld stop<br \/>\nPrivateTmp&#061;true<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<br \/>\nEOF <\/p>\n<p id=\"u1431888b\">\u542f\u52a8 MySQL&#xff1a;<\/p>\n<p>systemctl daemon-reload<br \/>\nsystemctl enable mysqld<br \/>\nsystemctl start mysqld <\/p>\n<p id=\"u91ecf58d\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"264\" id=\"ub424451b\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083442-68020ea287847.png\" width=\"1709\" \/><\/p>\n<p id=\"ud72d94c2\">\n<p id=\"u1885e769\">\u68c0\u67e5\u670d\u52a1\u72b6\u6001&#xff1a;<\/p>\n<p>systemctl status mysqld<br \/>\nnetstat -tunlp | grep 3306 <\/p>\n<p id=\"u5f70d431\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"578\" id=\"u513ab0c3\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083442-68020ea2c10d9.png\" width=\"1727\" \/><\/p>\n<p id=\"uf096bbe8\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1018\" id=\"ube211e75\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083443-68020ea3461f1.png\" width=\"1720\" \/><\/p>\n<h4 id=\"5917e418\">\u4e94\u3001\u9996\u6b21\u767b\u5f55\u548c\u5bc6\u7801\u4fee\u6539<\/h4>\n<p id=\"ua194a729\">\u67e5\u770b\u4e34\u65f6\u5bc6\u7801&#xff1a;<\/p>\n<p>grep &#039;temporary password&#039; \/usr\/local\/mysql\/data\/error.log <\/p>\n<p id=\"u839ff6c1\">\u767b\u5f55\u5e76\u4fee\u6539\u5bc6\u7801&#xff1a;<\/p>\n<p>mysql -u root -p<br \/>\n# \u8f93\u5165\u4e34\u65f6\u5bc6\u7801<\/p>\n<p># \u5728 MySQL \u547d\u4ee4\u884c\u4e2d\u6267\u884c&#xff1a;<br \/>\nALTER USER &#039;root&#039;&#064;&#039;localhost&#039; IDENTIFIED BY &#039;YourNewPassword123!&#039;; <\/p>\n<p id=\"u3826edcd\">\n<h4 id=\"90ebc26e\"><\/h4>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"600\" id=\"u4575156c\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083443-68020ea3edff4.png\" width=\"1247\" \/><\/p>\n<p id=\"uadf53835\">\n<p id=\"u1a0827f9\">\u8fdb\u5165\u6570\u636e\u5e93\u4e4b\u540e<\/p>\n<p>[root&#064;localhost bin]# mysql -u root -p<br \/>\nEnter password:<br \/>\nWelcome to the MySQL monitor.  Commands end with ; or \\\\g.<br \/>\nYour MySQL connection id is 2<br \/>\nServer version: 5.7.28<\/p>\n<p>Copyright (c) 2000, 2019, Oracle and\/or its affiliates. All rights reserved.<\/p>\n<p>Oracle is a registered trademark of Oracle Corporation and\/or its<br \/>\naffiliates. Other names may be trademarks of their respective<br \/>\nowners.<\/p>\n<p>Type &#039;help;&#039; or &#039;\\\\h&#039; for help. Type &#039;\\\\c&#039; to clear the current input statement.<\/p>\n<p>mysql&gt; ALTER USER &#039;root&#039;&#064;&#039;localhost&#039; IDENTIFIED BY &#039;Abc-1234&#039;;<br \/>\nQuery OK, 0 rows affected (0.00 sec)<\/p>\n<p>mysql&gt;  <\/p>\n<p id=\"u8800b504\">\n<p id=\"u4809f752\">\n<h3 id=\"zOhrg\">3.\u4e0b\u8f7dWgCloud\u5b89\u88c5\u5305<\/h3>\n<p id=\"ud9a2ff48\">\n<p id=\"u77641d21\">\u8fdb\u5165\u5b98\u65b9\u627e\u6e90\u7801\u5305<\/p>\n<p id=\"ud2f7b372\">\u4e0b\u8f7dWGCLOUD\u5b89\u88c5\u5305 &#8211; WGCLOUD\u5b98\u7f51<\/p>\n<p id=\"u08fea500\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"905\" id=\"u01cc71f3\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083444-68020ea44a732.png\" width=\"1648\" \/><\/p>\n<p id=\"uc2c77e8e\">\n<p id=\"u1556a6ee\">\u4e0a\u4f20\u670d\u52a1\u5668<\/p>\n<p id=\"u02663f2e\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"302\" id=\"u885c87ef\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083444-68020ea4e064c.png\" width=\"1396\" \/><\/p>\n<p>[root&#064;localhost ~]# ls<br \/>\n   wgcloud-v3.5.7<br \/>\n[root&#064;localhost ~]# tar -zxf wgcloud-v3.5.7.tar.gz<br \/>\n[root&#064;localhost ~]# cd wgcloud-v3.5.7<br \/>\n[root&#064;localhost wgcloud-v3.5.7]# ls<br \/>\nagent  server  sql <\/p>\n<p id=\"ubdab5814\">\u63a5\u4e0b\u6765\u6211\u4eec\u8981\u7528\u5230\u6570\u636e\u5e93 \u628asql\u7684\u6570\u636e\u5e93\u6587\u4ef6 \u5bfc\u5165\u6211\u4eec\u81ea\u5df1\u7684mysql\u6570\u636e\u5e93<\/p>\n<p id=\"ufedb1ac7\">\n<h4 id=\"b4cbe811\">\u6b65\u9aa4 2&#xff1a;\u521b\u5efa\u6570\u636e\u5e93<\/h4>\n<p id=\"uc2c52efa\">\u6211\u4eec\u5148\u8fdb\u5165mysql\u521b\u5efa\u4e00\u4e2a\u6570\u636e\u5e93\u548c\u8868<\/p>\n<p id=\"u67dd892f\">\u6309\u7167\u6211\u7684\u6765\u590d\u5236 \u521b\u5efa\u5373\u53ef<\/p>\n<li id=\"u7152b327\">\u521b\u5efa\u540d\u4e3a wgcloud \u7684\u6570\u636e\u5e93 \u767b\u5f55\u6570\u636e\u5e93\u540e&#xff0c;\u6267\u884c\u4ee5\u4e0b SQL \u547d\u4ee4\u521b\u5efa\u6570\u636e\u5e93&#xff1a;<\/li>\n<p>CREATE DATABASE wgcloud CHARACTER SET utf8 COLLATE utf8_general_ci; <\/p>\n<li id=\"u97517bc2\">\u786e\u8ba4\u6570\u636e\u5e93\u521b\u5efa\u6210\u529f \u67e5\u770b\u6570\u636e\u5e93\u662f\u5426\u5df2\u521b\u5efa&#xff1a;<\/li>\n<p>SHOW DATABASES; <\/p>\n<p id=\"ua73b837c\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1062\" id=\"sB5qp\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083445-68020ea5102cb.png\" width=\"1397\" \/><\/p>\n<hr id=\"BOYYS\" \/>\n<h4 id=\"7a2c7bf0\">\u6b65\u9aa4 3&#xff1a;\u5bfc\u5165 SQL \u6587\u4ef6<\/h4>\n<li id=\"ud0ece783\">\u89e3\u538b\u5b89\u88c5\u5305 \u89e3\u538b\u4e0a\u4f20\u7684 wgcloud-v3.5.7.tar.gz \u6587\u4ef6&#xff1a;<\/li>\n<p>tar -xvf wgcloud-v3.5.7.tar.gz<br \/>\ncd wgcloud-v3.5.7\/sql <\/p>\n<li id=\"uf671e074\">\u9009\u62e9\u5bf9\u5e94\u7684 SQL \u6587\u4ef6 \u6839\u636e\u4f60\u7684\u6570\u636e\u5e93\u7c7b\u578b\u9009\u62e9\u5bf9\u5e94\u7684 SQL \u6587\u4ef6&#xff1a;<\/li>\n<ul>\n<li>\n<ul>\n<li id=\"u82b45a59\">MySQL \u548c MariaDB&#xff1a;wgcloud-MySQL.sql<\/li>\n<li id=\"ud8c02285\">PostgreSQL&#xff1a;wgcloud-PostgreSQL.sql<\/li>\n<li id=\"u75dc88ab\">Oracle&#xff1a;wgcloud-Oracle.sql<\/li>\n<li id=\"u31075437\">SQL Server&#xff1a;wgcloud-SQLServer.sql<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<li id=\"ucb56c7fc\">\u5bfc\u5165 SQL \u6587\u4ef6 \u4ee5 MySQL \u4e3a\u4f8b&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5bfc\u5165 SQL \u6587\u4ef6&#xff1a;<\/li>\n<p>mysql -uroot -p wgcloud &lt; wgcloud-MySQL.sql <\/p>\n<p id=\"u81733d92\">\u5982\u679c\u4f7f\u7528\u5176\u4ed6\u6570\u636e\u5e93&#xff0c;\u53c2\u8003\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>\n<ul>\n<li id=\"u60f4b851\">PostgreSQL&#xff1a;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>psql -U postgres -d wgcloud -f wgcloud-PostgreSQL.sql <\/p>\n<ul>\n<li>\n<ul>\n<li id=\"uead4b43e\">Oracle&#xff1a; \u4f7f\u7528 Oracle \u7684 SQL Plus \u5de5\u5177\u5bfc\u5165\u3002<\/li>\n<li id=\"u60df5c56\">SQL Server&#xff1a; \u4f7f\u7528 SQL Server Management Studio \u5bfc\u5165\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<li id=\"u6d911dc1\">\u786e\u8ba4\u5bfc\u5165\u6210\u529f \u68c0\u67e5\u6570\u636e\u5e93\u4e2d\u662f\u5426\u5305\u542b\u5bfc\u5165\u7684\u8868&#xff1a;<\/li>\n<p>USE wgcloud;<br \/>\nSHOW TABLES; <\/p>\n<p id=\"u5334c2e2\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1029\" id=\"udee55594\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083445-68020ea579108.png\" width=\"1715\" \/><\/p>\n<h4 id=\"SXAT0\">\u6b65\u9aa4 3&#xff1a;\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/h4>\n<h5 id=\"tOW9A\">\u4fee\u6539Server<\/h5>\n<p id=\"u3f980390\">\u4ee5\u4e0b\u662f\u6211\u7684\u7edd\u5bf9\u8def\u5f84 \u8bf7\u4f60\u6309\u7167\u4f60\u7684\u8def\u5f84\u6765\u4fee\u6539<\/p>\n<p> vim wgcloud-v3.5.7\/server\/config\/application.yml  <\/p>\n<p id=\"u91ecff6e\">\n<p id=\"ueee421e9\">\u4e3b\u8981\u7684\u5b57\u6bb5\u6211\u590d\u5236\u7ed9\u4f60\u770b<\/p>\n<p># \u6570\u636e\u5e93 \u76f8\u5173\u8bbe\u7f6e<br \/>\nspring:<br \/>\n  application:<br \/>\n    name: wgcloud-server<br \/>\n  datasource:<br \/>\n    driver-class-name: com.mysql.jdbc.Driver<br \/>\n    url: jdbc:mysql:\/\/localhost:3306\/wgcloud?characterEncoding&#061;utf-8&amp;characterSetResults&#061;utf8&amp;autoReconnect&#061;true&amp;useSSL&#061;false&amp;allowMultiQueries&#061;true<br \/>\n    username: root<br \/>\n    password: 123<br \/>\n    hikari: <\/p>\n<p id=\"u5cac644d\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"922\" id=\"u40c5e78c\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083446-68020ea62be4a.png\" width=\"1421\" \/><\/p>\n<p id=\"u11c82bc2\">\n<p id=\"uec231708\">\n<p>#\u6838\u5fc3\u914d\u7f6e\u53c2\u6570<br \/>\nbase:<br \/>\n  #\u7ba1\u7406\u5458\u767b\u5f55\u8d26\u53f7<br \/>\n  account: admin<br \/>\n  #\u7ba1\u7406\u5458\u767b\u5f55\u8d26\u53f7\u7684\u5bc6\u7801<br \/>\n  accountPwd: 111111<br \/>\n  #\u914d\u7f6e\u767b\u5f55\u5bc6\u7801\u7684\u8fc7\u671f\u65f6\u95f4&#xff0c;\u683c\u5f0f\u5982\u4e0b&#xff0c;\u53ea\u9700\u8981\u586b\u5199\u5e74\u6708\u65e5&#xff0c;\u5bc6\u7801\u8fc7\u671f\u540e\u6240\u6709\u8d26\u53f7\u90fd\u4e0d\u80fd\u767b\u5f55\u7cfb\u7edf&#xff0c;\u5305\u62ec\u7ba1\u7406\u5458\u3001\u6210\u5458\u8d26<br \/>\n\u53f7\u3001\u53ea\u8bfb\u8d26\u53f7<br \/>\n  pwdExpDate: 2099-11-10 <\/p>\n<p id=\"u15ac4535\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"738\" id=\"u7aff8d23\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083446-68020ea68eb81.png\" width=\"1179\" \/><\/p>\n<h5 id=\"eZmxB\">\u4fee\u6539Agent<\/h5>\n<p> vim wgcloud-v3.5.7\/agent\/config\/application.properties  <\/p>\n<p id=\"u6dffd986\">\n<p id=\"u23ee2c33\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"563\" id=\"u82b6f0b3\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083446-68020ea6ddd49.png\" width=\"1300\" \/><\/p>\n<h5 id=\"ptYGg\">\u542f\u52a8\u6210\u529f<\/h5>\n<p id=\"u51f6fdd9\">\u8fd9\u65f6\u5019\u914d\u7f6e\u5b8c\u6bd5\u542f\u52a8\u670d\u52a1\u5373\u53ef&#xff0c;\u6ce8\u610f server\u548cagent\u90fd\u8981\u542f\u52a8<\/p>\n<p>[root&#064;localhost wgcloud-v3.5.7]# sh agent\/start.sh<br \/>\n[root&#064;localhost wgcloud-v3.5.7]# sh server\/start.sh  <\/p>\n<p id=\"u2c4dfabb\">\u542f\u52a8\u4e4b\u540e\u4e00\u5b9a\u8981\u67e5\u770b\u8fdb\u7a0b \u542f\u52a8\u4e4b\u540e\u4f1a\u6709\u4ee5\u4e0b\u51e0\u4e2a\u8fdb\u7a0b \u5982\u679c\u6ca1\u6709 \u90a3\u4e48\u5c31\u662f\u4f60\u914d\u7f6e\u9519\u4e86<\/p>\n<p>[root&#064;localhost ~]# ss -nltp | grep 99<br \/>\nLISTEN     0      128       [::]:9997                  [::]:*                   users:((&#034;wgcloud-daemon-&#034;,pid&#061;5509,fd&#061;3))<br \/>\nLISTEN     0      128       [::]:9998                  [::]:*                   users:((&#034;java&#034;,pid&#061;5503,fd&#061;49))<br \/>\nLISTEN     0      100       [::]:9999                  [::]:*                   users:((&#034;java&#034;,pid&#061;5503,fd&#061;32)) <\/p>\n<p id=\"udc4fc6fb\">\n<p id=\"ue6e517fe\">\u542f\u52a8\u5b8c\u6210\u4e4b\u540e\u8bbf\u95ee\u6d4f\u89c8\u5668<\/p>\n<p>192.168.14.113:9999 <\/p>\n<p id=\"u73a6a190\">\n<p id=\"ucec7bd3a\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"930\" id=\"uaf438bbf\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083447-68020ea725fd4.png\" width=\"1651\" \/><\/p>\n<p id=\"u5a2f1e19\">\n<p id=\"u566fe9dd\">\u6210\u529f\u767b\u5f55<\/p>\n<p id=\"u6e8269e8\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1432\" id=\"u8114deb2\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083447-68020ea7b133c.png\" width=\"2434\" \/><\/p>\n<p id=\"u8db05b13\">\n<p id=\"u0ff784b9\">\n<p id=\"u9a9217e6\">\n<h3 id=\"cyPYG\">4.\u5ba2\u6237\u7aef\u914d\u7f6e<\/h3>\n<p id=\"u8315fa98\">\u63a5\u4e0b\u6765\u5c31\u7b97\u5ba2\u6237\u7aef\u94fe\u63a5\u670d\u52a1\u5668\u4e86<\/p>\n<p id=\"ue0470c90\">\u6709\u4e24\u79cd\u65b9\u5f0f \u4efb\u9009\u4e00\u79cd\u5373\u53ef<\/p>\n<h5 id=\"fdTbG\">\u7b2c\u4e00\u79cd\u81ea\u52a8\u5316\u90e8\u7f72<\/h5>\n<h6 id=\"ce11a1d5\">\u5c06\u6307\u4ee4\u4e2d\u7684http:\/\/localhost:9999\u66ff\u6362\u4e3a\u81ea\u5df1\u7684server\u4e3b\u673aIP\u548c\u7aef\u53e3&#xff0c;\u8fd9\u4e2a\u662f\u7528\u4e8e\u8bbe\u7f6eagent\u7684\u914d\u7f6e\u9879serverUrl<\/h6>\n<h6 id=\"50c2bd9b\" style=\"background-color:transparent\">\u5c06\u6307\u4ee4\u4e2d\u7684192.168.14.113\u66ff\u6362\u4e3a\u81ea\u5df1\u7684agent\u88ab\u63a7\u4e3b\u673aIP&#xff0c;\u8fd9\u4e2a\u662f\u7528\u4e8e\u8bbe\u7f6eagent\u7684\u914d\u7f6e\u9879bindIp&#xff0c;\u4e5f\u5c31\u662fagent\u4e3b\u673aIP<\/h6>\n<p>mkdir wgcloud<br \/>\ncd wgcloud<br \/>\ncurl -k https:\/\/www.wgstart.com\/download\/sh\/installAgent.sh|bash -s http:\/\/192.168.14.113:9999 agent-linux-amd64-v3.5.7.tar.gz 192.168.14.114 <\/p>\n<p id=\"uf7ce404f\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1353\" id=\"u21b2365b\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083449-68020ea93195e.png\" width=\"2340\" \/><\/p>\n<p id=\"u9d19905a\">\u8fd8\u6709\u4e00\u79cd\u6211\u5c31\u7b80\u5355\u8bf4\u4e00\u4e0b \u53bb\u5b98\u7f51\u4e0b\u8f7dagent\u7684\u5305 \u7136\u540e\u4fee\u6539<\/p>\n<p>vim agent-linux-amd64-v3.5.7\/config\/application.properties  <\/p>\n<p id=\"u8f6d5563\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"377\" id=\"ud22261db\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083450-68020eaa92e79.png\" width=\"1175\" \/><\/p>\n<p id=\"u92c4bd82\">\u7136\u540e\u542f\u52a8\u5373\u53ef<\/p>\n<p id=\"ucca2a90e\">sh start.sh<\/p>\n<h3 id=\"j1wUl\">5.\u6210\u529f\u90e8\u7f72&#xff01;&#xff01;&#xff01;&#xff01;<\/h3>\n<p id=\"ua50e4241\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1353\" id=\"ubc4261aa\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083450-68020eaabff59.png\" width=\"2340\" \/><\/p>\n<p id=\"u941b5f80\">\u90e8\u7f72\u5b8c\u6210\u4e4b\u540e \u5176\u4ed6\u529f\u80fd\u7b49\u5f85\u81ea\u5df1\u53d1\u6398<\/p>\n<p id=\"u92618bba\">\n<p id=\"u51c342f1\">\n<p id=\"u2cee8644\">\n<h3 id=\"SQlSw\">6.\u6ce8\u610f\u4e8b\u9879(\u6392\u9519)<\/h3>\n<p id=\"uc15cdba6\">\u603b\u4e4b\u9047\u5230\u9519\u8bef\u7684\u8bdd \u81ea\u5df1\u4e00\u6b65\u6b65\u7684\u6392\u9519 \u9996\u5148\u68c0\u6d4b MySQL\u7684\u65e5\u5fd7 \u548c\u7cfb\u7edf\u65e5\u5fd7 \u8fd8\u6709\u7684\u8bdd\u5c31\u662f wgcloud\u65e5\u5fd7<\/p>\n<p id=\"u8d5c4126\">\/server\/log\/\u65e5\u5fd7<\/p>\n<p id=\"u16fef7d7\">\/agent\/log\/\u65e5\u5fd7<\/p>\n<h4 id=\"afce2613\">\u67e5\u770b MySQL \u9519\u8bef\u65e5\u5fd7<\/h4>\n<li id=\"u2799b1dd\">\u4f7f\u7528 cat \u547d\u4ee4\u67e5\u770b\u5b8c\u6574\u65e5\u5fd7\u5185\u5bb9&#xff1a;<\/li>\n<p>cat \/usr\/local\/mysql\/data\/localhost.localdomain.err <\/p>\n<p id=\"u12a5bfe1\">\u5982\u6709\u95ee\u9898\u8bf7\u7559\u8a00<\/p>\n<\/p>\n<p style=\"text-align:center\">\u6210\u529f\u7684\u8def\u4e0a\u6ca1\u6709\u6377\u5f84&#xff0c;\u53ea\u6709\u4e0d\u65ad\u7684\u52aa\u529b\u4e0e\u575a\u6301\u3002\u5982\u679c\u4f60\u548c\u6211\u4e00\u6837&#xff0c;\u575a\u4fe1\u52aa\u529b\u4f1a\u5e26\u6765\u56de\u62a5&#xff0c;\u8bf7\u5173\u6ce8\u6211&#xff0c;\u70b9\u4e2a\u8d5e&#xff0c;\u4e00\u8d77\u8fce\u63a5\u66f4\u52a0\u7f8e\u597d\u7684\u660e\u5929&#xff01;\u4f60\u7684\u652f\u6301\u662f\u6211\u7ee7\u7eed\u524d\u884c\u7684\u52a8\u529b&#xff01;&#034;<\/p>\n<p style=\"text-align:center\">&#034;\u6bcf\u4e00\u6b21\u521b\u4f5c\u90fd\u662f\u4e00\u6b21\u5b66\u4e60\u7684\u8fc7\u7a0b&#xff0c;\u6587\u7ae0\u4e2d\u82e5\u6709\u4e0d\u8db3\u4e4b\u5904&#xff0c;\u8fd8\u8bf7\u5927\u5bb6\u591a\u591a\u5305\u5bb9\u3002\u4f60\u7684\u5173\u6ce8\u548c\u70b9\u8d5e\u662f\u5bf9\u6211\u6700\u5927\u7684\u652f\u6301&#xff0c;\u4e5f\u6b22\u8fce\u5927\u5bb6\u63d0\u51fa\u5b9d\u8d35\u7684\u610f\u89c1\u548c\u5efa\u8bae&#xff0c;\u8ba9\u6211\u4e0d\u65ad\u8fdb\u6b65\u3002&#034;<\/p>\n<p style=\"text-align:center\">\u795e\u79d8\u6ce3\u7537\u5b50<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"372\" id=\"u5026cf55\" src=\"2025-04-18zes0itmflem.png\" width=\"380\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.4k\u6b21\uff0c\u70b9\u8d5e95\u6b21\uff0c\u6536\u85cf97\u6b21\u3002\u6d4b\u8bd5\u7684\u73af\u5883\uff1a\u672c\u4eba\u4f7f\u7528\u865a\u62df\u673a Centos7\u7cfb\u7edf\u6765\u6d4b\u8bd5\u5206\u4e3a\u670d\u52a1\u5668\u548c\u94fe\u63a5\u7aef\u63a5\u4e0b\u6765\u6211\u4f1a\u518dserer\u7aef\u90e8\u7f72wgcloud\u7136\u540e\u5ba2\u6237\u90fd\u5b89\u94fe\u63a5\u670d\u52a1\u5668 \u4ece\u800c\u8fbe\u6210\u670d\u52a1\u5668\u53ef\u540e\u53f0\u76d1\u63a7\u5ba2\u7aef\u7684\u5404\u9879\u4fe1\u606f\u53c2\u6570 cpu \u5185\u5b58 \u786c\u76d8\u7b49\u63a5\u4e0b\u6765\u662f\u6559\u7a0b\u3002_windows\u4e2dwgcloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b)<\/p>\n","protected":false},"author":2,"featured_media":8326,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[116,58,115,117,20,118,44],"topic":[],"class_list":{"0":"post-8346","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-adb","9":"tag-linux","11":"tag-nginx","12":"tag-20","13":"tag-118","14":"tag-44"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/8346.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.4k\u6b21\uff0c\u70b9\u8d5e95\u6b21\uff0c\u6536\u85cf97\u6b21\u3002\u6d4b\u8bd5\u7684\u73af\u5883\uff1a\u672c\u4eba\u4f7f\u7528\u865a\u62df\u673a Centos7\u7cfb\u7edf\u6765\u6d4b\u8bd5\u5206\u4e3a\u670d\u52a1\u5668\u548c\u94fe\u63a5\u7aef\u63a5\u4e0b\u6765\u6211\u4f1a\u518dserer\u7aef\u90e8\u7f72wgcloud\u7136\u540e\u5ba2\u6237\u90fd\u5b89\u94fe\u63a5\u670d\u52a1\u5668 \u4ece\u800c\u8fbe\u6210\u670d\u52a1\u5668\u53ef\u540e\u53f0\u76d1\u63a7\u5ba2\u7aef\u7684\u5404\u9879\u4fe1\u606f\u53c2\u6570 cpu \u5185\u5b58 \u786c\u76d8\u7b49\u63a5\u4e0b\u6765\u662f\u6559\u7a0b\u3002_windows\u4e2dwgcloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/8346.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T08:34:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083440-68020ea03c6ce.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/8346.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/8346.html\",\"name\":\"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T08:34:53+00:00\",\"dateModified\":\"2025-04-18T08:34:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/8346.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/8346.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/8346.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/8346.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.4k\u6b21\uff0c\u70b9\u8d5e95\u6b21\uff0c\u6536\u85cf97\u6b21\u3002\u6d4b\u8bd5\u7684\u73af\u5883\uff1a\u672c\u4eba\u4f7f\u7528\u865a\u62df\u673a Centos7\u7cfb\u7edf\u6765\u6d4b\u8bd5\u5206\u4e3a\u670d\u52a1\u5668\u548c\u94fe\u63a5\u7aef\u63a5\u4e0b\u6765\u6211\u4f1a\u518dserer\u7aef\u90e8\u7f72wgcloud\u7136\u540e\u5ba2\u6237\u90fd\u5b89\u94fe\u63a5\u670d\u52a1\u5668 \u4ece\u800c\u8fbe\u6210\u670d\u52a1\u5668\u53ef\u540e\u53f0\u76d1\u63a7\u5ba2\u7aef\u7684\u5404\u9879\u4fe1\u606f\u53c2\u6570 cpu \u5185\u5b58 \u786c\u76d8\u7b49\u63a5\u4e0b\u6765\u662f\u6559\u7a0b\u3002_windows\u4e2dwgcloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b)","og_url":"https:\/\/www.wsisp.com\/helps\/8346.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T08:34:53+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083440-68020ea03c6ce.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/8346.html","url":"https:\/\/www.wsisp.com\/helps\/8346.html","name":"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T08:34:53+00:00","dateModified":"2025-04-18T08:34:53+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/8346.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/8346.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/8346.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u4e2dWgCloud\u7684\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u76d1\u63a7\u7cfb\u7edf(\u5b8c\u6574\u90e8\u7f72\u6559\u7a0b)"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/8346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=8346"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/8346\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/8326"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=8346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=8346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=8346"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=8346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}