摘要: 查看规则 iptables -nL iptables -nL --line-number iptables --list-rules 添加规则 iptables -I OUTPUT -d 127.0.0.1 -p all -j ACCEPT 删除规则 iptables -D OUTPUT 1 阅读全文
posted @ 2023-10-31 11:17 碎了的冰 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 这边不采取挂载iso的方式,直接拷贝iso文件到/opt目录下 1、创建需要挂载到的目录 mkdir -p /mnt/openEuler 2、挂载iso到/mnt/openEuler目录下 mount /opt/openEuler-22.03-LTS-x86_64-dvd.iso /mnt/open 阅读全文
posted @ 2023-03-30 17:35 碎了的冰 阅读(2531) 评论(0) 推荐(0) 编辑
摘要: 记录一下这个/etc/init.d目录不存在的问题,今天装了rhel9发现没有/etc/init.d/目录,平常都是直接把我们的脚本放到这个目录里就能实现服务的启动和关闭一些列操作,那么这个目录为何能控制这些服务呢,因为是由一个chkconfig的包来实现脚本的服务管理的,/etc/init.d/也 阅读全文
posted @ 2023-03-08 11:16 碎了的冰 阅读(760) 评论(0) 推荐(0) 编辑
摘要: 1.新建一个文件夹 2.初始化 git init 3.本地仓库和远程仓库建立连接 git remote add origin git@gitee.com:fireworkwing/saveFileService.git 4.拉取所有分支到本地仓库 git pull 5.拉取远程master分支到本地 阅读全文
posted @ 2023-03-06 13:37 碎了的冰 阅读(339) 评论(0) 推荐(0) 编辑
摘要: #安装dde yum -y install dde #安装中文环境,防止乱码 yum -y groupinstall fonts #设置图形启动 systemctl set-default graphical.target #需要切换会字符界面请使用下面的命令 systemctl set-defau 阅读全文
posted @ 2022-12-30 09:40 碎了的冰 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 之前一直配置的是华为的yum源,但是华为镜像那边不太稳定,于是打算用阿里的,对于其他版本的openEuler直接改成对应版本就好啦 1、在/etc/yum.repos.d/目录下新建openEuler.repo [OS] name=OS baseurl=http://mirrors.aliyun.c 阅读全文
posted @ 2022-11-28 10:35 碎了的冰 阅读(2345) 评论(0) 推荐(0) 编辑
摘要: 参考 https://www.insidentally.com/articles/000005/ 安装samba yum install samba 添加一账号给samba使用 useradd samba passwd samba 配置samba使用的单独密码管理 smbpasswd -a samb 阅读全文
posted @ 2022-10-14 17:56 碎了的冰 阅读(81) 评论(0) 推荐(0) 编辑
摘要: ubuntu20.04 apt命令找不到 重新安装apt需要下载和安装这三个包,到官网下载 ubuntu-keyring下载地址:http://archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-keyring/ libapt-pkg和apt下载地址:http: 阅读全文
posted @ 2022-08-24 18:55 碎了的冰 阅读(1854) 评论(0) 推荐(0) 编辑
摘要: 1.进入目录 cd /etc/yum.repos.d/ 2.备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 3.下载想要的源 #下载阿里云的源 wget -O /etc/yum.repo 阅读全文
posted @ 2022-07-21 17:42 碎了的冰 阅读(551) 评论(0) 推荐(1) 编辑
摘要: nginx部署vue工程简单的配置文件 server { listen 8081; #1.你想让你的这个项目跑在哪个端口 server_name 111.111.111.111; #2.当前服务器ip(名称) location / { root /opt/zhengjiao/dist; #3.dis 阅读全文
posted @ 2021-10-13 14:22 碎了的冰 阅读(235) 评论(0) 推荐(0) 编辑