{"id":27673,"date":"2023-10-09T18:55:03","date_gmt":"2024-01-01T07:59:29","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/"},"modified":"2025-08-12T03:59:06","modified_gmt":"2025-08-11T19:59:06","slug":"%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/","title":{"rendered":"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install"},"content":{"rendered":"<h2>\u7528\u4e2d\u6587\u91ca\u4e49\uff1a<br \/>\n\u4e3a\u4ec0\u4e48\u73b0\u5728\u8fd8\u5728\u4f7f\u7528CentOS 6\uff1f\u8fd9\u91cc\u6709\u5404\u79cd\u5404\u6837\u7684\u5b89\u5168\u95ee\u9898\uff0c\u5f53\u7136\u4e5f\u6ca1\u6709\u5f97\u5230\u652f\u6301\uff0c\u8fd9\u5c31\u662f\u8981\u9001\u7ed9\u4f60\uff0c\u4e0d\u5f97\u4e0d\u7ef4\u62a4\u8fd9\u4e2a\u65e9\u5c31\u5e94\u8be5\u66f4\u65b0\u7684CentOS 6\u3002<br \/>\n\u662f\u7684\uff0c\u5728\u6211\u5468\u56f4\u4e5f\u6709CentOS 6\u3002\u5982\u679c\u662fCentOS 6.10\u8fd8\u597d\u3002\u4f46\u662f\u6709\u4e9b\u4eba\u4f7f\u7528\u7684\u662fCentOS 6.2\uff0c\u751a\u81f3\u8fd8\u6709\u4e00\u4e9b\u73af\u5883\u6839\u672c\u6ca1\u6709\u4eba\u53bb\u7ef4\u62a4\uff0c\u6216\u8005\u88ab\u7981\u6b62\u7ef4\u62a4\u3002\u66f4\u51c6\u786e\u5730\u8bf4\uff0c\u751a\u81f3\u6709CentOS 4\u3002\u867d\u7136\u6211\u81ea\u5df1\u6ca1\u7528\u8fc7\u3002<br \/>\n\u6240\u4ee5\uff0c\u5f53\u6211\u4eec\u5728\u7ef4\u62a4\u57fa\u7840\u8bbe\u65bd\u65f6\uff0c\u5c31\u50cfWindows XP\u4ecd\u5728\u8fd0\u884c\u4e00\u6837\uff0c\u4f1a\u6709\u4eba\u63d0\u51fa\u60f3\u8981\u5b89\u88c5rsync\u547d\u4ee4\u7684\u8981\u6c42\u3002<br \/>\n\u5982\u679c\u7a0d\u6709\u4e86\u89e3\uff0c\u4f60\u80af\u5b9a\u4f1a\u8bf4\u53ef\u4ee5\u4f7f\u7528vault.centos.org\uff0c\u4f46\u4e8b\u5b9e\u5e76\u4e0d\u53ea\u662f\u5982\u6b64\uff0c\u6240\u4ee5\u624d\u6709\u4e86\u8fd9\u7bc7\u6587\u7ae0\u7684\u5b58\u5728\u3002<\/p>\n<p>\u8c01\u7684\u9519\u554a\uff0c\u4e0d\u8981\u95f9 de cu\u00f2 a, b\u014d su\u01d2)<\/p>\n<h2>\u9996\u5148\u8bd5\u8bd5\u770b<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># yum install rsync<\/span>\r\nLoaded plugins: fastestmirror\r\nDetermining fastest mirrors\r\nYumRepo Error: All mirror URLs are not using ftp, http[s] or file.\r\n Eg. Invalid release\/repo\/arch combination\/\r\nremoving mirrorlist with no valid mirrors: \/var\/cache\/yum\/x86_64\/6\/base\/mirrorlist.txt\r\nError: Cannot find a valid baseurl <span class=\"k\">for <\/span>repo: base\r\n<\/code><\/pre>\n<p>\u55ef\uff0c\u8fd9\u4e2a\u4ed3\u5e93\u5df2\u7ecf\u4e0d\u5b58\u5728\u4e86\u3002<\/p>\n<h2>\u4fee\u6539CentOS-Base.repo\u3002\u4fee\u6539\/etc\/yum.repos.d\/CentOS-Base.repo\u6587\u4ef6\uff0c\u5c06\u5176\u6307\u5411vault.centos.org\u7684\u8fc7\u53bb\u5b58\u50a8\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code>[base]\r\nname=CentOS-$releasever - Base\r\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=os\r\n#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/os\/$basearch\/\r\ngpgcheck=1\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\r\n<\/code><\/pre>\n<p>\u6211\u4f1a\u628a\u8fd9\u4e2a\u505a\u6210\u8fd9\u6837\u3002<\/p>\n<pre class=\"post-pre\"><code>[base]\r\nname=CentOS-6.10 - Base\r\nbaseurl=http:\/\/vault.centos.org\/6.10\/os\/$basearch\/\r\ngpgcheck=1\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\r\n<\/code><\/pre>\n<p>\u5f53\u7136\u9700\u8981\u5bf9\u6240\u6709\u76f8\u5173\u90e8\u5206\u8fdb\u884c\u540c\u6837\u7684\u4fee\u6539\u3002\u867d\u7136\u8fd9\u53ea\u662f\u4e00\u4e2a\u521d\u7248\u8349\u7a3f\uff0c\u4f46\u968f\u610f\u4fee\u6539\u5427\u3002<\/p>\n<h2>\u6240\u4ee5\uff0c\u6211\u8bd5\u4e00\u8bd5\uff08\u6807\u8bb0\uff09\u3002\u56e0\u4e3a\u66f4\u6362\u4e86\u5b58\u50a8\u5e93\uff0c\u6839\u636e\u60c5\u51b5\u53ef\u80fd\u4f1a\u5bfc\u81f4 yum \u7f13\u5b58\u5f15\u53d1\u6545\u969c\uff0c\u6240\u4ee5\u9700\u8981\u6e05\u9664\u5b83\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># yum clean all<\/span>\r\nLoaded plugins: fastestmirror\r\nCleaning repos: base extras updates zabbix zabbix-non-supported\r\nCleaning up Everything\r\nCleaning up list of fastest mirrors\r\n<\/code><\/pre>\n<p>\u7136\u540e\uff0c\u6e10\u6e10\u5730&#8230;<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># yum install rsync<\/span>\r\nLoaded plugins: fastestmirror\r\nDetermining fastest mirrors\r\nhttp:\/\/vault.centos.org\/6.10\/os\/x86_64\/repodata\/repomd.xml: <span class=\"o\">[<\/span>Errno 14] problem making ssl connection\r\nTrying other mirror.\r\nError: Cannot retrieve repository metadata <span class=\"o\">(<\/span>repomd.xml<span class=\"o\">)<\/span> <span class=\"k\">for <\/span>repository: base. Please verify its path and try again\r\n<\/code><\/pre>\n<p>\u55ef~\uff0c\u4e0d\u884c\u5462\u3002\uff08\u6211\u5c31\u77e5\u9053\uff09<\/p>\n<p>\u6b63\u5982\u201cproblem making ssl connection\u201d\u6240\u8ff0\uff0cSSL\u8fc7\u65e7\u65e0\u6cd5\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n<h2>SSL\u76f8\u5173\u7684\u66f4\u65b0<br \/>\n\u55ef\uff0c\u53ea\u80fd\u901a\u8fc7curl\u6216wget\u83b7\u53d6\u6587\u4ef6\uff0c\u4f46\u8fd9\u4e9b\u5de5\u5177\u7684SSL\u7248\u672c\u8fc7\u65e7\uff0c\u65e0\u6cd5\u8d77\u4f5c\u7528\u3002\u56e0\u6b64\uff0c\u6211\u4f1a\u5728\u53e6\u4e00\u4e2a\u73af\u5883\u4e2d\u83b7\u53d6\u5e76\u8fdb\u884c\u4f20\u8f93\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># wget https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/wget-1.12-10.el6.x86_64.rpm<\/span>\r\n<\/code><\/pre>\n<p>\u6211\u77e5\u9053\u7248\u672c\u5f88\u65e7\uff0c\u4f46\u662f\u5728\u8fd9\u4e2a\u73af\u5883\u4e0b\u4e0d\u4f1a\u518d\u6709\u65b0\u7684\u8f6f\u4ef6\u5305\u51fa\u73b0\u4e86\uff0c\u6240\u4ee5\u5c31\u8fd9\u6837\u5427\u3002\u8bf7\u62ff\u7ed9\u6211\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># rpm -Uvh wget-1.12-10.el6.x86_64.rpm<\/span>\r\n<\/code><\/pre>\n<p>\u5b89\u88c5\u3002\u8fd9\u6837\u5c31\u80fd\u591f\u8fde\u63a5\u5230\u6700\u65b0\u7684https\u7f51\u7ad9\u4e86\u3002\u4f46\u4e3a\u4e86\u4fdd\u9669\u8d77\u89c1\uff0c\u53ef\u4ee5\u52a0\u4e0a&#8211;no-check-certificate\u4e4b\u7c7b\u7684\u9009\u9879\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u66f4\u65b0\u4e0eSSL\u76f8\u5173\u7684\u4e00\u4e9b\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/updates\/x86_64\/Packages\/ca-certificates-2020.2.41-65.1.el6_10.noarch.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/p11-kit-0.18.5-2.el6_5.2.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/p11-kit-trust-0.18.5-2.el6_5.2.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/nss-3.36.0-8.el6.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/nss-util-3.36.0-1.el6.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/nss-softokn-3.14.3-23.3.el6_8.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/nspr-4.19.0-1.el6.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/nss-sysinit-3.36.0-8.el6.x86_64.rpm<\/span>\r\n<span class=\"c\"># wget --no-check-certificate https:\/\/vault.centos.org\/6.10\/os\/x86_64\/Packages\/nss-tools-3.36.0-8.el6.x86_64.rpm<\/span>\r\n<span class=\"c\"># rpm -Uvh ca-certificates-2020.2.41-65.1.el6_10.noarch.rpm p11-kit-0.18.5-2.el6_5.2.x86_64.rpm p11-kit-trust-0.18.5-2.el6_5.2.x86_64.rpm nss-3.36.0-8.el6.x86_64.rpm nss-util-3.36.0-1.el6.x86_64.rpm nss-softokn-3.14.3-23.3.el6_8.x86_64.rpm nspr-4.19.0-1.el6.x86_64.rpm nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64.rpm nss-sysinit-3.36.0-8.el6.x86_64.rpm nss-tools-3.36.0-8.el6.x86_64.rpm<\/span>\r\n\r\n\u6e96\u5099\u4e2d...                <span class=\"c\">########################################### [100%]<\/span>\r\n   1:nspr                   <span class=\"c\">########################################### [ 10%]<\/span>\r\n   2:nss-util               <span class=\"c\">########################################### [ 20%]<\/span>\r\n   3:nss-softokn-freebl     <span class=\"c\">########################################### [ 30%]<\/span>\r\n   4:p11-kit                <span class=\"c\">########################################### [ 40%]<\/span>\r\n   5:nss-softokn            <span class=\"c\">########################################### [ 50%]<\/span>\r\n   6:nss-sysinit            <span class=\"c\">########################################### [ 60%]<\/span>\r\n   7:nss                    <span class=\"c\">########################################### [ 70%]<\/span>\r\n   8:p11-kit-trust          <span class=\"c\">########################################### [ 80%]<\/span>\r\n   9:ca-certificates        <span class=\"c\">########################################### [ 90%]<\/span>\r\n  10:nss-tools              <span class=\"c\">########################################### [100%]<\/span>\r\n<\/code><\/pre>\n<p>\u549a\u3002\u5bf9\u4e8e\u5728\u6700\u540e\u4e00\u6b65\u9047\u5230\u9519\u8bef\u7684\u4eba\uff0c\u6211\u4eec\u5411\u60a8\u8868\u793a\u6170\u95ee\u3002\u8bf7\u5c1d\u8bd5\u4e0d\u65ad\u52aa\u529b\u548c\u6539\u8fdb\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># yum install rsync<\/span>\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\nbase                                               | 3.7 kB     00:00\r\nbase\/primary_db                                    | 4.7 MB     00:00\r\nextras                                             | 3.4 kB     00:00\r\nextras\/primary_db                                  |  29 kB     00:00\r\nupdates                                            | 3.4 kB     00:00\r\nupdates\/primary_db                                 |  12 MB     00:01\r\nSetting up Install Process\r\nResolving Dependencies\r\n<span class=\"nt\">--<\/span><span class=\"o\">&gt;<\/span> Running transaction check\r\n<span class=\"nt\">---<\/span><span class=\"o\">&gt;<\/span> Package rsync.x86_64 0:3.0.6-12.el6 will be installed\r\n<span class=\"nt\">--<\/span><span class=\"o\">&gt;<\/span> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n<span class=\"o\">=======================================================================<\/span>\r\n Package        Arch       Version                 Repository     Size\r\n<span class=\"o\">=======================================================================<\/span>\r\nInstalling:\r\n rsync          x86_64     3.0.6-12.el6            base          335 k\r\n\r\nTransaction Summary\r\n<span class=\"o\">=======================================================================<\/span>\r\nInstall       1 Package<span class=\"o\">(<\/span>s<span class=\"o\">)<\/span>\r\n\r\nTotal download size: 335 k\r\nInstalled size: 682 k\r\nIs this ok <span class=\"o\">[<\/span>y\/N]: y\r\nDownloading Packages:\r\nrsync-3.0.6-12.el6.x86_64.rpm                      | 335 kB     00:00\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\nWarning: RPMDB altered outside of yum.\r\n  Installing : rsync-3.0.6-12.el6.x86_64                          1\/1\r\n\r\nInstalled:\r\n  rsync.x86_64 0:3.0.6-12.el6\r\n\r\nComplete!\r\n<\/code><\/pre>\n<p>\u55e8\uff0c\u4f60\u6765\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code># rsync\r\nrsync  version 3.0.6  protocol version 30\r\nCopyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.\r\nWeb site: http:\/\/rsync.samba.org\/\r\nCapabilities:\r\n    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,\r\n    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,\r\n    append, ACLs, xattrs, iconv, symtimes\r\n\r\nrsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you\r\nare welcome to redistribute it under certain conditions.  See the GNU\r\nGeneral Public Licence for details.\r\n\r\nrsync is a file transfer program capable of efficient remote update\r\nvia a fast differencing algorithm.\r\n\r\nUsage: rsync [OPTION]... SRC [SRC]... DEST\r\n  or   rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST\r\n  or   rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST\r\n  or   rsync [OPTION]... SRC [SRC]... rsync:\/\/[USER@]HOST[:PORT]\/DEST\r\n  or   rsync [OPTION]... [USER@]HOST:SRC [DEST]\r\n  or   rsync [OPTION]... [USER@]HOST::SRC [DEST]\r\n  or   rsync [OPTION]... rsync:\/\/[USER@]HOST[:PORT]\/SRC [DEST]\r\nThe ':' usages connect via remote shell, while '::' &amp; 'rsync:\/\/' usages connect\r\nto an rsync daemon, and require SRC or DEST to start with a module name.\r\n\r\nOptions\r\n -v, --verbose               increase verbosity\r\n -q, --quiet                 suppress non-error messages\r\n     --no-motd               suppress daemon-mode MOTD (see manpage caveat)\r\n -c, --checksum              skip based on checksum, not mod-time &amp; size\r\n -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)\r\n     --no-OPTION             turn off an implied OPTION (e.g. --no-D)\r\n -r, --recursive             recurse into directories\r\n -R, --relative              use relative path names\r\n     --no-implied-dirs       don't send implied dirs with --relative\r\n -b, --backup                make backups (see --suffix &amp; --backup-dir)\r\n     --backup-dir=DIR        make backups into hierarchy based in DIR\r\n     --suffix=SUFFIX         set backup suffix (default ~ w\/o --backup-dir)\r\n -u, --update                skip files that are newer on the receiver\r\n     --inplace               update destination files in-place (SEE MAN PAGE)\r\n     --append                append data onto shorter files\r\n     --append-verify         like --append, but with old data in file checksum\r\n -d, --dirs                  transfer directories without recursing\r\n -l, --links                 copy symlinks as symlinks\r\n -L, --copy-links            transform symlink into referent file\/dir\r\n     --copy-unsafe-links     only \"unsafe\" symlinks are transformed\r\n     --safe-links            ignore symlinks that point outside the source tree\r\n -k, --copy-dirlinks         transform symlink to a dir into referent dir\r\n -K, --keep-dirlinks         treat symlinked dir on receiver as dir\r\n -H, --hard-links            preserve hard links\r\n -p, --perms                 preserve permissions\r\n -E, --executability         preserve the file's executability\r\n     --chmod=CHMOD           affect file and\/or directory permissions\r\n -A, --acls                  preserve ACLs (implies --perms)\r\n -X, --xattrs                preserve extended attributes\r\n -o, --owner                 preserve owner (super-user only)\r\n -g, --group                 preserve group\r\n     --devices               preserve device files (super-user only)\r\n     --copy-devices          copy device contents as regular file\r\n     --specials              preserve special files\r\n -D                          same as --devices --specials\r\n -t, --times                 preserve modification times\r\n -O, --omit-dir-times        omit directories from --times\r\n     --super                 receiver attempts super-user activities\r\n     --fake-super            store\/recover privileged attrs using xattrs\r\n -S, --sparse                handle sparse files efficiently\r\n -n, --dry-run               perform a trial run with no changes made\r\n -W, --whole-file            copy files whole (without delta-xfer algorithm)\r\n -x, --one-file-system       don't cross filesystem boundaries\r\n -B, --block-size=SIZE       force a fixed checksum block-size\r\n -e, --rsh=COMMAND           specify the remote shell to use\r\n     --rsync-path=PROGRAM    specify the rsync to run on the remote machine\r\n     --existing              skip creating new files on receiver\r\n     --ignore-existing       skip updating files that already exist on receiver\r\n     --remove-source-files   sender removes synchronized files (non-dirs)\r\n     --del                   an alias for --delete-during\r\n     --delete                delete extraneous files from destination dirs\r\n     --delete-before         receiver deletes before transfer, not during\r\n     --delete-during         receiver deletes during transfer (default)\r\n     --delete-delay          find deletions during, delete after\r\n     --delete-after          receiver deletes after transfer, not during\r\n     --delete-excluded       also delete excluded files from destination dirs\r\n     --ignore-errors         delete even if there are I\/O errors\r\n     --force                 force deletion of directories even if not empty\r\n     --max-delete=NUM        don't delete more than NUM files\r\n     --max-size=SIZE         don't transfer any file larger than SIZE\r\n     --min-size=SIZE         don't transfer any file smaller than SIZE\r\n     --partial               keep partially transferred files\r\n     --partial-dir=DIR       put a partially transferred file into DIR\r\n     --delay-updates         put all updated files into place at transfer's end\r\n -m, --prune-empty-dirs      prune empty directory chains from the file-list\r\n     --numeric-ids           don't map uid\/gid values by user\/group name\r\n     --timeout=SECONDS       set I\/O timeout in seconds\r\n     --contimeout=SECONDS    set daemon connection timeout in seconds\r\n -I, --ignore-times          don't skip files that match in size and mod-time\r\n     --size-only             skip files that match in size\r\n     --modify-window=NUM     compare mod-times with reduced accuracy\r\n -T, --temp-dir=DIR          create temporary files in directory DIR\r\n -y, --fuzzy                 find similar file for basis if no dest file\r\n     --compare-dest=DIR      also compare destination files relative to DIR\r\n     --copy-dest=DIR         ... and include copies of unchanged files\r\n     --link-dest=DIR         hardlink to files in DIR when unchanged\r\n -z, --compress              compress file data during the transfer\r\n     --compress-level=NUM    explicitly set compression level\r\n     --skip-compress=LIST    skip compressing files with a suffix in LIST\r\n -C, --cvs-exclude           auto-ignore files the same way CVS does\r\n -f, --filter=RULE           add a file-filtering RULE\r\n -F                          same as --filter='dir-merge \/.rsync-filter'\r\n                             repeated: --filter='- .rsync-filter'\r\n     --exclude=PATTERN       exclude files matching PATTERN\r\n     --exclude-from=FILE     read exclude patterns from FILE\r\n     --include=PATTERN       don't exclude files matching PATTERN\r\n     --include-from=FILE     read include patterns from FILE\r\n     --files-from=FILE       read list of source-file names from FILE\r\n -0, --from0                 all *-from\/filter files are delimited by 0s\r\n -s, --protect-args          no space-splitting; only wildcard special-chars\r\n     --address=ADDRESS       bind address for outgoing socket to daemon\r\n     --port=PORT             specify double-colon alternate port number\r\n     --sockopts=OPTIONS      specify custom TCP options\r\n     --blocking-io           use blocking I\/O for the remote shell\r\n     --stats                 give some file-transfer stats\r\n -8, --8-bit-output          leave high-bit chars unescaped in output\r\n -h, --human-readable        output numbers in a human-readable format\r\n     --progress              show progress during transfer\r\n -P                          same as --partial --progress\r\n -i, --itemize-changes       output a change-summary for all updates\r\n     --out-format=FORMAT     output updates using the specified FORMAT\r\n     --log-file=FILE         log what we're doing to the specified FILE\r\n     --log-file-format=FMT   log updates using the specified FMT\r\n     --password-file=FILE    read daemon-access password from FILE\r\n     --list-only             list the files instead of copying them\r\n     --bwlimit=KBPS          limit I\/O bandwidth; KBytes per second\r\n     --write-batch=FILE      write a batched update to FILE\r\n     --only-write-batch=FILE like --write-batch but w\/o updating destination\r\n     --read-batch=FILE       read a batched update from FILE\r\n     --protocol=NUM          force an older protocol version to be used\r\n     --iconv=CONVERT_SPEC    request charset conversion of filenames\r\n -4, --ipv4                  prefer IPv4\r\n -6, --ipv6                  prefer IPv6\r\n     --version               print version number\r\n(-h) --help                  show this help (-h works with no other options)\r\n\r\nUse \"rsync --daemon --help\" to see the daemon-mode command-line options.\r\nPlease see the rsync(1) and rsyncd.conf(5) man pages for full documentation.\r\nSee http:\/\/rsync.samba.org\/ for updates, bug reports, and answers\r\nrsync error: syntax or usage error (code 1) at main.c(1407) [client=3.0.6]\r\n<\/code><\/pre>\n<p>\u5b8c\u6210\u4e86\u8fd9\u53f0\u670d\u52a1\u5668\u7684\u6570\u636e\u8fc1\u79fb\uff0c\u53ef\u4ee5\u5e9f\u5f03\u4e86\u3002\u8f9b\u82e6\u4e86\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u4e2d\u6587\u91ca\u4e49\uff1a \u4e3a\u4ec0\u4e48\u73b0\u5728\u8fd8\u5728\u4f7f\u7528CentOS 6\uff1f\u8fd9\u91cc\u6709\u5404\u79cd\u5404\u6837\u7684\u5b89\u5168\u95ee\u9898\uff0c\u5f53\u7136\u4e5f\u6ca1\u6709\u5f97\u5230\u652f\u6301\uff0c\u8fd9\u5c31\u662f\u8981\u9001\u7ed9\u4f60 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-27673","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\u7684\u6280\u672f\u6587\u7ae0\" \/>\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.silicloud.com\/zh\/blog\/\u53ea\u60f3\u5728centos-6\u4e0a\u901a\u8fc7yum-install\u3002-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u53ea\u60f3\u5728centos-6\u4e0a\u901a\u8fc7yum-install\u3002-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-01T07:59:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T19:59:06+00:00\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/\",\"name\":\"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-01-01T07:59:29+00:00\",\"dateModified\":\"2025-08-11T19:59:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"description\":\"\u5173\u4e8e\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install - Blog - Silicon Cloud","description":"\u5173\u4e8e\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\u7684\u6280\u672f\u6587\u7ae0","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.silicloud.com\/zh\/blog\/\u53ea\u60f3\u5728centos-6\u4e0a\u901a\u8fc7yum-install\u3002-2\/","og_locale":"zh_CN","og_type":"article","og_title":"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install","og_description":"\u5173\u4e8e\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u53ea\u60f3\u5728centos-6\u4e0a\u901a\u8fc7yum-install\u3002-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-01-01T07:59:29+00:00","article_modified_time":"2025-08-11T19:59:06+00:00","author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/","name":"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-01-01T07:59:29+00:00","dateModified":"2025-08-11T19:59:06+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"description":"\u5173\u4e8e\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u53ea\u60f3\u5728CentOS 6\u4e0a\u901a\u8fc7yum install"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%8f%aa%e6%83%b3%e5%9c%a8centos-6%e4%b8%8a%e9%80%9a%e8%bf%87yum-install%e3%80%82-2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=27673"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27673\/revisions"}],"predecessor-version":[{"id":111174,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27673\/revisions\/111174"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=27673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=27673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=27673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}