5 private links
apt-get install libexpat1-dev
apt-get install gettext
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.39.0.tar.gz
tar -zxf git-2.39.0.tar.gz
cd git-2.39.0/
make prefix=/usr/local/git all
make prefix=/usr/local/git install
echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/profile
source /etc/profile
apt-get install libssl-dev
iptables-save
rpm -qa nfs-utils rpcbind # 检查是否安装对应的两个包,如果执行完没有返回信息则说明没装
yum -y install nfs-utils rpcbind # 安装 nfs 和 rpc 包
systemctl start rpcbind
systemctl enable rpcbind # 将 rpcbind 服务加入到开机启动项
systemctl start nfs-server
systemctl enable nfs-server # 将 nfs-server 服务加入到开机启动项
server:/path /mountpath nfs nolock,nfsvers=2 0 0
yum -y install nfs-utils
systemctl start nfs-utils
systemctl enable nfs-utils
rpcinfo -p
mount 172.19.4.12:/data/nfs /data/nfs
chmod +x /usr/bin/docker-compose