摘要: 今天突然发现自己装的Ubuntu没有启动项,也就是没有那个EFI分区,人都麻了!原因是先把装Ubuntu的固态拿了出来,再装的win11,结果win11可以用了,Ubuntu进不去了! 接下来记录下修复的方法: 首先准备一个带有Ubuntu安装镜像的U盘 进入U盘中的Ubuntu,点击try Ubu 阅读全文
posted @ 2024-12-17 13:57 EJW 阅读(85) 评论(0) 推荐(0) 编辑
摘要: c++ #include <iostream> #include <vector> class Array { private: std::vector<std::vector<int>> matrix; int size; public: // 构造函数 Array(int n) : size(n 阅读全文
posted @ 2024-10-28 15:04 EJW 阅读(4) 评论(0) 推荐(0) 编辑
摘要: import carla host = '127.0.0.1' port = 2000 client = carla.Client(host, port) client.set_timeout(2.0) maps = client.get_available_maps() print("{} {}" 阅读全文
posted @ 2024-10-12 14:12 EJW 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1、安装docker和nvidia-docker2 安装Docker,直接执行官方安装脚本安装: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 编辑/etc/docker/daemon.json配置 { "run 阅读全文
posted @ 2024-09-12 15:26 EJW 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 一、安装 sudo apt install proxychains4 二、配置 vim /etc/proxychains4.conf [ProxyList] # add proxy here ... # meanwile # defaults set to "tor" #socks4 127.0.0 阅读全文
posted @ 2024-08-23 09:59 EJW 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 一、添加环境变量 vim ~/.bashrc #添加这两行 export http_proxy="http://proxy.example.com:port" export https_proxy="http://proxy.example.com:port" #注意修改为你的代理配置,一般http 阅读全文
posted @ 2024-08-23 09:18 EJW 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 一、安装依赖 sudo apt update sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y 二、配置源 curl -fsSL https://mi 阅读全文
posted @ 2024-08-22 17:13 EJW 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 前提安装sshd服务 1、创建一个新的用户组,用于管理SFTP用户。 groupadd useradd ftpuser useradd -m -G ftpuser -s /bin/false ftpuser passwd ftpuser# 为用户设置密码 -m选项表示创建用户的主目录,如果不存在则会 阅读全文
posted @ 2024-02-22 15:46 EJW 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 一、安装前配置 1.1 所有节点禁用防火墙 内部网络建议关闭防火墙 systemctl stop firewalld.service 并且禁止开机启动 systemctl disable firewalld.service 1.2 配置时间同步(所有节点) 1、安装相关软件 yum -y insta 阅读全文
posted @ 2024-01-26 22:33 EJW 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 一、下载安装 1.1 解压 https://www.postgresql.org/ftp/source/v10.3/ tar ‐zxvf postgresql‐10.3.tar.gz 1.2 安装依赖 # centos yum ‐y install zlib‐devel readline‐devel 阅读全文
posted @ 2024-01-23 08:56 EJW 阅读(106) 评论(0) 推荐(0) 编辑