随笔分类 - Linux
摘要:检查wifi模块驱动是否正确 ip addr #输出的信息查看是否 包含‘w’开头的网卡 安装iwd 这里使用iwd管理WiFi,主要原因是小巧,方便使用无需额外配置 # 安装 apt install iwd # 设置开机启动 systemctl enable --now iwd # 查看无线网卡
阅读全文
摘要:全自动安装脚本 1.新建sh文件并粘贴内容 mkdir -p /usr/script cd /usr/script touch zerotier-plant.sh # 复制如下内容并保存 chmod +x zerotier-plant.sh # 等待安装完毕 ./+x zerotier-plant.
阅读全文
摘要:使用官方脚本安装 curl -s https://install.zerotier.com | sudo bash 报错 [root@xianpm ~]# curl -s https://install.zerotier.com/ | sudo bash *** ZeroTier Service Q
阅读全文
摘要:root开放远程连接 vi /etc/ssh/sshd_config # 更改配置文件(取消前面的注释) PermitRootLogin prohibit-password => PermitRootLogin yes #重启服务 systemctl restart sshd 安装lsb-core
阅读全文
摘要:双网卡配置上网异常分析 发现 内网网段之间可以 正常ping通,但却无法连接外网。经过一翻查看分析,是由于多网卡默认启用自动路由引起冲突 问题发现背景 虚拟机上网,固定静态IP(hostonly模式),在copy虚拟机时候不用管nat或者桥接IP,使用shell直接ssh 静态IP访问 一、网卡配置
阅读全文
摘要:1.关于/etc/inittab 网上很多都说用着个配置 cat /etc/inittab 大概意思就是说,这种设置方式已经不再使用 2.建议使用systemctl 用法 systemctl get-default # multi-user.target #相当于init 3 # graphical
阅读全文
摘要:LSB是Linux Standard Base(Linux标准库)的缩写, lsb_release命令 用来与具体Linux发行版相关的Linux标准库信息。 注:LSB的译法有Linux标准库,Linux标准规范 CentOS最小化安装时默认没有这个命令,需要安装lsb_release使用命令 U
阅读全文
摘要:卸载原来的docker-compose rm -rf /usr/local/bin/docker-compose rm -rf /usr/bin/docker-compose 下载docker-compose curl -L "https://github.com/docker/compose/re
阅读全文
摘要:设置存储桶Anonymous 配置nginx 并reload location /images/ { proxy_pass http://127.0.0.1:9000/; } 测试 https://paylove.online/images/存储桶/xxx.png IAM 参考 https://do
阅读全文
摘要:一、安装minio # 安装方式 or 直接下二进制执行文件 chomod +x minio 运行 sudo wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio-20240326221045.0.0-1.x86_
阅读全文
摘要:lsb_release查找不到 背景:应用由centos7迁移到 RockyLinux 8.9 centos7 准备EOL,所以准备把引用迁移到RockyLinux 8.9 # 安装命令 yum install redhat-lsb -y #额外安装 compat、graphics、printing
阅读全文
摘要:JDK1.8安装 1.下载地址jdk1.8 https://www.oracle.com/java/technologies/downloads/ 2.ftp上传 ## /usr/local/software/jdk-8u391-linux-x64.tar.gz cd /usr/local/soft
阅读全文
摘要:https://mirror.tuna.tsinghua.edu.cn/help/docker-ce/ https://wallpapershome.com/ 壁纸下载 https://www.eclipse.org/swt/ swt例子 https://docs.oracle.com/javase
阅读全文
摘要:网络配置 vi /etc/NetworkManager/system-connections/ens33.nmconnection [connection] id=enp0s3 uuid=f8b3aa8f-a06f-3b7a-ab3b-fdee13613216 type=ethernet autoc
阅读全文
摘要:Docker 安装bookstack(环境centos) docker 安装自行百度 yum install -y docker MYSQL安装 #拉取镜像 docker pull mysql #创建数据存放位置 mkdir -p /var/own/datadir mkdir -p /var/own
阅读全文
摘要:问题 使用xshell连接远程主机的时候一直卡在To escape to local shell, press 'Ctrl+Alt+]'.,要等很久才能连上 解决办法1 vi /etc/ssh/sshd_config # 修改UseDNS yes为UseDNS no,并且去掉前面的 # UseDNS
阅读全文