centos7安装tailscale,实现centos

ps:zerotier用不了了,用tailscale代替,windows自然是傻瓜式安装,这里说centos的安装方法

1.使用官方脚本安装

 curl -fsSL https://tailscale.com/install.sh | sh

可能会报错:

[root@perfect-gigs-1 ~]# curl -fsSL https://tailscale.com/install.sh | sh
curl: (60) The certificate issuer's certificate has expired.  Check your system date and time.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

这是一个在Linux命令行中执行的curl命令,用于从https://tailscale.com下载安装脚本,并通过管道将其传递给sh命令执行。该命令的目的是安装Tailscale软件。
然而,在执行该命令时,curl遇到了一个SSL证书过期的问题,导致下载失败。建议检查系统日期和时间是否正确,并可以通过使用-k或–insecure选项来关闭curl对证书的验证。

解决方法:
由于SSL证书已过期导致的,可以尝试以下方法解决:

检查系统日期和时间是否正确,确保其与实际时间一致。

尝试更新操作系统中的证书,具体命令可能因操作系统而异。例如,在Ubuntu上可以使用以下命令更新证书:

sudo apt-get install ca-certificates

如果您确定目标网站的SSL证书可靠,可以通过使用-k或–insecure选项来关闭curl对证书的验证,例如:

curl -fsSLk https://tailscale.com/install.sh | sh

2.去官网注册账号,然后登录
网址:https://login.tailscale.com/

3.最后,可以通过以下步骤在Tailscale网络中连接到其他设备:

在CentOS 7上运行以下命令来登录Tailscale账户:

sudo tailscale up

这个命令会提示一个地址,用登录过tailscale的浏览器访问就可以了

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值