me小怪兽

导航

2022年8月30日 #

swap分区扩展

摘要: 为你的系统额外添加一个 5GiB 的交换分区, 此交换分区应在系统启动时自动挂载, 不要删除或以任何方式改动系统上原有的交换分区。 [root@localhost ~]# 使用 parted 或者 fdisk 分区命令先创建一个 vdb2 分区 [root@localhost ~]# mkswap 阅读全文

posted @ 2022-08-30 11:26 me小怪兽 阅读(35) 评论(0) 推荐(0)

chrony时间同步

摘要: 服务端(192.168.0.10)安装后启动即可[root@localhost ~]# yum -y install chronyd[root@localhost ~]# systemctl enable chronyd.service[root@localhost ~]# systemctl re 阅读全文

posted @ 2022-08-30 11:23 me小怪兽 阅读(41) 评论(0) 推荐(0)

linux三权分立

摘要: 管理员账号(root):拥有所有操作权限普通系统账号:具有基本的操作权限审计账号:对各类日志及文件只具有查看权限实现步骤:1、root管理员系统安装时自动设置2、普通系统账号创建 [root@localhost ~]# useradd shenji(用户名) [root@localhost ~]# 阅读全文

posted @ 2022-08-30 11:03 me小怪兽 阅读(2057) 评论(0) 推荐(0)

centos内核升级

摘要: CentOS使用rpm包升级系统内核 Linux Kernel官方网站:https://www.kernel.org/ELRepo源网站:http://elrepo.org/RPM包下载地址:https://elrepo.org/linux/kernel/el7/x86_64/RPMS/说明:系统版 阅读全文

posted @ 2022-08-30 10:58 me小怪兽 阅读(360) 评论(0) 推荐(0)

openssh版本升级

摘要: OpenSSH_7.4版本曝出OpenSSH 输入验证错误漏洞(CVE-2019-16905),安全漏洞(CVE-2021-41617),OpenSSH 安全漏洞(CVE-2021-28041),修复方法为升级OpenSSH。 centos7 openssh 8.9 rpm 下载 链接:https: 阅读全文

posted @ 2022-08-30 10:51 me小怪兽 阅读(598) 评论(0) 推荐(0)

rabbitmq安装

摘要: 由于rabbitmq是基于erlang语言开发的,所以必须先安装erlang。rabbitmq 3.9.8需要最新erlang版本24.0以上 部署Rabbitmq 说明 Rabbitmq安装包: rabbitmq-server-generic-unix-3.6.13.tar.xz依赖包erlang 阅读全文

posted @ 2022-08-30 10:18 me小怪兽 阅读(48) 评论(0) 推荐(0)

zookeeper添加系统服务

摘要: vim /lib/systemd/system/zookeeper.service 添加服务 [Unit] Description=zookeeper After=network.target remote-fs.target nss-lookup.target [Service] Type=for 阅读全文

posted @ 2022-08-30 10:12 me小怪兽 阅读(200) 评论(0) 推荐(0)

kafka添加成系统服务

摘要: vim /lib/systemd/system/kafka.service 添加服务 [Unit] Description=kafka After=network.target remote-fs.target nss-lookup.target zookeeper.service [Service 阅读全文

posted @ 2022-08-30 10:07 me小怪兽 阅读(265) 评论(0) 推荐(0)

安装kafka集群

摘要: 部署Kafka集群 Kakfa集群安装调试 配置hostsvim /ets/hosts192.161.0.241 a36-hl-qjhlzf-mq192.161.0.245 a36-hl-qjhlzf-sjcl192.161.0.246 a36-hl-qjhlzf-file a) 创建kafka数据 阅读全文

posted @ 2022-08-30 09:59 me小怪兽 阅读(121) 评论(0) 推荐(0)

2022年8月29日 #

服务器添加静态路由

摘要: 1、临时添加 ip route add 192.123.130.148 via 192.168.100.234 dev enp125s0f0 2、永久添加 echo "192.123.130.148 via 192.168.100.234 dev enp125s0f0" > /etc/sysconf 阅读全文

posted @ 2022-08-29 18:40 me小怪兽 阅读(153) 评论(0) 推荐(0)