jason@Jasons-MacBook-Pro ~ % dig ipv6-nat-ssh.liujason.com ; <<>> DiG 9.10.6 <<>> ipv6-nat-ssh.liujason.com;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24490;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;ipv6-nat-ssh.liujason.com. IN A ;; ANSWER SECTION:ipv6-nat-ssh.liujason.com. 300 IN CNAME f3746e25c7514339858774af46c13497.pacloudflare.com.f3746e25c7514339858774af46c13497.pacloudflare.com. 300 IN A 172.65.126.49 ;; Query time: 52 msec;; SERVER: 2a02:1800:100::42:2#53(2a02:1800:100::42:2);; WHEN: Mon May 25 15:16:38 CEST 2020;; MSG SIZE rcvd: 130
实测一下ssh连接
丝般顺滑,比之前快多了!之前从按下回车键到连上差不多要10秒左右,现在高峰时期5秒左右吧。
jason@Jasons-MacBook-Pro ~ % ssh root@ipv6-nat-ssh.liujason.comThe authenticity of host 'ipv6-nat-ssh.liujason.com (2606:4700:70:0:3070:5104:c36b:289)' can't be established.ECDSA key fingerprint is SHA256:tvIf426QM1bWb8yv0KeoejpUWUl8PEYw2Q4qUu6fuk4.Are you sure you want to continue connecting (yes/no/[fingerprint])? yesWarning: Permanently added 'ipv6-nat-ssh.liujason.com,2606:4700:70:0:3070:5104:c36b:289' (ECDSA) to the list of known hosts.Last failed login: Mon May 25 20:02:54 CST 2020 from xxxxx on ssh:nottyThere were 8631 failed login attempts since the last successful login.Last login: Wed Jan 29 16:47:04 2020 from xxxxx-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory[root@ecs-z3H ~]#
实测用IP直接连接也是一样的没问题:
jason@Jasons-MacBook-Pro ~ % ssh root@172.65.126.49 The authenticity of host '172.65.126.49 (172.65.126.49)' can't be established.ECDSA key fingerprint is SHA256:tvIf426QM1bWb8yv0KeoejpUWUl8PEYw2Q4qUu6fuk4.Are you sure you want to continue connecting (yes/no/[fingerprint])? yesWarning: Permanently added '172.65.126.49' (ECDSA) to the list of known hosts.Last failed login: Mon May 25 21:25:56 CST 2020 from xxxxx on ssh:nottyThere were 428 failed login attempts since the last successful login.Last login: Mon May 25 20:02:56 2020 from xxxxx-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
这两天安装whmcs的时候,出现了 requires the ionCube PHP Loader ioncube_loader_lin_5.4.so to be installed by the site administrator. 上面说的是没有安装ionCube,所以我们先来安装一下ionCube。 查看系统 uname -a 这里主要是查看一下系统是32位还是64位的,不然安装了也是没有用的。 下载ionCube 进入:http://www.ioncube.com/loaders.php ,根据你的系统是32位还是64位下载适当的软件包。 32位ionCube cd /usr/local wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar zxvf ioncube_loaders_lin_x86.tar.gz 64位ionCube cd /usr/local wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar zxvf ioncube_loaders_lin_x86-64.tar.gz 配置ionCube 修改php.ini 在文件尾部添加以下代码: [ionCube Loader] zend_extension=”/usr/local/ioncube/ioncube_loader_lin_php的版本号.so” 列如 PHP5.1