小编yay*_*zis的帖子

在 Ubuntu 中升级到最新的 PHP 版本

我在我的服务器中使用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 中安装的最新版本;

upgrade php 16.04 18.04 20.04

22
推荐指数
2
解决办法
4万
查看次数

手动安装后卸载Redis

我按照本指南安装 Redis "How To Install and Configure Redis on Ubuntu 16.04"。但是,现在我想Redis从我的服务器 ( Ubuntu 16.04) 中删除。

该命令sudo apt-get purge --auto-remove redis-server不起作用,因为我Redis手动安装了..

我现在如何卸载它?

redis 16.04

17
推荐指数
1
解决办法
5万
查看次数

尝试连接到服务器时算法协商失败

我安装openssh-serverUbuntu 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]

ssh openssh 16.04

5
推荐指数
1
解决办法
3万
查看次数

标签 统计

16.04 ×3

18.04 ×1

20.04 ×1

openssh ×1

php ×1

redis ×1

ssh ×1

upgrade ×1