使用CentOS7搭建Nat64服务器实现IPv6网段访问IPv4地址
将iso镜像挂载到/media/cdrom目录下,ISO是指什么镜像?
yum clean all
yum repolist all
yum groupinstall -y "Development Tools"
yum install -y pkgconfig
yum install -y iptables-devel
yum install kernel-devel
yum install kernel-headers
yum clean all
yum repolist al
这两个命令后,后面都是报错
[root@localhost kernels]# dkms install Jool/
Sign command: /lib/modules/3.10.0-1160.el7.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Error! Arguments <module> and <module-version> are not specified.
Usage: add <module>/<module-version> or
add -m <module>/<module-version> or
add -m <module> -v <module-version>
报错
[root@localhost Jool]# ./autogen.sh
configure.ac:8: error: Libtool version 2.4.6 or higher is required
/usr/share/aclocal/libtool.m4:48: LT_PREREQ is expanded from...
configure.ac:8: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: error: echo failed with exit status: 63
aclocal: warning: couldn't open directory 'm4': No such file or directory
configure.ac:8: error: Libtool version 2.4.6 or higher is required
/usr/share/aclocal/libtool.m4:48: LT_PREREQ is expanded from...
configure.ac:8: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: error: echo failed with exit status: 63
autoreconf: aclocal failed with exit status: 63
报错
[root@localhost ~]# git clone https://github.com/NICMx/Jool.git
Cloning into 'Jool'...
fatal: unable to access 'https://github.com/NICMx/Jool.git/': Failed connect to github.com:443; Connection refused
报错
[root@localhost yum.repos.d]# git clone https://github.com/NICMx/Jool.git
Cloning into 'Jool'...
error: RPC failed; result=35, HTTP code = 0
fatal: The remote end hung up unexpectedly
[root@localhost yum.repos.d]# git clone git://github.com/NICMx/Jool.git
Cloning into 'Jool'...
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Connection refused
[root@localhost yum.repos.d]# git config --global http.postBuffer 5242880000
[root@localhost yum.repos.d]# git clone https://github.com/NICMx/Jool.git
Cloning into 'Jool'...
fatal: unable to access 'https://github.com/NICMx/Jool.git/': Failed connect to github.com:443; Connection refused
[root@localhost yum.repos.d]# dkms install Jool/
Error! Your kernel headers for kernel 3.10.0-1160.el7.x86_64 cannot be found at /lib/modules/3.10.0-1160.el7.x86_64/build or /lib/modules/3.10.0-1160.el7.x86_64/source.
Please install the linux-headers-3.10.0-1160.el7.x86_64 package or use the --kernelsourcedir option to tell DKMS where it's located.
[root@localhost yum.repos.d]# cd /root
[root@localhost ~]# dkms install Jool/
Error! Your kernel headers for kernel 3.10.0-1160.el7.x86_64 cannot be found at /lib/modules/3.10.0-1160.el7.x86_64/build or /lib/modules/3.10.0-1160.el7.x86_64/source.
Please install the linux-headers-3.10.0-1160.el7.x86_64 package or use the --kernelsourcedir option to tell DKMS where it's located.