thread ubuntu 22.04 in

All-in-One(三):Openwrt

# 简介 **OpenWrt **是适用于嵌入式设备的一个 Linux 发行版。相对原厂固件而言,OpenWr t不是一个单一、静态的固件,而是提供了一个可添加软件包的可写的文件系统。这使用户可以自由的选择应用程序和配置,而不必受设备提供商的限制,并且可以使用一些适合某方面应用的软件包来定制你的设备 ......
All-in-One Openwrt All One in

All-in-One(一):PVE

# 简介 **Proxmox Virtual Environment**(简称:**Proxmox VE**、**PVE**),是一个开源的服务器虚拟化环境 Linux 发行版。Proxmox VE 基于 Debian,使用基于 Ubuntu 的定制内核,包含安装程序、网页控制台和命令行工具,并且向 ......
All-in-One All One PVE in

All-in-One(五):Ipv6暴露公网

# 简介 **网际协议第6版**(英语:**I**nternet **P**rotocol **v**ersion **6**,缩写:**IPv6**)是网际协议的最新版本,用作互联网的协议。用它来取代 IPv4 主要是为了解决IPv4地址枯竭问题,同时它也在其他方面对于 IPv4 有许多改进。 # ......
All-in-One Ipv6 All One Ipv

ubuntu开启root用户远程ssh登录

ubuntu系统初始状态下无法通过ssh登录到root用户,只能先登录普通用户再切换到root用户,本文讲解的是开启root用户远程ssh登录 su - root切换到root用户 su - root 打开ssh配置文件 vim /etc/ssh/sshd_config 找到 插入 PermitRo ......
用户 ubuntu root ssh

Ubuntu 22.04 安装 Docker

安装基础工具 sudo apt-get install ca-certificates curl gnupg lsb-release 安装官方的GPG key sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com ......
Ubuntu Docker 22.04 22 04

Ubuntu(Ubuntu 22.04 操作系统) 安装 Docker

Ubuntu(Ubuntu 22.04 操作系统) 安装 Docker 首先安装一些工具: sudo apt-get install ca-certificates curl gnupg lsb-release 不过在Ubuntu22.04已经默认安装好了。接着安装官方的GPG key: sudo ......
Ubuntu Docker 系统 22.04 22

Ubuntu 防火墙 ufw

Ubuntu 防火墙 ufw sudo apt-get install ufw 启用 ufw sudo ufw enable 关闭 ufw sudo ufw disable 查看 ufw 状态 sudo ufw status 开启/禁用相应端口或服务举例 sudo ufw allow 22 # 允许 ......
防火墙 Ubuntu ufw

Ubuntu下允许root用户ssh远程登录

Ubuntu下允许root用户ssh远程登录 如果你使用的是树莓派或是云服务器,那么你会得到一个公网的IP地址,以及默认的用户名和密码,由于服务器安装的Ubuntu并不是在我们的电脑上运行的,那么我们怎么去远程操作呢? 比如我们要远程操作一台Windows电脑,直接使用远程桌面连接即可,但是Ubun ......
用户 Ubuntu root ssh

How to install a command once for all login users in Linux All In One

How to install a command once for all login users in Linux All In One /etc/profile & /etc/profile.d/ ......
install command Linux login users

VirtualBox 安装 Ubuntu

VirtualBox 安装 Ubuntu 这里我们就以安装虚拟机的方式在我们的电脑上安装Linux操作系统,我们选用Ubuntu作为教程,如果有经济实力,可以在腾讯云、阿里云之类的服务商购买一台云服务器,并选择预装Ubuntu系统;如果你还想搞嵌入式开发之类的工作,可以购买一台树莓派服务器,也可以在 ......
VirtualBox Ubuntu

ubuntu上使用微信界面太小

一开始:小小的也很可爱呢 后来使用命令调整 env WINEPREFIX="$HOME/.ukylin-wine/wechat" /usr/bin/ukylin-wine winecfg 进入wine设置界面将分辨率调高,设置虚拟桌面,就可以勉勉强强用了。 ......
界面 ubuntu

ubuntu18更新失败提示401 Unauthorized

当ubuntu18执行 sudo apt update sudo apt upgrade 在upgrade的过程中会出现以下错误 122 esm-infra security updates Need to get 309 MB/309 MB of archives. After this oper ......
Unauthorized ubuntu 401 18

GBLUP-RR in BGLR

来自Paulino Pérez-Rodríguez和José Crossa两位GS领域大佬的报告。 从GBLUP到RRBLUP,再到BRR理论 使用经典数据集CIMMYT wheat 599 BGLR示例 ......
GBLUP-RR GBLUP BGLR RR in

String Rearrangement in Phantom

