zhangguanzhang's Blog

centos7 的一些常见软件的安装 mirror

字数统计: 284阅读时长: 1 min
2017/07/05 Share

git 2

centos 7 自带的 git 版本很低:

1
2
$ git version
git version 1.8.3.1

安装 git 2

1
2
3
yum -y install \
https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm \
&& yum install -y git

ffmpeg

1
2
3
4
5
6
7
https://rpmfusion.org/

mirror list:
https://mirrors.rpmfusion.org/mm/publiclist/#CA

http://mirrors.ustc.edu.cn/rpmfusion/free/el/

腾讯的 mirror:

1
https://mirrors.cloud.tencent.com/help/rpmfusion.html

安装:

1
2
yum install -y http://mirrors.ustc.edu.cn/rpmfusion/free/el/rpmfusion-free-release-7.noarch.rpm && \
yum install -y ffmpeg ffmpeg-devel

mysql

rpm 下载地址

1
http://mirrors.163.com/mysql/Downloads/MySQL-5.7/

bonding状态查看:

1
2
3
4
5
6
7
yum remove mariadb-libs

wget http://mirrors.163.com/mysql/Downloads/MySQL-5.7/mysql-community-client-5.7.32-1.el7.x86_64.rpm \
http://mirrors.163.com/mysql/Downloads/MySQL-5.7/mysql-community-libs-5.7.32-1.el7.x86_64.rpm \
http://mirrors.163.com/mysql/Downloads/MySQL-5.7/mysql-community-common-5.7.32-1.el7.x86_64.rpm && \
yum localinstall -y mysql-community*.rpm && \
rm -f mysql-community*.rpm

scan

nmap

1
2
3
yum remove -y nmap

rpm -ivh https://nmap.org/dist/nmap-7.91-1.x86_64.rpm

使用:

1
2
nmap --script ssl-cert,ssl-enum-ciphers  $host -p 443 
nmap --script 'http*,ssl*' $host -p 443

net

tunctl

1
2
3
4
5
6
7
8
9
10
cat > /etc/yum.repos.d/nux-misc.repo <<'EOF'
[nux-misc]
name=Nux Misc
baseurl=http://li.nux.ro/download/nux/misc/el7/x86_64/
enabled=0
gpgcheck=1
gpgkey=http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
EOF

yum --enablerepo=nux-misc install -y tunctl
CATALOG
  1. 1. git 2
  2. 2. ffmpeg
  3. 3. mysql
  4. 4. scan
    1. 4.1. nmap
  5. 5. net
    1. 5.1. tunctl