摘要:
#!/bin/bash export JAVA_HOME=/usr/java/jdk1.8.0_202export JRE_HOME=${JAVA_HOME}/jreexport CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/libexport PATH=${JA 阅读全文
摘要:
当host为多个的时候,其他修改密码经常不能覆盖到全部。 所以最好的办法,直接修改数据库的数据 修改mysql root密码update user set password=password('密码') where user='root';flush privileges; 阅读全文
摘要:
#!/bin/bash # # clear cloudera manager monitor log rm /var/lib/cloudera-host-monitor/ts/*/partition*/* -rf rm /var/lib/cloudera-service-monitor/ts/*/p 阅读全文
摘要:
-- hive中解析json数组 select t1.status ,substr(ss.col,1,10) as col ,t3.evcId ,t3.evcLicense ,t3.evcAddress ,t3.modelName from ( select get_json_object(json,"$.status... 阅读全文
摘要:
1.split()方法参数是正则表达式,如果分隔符是|或者其他的特殊字符,需要用单引号,不要用双引号。对比substr用双引号没问题 2.replace("'", "")是可以用双引号的 阅读全文
摘要:
一、linux CPU大小[root@idc ~]# cat /proc/cpuinfo |grep "model name" && cat /proc/cpuinfo |grep "physical id"model name: Intel(R) Xeon(TM) CPU 2.80GHzmodel 阅读全文
摘要:
服务器是离线的,只能离线安装 安装pip 1. 先安装setuptools 下载地址:https://pypi.python.org/pypi/setuptools#downloads 将下载后的文件解压,进入到解压后的文件所在的目录执行命令:python setup.py install 2 安装 阅读全文
摘要:
查询版本号: python -V for 3 alias python=python3 for 2 alias python=python2 Python3 pip3 install numpy==1.14.3 pip3 install scipy==1.1.0 pip3 install sciki 阅读全文
摘要:
1、点击菜单栏rules——customize rules... 2、ctrl+f 搜索“static function main” 3、在main函数里加入下面一行代码,调用fiddlerUI函数,显示ip地址列 FiddlerObject.UI.lvSessions.AddBoundColumn 阅读全文
摘要:
172.20.4.156 node1172.20.4.157 node2172.20.4.158 node3 #更改主机名和hostshostname node1 hostname node2 hostname node3 vi /etc/hosts #关闭防火墙service iptables s 阅读全文