AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-119065

Ciasto piekarz's questions

Martin Hope
Ciasto piekarz
Asked: 2021-02-28 11:14:21 +0800 CST

我们如何才能使连接到openvpn访问服务器不提示密码?

  • 0

我的 Ubuntu 20.04 使用 systemd 单元连接到远程 openvpn 访问服务器。

ubuntu@worker-0-node1:~$ sudo systemctl start openvpn@client
? Enter Auth Username: ovpnserve
? Enter Auth Password: ***********    

如何禁用此提示,以便在没有提示的情况下填写密码。

networking
  • 1 个回答
  • 950 Views
Martin Hope
Ciasto piekarz
Asked: 2020-08-28 11:36:09 +0800 CST

无法在 arm64 架构上安装 podman

  • 0

我发现这个页面说 arm64 版本的 podman https://launchpad.net/~projectatomic/+archive/ubuntu/ppa/+build/16688612

所以我在https://podman.io/getting-started/installation.html上按照 ubuntu 下的步骤进行操作, 即

. /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
sudo apt-get update

的记录apt-get update

Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]       
Hit:4 http://repo.linaro.org/ubuntu/linaro-overlay stretch InRelease                
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]     
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]      
Hit:7 https://download.docker.com/linux/ubuntu bionic InRelease                     
Hit:9 https://repos.influxdata.com/ubuntu bionic InRelease                          
Hit:10 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04  InRelease
Hit:11 https://deb.nodesource.com/node_10.x bionic InRelease                        
Hit:8 https://packages.cloud.google.com/apt kubernetes-xenial InRelease         
Hit:12 http://apt.radxa.com/bionic bionic InRelease       
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 DEP-11 Metadata [289 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [280 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 DEP-11 Metadata [9284 B]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 DEP-11 Metadata [42.7 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 DEP-11 Metadata [50.9 kB]
Fetched 925 kB in 5s (173 kB/s)                                                     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

之后我尝试升级。

sudo apt-get -y upgrade 
sudo apt-get -y install podman

但我不断收到未找到的包裹

$ sudo apt -y install podman
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package podman

请帮助在 arm64 上安装 podman

package-management ppa apt 18.04
  • 1 个回答
  • 2826 Views
Martin Hope
Ciasto piekarz
Asked: 2020-04-04 14:20:32 +0800 CST

无法挂载某些分区但可以挂载 vfat

  • 0

这是的输出sudo fdisk -l /dev/sdb

磁盘 /dev/sdb:111.8 GiB,120034123776 字节,234441648 个扇区单位:1 * 512 = 512 字节扇区大小(逻辑/物理):512 字节/512 字节 I/O 大小(最小/最佳):512 字节/ 33553920字节磁盘标签类型:dos磁盘标识符:0x000c918a

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdb1            8192   3685546   3677355  1.8G  e W95 FAT16 (LBA)
/dev/sdb2         3685547 234441647 230756101  110G  5 Extended
/dev/sdb5         3686400   3751933     65534   32M 83 Linux
/dev/sdb6         3751936   3899389    147454   72M  c W95 FAT32 (LBA)
/dev/sdb7         3899392 121831421 117932030 56.2G 83 Linux
/dev/sdb8       121831424 122879997   1048574  512M  c W95 FAT32 (LBA)
/dev/sdb9       122880000 234441647 111561648 53.2G 83 Linux

现在我可以挂载 sdb8, sdb6 , sdb1

但不是其余的,并得到以下错误:

$ sudo mount /dev/sdb7 /mnt/ssd -t vfat
mount: /mnt/ssd: wrong fs type, bad option, bad superblock on /dev/sdb7, missing codepage or helper program, or other error.

$ sudo mount /dev/sdb9 /mnt/ssd -t vfat
mount: /mnt/ssd: wrong fs type, bad option, bad superblock on /dev/sdb9, missing codepage or helper program, or other error.
partitioning mount hard-drive fat32 18.04
  • 1 个回答
  • 322 Views
Martin Hope
Ciasto piekarz
Asked: 2020-03-23 15:06:14 +0800 CST

无法安装 pihole 给出错误无法初始化前端:对话框

  • 2

在我运行这个命令之后:

$ curl -L install.pi-hole.net | bash

它卡住了

debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Installing packages
-------------------

..100%

但我确实安装了 debconf 仍然说无法初始化前端

server debconf 18.04
  • 1 个回答
  • 883 Views
Martin Hope
Ciasto piekarz
Asked: 2020-02-07 09:17:09 +0800 CST

如何设置连接网络后运行 fstab 的 ubuntu?

  • 4

马上

我有这样的设置/etc/fstab:

//192.168.5.167/H /mnt/ssd cifs credentials=/root/.smbreds,noauto,x- systemd.automount 0 0

我想将其设置为应该连接第一个网络,然后应该安装 fstab mount。

networking fstab mount cifs 18.04
  • 2 个回答
  • 10166 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve