#EUServ# 利用dns64 德国免费小鸡安装宝塔教程
本文最后修改于 356 天前,部分内容可能已经过时!
先编辑vim /etc/resolv.conf,改成DNS64地址
nameserver 2001:67c:2b0::4
nameserver 2001:67c:27e4::64
然后编辑vim /etc/yum/pluginconf.d/fastestmirror.conf,改成
enable=0
然后执行系统更新
yum update
安装带IPv6的宝塔
curl -sSO http://download.bt.cn/install/new_install.sh && bash new_install.sh
安装带IPv4的宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
NGINX传递真实IP就在nginx.conf的http里加上
获取CDN真实IP
set_real_ip_from ::/0;
real_ip_header X-Forwarded-For;
方法二:
系统选择CentOS 7 – 64bit – minimal v4
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh