摘要: 步骤 1:删除任何现有的 Docker 包 但在跳到安装部分之前,有必要删除所有以前安装的 Docker。 要 卸载以前的 Docker,请使用以下命令。 sudo apt remove docker.io docker-doc docker-compose docker-compose-v2 po 阅读全文
posted @ 2024-04-15 17:17 郑琰 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 1. 在线安装 Apache 服务器 ubuntu 可通过“apt”等命令在线安装,centos用yum。 # ubuntu sudo apt-get install apache2 # centos yum -y install httpd 安装完成后需要手动启动 apache 服务. # ubu 阅读全文
posted @ 2024-04-11 22:07 郑琰 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 使用gedit文本编辑器打开网络接口配置文件 gedit /etc/network/interfaces 新增两行内容如下: auto eth0 iface eth0 inet dhcp 其意思为:网卡开机自动挂载,以DHCP方式配置网卡。点击保存后叉掉。 同样,使用文本编辑器打开 resolv.c 阅读全文
posted @ 2024-04-10 22:30 郑琰 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 报错: fatal error: filesystem: 没有那个文件或目录 #include(filesystem) 解决方法一: 修改头文件 #include <experimental/filesystem> 添加依赖 在编译时,后面添加:-lstdc++fs 编译通过。 解决方法二:升级 g 阅读全文
posted @ 2024-04-07 20:40 郑琰 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 先以VNC方式远程登录服务器 执行命令 sudo apt update && sudo apt upgrade # 选择1 使用tasksel安装 sudo apt install -y tasksel sudo tasksel install -y ubuntu-desktop # 选择2 使用a 阅读全文
posted @ 2024-04-04 16:29 郑琰 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 下载SoftEther 虚拟专用网络 Server 管理工具和 Open虚拟专用网络 GUI工具 SoftEther下载地址 Open专用网络 GUI工具下载地址 服务端 # ssh登陆服务器后,下载vpnserver wget https://github.com/SoftEtherVPN/Sof 阅读全文
posted @ 2024-04-01 22:04 郑琰 阅读(33) 评论(0) 推荐(0) 编辑
摘要: apt-get purge openssl rm -rf /etc/ssl #删除配置文件 编译与安装 OpenSSL prefix 是安装目录,openssldir 是配置文件目录,另外建议安装两次,shared 作用是生成动态连接库。(需要同时指定prefix与openssldir,否则可能会因 阅读全文
posted @ 2024-03-30 23:20 郑琰 阅读(25) 评论(1) 推荐(0) 编辑
摘要: 报错内容: [root@192 yum.repos.d]# yum repolist Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager This system is not r 阅读全文
posted @ 2024-03-23 21:45 郑琰 阅读(23) 评论(1) 推荐(0) 编辑
摘要: 在安装cv2库之前,需要进行以下准备工作: 安装Anaconda 如果还没有安装Anaconda,可以在官网上下载对应操作系统的Anaconda安装包,然后按照提示进行安装。安装完成后,可以在终端中输入以下命令,查看Anaconda版本号: conda -V 创建虚拟环境 为避免在安装cv2库时对系 阅读全文
posted @ 2024-03-14 12:14 郑琰 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 报错:Beginning configuration step: Starting Server Attempting to start service MySQL80 一直卡在这里,手动启动服务也起不起来 情况一:到这里直接显示叉 情况二:一直停留在Starting Server 可以参考下述步骤 阅读全文
posted @ 2024-03-10 21:19 郑琰 阅读(85) 评论(0) 推荐(0) 编辑
#

# #