﻿{"id":234,"date":"2023-09-18T15:20:57","date_gmt":"2023-09-18T07:20:57","guid":{"rendered":"http:\/\/blog.yiyilearning.com\/?p=234"},"modified":"2023-09-18T15:21:59","modified_gmt":"2023-09-18T07:21:59","slug":"234","status":"publish","type":"post","link":"https:\/\/airlive.online\/index.php\/2023\/09\/18\/234\/","title":{"rendered":"\u521d\u59cb\u5316CentOS7.8"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&#91;root@ecm-24d4 ~]# cd \/\r\n&#91;root@ecm-24d4 \/]# ls\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nbin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n&#91;root@ecm-24d4 \/]# cat etc\/os-release\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nNAME=\"CentOS Linux\"\r\nVERSION=\"7 (Core)\"\r\nID=\"centos\"\r\nID_LIKE=\"rhel fedora\"\r\nVERSION_ID=\"7\"\r\nPRETTY_NAME=\"CentOS Linux 7 (Core)\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:\/o:centos:centos:7\"\r\nHOME_URL=\"https:\/\/www.centos.org\/\"\r\nBUG_REPORT_URL=\"https:\/\/bugs.centos.org\/\"\r\nCENTOS_MANTISBT_PROJECT=\"CentOS-7\"\r\nCENTOS_MANTISBT_PROJECT_VERSION=\"7\"\r\nREDHAT_SUPPORT_PRODUCT=\"centos\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=\"7\"\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n&#91;root@ecm-24d4 \/]#yum upgrade\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n... ...\r\n  xz-libs.x86_64 0:5.2.2-2.el7_9                                 yum.noarch 0:3.4.3-168.el7.centos                            zlib.x86_64 0:1.2.7-21.el7_9 \r\nComplete!\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n&#91;root@ecm-24d4 \/]# yum upgrade\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\nNo packages marked for update\r\n&#91;root@ecm-24d4 \/]# yum install -y wget &amp;&amp; wget -O install.sh https:\/\/download.bt.cn\/install\/install_6.0.sh &amp;&amp; sh install.sh ed8484bec\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\nPackage wget-1.14-18.el7_6.1.x86_64 already installed and latest version\r\nNothing to do\r\n--2023-09-13 17:14:22--  https:\/\/download.bt.cn\/install\/install_6.0.sh\r\nResolving download.bt.cn (download.bt.cn)... 42.157.129.47, 240e:a5:4200:89::256\r\nConnecting to download.bt.cn (download.bt.cn)|42.157.129.47|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 34553 (34K) &#91;application\/octet-stream]\r\nDo you want to install Bt-Panel to the \/www directory now?(y\/n): y\r\n... ...\r\nStarting Bt-Panel... Bt-Panel (pid 6110) already running\r\nStarting Bt-Tasks... Bt-Tasks (pid 6129) already running\r\nusername: ft9hoy1u\r\nStopping Bt-Tasks...    done\r\nStopping Bt-Panel...    done\r\nStarting Bt-Panel....   done\r\nStarting Bt-Tasks...    done\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\u4e91\u670d\u52a1\u5668\u5b89\u5168\u7ec4\u5f00\u901a9999\u7aef\u53e3\uff0c\u5b9d\u5854\u9762\u677f\u653e\u884c9999\u7aef\u53e3\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n&#91;root@ecm-24d4 \/]#bt\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\u66f4\u6539\u9762\u677f\u7aef\u53e3\u4e3a9999\uff0c\u66f4\u6539\u7528\u6237\u540dRobert\u5bc6\u7801**** \u66f4\u6539\u5b89\u5168\u5165\u53e3\/bthome\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n&#91;root@ecm-24d4 \/]# echo '9999' > \/www\/server\/panel\/data\/port.pl &amp;&amp; \/etc\/init.d\/bt restart\r\n&#91;root@ecm-24d4 \/]# yum update\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\nNo packages marked for update\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\u8fdb\u5165\u5b9d\u5854\u9762\u677f\u5b89\u88c5nginx\u548cMySQL5.7 PHP7.4 \u5b89\u88c5\u597d\u540e\u5728\u5b9d\u5854\u9762\u677f\u4fee\u6539root\u5bc6\u7801\u8bbe\u7f6eroot\u53ef\u8fdc\u7a0b\u767b\u5f55\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nLast login: Wed Sep 13 16:09:49 2023 from 127.0.0.1\r\n&#91;root@ecm-24d4 ~]# mysql -uroot -p\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\nEnter password: \r\nWelcome to the MySQL monitor. Commands end with ; or \\g.\r\nYour MySQL connection id is 4\r\nServer version: 5.7.40-log Source distribution\r\n\r\nCopyright (c) 2000, 2022, Oracle and\/or its affiliates.\r\n\r\nOracle is a registered trademark of Oracle Corporation and\/or its\r\naffiliates. Other names may be trademarks of their respective\r\nowners.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\nmysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '19940722Fyy' WITH GRANT OPTION;\r\nQuery OK, 0 rows affected, 1 warning (0.01 sec)\r\n\r\nmysql> FLUSH PRIVILEGES;\r\nQuery OK, 0 rows affected (0.00 sec)\r\n\r\nmysql> \r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\r&#91;root@ecm-24d4 \/]# ip addr show\n&#91;root@ecm-24d4 \/]# poweroff\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-234","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts\/234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/comments?post=234"}],"version-history":[{"count":3,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts\/234\/revisions"}],"predecessor-version":[{"id":237,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts\/234\/revisions\/237"}],"wp:attachment":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/media?parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/categories?post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/tags?post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}