-
2018.06
03
Vim编缉时如有# 进行粘贴 #后面的就会被全部注释掉,且格式也会乱
如在下面文件进行粘贴时就会出现。。
global_defs { notification_email { # acassen@firewall.loc # failover@firewall.loc # sysadm...
-
2018.04
28
脚本如下
#!/bin/bash
echo `date +"%F %H:%M:%S"` "HTTP80-ALL" "`netstat -anlp|grep tcp|grep 服务器ip|grep -w 80|awk ‘{print $5}’|awk -F: ‘{print $4}’|sort|uniq -c|sort -nr|head -n20`" >> /var/log/ip80_count`date +"%F...
-
2018.04
28
脚本如下
#!/bin/bash
var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_5304322'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/stat.php%3Fid%3D5304322%26online%3D1' type=...
-
2018.04
28
脚本如下
#!/bin/bash
echo `date +"%F %H:%M:%S"` "HTTP80-ALL" "`netstat -anlp|grep tcp|grep 服务器ip|grep -w 80|awk ‘{print $5}’|awk -F: ‘{print $4}’|sort|uniq -c|sort -nr|head -n20`" >> /var/log/ip80_count`date +"%F...
-
2018.04
04
以下为ansible实验的基础配置
创建免密登陆 [root@ansible_master ~]# ssh-keygen -t rsa -P ” Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created direct...
-
2018.03
26
使用rpm及yum升级mysql 5.5到5.6,5.6到5.7
使用yum 安装指定版本mysql
升级版
1.停用应用
2.备份所有库
3.增加源
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
ht...
-
2018.03
23
1.停用应用
2.备用所有库
3.增加源
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
https://repo.mysql.com/
5.5.35 https://repo.mysql.com/yum/mysql-5.5-...
-
2018.03
20
目录
/etc/ansible/roles/m_mysql/ ├── files │ ├── m_mysql3355_adduser.sh │ ├── m_mysql3355_setup.sh │ ├── m_mysql3356_adduser.sh │ ├── m_mysql3356_setup.sh │ ├── mysql-5.5.34.tar.gz │ ...
-
2018.03
14
一看必会系列:ansible初始化 centos 7
—————–hosts
[initialize-group] 192.168.142.104
目录规化
├── initialize │ ├── files │ │ ├── Centos-7.repo │ │ └── epel.repo │ └── tasks ...
-
2018.03
07
————目录规划 [root@ansible_master roles]# tree . ├── apache │ ├── tasks │ │ └── main.yaml │ └── templates │ └── index.php
├── lamp.yaml ├── mysql ...
有实验图就更好了
厉害啊
hhh
说的很有道理!
楼主好人啊,我现在就是小时候的你
...
APK从哪来?不是免费的把?
每天睡觉以前,我都会把您的帖子再
漂亮,好方法,
楼主,请原谅我的自私!我知道无论