摘要:
#!/bin/bash # init centos7 ./centos7-init.sh 主机名 # 检查是否为root用户,脚本必须在root权限下运行 if [[ "$(whoami)" != "root" ]]; then echo "please run this script as roo 阅读全文
摘要:
一、使用yum安装Git 1.查看 yum 源仓库的 Git 信息 使用yum info git查看 [root@localhost~]# yum info git Loaded plugins: fastestmirror, langpacks Repodata is over 2 weeks o 阅读全文