04 2024 档案
摘要:步骤 1:删除任何现有的 Docker 包 但在跳到安装部分之前,有必要删除所有以前安装的 Docker。 要 卸载以前的 Docker,请使用以下命令。 sudo apt remove docker.io docker-doc docker-compose docker-compose-v2 po
阅读全文
摘要:1. 在线安装 Apache 服务器 ubuntu 可通过“apt”等命令在线安装,centos用yum。 # ubuntu sudo apt-get install apache2 # centos yum -y install httpd 安装完成后需要手动启动 apache 服务. # ubu
阅读全文
摘要:使用gedit文本编辑器打开网络接口配置文件 gedit /etc/network/interfaces 新增两行内容如下: auto eth0 iface eth0 inet dhcp 其意思为:网卡开机自动挂载,以DHCP方式配置网卡。点击保存后叉掉。 同样,使用文本编辑器打开 resolv.c
阅读全文
摘要:报错: fatal error: filesystem: 没有那个文件或目录 #include(filesystem) 解决方法一: 修改头文件 #include <experimental/filesystem> 添加依赖 在编译时,后面添加:-lstdc++fs 编译通过。 解决方法二:升级 g
阅读全文
摘要:先以VNC方式远程登录服务器 执行命令 sudo apt update && sudo apt upgrade # 选择1 使用tasksel安装 sudo apt install -y tasksel sudo tasksel install -y ubuntu-desktop # 选择2 使用a
阅读全文
摘要:下载SoftEther 虚拟专用网络 Server 管理工具和 Open虚拟专用网络 GUI工具 SoftEther下载地址 Open专用网络 GUI工具下载地址 服务端 # ssh登陆服务器后,下载vpnserver wget https://github.com/SoftEtherVPN/Sof
阅读全文