先考虑一个 \(O(nq)\) 的暴力,令 \(s_{1}=S[l_{1},r_{1}],s_{2}=S[l_{2},r_{2}]\),令 \(t=\operatorname{rev}(s_{2})\),则我们仅需求 \(s_{1}=A+B+C,t=\operatorname{rev}(A)+B+\ ......
Rearrangement Phantom String in

'main' attribute cannot be used in a module that contains top-level code 问题解决

核心是@main 注解在main.swift 文件中,可以重新命名下 参考资料 https://stackoverflow.com/questions/73431031/swift-cli-app-main-attribute-cannot-be-used-in-a-module-that-cont ......
attribute top-level contains cannot module

Fallible point in C/C++

Operator[] The performance of [] in C and C++ is different. e.g., when you excute A[index] If A is a object, it will call the operator[] If A is a poi ......
Fallible point in

ubuntu20安装opencv3.4.9 多版本

1下载源码 下载源码 https://github.com/opencv/opencv/releases/tag/3.4.9 下载扩展源码 https://github.com/opencv/opencv_contrib/releases/tag/3.4.9 2安装依赖 sudo apt-get u ......
opencv3 版本 ubuntu opencv 4.9

Ubuntu20.04 ping Temporary failure in name resolution问题

解决步骤 vi /etc/systemd/resolved.conf 将DNS的注释取消掉并改成8.8.8.8即可 参考:https://blog.csdn.net/weixin_43354181/article/details/105352203 ......
resolution Temporary failure Ubuntu 问题

Ubuntu通过certbot手动配置Let's Encrypt SSL泛型域名证书

1. 安装Snap 使用命令安装snap,以及core组件 sudo apt install snapd sudo snap install core sudo snap refresh core 2. 移除旧有的certbot sudo apt-get remove certbot sudo dn ......
手动 证书 Encrypt certbot 域名

执行docker compose up -d报错 unknown shorthand flag: 'd' in -d

执行docker compose up -d报错 unknown shorthand flag: 'd' in -d /usr/libexec/docker/cli-plugins/目录下没有docker-compose或者有docker-compose但执行docker help显示 Invali ......
shorthand compose unknown docker 39

ubuntu系统安装到U盘便捷启动

1、前言 实现u盘系统即插即用,便捷带走。这里需要使用到VM虚拟机进行安装,这里选择64位的ubuntu系统。 2、运行VM虚拟机 以管理员运行VM虚拟机,创建一个ubuntu系统,然后选中相关的镜像,大多数配置默认即可,记得usb控制器改到3.1,不然无法识别插到USB3.0上的u盘。 选中添加, ......
ubuntu 系统

ubuntu安装Dirsearch

准备 pip换源 cd mkdir pip cd pip vim pip.ini 将以下内容编辑进文件后保存退出 # coding: GBK [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted ......
Dirsearch ubuntu

Top 6 BMW Diagnostic Tools to Master in 2023

In the ever-evolving automotive industry, the importance of diagnostic software cannot be overstated. Specifically, for BMW vehicles, diagnostic tools ......
Diagnostic Master Tools 2023 Top

How to use a shell script to check whether a command had been installed in the Linux server All In One

How to use a shell script to check whether a command had been installed in the Linux server All In One shell script error [: :需要整数表达式 / [: -eq:需要一元表达... ......
installed command whether script server

LINQ SelectMany Method in C#

1.例子一: static void SelectMany() { //方式一:Query Syntax Console.WriteLine("方式一:Query Syntax"); List<string> nameList = new List<string>() { "Kate", "Hann ......
SelectMany Method LINQ in

[IJCAI 2023]Preventing Attacks in Interbank Credit Rating with Selective-aware Graph Neural Network

[IJCAI 2023]Preventing Attacks in Interbank Credit Rating with Selective-aware Graph Neural Network 问题 文章研究的是对银行间信用评价的攻击的预防。点是银行,边是银行间的借贷关系。 攻击方式有特征攻击 ......

[885] How to generate automated tables in Word document with Python

ref: How to Generate Automated Word Documents with Python ref: docxtpl快速上手使用,数据填入以及循环写入表格 Creating a Template Before you can proceed, you must first c ......
automated generate document Python tables

currently, chromedriver 114.0.5735.90 is recommended for chrome 114.*, so it is advised to delete the driver in PATH and retry

报错原因是驱动和浏览器不匹配 解决办法 1.下载低版本的谷歌浏览器 本次使用的是114 下载地址: https://downzen.com/en/windows/google-chrome/download/11405735199/ 2.下载谷歌浏览器的插件 https://registry.npm ......

A closer look at Ownership in Rust

So you want to learn Rust and keep hearing about the concept of Ownership and Borrowing, but can’t fully wrap your head around what it is. Ownership i ......
Ownership closer Rust look at

Learn Git in 30 days—— 第 23 天:修正 commit 过的版本历史记录 Part 5

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 我们上一篇文章谈到的 Rebase 是用来将现有的两个分支进行「重新指定基础版本」,执行 Rebase 之后,也 ......
版本 commit 历史 Learn days