- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 jumpserver(堡垒机)
jumpserver堡垒机安装超简单安装关闭防火墙systemctl stop firewalldsetenforce 0镜像仓库地址 配置文件 华北-北京1.DOCKER_IMAGE_PREFIX=swr.cn-north-1.myhuaweicloud.com2.自动部署curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.11.1/quick_start.sh | bash3.进入安装目录安
2021-07-07 10:28:02
113
原创 2021-06-22
jumpserver堡垒机安装超简单安装关闭防火墙systemctl stop firewalldsetenforce 0镜像仓库地址 配置文件 华北-北京1.DOCKER_IMAGE_PREFIX=swr.cn-north-1.myhuaweicloud.com2.自动部署curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.11.1/quick_start.sh | bash3.进入安装目录安
2021-06-22 20:05:58
90
原创 一键部署zabbix
关闭防火墙systemctl stop firewalldsetenforce 0一键部署脚本如下#!/bin/bashdb_user=“root”db_password=""db_host=“localhost”db_port=“3306”zbx_db_name=“zabbix”zbx_db_user=“zabbix”zbx_db_password=“123”zabbix_server_ip=“127.0.0.1”zabbix_repo(){echo ’[zabbix]na
2021-06-21 10:38:31
100
原创 一键部署lnmp脚本
#!/bin/bash# installyum -y install gcc pcre-devel openssl-devel mariadb mariadb-server php php-mysql php-gd php-fpm# 安装nginxif [ ! -e nginx-1.19.2.tar.gz ];then yum -y install wget wget http://nginx.org/download/nginx-1.19.2.tar.gzfitar ...
2021-06-21 10:36:11
200
原创 Ntp时间服务器搭建
环境介绍两台centos7192.168.5.129192.168.5.133首先server端安装ntpYum -y install ntp修改配置文件Vi /etc/ntp.conf重启ntp服务Systemctl restart ntpd客户机安装ntpdateYum -y install ntpdateNtpdate -u 192.168.5.129Server端同步系统时间Date -s ‘13:58:00 2021-...
2021-06-17 15:03:54
234
原创 rsync+crontab定时备份
环境 服务端:192.168.5.129客户端:192.168.5.133安装rsyncYum -y install rsync关闭防火墙Systemctl stop firewalldSetenforce 0一般当下的 CentOS 系统都默认安装了此软件,建议运行命令 rsync 查看Rpm -qa rsyncvi /etc/rsyncd.confport = 873address = 192.168.5.129uid = rootgid = roo.
2021-06-16 19:08:42
120
原创 redis主从安装部署
关闭防火墙# Systemctl stop firewalld# Setenforce 0同步系统时间# Yum -y install ntp # ntpdate ntp.aliyun.com# date 查看时间安装依赖# yum -y install gcc gcc-c++安装redis# tar zxf redis-3.2.11.tar.gz # cd redis-3.2.11# make MALLOC=libc准备配...
2021-06-02 19:42:00
141
原创 zabbix安装
[zabbix]name=Zabbix Official Repository - $basearchbaseurl=http://mirrors.aliyun.com/zabbix/zabbix/4.2/rhel/7/$basearch/enabled=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591[zabbix-debuginfo]name=Zabbix Official Repository d
2021-06-02 19:33:52
88
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人