さて、rsyncを3.1.2から3.2.7にアップグレードしたいと思います。次の操作を行います。
wget -c https://download.samba.org/pub/rsync/src/rsync-3.2.7.tar.gz
tar -zxvf rsync-3.2.7.tar.gz
cd rsync-3.2.7
./configure
make && make install
すべての手順は正常に実行されますが、バージョンを確認した場合はまだ3.1.2です。
[root@k8smasterone rsync-3.2.7]# rsync --version
rsync version 3.1.2 protocol version 31
Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
私は何を逃したことがありませんか?オペレーティングシステム情報は次のとおりです。
[root@k8smasterone rsync-3.2.7]# uname -a
Linux k8smasterone 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
私は次のように設定しようとしました。
./configure --prefix=/usr/bin/
動作しません。