会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HeiDi_BoKe
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
13
下一页
2020年7月1日
【企业邮件服务器】基于linux系统搭建企业邮件服务器(sendmail+dovecot+foxmail)
摘要: 目录 邮件服务简介 配置邮件服务前提要求 Sendmail安装配置 Dovecot服务配置 测试邮件收发 Sendmail别名配置 配置openwebmail网页邮箱 简介: 邮件系统包括:服务端(SMTP)和客户端(POP3,IMAP) SMTP简单邮件传输协议(port:25):应用层协议,由T
阅读全文
posted @ 2020-07-01 12:54 HeiDi_BoKe
阅读(2446)
评论(0)
推荐(0)
2020年6月22日
【shell脚本】批量修改主机密码modify_passwd.sh和ssh配置文件sshd.config.sh
摘要: [root@rhel8 shell]# vi modify_passwd.sh [root@rhel8 shell]# cat modify_passwd.sh #!/bin/bash #########################################################
阅读全文
posted @ 2020-06-22 19:16 HeiDi_BoKe
阅读(684)
评论(0)
推荐(0)
【shell脚本】从命令行输入ip或读取文件ping Ip地址是否通ping.sh
摘要: 一、只从文件读取 [root@rhel8 shell]# cat ping.sh #!/bin/bash # 判断是否有输入参数 if [ $# -eq 0 ];then # basename:只输出路劲的最后一个名称 echo -e "\033[34mUsage: `basename $0` fi
阅读全文
posted @ 2020-06-22 14:09 HeiDi_BoKe
阅读(1780)
评论(0)
推荐(0)
2020年6月19日
【shell脚本】自动配置yum源auto_yum_config.sh
摘要: [root@rhel8 shell]# cat auto_yum_config.sh #!/bin/bash ########################################################################## # yum config case #
阅读全文
posted @ 2020-06-19 19:58 HeiDi_BoKe
阅读(320)
评论(0)
推荐(0)
【shell脚本】从跳板机上登录其他服务器/home/alice/jumpserver.sh
摘要: 脚本内容 [root@rhel8 shell]# cat /home/alice/jumpserver.sh #!/bin/bash ########################################################################## # jumpse
阅读全文
posted @ 2020-06-19 14:56 HeiDi_BoKe
阅读(805)
评论(0)
推荐(0)
2020年6月11日
【shell脚本】系统硬件信息数据库收集(普通版和导入Excel版)auto_system_collect.sh
摘要: 自动获取服务器系统信息: 创建数据库表(这里没有写入数据库中): [root@rhel8 shell]# vim audit_audit_system.sql CREATE TABLE `audit_audit_system`( `id` int(11) NOT NULL AUTO_INCREMEN
阅读全文
posted @ 2020-06-11 16:47 HeiDi_BoKe
阅读(495)
评论(0)
推荐(0)
【linux命令】sz、rz命令安装及使用
摘要: 安装sz和rz命令: # yum -y install lrzsz sz、rz命令使用: sz:将本地文件上传到其他系统或计算机上 语法:sz 文件名 在linux系统上使用sz命令回车后弹出选择文件存放的路径,然后选择存放文件的目录,点确定即可 rz:下载文件到本地。将计算机文件下载到本地
阅读全文
posted @ 2020-06-11 16:21 HeiDi_BoKe
阅读(2913)
评论(0)
推荐(0)
2020年6月10日
【shell脚本】全备份和增量备份Linux系统脚本auto_bak_system.sh
摘要: # 全备份: [root@rhel8 shell]# tar -g /tmp/snapshot -czvf /tmp/20200610_full_bak.tar.gz /data/www1/ # 增量备份 [root@rhel8 www1]# tar -g /tmp/snapshot -czvf /
阅读全文
posted @ 2020-06-10 17:36 HeiDi_BoKe
阅读(975)
评论(0)
推荐(0)
【shell脚本】截取恶意端口ip,禁止远程登录22端口auto_deny_ip.sh
摘要: [root@rhel8 shell]# cat auto_deny_ip.sh #!/bin/bash # auto drop ssh failded IP address # by author tanbaobao 2020/06/10 # 定义变量 SEC_FILE=/var/log/secur
阅读全文
posted @ 2020-06-10 12:52 HeiDi_BoKe
阅读(541)
评论(0)
推荐(0)
2020年6月9日
【shell脚本】自动生成网卡文件主要内容auto_network_scripts.sh
摘要: [root@rhel8 shell]# cat auto_network_scripts.sh #!/bin/bash # Auto Make KVM Virtualization # Auto config bond scripts # by author tanbaobao 2020/06/09
阅读全文
posted @ 2020-06-09 20:14 HeiDi_BoKe
阅读(325)
评论(0)
推荐(0)
1
2
3
4
5
···
13
下一页
公告