上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 一、下载相关的镜像1、docker pull zabbix/zabbix-server-mysql:centos-latest zabbix-server软件2、docker pull mysql:latest 数据库(尽量用最新的数据库)3、docker pull lh438369/zabbix- 阅读全文
posted @ 2022-07-11 15:38 Me-lihu 阅读(451) 评论(0) 推荐(0) 编辑
摘要: DHCPv6中继配置 1、R1配置 ipv6 dhcpv6 pool pool1 address prefix 2002:1:1:1::/64 excluded-address 2002:1:1:1::1 to 2002:1:1:1::10 dns-server 3003:1:1:1::1 dns- 阅读全文
posted @ 2022-06-07 15:22 Me-lihu 阅读(616) 评论(0) 推荐(0) 编辑
摘要: docker镜像制作1、基于容器b1制作镜像docker commit -a "huge<393151145@qq.com>" -c 'CMD ["/bin/httpd","-f","-h","/data/html"]' -p b1 lh438369/httpd:v0.1 -p:docker容器名为 阅读全文
posted @ 2022-06-02 16:08 Me-lihu 阅读(27) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh #chkconfig: 2345 85 15 # description: nginx is a World Wide Web server. It is used to serve function start(){ netstat -tunlp | grep nginx > 阅读全文
posted @ 2022-06-01 15:11 Me-lihu 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 一块硬盘最多只能有4个分区,其中扩展分区只能有一个(p+p+p+p或p+p+p+e),扩展分区:为了突破一个物理硬盘只能有4个分区的限制,引入了扩展分区。扩展分区和主分区的地位相当,但是扩展分区本身不能被直接使用,可以被继续划分成多个逻辑分区。 逻辑分区:逻辑分区可以有任意多个,但是不能独立存在,多 阅读全文
posted @ 2022-05-27 10:17 Me-lihu 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: iptables与firewalld的区别1),firewalld可以动态修改单条规则,动态管理规则集,允许更新规则而不破坏现有会话和连接。而iptables,在修改了规则后必须得全部刷新才可以生效;2),firewalld使用区域和服务而不是链式规则;3),firewalld默认是拒绝的,需要设置 阅读全文
posted @ 2022-05-26 15:56 Me-lihu 阅读(2809) 评论(0) 推荐(0) 编辑
摘要: 一、ansible的搭建及配置1、wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo 2、yum clean all && yum makecache3、yum install ansible 阅读全文
posted @ 2022-05-25 15:33 Me-lihu 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 管道 |:前一个命令输出是下一条命令的输入 如:echo "redhat" | passwd --stdin hive tee:保存到文件同时输出到屏幕 [root@localhost ~]# echo "redhat" | tee /tmp/tee.log redhatgrep、egrep、fgr 阅读全文
posted @ 2022-05-24 16:06 Me-lihu 阅读(318) 评论(0) 推荐(0) 编辑
摘要: nginx ssl部署一、创建CA,自制CA证书1、安装openssl openssl-develyum -y install openssl openssl-devel2、查看openssl.cnf文件 cat /etc/pki/tls/openssl.cnf 3、生成CA私钥(umask 077 阅读全文
posted @ 2022-05-23 12:07 Me-lihu 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Django项目部署一、编译安装sqlite3数据库1、yum update && yum install gcc2、wget --no-check-certificate https://www.sqlite.org/2017/sqlite-autoconf-3170000.tar.gz --no 阅读全文
posted @ 2022-05-13 11:41 Me-lihu 阅读(143) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页