2023年3月22日

rabbitmq集群

摘要: 下载的镜像创建和启动容器 docker run --name rabbitmq \ # 主机名(RabbitMQ的一个重要注意事项是它根据所谓的 “节点名称” 存储数据,默认为主机名) --hostname myRabbit \ # 5672:应用访问端口 -p 5672:5672 \ # 1567 阅读全文

posted @ 2023-03-22 19:06 何苦-> 阅读(35) 评论(0) 推荐(0)

网卡 修改IP及MAC地址

摘要: 1、 首先进入原系统,使用命令查看网卡信息 ifconfig 查看eth0网卡的IP及MAC地址 vi /etc/sysconfig/network-scripts/ifcfg-eth0 2、 编辑网卡设备 vi /etc/udev/rules.d/70-persistent-net.rules 前 阅读全文

posted @ 2023-03-22 19:03 何苦-> 阅读(552) 评论(0) 推荐(0)

CentOS7默认的防火墙不是iptables,而是firewalle.

摘要: CentOS7默认的防火墙不是iptables,而是firewalle. 安装iptable iptable-service #先检查是否安装了iptables service iptables status #安装iptables yum install -y iptables #升级iptabl 阅读全文

posted @ 2023-03-22 18:56 何苦-> 阅读(54) 评论(0) 推荐(0)

crontab 常用 注意使用角色与权限

摘要: crontab常用命令。 crontab -u //设定某个用户的cron服务,一般root用户在执行这个命令的时候需要此参数 crontab -l //列出某个用户cron服务的详细内容 crontab -r //删除没个用户的cron服务 crontab -e //编辑某个用户的cron服务 c 阅读全文

posted @ 2023-03-22 18:32 何苦-> 阅读(959) 评论(0) 推荐(0)

导航