摘要:
Java实现AES加密,抛出异常如下: java.security.InvalidKeyException: Illegal key size 代码参考 http://my.oschina.net/Jacker/blog/86383?fromerr=x3l5xL1a 原因: Illegal key 阅读全文
摘要:
工作中遇到一个问题:同样的代码在centos 6.5下图形验证码是正常的 但是在centos 7下面是乱码 centos 6.5 的系统字体库目录 阅读全文
摘要:
ansible 视频地址 https://ninghao.net/video/4040 阅读全文
摘要:
Ansible 的重新学习记录 这里我的Ansible的宿主机是centos 7.2系统,这里我通过yum 安装Ansible 1、配置epel源 sudo yum -y install epel-release 2、安装Ansible sudo yum -y install ansible 3、安装pip mkdir /data/tools && cd /data/tools wget -... 阅读全文
摘要:
mkdir /data/tools && cd /data/tools wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py sudo python ez_setup.py --insecure wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b... 阅读全文
摘要:
https://docs.ucloud.cn/security/uhids wget --timeout 3 -t 2 http://download.uhostsec.service.ucloud.cn:8090/ucloud-secagent-install.sh -O ucloud-secag 阅读全文
摘要:
这里我之前是在input里面配置的多行合并,合并语法为: 这里我们也可以再filter里面使用multiline插件来合并多行 阅读全文
摘要:
链接地址: http://pyzh.readthedocs.io/en/latest/the-python-yield-keyword-explained.html https://www.jianshu.com/p/d09778f4e055 阅读全文
摘要:
这里我们在报警发送邮件用的是腾讯的企业邮箱,突然这两天没有报警邮件,很是奇怪 发送邮件报错 SMTP-邮件发送失败异常:“ SMTPSendFailedException:501 ϵͳÒÑÇ¿ÖÆ¿ªÆôÕʺÅÉý¼¶ÉèÖã¬ÇëµÇ¼exmail 阅读全文
摘要:
### Welcome to the InfluxDB configuration file. # The values in this file override the default values used by the system if # a config option is not specified. The commented out lines are the config... 阅读全文
摘要:
Supervisorhttp://www.jianshu.com/p/bf2b3f4dec73http://www.jianshu.com/p/9abffc905645http://blog.csdn.net/xyang81/article/details/51555473http://www.re 阅读全文
摘要:
#!/bin/bash users_home_front_dir="/data/users/" ssh_user=$1 user_group=$2 server_user_path=$users_home_front_dir/$user_group if [ $# -ne 2 ];then echo "usage: ./$0 " echo "Example: ./$0 ... 阅读全文
摘要:
这里公司需要接入kafka用于zipkin来定位调用链 kafka 的地址是http://kafka.apache.org/ zipkin 的地址是https://github.com/openzipkin/zipkin/tree/master/zipkin-server#environment-v 阅读全文
摘要:
#!/bin/bash #date_5='awk 'BEGIN{print strftime("%H:%M",(systime()-300))}'' #ps -ef | grep phantomjs | grep webdriver | grep -v grep | awk '{print $5}' > phantomjs_date # echo `date +%M` - `date -d "2... 阅读全文
摘要:
下载地址http://phantomjs.org/download.htmlwget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2tar -xf phantomjs-2.1.1 阅读全文
摘要:
yarn的安装方法: https://yarn.bootcss.com/docs/install.html#linux-tab 阅读全文
摘要:
安装方法来自于 https://nodejs.org/en/download/package-manager/ Installing Node.js via package manager Note: The packages on this page are maintained and supp 阅读全文
摘要:
这里我们学习的是: 高阶函数 递归函数 内置函数 参数分类: 阅读全文
摘要:
参考地址:https://helpcdn.aliyun.com/knowledge_detail/41210.html #!/bin/bash LOGIP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'` LOG_DIR=/var/log/history if [ -z $LOGIP ] then LOGIP=`ho... 阅读全文
摘要:
linux nfs客户端对于同时发起的NFS请求数量进行了控制,若该参数配置较小会导致IO性能较差,查看该参数: cat /proc/sys/sunrpc/tcp_slot_table_entries 默认编译的内核该参数最大值为256,可适当提高该参数的值来取得较好的性能,请以root身份执行以下 阅读全文