2021年3月2日
摘要: 1、监控数据备份情况(主动模式) 1、数据备份及发送成功:“1” 2、数据导入成功:“1” 2、在zabbix-agent客户端配置如下 [root@zagent- zabbix]# cat /etc/zabbix/zabbix_agentd.conf StartAgents=0 #设置该值为0,则 阅读全文
posted @ 2021-03-02 16:29 !!雪莲花!! 阅读(102) 评论(0) 推荐(0)
  2021年2月26日
摘要: 1、创建用户,授权,创建测试数据 创建用户 CREATE USER test identified by 123; 授权 grant dba to test; 创建测试数据 create table a(id int); insert into a select 1 from dual connec 阅读全文
posted @ 2021-02-26 15:30 !!雪莲花!! 阅读(654) 评论(0) 推荐(0)
  2021年2月25日
摘要: 1、问题 server { listen 8011; server_name test.cn; location ~ \.php?.*$ { root /home/zhj/; #fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $d 阅读全文
posted @ 2021-02-25 16:10 !!雪莲花!! 阅读(370) 评论(0) 推荐(0)
摘要: 1、部署 wget https://github.com/muesli/duf/releases/download/v0.5.0/checksums.txt wget https://github.com/muesli/duf/releases/download/v0.5.0/duf_0.5.0_l 阅读全文
posted @ 2021-02-25 10:18 !!雪莲花!! 阅读(370) 评论(0) 推荐(0)
摘要: 前提:关闭防火墙,关闭selinux 1、主备配置 主 vim keeplived-lb01.confglobal_defs { router_id LVS_01 } vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 阅读全文
posted @ 2021-02-25 09:51 !!雪莲花!! 阅读(86) 评论(0) 推荐(0)
摘要: server { listen 80; server_name zhj.bjedu.com; rewrite ^/(.*) https://zhj.bjedu.com/$1 permanent; } server { listen 443 ssl; server_name zhj.bjedu.com 阅读全文
posted @ 2021-02-25 09:28 !!雪莲花!! 阅读(121) 评论(0) 推荐(0)
摘要: server { listen 80 default; server_name _; if ($host ~ "\d+\.\d+\.\d+\.\d") { return 404; } } 阅读全文
posted @ 2021-02-25 09:25 !!雪莲花!! 阅读(82) 评论(0) 推荐(0)
摘要: worker_processes 4; worker_cpu_affinity 0001 0010 0100 1000; user nginx; events { worker_connections 1024; } http { include mime.types; default_type a 阅读全文
posted @ 2021-02-25 09:24 !!雪莲花!! 阅读(148) 评论(0) 推荐(0)
摘要: 1 系统版本 CentOS Linux release 6.0.1708 (Core) 2 编译安装前所需要的准备: 1.GCC编译器 首先检查GCC是否安装,命令:gcc -v ,如果显示有相关版本信息,则说明已经安装好,没有就安装: yum install -y gcc # -y参数表示一直确认 阅读全文
posted @ 2021-02-25 09:14 !!雪莲花!! 阅读(104) 评论(0) 推荐(0)
  2021年2月24日
摘要: 第1章 oracle命令集 1.1 重启数据库 1.1.1 启动数据库 su -root 切换到oracle安装用户下,我的是root source .bash_profile 运行oracle的环境变量。以便输入相关命令 sqlplus / as sysdba; 是以DBA身份连接到oracle 阅读全文
posted @ 2021-02-24 10:03 !!雪莲花!! 阅读(204) 评论(0) 推荐(0)