{"id":9,"date":"2024-03-28T11:10:12","date_gmt":"2024-03-28T03:10:12","guid":{"rendered":"http:\/\/wordpress.xinyu1234.xyz\/?p=9"},"modified":"2024-03-28T11:16:37","modified_gmt":"2024-03-28T03:16:37","slug":"centos%e7%9b%b8%e5%85%b3","status":"publish","type":"post","link":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/2024\/03\/28\/centos%e7%9b%b8%e5%85%b3\/","title":{"rendered":"centos\u76f8\u5173"},"content":{"rendered":"<h2>\u4e00. CentOS7\u66f4\u6362yum\u6e90\u4e3a\u963f\u91cc\u4e91\u955c\u50cf\u6e90<\/h2>\n<ol>\n<li>\n<p>\u5907\u4efd\u539f\u6765\u7684yum\u6e90<\/p>\n<pre><code class=\"language-sh\">cp \/etc\/yum.repos.d\/CentOS-Base.repo \/etc\/yum.repos.d\/CentOS-Base.repo.bak<\/code><\/pre>\n<\/li>\n<li>\n<p>\u8bbe\u7f6ealiyun\u7684yum\u6e90<\/p>\n<pre><code class=\"language-sh\">wget -O \/etc\/yum.repos.d\/CentOS-Base.repo http:\/\/mirrors.aliyun.com\/repo\/Centos-7.repo<\/code><\/pre>\n<\/li>\n<li>\n<p>\u6dfb\u52a0EPEL\u6e90<br \/>\nEPEL\uff08<a href=\"http:\/\/fedoraproject.org\/wiki\/EPEL\">http:\/\/fedoraproject.org\/wiki\/EPEL<\/a>\uff09\u662f\u7531 Fedora \u793e\u533a\u6253\u9020\uff0c\u4e3a RHEL \u53ca\u884d\u751f\u53d1\u884c\u7248\u5982 CentOS\u3001Scientific Linux \u7b49\u63d0\u4f9b\u9ad8\u8d28\u91cf\u8f6f\u4ef6\u5305\u7684\u9879\u76ee\u3002\u88c5\u4e0a EPEL\u540e\uff0c\u53ef\u4ee5\u50cf\u5728 Fedora \u4e0a\u4e00\u6837\uff0c\u53ef\u4ee5\u901a\u8fc7 yum install package-name\uff0c\u5b89\u88c5\u66f4\u591a\u8f6f\u4ef6\u3002<\/p>\n<pre><code class=\"language-sh\">wget -P \/etc\/yum.repos.d\/ http:\/\/mirrors.aliyun.com\/repo\/epel-7.repo<\/code><\/pre>\n<\/li>\n<li>\n<p>\u6e05\u7406\u7f13\u5b58\u5e76\u751f\u6210\u65b0\u7684\u7f13\u5b58<\/p>\n<pre><code class=\"language-sh\">yum clean all && yum makecache<\/code><\/pre>\n<\/li>\n<li>\n<p>\u67e5\u770byum\u6e90\u4fe1\u606f<\/p>\n<pre><code class=\"language-sh\"># \u67e5\u770byum\u6e90\u4fe1\u606f\nyum info yum\n\n# \u67e5\u770bxxx\u6e90\u7684\u4fe1\u606f\nyum info xxx\u6e90<\/code><\/pre>\n<\/li>\n<\/ol>\n<h2>\u4e8c. \u5e38\u7528\u7684\u955c\u50cf\u7f51\u7ad9<\/h2>\n<ol>\n<li>\n<p>\u7f51\u6613\u4e91\u955c\u50cf\u7f51\u7ad9: <a href=\"http:\/\/uni.mirrors.163.com\">http:\/\/uni.mirrors.163.com<\/a><\/p>\n<\/li>\n<li>\n<p>\u963f\u91cc\u4e91\u955c\u50cf\u7f51\u7ad9: <a href=\"https:\/\/developer.aliyun.com\/mirror\">https:\/\/developer.aliyun.com\/mirror<\/a><\/p>\n<\/li>\n<\/ol>\n<h2>\u4e09. Centos\u5e38\u7528\u547d\u4ee4<\/h2>\n<h3>\uff08\u4e00\uff09.centos\u5e38\u7528\u547d\u4ee4<\/h3>\n<ol>\n<li>\n<p>\u67e5\u770b\u67d0\u670d\u52a1\u7684\u8fdb\u7a0b<\/p>\n<pre><code class=\"language-sh\">ps -ef | grep easyswoole<\/code><\/pre>\n<\/li>\n<li>\n<p>vi\u7f16\u8f91\u6a21\u5f0f\u4e0b,\u6309\u4e0b<code>\u5b57\u6bcdU<\/code>\u53bb\u64a4\u9500\u4fee\u6539\u7684\u6587\u4ef6<\/p>\n<\/li>\n<li>\n<p>\u67e5\u770bcentos\u7248\u672c<\/p>\n<pre><code class=\"language-sh\">cat \/etc\/redhat-release<\/code><\/pre>\n<\/li>\n<li>\n<p>\u67e5\u770b\u662f32\u4f4d\u8fd8\u662f64\u4f4d<\/p>\n<pre><code class=\"language-sh\">getconf LONG_BIT<\/code><\/pre>\n<\/li>\n<li>\n<p>\u67e5\u770blinux\u5185\u6838\u7248\u672c<\/p>\n<pre><code class=\"language-sh\">uname -r<\/code><\/pre>\n<\/li>\n<li>\n<p>\u67e5\u770byum\u6e90\u4fe1\u606f<\/p>\n<pre><code class=\"language-sh\">yum info yum\n\n# \u67e5\u770b\u5176\u5b83\u6e90\u4fe1\u606f\nyum info package_name<\/code><\/pre>\n<\/li>\n<li>\n<p>\u67e5\u770b\u5f53\u524d\u5f00\u542f\u7684\u8fdb\u7a0b<\/p>\n<pre><code class=\"language-sh\">ps aux<\/code><\/pre>\n<\/li>\n<li>\n<p>xshell\u4e2d\u7684\u989c\u8272\u4ee3\u8868\u7684\u6587\u4ef6\u610f\u601d<\/p>\n<ul>\n<li>\u84dd\u8272\u8868\u793a\u76ee\u5f55<\/li>\n<li>\u7eff\u8272\u8868\u793a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u53ef\u6267\u884c\u7684\u7a0b\u5e8f<\/li>\n<li>\u7ea2\u8272\u8868\u793a\u538b\u7f29\u6587\u4ef6\u6216\u5305\u6587\u4ef6<\/li>\n<li>\u6d45\u84dd\u8272\u8868\u793a\u94fe\u63a5\u6587\u4ef6<\/li>\n<li>\u7070\u8272\u8868\u793a\u5176\u5b83\u6587\u4ef6<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4f7f\u7528 locate \u547d\u4ee4\u67e5\u8be2\u6587\u4ef6\u4f4d\u7f6e<\/p>\n<pre><code class=\"language-sh\">yum install -y mlocate\n# \u66f4\u65b0\u540e\u53f0\u6570\u636e\u5e93\nupdatedb\n\n# \u4f7f\u7528\u5982\u4e0b: \u67e5\u8be2mysql\u7684\u76ee\u5f55\u4f4d\u7f6e\nlocate mysql<\/code><\/pre>\n<\/li>\n<li>\n<p>centos\u4e2d\u4f7f\u7528 vim<\/p>\n<pre><code class=\"language-sh\"># \u67e5\u770bvim\u662f\u5426\u5df2\u7ecf\u5b89\u88c5\nrpm -qa |grep vim\n\n# \u5b89\u88c5vim\u76f8\u5173\u7684\u5de5\u5177\nyum -y install vim-minimal\nyum -y install vim-common\nyum -y install vim-enhanced<\/code><\/pre>\n<\/li>\n<li>\n<p>\u4f7f\u7528 <code>sz<\/code> \u4e0b\u8f7d\u547d\u4ee4 \u548c <code>rz<\/code> \u4e0a\u4f20\u547d\u4ee4<\/p>\n<pre><code class=\"language-sh\"># \u4e0b\u8f7d lrzsz\nyum install -y lrzsz\n\n# sz\u547d\u4ee4\u53d1\u9001\u6587\u4ef6\u5230\u672c\u5730\nsz filename\n\n# rz\u547d\u4ee4\u672c\u5730\u4e0a\u4f20\u6587\u4ef6\u5230\u670d\u52a1\u5668\nrz<\/code><\/pre>\n<\/li>\n<li>\n<p>\u5c06 \u6587\u4ef6 \u540c\u6b65\u5230\u5176\u4ed6\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u4f7f\u7528 scp \u547d\u4ee4<\/p>\n<pre><code class=\"language-sh\">scp \/etc\/my.cnf 192.168.73.132:\/etc\/<\/code><\/pre>\n<\/li>\n<li>\n<p>\u4e00\u4e2a\u76ee\u5f55\u4e2d\u521b\u5efa\u591a\u4e2a\u76ee\u5f55 -- \u5feb\u6377\u65b9\u5f0f<\/p>\n<pre><code class=\"language-sh\">mkdir node800{1,2,3,4,5,6}<\/code><\/pre>\n<\/li>\n<li>\n<p>vim\u4e2d\u5feb\u901f\u66ff\u6362\u6587\u4ef6\uff0c\u6bd4\u5982\u5c06 8001 \u5feb\u901f\u66ff\u6362\u6210 8002 -- <code>\u5f88\u5b9e\u7528<\/code><\/p>\n<pre><code class=\"language-sh\">:%s\/8001\/8002\/g<\/code><\/pre>\n<\/li>\n<li>\n<p>\u67e5\u770bcentos\u7684\u7528\u6237\u7ec4\u548c\u7528\u6237<\/p>\n<ul>\n<li>\u7528\u6237\u5217\u8868\u6587\u4ef6\uff1a<code>\/etc\/passwd<\/code><\/li>\n<li>\u7528\u6237\u7ec4\u5217\u8868\u6587\u4ef6\uff1a<code>\/etc\/group<\/code><\/li>\n<li>\u67e5\u770b\u7cfb\u7edf\u4e2d\u6709\u54ea\u4e9b\u7528\u6237\uff1a<code>cut -d : -f 1 \/etc\/passwd<\/code><\/li>\n<li>\u67e5\u770b\u53ef\u4ee5\u767b\u5f55\u7cfb\u7edf\u7684\u7528\u6237\uff1a<code>cat \/etc\/passwd | grep -v \/sbin\/nologin | cut -d : -f 1<\/code><\/li>\n<li>\u67e5\u770b\u7528\u6237\u64cd\u4f5c\uff1a<code>w\u547d\u4ee4(\u9700\u8981root\u6743\u9650)<\/code><\/li>\n<li>\u67e5\u770b\u67d0\u4e00\u7528\u6237\uff1a<code>w \u7528\u6237\u540d<\/code><\/li>\n<li>\u67e5\u770b\u767b\u5f55\u7528\u6237\uff1a<code>who<\/code><\/li>\n<li>\u67e5\u770b\u7528\u6237\u767b\u5f55\u5386\u53f2\u8bb0\u5f55\uff1a<code>last<\/code><\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u8981\u60f3centos\u5f00\u673a\u65f6\uff0c\u5c31\u6267\u884c\u67d0\u4e9b\u6307\u5b9a\u547d\u4ee4<\/p>\n<p>\uff081\uff09. \u5728centos7\u4e2d\uff0c<code>\/etc\/rc.d\/rc.local<\/code>\u6587\u4ef6\u7684\u6743\u9650\u88ab\u964d\u4f4e\u4e86\uff0c\u6ca1\u6709\u6267\u884c\u6743\u9650\uff0c\u9700\u8981\u7ed9\u5b83\u6dfb\u52a0\u53ef\u6267\u884c\u6743\u9650<\/p>\n<pre><code class=\"language-sh\">chmod +x \/etc\/rc.d\/rc.local<\/code><\/pre>\n<p>\uff082\uff09. \u7136\u540e\u5c31\u53ef\u4ee5\u5728\u91cc\u9762\u6dfb\u52a0\u4f60\u8981\u5f00\u673a\u81ea\u542f\u7684\u547d\u4ee4\u4e86<\/p>\n<pre><code class=\"language-sh\"># centos\u5f00\u673a\u542f\u52a8\u65f6\u90fd\u4f1a\u6267\u884c\u8be5\u6587\u4ef6\u4e2d\u7684\u547d\u4ee4\nvim \/etc\/rc.d\/rc.local\n# \u6dfb\u52a0\u9700\u8981\u6267\u884c\u7684\u547d\u4ee4<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3>\uff08\u4e8c\uff09. centos\u67e5\u770b\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5<\/h3>\n<ol>\n<li>\n<p>\u67e5\u770b\u5206\u533a\u548c\u78c1\u76d8<\/p>\n<pre><code class=\"language-sh\">lsblk<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/xinyu.static.xinyu1234.xyz\/blog\/image-20211117102750943.png\" alt=\"image-20211117102750943\" \/><\/p>\n<\/li>\n<li>\n<p>\u67e5\u770b\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5<\/p>\n<pre><code class=\"language-sh\">df -h <\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/xinyu.static.xinyu1234.xyz\/blog\/image-20211117102932935.png\" alt=\"image-20211117102932935\" \/><\/p>\n<\/li>\n<li>\n<p>\u5206\u533a\u5de5\u5177\u67e5\u770b\u5206\u533a\u4fe1\u606f<\/p>\n<pre><code class=\"language-sh\">fdisk -l \u3000<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/xinyu.static.xinyu1234.xyz\/blog\/image-20211117103150277.png\" alt=\"image-20211117103150277\" \/><\/p>\n<\/li>\n<li>\n<p>\u7edf\u8ba1\u5f53\u524d\u76ee\u5f55\u5404\u6587\u4ef6\u5939\u5927\u5c0f<\/p>\n<pre><code class=\"language-sh\">du -sh .\/*<\/code><\/pre>\n<\/li>\n<li>\n<p>\u67e5\u770b\u5185\u5b58\u5927\u5c0f<\/p>\n<pre><code class=\"language-sh\">free -h<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/xinyu.static.xinyu1234.xyz\/blog\/image-20211117103406442.png\" alt=\"image-20211117103406442\" \/><\/p>\n<\/li>\n<li>\n<p>\u67e5\u770bcpu\u7684\u6838\u5fc3\u6570<\/p>\n<pre><code class=\"language-sh\">cat \/proc\/cpuinfo| grep \"cpu cores\"| uniq<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/xinyu.static.xinyu1234.xyz\/blog\/image-20211117103514989.png\" alt=\"image-20211117103514989\" \/><\/p>\n<\/li>\n<\/ol>\n<h3>\uff08\u4e09\uff09. Centos7 vim\u5168\u9009\u3001\u5168\u90e8\u590d\u5236\u3001\u5168\u90e8\u5220\u9664<\/h3>\n<pre><code class=\"language-shell\">\uff08\u4e00\uff09. \u64cd\u4f5c\n1. \u5168\u9009\uff08\u9ad8\u4eae\u663e\u793a\uff09\uff1a\u6309esc\u540e\uff0c\u7136\u540eggvG\u6216\u8005ggVG\n2. \u5168\u90e8\u590d\u5236\uff1a\u6309esc\u540e\uff0c\u7136\u540eggyG\n3. \u5168\u90e8\u5220\u9664\uff1a\u6309esc\u540e\uff0c\u7136\u540edG\n\n\uff08\u4e8c\uff09. \u89e3\u6790\n\ngg\uff1a\u662f\u8ba9\u5149\u6807\u79fb\u5230\u9996\u884c\uff0c\u5728vim\u624d\u6709\u6548\uff0cvi\u4e2d\u65e0\u6548\n\nv\uff1a\u662f\u8fdb\u5165Visual(\u53ef\u89c6\uff09\u6a21\u5f0f\n\nG\uff1a\u5149\u6807\u79fb\u5230\u6700\u540e\u4e00\u884c\n\nd\uff1a\u5220\u9664\u9009\u4e2d\u5185\u5bb9\n\ny\uff1a\u590d\u5236\u9009\u4e2d\u5185\u5bb9\u52300\u53f7\u5bc4\u5b58\u5668\n\n+y\uff1a\u590d\u5236\u9009\u4e2d\u5185\u5bb9\u5230\uff0b\u5bc4\u5b58\u5668\uff0c\u4e5f\u5c31\u662f\u7cfb\u7edf\u7684\u526a\u8d34\u677f\uff0c\u4f9b\u5176\u4ed6\u7a0b\u5e8f\u7528<\/code><\/pre>\n<h3>\uff08\u56db\uff09.linux\u4e2d\u6743\u9650\u542b\u4e49<\/h3>\n<h4>1. \u89c4\u5219<\/h4>\n<p>r\uff1a\uff08\u8bfb\uff09\u5bf9\u5e94\u6570\u503c4<\/p>\n<p>w\uff1a\uff08\u5199\uff09\u5bf9\u5e94\u6570\u503c2<\/p>\n<p>x\uff1a\uff08\u6267\u884c\uff09\u5bf9\u5e94\u6570\u503c1<\/p>\n<p>\uff0d\uff1a\u5bf9\u5e94\u6570\u503c0<\/p>\n<h4>2. \u5c06\u6743\u9650\u5b57\u6bcd\u8f6c\u6362\u4e3a\u6570\u5b57<\/h4>\n<p>\u6211\u4eec\u5c06rwx\u770b\u6210\u4e8c\u8fdb\u5236\u6570\uff0c\u5982\u679c\u6709\u5219\u67091\u8868\u793a\uff0c\u6ca1\u6709\u5219\u67090\u8868\u793a\uff0c\u90a3\u4e48rwx r-x r- -\u5219\u53ef\u4ee5\u8868\u793a\u6210\u4e3a\uff1a<\/p>\n<p>rwx r-x r- -<\/p>\n<p>111 101 100<\/p>\n<p>\u518d\u5c06\u5176\u6bcf\u4e09\u4f4d\u8f6c\u6362\u6210\u4e3a\u4e00\u4e2a\u5341\u8fdb\u5236\u6570\uff0c\u5c31\u662f754\u3002<\/p>\n<h4>3. linux\u4e2d\u6743\u9650\u4f4d\u8868\u793a<\/h4>\n<p>\u4e8b\u4f8b\uff1adrwxr-xr-x<\/p>\n<p>\u6743\u9650\u7684\u8ba1\u7b97\u662f\u9664\u53bb\u7b2c\u4e00\u4f4d\u5b57\u6bcd\u5f00\u59cb\uff0c\u6743\u9650\u90fd\u662f\u4e09\u4e2a\u7b26\u53f7\u4e3a\u4e00\u7ec4\u5408\uff0c\u5176\u4e2d-\u8868\u793a\u6ca1\u6709\u8fd9\u4e2a\u6743\u9650<\/p>\n<p>d\uff1a\u7b2c\u4e00\u4f4d\u8868\u793a\u6587\u4ef6\u7c7b\u578b\u3002d\u662f\u76ee\u5f55\u6587\u4ef6\uff0cl\u662f\u94fe\u63a5\u6587\u4ef6\uff0c-\u662f\u666e\u901a\u6587\u4ef6\uff0cp\u662f\u7ba1\u9053<\/p>\n<p>rwx\uff1a\u7b2c2-4\u4f4d\u8868\u793a\u8fd9\u4e2a\u6587\u4ef6\u7684\u5c5e\u4e3b\u62e5\u6709\u7684\u6743\u9650\uff0cr\u662f\u8bfb\uff0cw\u662f\u5199\uff0cx\u662f\u6267\u884c\u3002<\/p>\n<p>r-x\uff1a\u7b2c5-7\u4f4d\u8868\u793a\u548c\u8fd9\u4e2a\u6587\u4ef6\u5c5e\u4e3b\u6240\u5728\u540c\u4e00\u4e2a\u7ec4\u7684\u7528\u6237\u6240\u5177\u6709\u7684\u6743\u9650\u3002<\/p>\n<p>r-x\uff1a\u7b2c8-10\u4f4d\u8868\u793a\u5176\u4ed6\u7528\u6237\u6240\u5177\u6709\u7684\u6743\u9650\u3002<\/p>\n<h2>\u56db. centos\u5b89\u88c5apt-get<\/h2>\n<ol>\n<li>\n<p>\u4e0b\u8f7dapt-get<\/p>\n<pre><code class=\"language-shell\">curl https:\/\/raw.githubusercontent.com\/dvershinin\/apt-get-centos\/master\/apt-get.sh -o \/usr\/local\/bin\/apt-get<\/code><\/pre>\n<\/li>\n<li>\n<p>\u4fee\u6539apt-get\u6743\u9650\uff0c\u4f7f\u5176\u6709\u6267\u884c\u6743\u9650<\/p>\n<pre><code class=\"language-shell\">chmod 0755 \/usr\/local\/bin\/apt-get<\/code><\/pre>\n<\/li>\n<li>\n<p>\u8bbe\u7f6eapt-get\u73af\u5883\u53d8\u91cf\uff08centos\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\uff09<\/p>\n<pre><code class=\"language-shell\"># \u7f16\u8f91\u6587\u4ef6\nvim \/etc\/profile\n\n# profile\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e\nexport PATH=$PATH:\/usr\/local\/bin\/apt-get\n\n# \u6267\u884c\u547d\u4ee4\uff0c\u4f7f\u73af\u5883\u53d8\u91cf\u751f\u6548\nsource \/etc\/profile<\/code><\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00. CentOS7\u66f4\u6362yum\u6e90\u4e3a\u963f\u91cc\u4e91 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[3],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-centos"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"xinyu_superadmin","author_link":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/author\/xinyu_superadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"\u4e00. CentOS7\u66f4\u6362yum\u6e90\u4e3a\u963f\u91cc\u4e91 [&hellip;]","_links":{"self":[{"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":4,"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/posts\/9\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.xinyu1234.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}