我在我的服务器中使用NextCloud,NextCloud 通知我:
您当前正在运行 PHP
7.0.32-0ubuntu0.16.04.1
。一旦您的发行版支持 PHP 组,就升级您的 PHP 版本以利用 PHP Group 提供的性能和安全更新。
因此,我尝试通过执行以下操作来升级操作系统(Ubuntu 16.04):
apt-get update
apt-get dist-update
然后我重新启动了服务器并重新执行了上述命令。毕竟,当我从终端连接时,我得到:
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-83-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
0 packages can be updated.
0 updates are security updates.
Run Code Online (Sandbox Code Playgroud)
而我的 PHP 版本仍然是PHP 7.0.32-0ubuntu0.16.04.1 (cli) ( NTS )
.
这意味着 PHP 7.0.32 是我可以在 ubuntu 16.04 中安装的最新版本;
我按照本指南安装 Redis "How To Install and Configure Redis on Ubuntu 16.04"。但是,现在我想Redis
从我的服务器 ( Ubuntu 16.04
) 中删除。
该命令sudo apt-get purge --auto-remove redis-server
不起作用,因为我Redis
手动安装了..
我现在如何卸载它?
我安装openssh-server
的Ubuntu server 16.04
和/etc/ssh/ssh_config
我说:
MaxAuthTries 3
PasswordAuthentication YES
Run Code Online (Sandbox Code Playgroud)
然后重新启动 ssh 服务器。当我尝试使用 ssh 从不同的 PC 连接时,我收到一条消息
Algorithm Negotiation failed
回到服务器,当我运行时出现systemctl status ssh
此错误
Unable to negotiate with 192.168.0.132 port 63428: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
我编辑/etc/ssh/sshd_config
添加我添加行
KexAlgorithms=+diffie-hellman-group1-sha1
Run Code Online (Sandbox Code Playgroud)
现在我得到一个不同的错误,当我运行 systemctl status ssh
Unable to negotiate with 192.168.0.132 port 63428: no matching key exchange method found. Their offer: aes128-cbc,3des-cbc, blowfish-cbc,cast128-cbc,twofish-cbc,arcfour [preauth]