小编MH *_*gar的帖子

在 Ubuntu 19.10 (Eoan Ermine) 上安装 phpMyAdmin 时出现问题

我最近刚刚从 Ubuntu 19.04 (Disco Dingo) 升级到 Ubuntu 19.10 (Eoan Ermine)。升级时我的 phpMyAdmin 被删除了。现在我无法再次安装它。

我尝试使用:

sudo apt-get install phpmyadmin php-gettext
Run Code Online (Sandbox Code Playgroud)

但它显示如下:

Package phpmyadmin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'phpmyadmin' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

所以我从 phpMyAdmin 中搜索apt search phpmyadmin,但没有找到。

如何在此版本上安装 phpMyAdmin?

apt repository phpmyadmin 19.10

14
推荐指数
3
解决办法
4万
查看次数

ubuntu 20.04 apache2 服务器失败

刚刚从 19.10 升级到 ubuntu 20.04。重新启动后,我注意到我的 apache 服务器失败了。
我跑了systemctl restart apache2,显示

Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
Run Code Online (Sandbox Code Playgroud)


然后我跑了systemctl status apache2.service,给了这个

 ? apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
     Active: failed (Result: exit-code) since Fri 2020-05-08 02:14:14 +06; 22s >
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 3271 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FA>

May 08 02:14:14 mahmud systemd[1]: Starting The Apache HTTP Server... …
Run Code Online (Sandbox Code Playgroud)

server apache2 20.04

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

libffi.so.7:无法打开共享对象文件:没有这样的文件或目录

我刚刚升级到 ubuntu 20.10,当我尝试使用之前运行良好的 rails 应用程序时,开始显示此错误。

LoadError: libffi.so.7: cannot open shared object file: No such file or directory - 
/home/mahmud/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ffi-1.13.1/lib/ffi_c.so
Run Code Online (Sandbox Code Playgroud)

我的 rails 版本:6.0.3.4 Ruby 版本:2.7.1p83 我使用 rbenv 安装了 ruby​​ 谁能告诉我我搞砸了什么?

ruby 20.10

3
推荐指数
2
解决办法
4824
查看次数

标签 统计

19.10 ×1

20.04 ×1

20.10 ×1

apache2 ×1

apt ×1

phpmyadmin ×1

repository ×1

ruby ×1

server ×1