摘要: nagios 安装https://support.nagios.com/kb/article/nagios-core-installing-nagios-core-from-source-96.html#CentOS sed -i 's/SELINUX=.*/SELINUX=disabled/g' 阅读全文
posted @ 2018-08-30 21:16 codeforu2 阅读(198) 评论(0) 推荐(0) 编辑
摘要: centos6 安装MySQL5.6 Step1: 检测系统是否自带安装mysql Step2: 删除系统自带的mysql及其依赖命令: Step3: 给CentOS添加rpm源,并且选择较新的源命令: Step4:安装mysql 服务器命令: Step5: 启动mysql命令: Step6: 查看 阅读全文
posted @ 2018-08-15 17:39 codeforu2 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 主从配置mysql grant all privileges on *.* to 'root'@'%' identified by 'root';flush privileges; 》》》》》》主服务器配置 10.10.6.169 grant replication slave on *.* to 阅读全文
posted @ 2018-08-14 20:59 codeforu2 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 一、nginx安装配置 依赖包 yum install -y gcc-c++;yum install -y pcre pcre-devel;yum install -y zlib zlib-devel;yum install -y openssl openssl-devel; wget http:/ 阅读全文
posted @ 2018-07-23 11:18 codeforu2 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 安装包yum install vixie-cronyum install crontabs 开机启动chkconfig --level 35 crond on启动服务service crond start 编辑定时任务文件vi /etc/crontab*/1 * * * * /home/sh/del 阅读全文
posted @ 2018-06-29 19:52 codeforu2 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 一、docker安装及使用1.安装docker 要求linux 内核在3.8以上$ uname -a 查询内核版本centos6$ yum install http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm$ yum 阅读全文
posted @ 2018-05-24 16:11 codeforu2 阅读(12406) 评论(2) 推荐(2) 编辑
摘要: 背景: 服务器被黑后,一直有进程占用大量cpu,top命令无法显示找出相关进程。怀疑系统命令被替换,随后用sysdig排查问题。 sysdig https://support.sysdig.com 安装: rpm --import https://s3.amazonaws.com/download. 阅读全文
posted @ 2018-05-23 15:19 codeforu2 阅读(1711) 评论(0) 推荐(0) 编辑
摘要: 服务器: 服务端:10.26.68.245 客户端:10.26.32.14 一、服务端配置: 1、如果没有安装的话执行 yum install nfs-utils -y 2、启动服务 centos6 /etc/init.d/rpcbind start 先启动rpcbind服务 /etc/init.d 阅读全文
posted @ 2018-05-09 14:34 codeforu2 阅读(1828) 评论(0) 推荐(0) 编辑
摘要: 使用wget直接下载Oracle 浏览器登录Oracle后下载,然后进入下载内容查看链接,复制链接地址 wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cooki 阅读全文
posted @ 2018-03-06 10:02 codeforu2 阅读(539) 评论(0) 推荐(0) 编辑
摘要: slmgr.vbs /upk (此时弹出窗口显未“已成功卸载了产品密钥”) slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX (弹出窗口提示:“成功的安装了产品密钥”) slmgr /skms zh.us.to (弹出窗口提示:“密钥管理服务计算机名成功的设置为 zh 阅读全文
posted @ 2018-03-06 00:54 codeforu2 阅读(329) 评论(0) 推荐(0) 编辑