我的 Ubuntu 20.04 使用 systemd 单元连接到远程 openvpn 访问服务器。
ubuntu@worker-0-node1:~$ sudo systemctl start openvpn@client
? Enter Auth Username: ovpnserve
? Enter Auth Password: ***********
如何禁用此提示,以便在没有提示的情况下填写密码。
我的 Ubuntu 20.04 使用 systemd 单元连接到远程 openvpn 访问服务器。
ubuntu@worker-0-node1:~$ sudo systemctl start openvpn@client
? Enter Auth Username: ovpnserve
? Enter Auth Password: ***********
如何禁用此提示,以便在没有提示的情况下填写密码。
我发现这个页面说 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
这是的输出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.
在我运行这个命令之后:
$ 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 仍然说无法初始化前端
马上
我有这样的设置/etc/fstab
:
//192.168.5.167/H /mnt/ssd cifs credentials=/root/.smbreds,noauto,x- systemd.automount 0 0
我想将其设置为应该连接第一个网络,然后应该安装 fstab mount。