上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: 配置管理界面 打开链接 http://192.168.1.201:8080/manager/status 设置最大内存 [root@short bin]# more catalina.sh #!/bin/shJAVA_OPTS='-server -Xmx6144m -Xms6144m' END! 阅读全文
posted @ 2016-05-19 19:16 知_行 阅读(1783) 评论(0) 推荐(0) 编辑
摘要: 1,wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 2,wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yu 阅读全文
posted @ 2016-05-19 15:11 知_行 阅读(180) 评论(0) 推荐(0) 编辑
摘要: #在网上搜了个swap分区占用情况的脚本,用了感觉蛮好,特别留下来了,注释并优化之echo '----------------------# '`date "+%Y%m%d %H%M"`' #----------------------------' for i in `ls -d /proc/* | grep -E '/[0-9]+$'` #显示所有proc下的文件,并匹配该目录下所有以数字开... 阅读全文
posted @ 2016-05-19 00:32 知_行 阅读(555) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash#/usr/local/xxx/bin/xxxx.sh start#/usr/local/xxx/bin/startup.shfor i in `find /server -name start.sh` do fadir=`dirname $i` //读取父目录 cd $fad 阅读全文
posted @ 2016-05-14 23:38 知_行 阅读(1288) 评论(0) 推荐(0) 编辑
摘要: #!/bin/env pythonimport os,sysDir = os.popen("basename /root/day1/myfire.py")print Dir.read().strip('\n') 另一种获取文件名和其路径的方法 在工作中遇到很多ICE启动后进程名都一样,难以分辨,现在 阅读全文
posted @ 2016-05-14 23:35 知_行 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1,开启root 启用root sudo passwd root 2次输入密码后即可 2,开启root远程 将PermitRootLogin without-password 修改为PermitRootLogin yes 3,设置固定IP vim /etc/network/interfaces if 阅读全文
posted @ 2016-05-14 21:17 知_行 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 通过JMX连接远程机器, 需要经过下面的配置:1. 修改远程机器JDK配置文件 (我这里远程机器是linux). a.进入JAVA_HOME\jre\lib\management\目录 b.拷贝jmxremote.password.template这个文件到当前目录, 并改名为jmxremote.p 阅读全文
posted @ 2016-05-13 17:03 知_行 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: 续(随机生成数字匹配) 阅读全文
posted @ 2016-04-30 21:59 知_行 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1,解压文件到D:\zabbix下 2,修改配置文件d:\zabbix\conf\zabbix_agentd.win.conf 3,通过DOS窗口, 阅读全文
posted @ 2016-04-27 17:35 知_行 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1,解压zabbix包 2,安装zabbix agent 3,进入安装时候指定的目录下ETC修改配置文件 4,复制启动文件到系统etc目录下,并赋执行权限 5,启动zabbix_agent 此时启动会报错 解决办法,建立软链接 启动报错 解决办法,新建用户 END ! 阅读全文
posted @ 2016-04-27 15:57 知_行 阅读(957) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页