摘要: 安装docker yum -y install docker 拉取镜像 docker pull grams/ltb-self-service-password 编辑配置文件 <?php # # LTB Self Service Password # # Copyright (C) 2009 Clem 阅读全文
posted @ 2023-09-24 10:13 非专业编程 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1.yum 安装freeradius yum -y install freeradius freeradius-utils freeradius-ldap vim 2.编辑 vim /etc/raddb/mods-available/ldap 根据实际情况修改dc的值 [root@localhost 阅读全文
posted @ 2023-09-21 18:44 非专业编程 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1.安装相关openldap的软件 yum -y install openldap openldap-servers openldap-clients openldap-devel compat-openldap 2.openldap相关的文件配置 /etc/openldap/slapd.conf: 阅读全文
posted @ 2023-09-20 17:56 非专业编程 阅读(165) 评论(0) 推荐(0) 编辑
摘要: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmrpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 然后再次y 阅读全文
posted @ 2023-09-08 13:37 非专业编程 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Linux搭建Radius服务器 安装环境介绍 以下服务器信息为该文档安装Radius服务环境 服务器信息:CentOS7 内核版本:3.10.0-1062.el7.x86_64 安装软件版本 freeradius-utils-3.0.4-8.el7_3.x86_64 freeradius-3.0. 阅读全文
posted @ 2023-09-07 18:28 非专业编程 阅读(735) 评论(0) 推荐(0) 编辑
摘要: /etc/yum.repos.d/CentOS-Base.repo # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of eac 阅读全文
posted @ 2023-07-13 18:03 非专业编程 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Python3 IMAP读取企业微信邮件 import imaplib import email from email.header import decode_header import re imap_server = 'imap.exmail.qq.com' imap_port = 993 u 阅读全文
posted @ 2023-03-17 23:57 非专业编程 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 授权USG NAT配置的时候需要遵循 NAT_张三_20221201_长期 需要在文件的同文件夹下添加email_addr.txt文件,里面需要有用户名和邮箱的对应关系 import paramiko import smtplib from email.mime.text import MIMETe 阅读全文
posted @ 2022-12-29 11:52 非专业编程 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 安装git工具,然后进行安装yum -y install git git clone -b 4.0release https://gitee.com/ossrs/srs.git cd srs/trunk ./configure make ./objs/srs -c conf/srs.conf set 阅读全文
posted @ 2022-11-17 18:57 非专业编程 阅读(409) 评论(1) 推荐(0) 编辑
摘要: PS:注意系统时间设置 ELK(elasticsearch、logstash、kibana)可以作为日志收集及分析的一整套系统,通过阿里的普及也有越来越多的公司在使用,使用下来功能还可以,这里整理记录一个部署手册。 为了方便,将ELK都部署在一台os里。 1.注意时间设置 2.yum -y inst 阅读全文
posted @ 2022-11-15 14:21 非专业编程 阅读(139) 评论(0) 推荐(0) 编辑