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-821548

MikiBelavista's questions

Martin Hope
MikiBelavista
Asked: 2023-09-21 20:33:45 +0800 CST

为什么我的私有IP不在允许的范围内?

  • 6

我的流浪档案

 config.vm.network :private_network, ip: "172.16.0.22"
  config.vm.provider :virtualbox do |v|
      v.customize ["modifyvm", :id, "--cpus", 2]
      v.customize ["modifyvm", :id, "--memory", 2048]
      v.customize ['modifyvm', :id, '--nicpromisc1', 'allow-all']

流浪起来之后

The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.

  Address: 172.16.0.22
  Ranges: 10.0.0.0/8, 192.168.0.0/16, 2001::/64

据我了解 172.16.xx 是私有 IP。我的 wlo1

wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c8:94:32:93:05:p2 brd ff:ff:ff:ff:ff:ff
    altname wlp3s0
    inet 192.168.1.19/24 brd 192.168.1.255 scope global dynamic noprefixroute wlo1
       valid_lft 3068sec preferred_lft 3068sec

我更改了network.conf文件,添加了172.16.0.0 cat /etc/vbox/networks.conf

* 10.0.0.0/8 192.168.0.0/16 172.16.0.0
* 2001::/64

同样的问题仍然存在。

为什么IP不在网络范围内?

networking
  • 1 个回答
  • 38 Views
Martin Hope
MikiBelavista
Asked: 2023-08-14 16:45:01 +0800 CST

符号链接锁定 -> /run/lock/ 是什么意思?

  • 5

我正在查看我的 var 目录。符号链接的真正用途是什么?

lrwxrwxrwx  1 root root        9 апр  8 07:47 lock -> /run/lock/

将 lock 链接到 /run/lock/?

linux
  • 1 个回答
  • 16 Views
Martin Hope
MikiBelavista
Asked: 2023-06-07 23:41:00 +0800 CST

怎么解释这个ip路由表

  • 5

在我的 Ubuntu 桌面上

ip route help对我没有帮助:

Usage: ip route { list | flush } SELECTOR
ip route save SELECTOR
ip route restore
ip route showdump

下面的ip route如何解释:

default via 192.168.0.1 dev wlo1 proto dhcp metric 600 
default via 192.168.1.1 dev br0 proto static metric 20100 onlink linkdown 
10.42.0.0/24 dev cni0 proto kernel scope link src 10.42.0.1 
10.121.173.0/24 dev mpqemubr0 proto kernel scope link src 10.121.173.1 linkdown 
169.254.0.0/16 dev virbr1 scope link metric 1000 

是10.42.0.0/24source and 10.42.0.1desitnation? devcni0 proto kernel scope link src指的是什么?

networking
  • 2 个回答
  • 18 Views
Martin Hope
MikiBelavista
Asked: 2023-06-05 18:48:53 +0800 CST

ssh-keygen flags -N "" -q 有什么作用?

  • 5

我正在学习 OP 为来宾 VM 登录创建 ssh 密钥对作为 ubuntu 的教程

ssh-keygen -t rsa -b 4096 -f id_rsa -C mycurrentfolder -N "" -q

-N "" -q到底在做什么?

ssh
  • 1 个回答
  • 18 Views
Martin Hope
MikiBelavista
Asked: 2023-04-28 18:55:21 +0800 CST

为什么k3s安装失败?k3s.service 的作业失败,因为控制进程退出并显示错误代码

  • 6

我在 Ubuntu 22.04 上安装了 k3s

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --flannel-backend none" K3S_TOKEN=prokupljejbb sh -s -

[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Skipping /usr/local/bin/kubectl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/crictl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/ctr symlink to k3s, command exists in PATH at /usr/bin/ctr
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  No change detected so skipping service start

地位

systemctl status k3s
● k3s.service - Lightweight Kubernetes
     Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2023-04-28 12:48:49 CEST; 1s ago
       Docs: https://k3s.io
    Process: 77789 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service (code=>
    Process: 77791 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
    Process: 77792 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
    Process: 77793 ExecStart=/usr/local/bin/k3s server --flannel-backend none (code=exited, status=203/EXEC)
   Main PID: 77793 

我试着开始

systemctl start k3s
Job for k3s.service failed because the control process exited with error code.
See "systemctl status k3s.service" and "journalctl -xeu k3s.service" for details.

ls -laZ /usr/local/bin/k3s
total 65716
drwxr-xr-x 2 root root ?     4096 апр 28 12:47 .
drwxr-xr-x 3 root root ?     4096 апр 28 12:47 ..
-rwxr-xr-x 1 root root ? 67284992 апр 28 12:47 k3s.bin

status=203/EXEC指向什么?

我删除了符号链接并删除了目录

[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  No change detected so skipping service start

我现在有 0

   Process: 97794 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service (code=>
    Process: 97796 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
    Process: 97797 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
    Process: 97798 ExecStart=/usr/local/bin/k3s server --flannel-backend none (code=exited, status=1/FAILURE)
   Main PID: 97798 (code=exited, status=1/FAILURE)

输出日志ctl

The process' exit code is 'exited' and its exit status is 1.
апр 28 13:31:32 miki-IdeaPad systemd[1]: k3s.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit k3s.service has entered the 'failed' state with result 'exit-code'.
апр 28 13:31:32 miki-IdeaPad systemd[1]: Failed to start Lightweight Kubernetes.
░░ Subject: A start job for unit k3s.service has failed
░░ Defined-By: systemd

为什么?

installation
  • 1 个回答
  • 30 Views
Martin Hope
MikiBelavista
Asked: 2022-06-07 20:30:00 +0800 CST

什么是非联网 Unix 域套接字?

  • 15

我正在阅读Unsecured docker daemons

它说

Docker daemon creates a non-networked Unix domain socket at /var/run/docker.sock 

非联网的 Unix 域套接字表示什么?

linux sockets
  • 2 个回答
  • 1884 Views
Martin Hope
MikiBelavista
Asked: 2021-04-13 02:27:35 +0800 CST

如何修复 0x80070002 - 系统找不到指定的文件。错误?

  • 6

我正在查看我的 ProfileList

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

由此可见 在此处输入图像描述

我应该删除第一个默认值(未设置值)吗?

windows
  • 1 个回答
  • 92 Views
Martin Hope
MikiBelavista
Asked: 2020-08-14 01:10:26 +0800 CST

如何从挂载目录复制文件?

  • 5

我想将文件从挂载的目录复制到我的 HOME 目录。我的 /mnt

/mnt# ls
'01 - Course Overview'                 '03 - Locating Elements & Navigating Dynamic Web Pages'  '05 - Overcoming Challenges and Increasing Efficiency'
'02 - Exploring Selenium with Python'  '04 - Loading Selenium Page Source into BeautifulSoup'   'Exercise Files'

rsync 线应该是什么样子?

linux filesystems
  • 1 个回答
  • 275 Views

Sidebar

Stats

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

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve