自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (3)
  • 收藏
  • 关注

原创 新增swap

[root@basedb-standby ~]# free -m total used free shared buffers cachedMem: 64373 3303 61069 0 57 2584-/+ buffers/cache: ...

2019-12-03 08:41:08 233

原创 centos 7 环境使用ambari离线搭建hadoop集群

hadoop介绍https://baike.baidu.com/item/Hadoop/3526507http://hadoop.apache.org/ambari介绍https://baike.baidu.com/item/Ambari/19697889http://ambari.apache.org/ 基础环境1.服务器 ip ...

2018-08-14 17:25:55 787

原创 ambari: Cannot match package for regexp name pig_${stack_version}

 ambari在部署pig是报错 Cannot match package for regexp name pig_${stack_version}raise Fail("Cannot match package for regexp name {0}. Available packages: {1}".format(name, self.available_packages_in_repo...

2018-08-14 09:31:58 3782

原创 ambari openssl 版本问题:SSLError: Failed to connect. Please check openssl library versions.

centos使用Ambari搭建Hadoop集群ambari --Confirm Hosts报错 Command start time 2018-08-13 10:32:23bash: /var/lib/ambari-agent/bin/ambari-agent: Is a directory('INFO 2018-08-10 11:03:19,614 NetUtil.py:70 - ...

2018-08-13 17:49:10 2981 3

原创 ssh免密码登录配置不起作用

现象:ssh免密登陆公钥配置正常,但无法免密登陆[root@big ~]# ssh root@192.168.72.16root@192.168.72.16's password: 解决思路:1./etc/ssh/sshd_config 是否开启免密[root@charge ~]# vim /etc/ssh/sshd_config #RSAAuthentication ye...

2018-07-27 13:01:48 3140

原创 ansible-cmdb for centos 7 install (二)

 一、安装httpd1.安装yum install httpd2.启动httpd3.停止httpd -k stop5.开机自启chkconfig httpd on6.修改属主chown -R apache:apache /var/www/html二、ansible-cmdb 使用1.ansible-cmd生成所有主机得facts信息...

2018-07-27 09:52:36 554 1

原创 ansible-cmdb for centos 7 install (一)

环境:centos7、python-2.7.8、ansible-1.7.2、ansible-cmdb-1.27安装:方法1:pip 方式安装1.首先安装epel扩展源:yum -y install epel-release2.更新完成之后,就可安装、升级pip:yum -y install python-pippip install --upgrade pip3....

2018-07-26 16:16:44 1080

原创 python zlib模块缺失报错:RuntimeError: Compression requires the (missing) zlib module

环境:centos7+Python-2.7.8现象:RuntimeError: Compression requires the (missing) zlib module安装python setuptools时,python setup.py install报错File "/opt/oracle/sor/install/setuptools-0.6c11/setuptools/co...

2018-07-26 09:32:28 8359

原创 centos7+prometheus+Grafana (二)

grafana 导入模板,这里导入的1860模板效果tips:内存使用率算法进行了修改:  内存占用率:(total - free - buffers - cached) / total * 100% < 90%。  ((node_memory_MemTotal_bytes{instance=~"$node:$port",job=~"$job"} - ...

2018-07-04 14:11:17 671

原创 centos7+prometheus+Grafana (一)

env: centos7        prometheus-2.3.1.linux-amd64.tar.gz        grafana-5.2.1-1.x86_64.rpminstall:1. prometheus    wget https://prometheus.io/download/prometheus-2.3.1.linux-amd64.tar.gz   ...

2018-07-02 09:14:16 2073

原创 vpshere6 ESXI 禁止登陆,执行此操作的权限被拒绝

env:vsphere6、vcenter现象: vcenter在添加主机时,锁定模式选择“正常”,故导致无法直接登陆ESXI宿主机solution:在vcenter选择相应的ESXI宿主机,配置>系统>安全配置文件>锁定模式>编辑,修改为禁用。...

2018-06-29 15:02:28 17376 3

原创 vsphere 虚拟机 centos7 扩容/目录

env: vsphere6 虚拟机centos7(2C+2G+30G)目标:centos(2C+2G+60G)1. 在vSphere Client上直接扩大虚拟机的硬盘空间或者挂载一块新硬盘。2. 查看当前文件系统信息[root@big ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/mapper/c...

2018-06-29 14:49:49 973 2

原创 java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available

环境:ubuntu 14.05+tomcat 8.5.30+JDK 1.8.0_171现象: java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available1-May-2018 01:32:06.445 信息 [main] org.apache.catalina.core.StandardEngine.star...

2018-05-11 13:08:03 8193

原创 redis for ubuntu

redis release 3.2.51. 安装gcc apt-get install gcc2. 安装redistar -C /usr/local -zxvf redis-3.2.5.tar.gzcd redis-3.2.5makemake installmkdir –p /usr/local/redis-3.2.5/etc/cp /usr/local/r...

2018-05-08 13:20:36 107

原创 JDK 1.8 for ubuntu

步骤 1 版本jdk-8u144-linux-x64.rpm步骤 2 安装alienapt-get install alien步骤 3 转化rpm为debalien jdk-8u171-linux-x64.rpm步骤 4 dpkg进行安装dpkg -i jdk1.8_1.8.0171-1_amd64.debvim /etc/profileJAVA_HOME=/usr/java/j...

2018-05-08 10:53:14 1306

转载 qgis-server for ubuntu 14.05

At this point, we will give a short and simple sample installation how-to for a minimal working configuration usingApache2 on Debian Squeeze (or with negligible variations on Ubuntu 14.04). Many other...

2018-05-07 16:00:41 444

ansible-cmdb for install (all)

安装包及依赖模块:ansible-cmdb-1.27.tar.gz、Mako-1.0.7.tar.gz、ushlex-0.99.tar.gz、jsonxs-0.6.tar.gz、PyYAML-3.11.tar.gz、yaml-0.1.5.tar.gz

2018-07-26

Mako-1.0.7.tar.gz

安装ansible-cmdb所需要的模块,install_requires=['mako', 'pyyaml', 'ushlex', 'jsonxs'],

2018-07-26

ansible-v1.7.2 for all

ecdsa-0.11.tar.gz MarkupSafe-0.9.3.tar.gz pycrypto-2.6.1.tar.gz PyYAML-3.11.tar.gz simplejson-3.6.5.tar.gz yaml-0.1.5.tar.gz Jinja2-2.7.3.tar.gz paramiko-1.15.1.tar.gz Python-2.7.8.tgz setuptools-7.0.tar.gz v1.7.2.tar.gz

2018-07-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除