|
发表于 2023-9-20 08:10:24|
显示全部楼层
回帖奖励 +10 金币
如果你拿来当后端机器用,可以用CloudFlare当CDN或者阿里云、腾讯云CDN。
如果你想拿这个或者其他机器来自建CDN可以通过反代或者第三方软件来实现。
以fikker为例,官网:https://www.fikker.com/
一台纯净机器(没安装nginx、apache等),通过SSH工具链接机器,然后执行如下命令
- FikkerInstallDir="/root" # default installation directory
- FikkerNewVersion="fikkerd-3.8.3-linux-x86-64" # package name
- service iptables stop 2> /dev/null ; chkconfig iptables off 2> /dev/null ; service httpd stop 2> /dev/null ; service nginx stop 2> /dev/null ; chkconfig httpd off 2> /dev/null ; chkconfig nginx off 2> /dev/null ; systemctl stop firewalld.service 2> /dev/null ; systemctl disable firewalld.service 2> /dev/null ; systemctl stop httpd.service 2> /dev/null ; systemctl stop nginx.service 2> /dev/null ; systemctl disable httpd.service 2> /dev/null ; systemctl disable nginx.service 2> /dev/null ; if [ -f "/usr/bin/apt-get" ]; then apt-get install -y wget tar; fi ; if [ -f "/usr/bin/yum" ]; then yum install -y wget tar; fi ; cd $FikkerInstallDir ; rm -rf $FikkerNewVersion.tar.gz ; wget -c --no-check-certificate https://www.fikker.com/dl/$FikkerNewVersion.tar.gz && tar zxf $FikkerNewVersion.tar.gz && rm -rf $FikkerNewVersion.tar.gz && cd $FikkerNewVersion && ./fikkerd.sh install && ./fikkerd.sh start && cd $FikkerInstallDir && sleep 5 && echo 'finished!'
复制代码
安装完毕,登录后台管理系统:
http://服务器IP:6780,管理员的初始密码:123456
主机管理:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|