python3.6.7编译安装完成后,执行生成的pip3 search virtualenv 时,HTTPS 服务错 pip is configured with locations that require TLS/SSL, however the ssl module in Python is Read More
posted @ 2018-12-13 10:21 懵懂的青年 Views(2205) Comments(0) Diggs(0)
具体过程 1.首先配置java环境,具体可以参照https://www.cnblogs.com/we14578/p/6417876.html 2.下载安装elasticsearch 6.5.2 wget https://artifacts.elastic.co/downloads/elasticse Read More
posted @ 2018-12-11 18:18 懵懂的青年 Views(874) Comments(0) Diggs(0)
昨天快下班的时候,开发部门同事说,自己的YUM工具卸载了,我当时真的很震惊,幸亏不是生产环境,我问她为啥要删yum,哪个高人指点的,她指了指旁边要离职的大哥, 我讽刺了几句,这个大哥还有脸骂别人sb,我真的佩服。 不多说,聊下恢复的经过: yum 被删的原因,系统是centos6.6系统,默认pyt Read More
posted @ 2018-12-11 11:42 懵懂的青年 Views(1356) Comments(0) Diggs(0)
参考链接:http://www.jianshu.com/p/02dc13d2f651 最近在尝试部署K8S,使用的是kubeadm,docker,以及flannel master端: 1.docker安装(安装版本:Docker version 1.12.6) yum install -y dock Read More
posted @ 2017-11-15 17:43 懵懂的青年 Views(319) Comments(0) Diggs(0)
jdk环境配置: 首先下载jdk 1.8:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html到此网站下载,我们使用的jdk 版本为1.8 2.解压下载的版本: tar zxvf jdk Read More
posted @ 2017-02-19 23:41 懵懂的青年 Views(191) Comments(0) Diggs(0)
下载2.4.8,解压进行编译 ./configure --prefix=/usr/local/zabbix_server --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-libxml2 Read More
posted @ 2017-02-09 22:48 懵懂的青年 Views(166) Comments(0) Diggs(0)
如何设置redhat使用centos源,可以借助yum工具进行安装各种所需的包,以及进行系统升级。这里设置的是redhat6.0 对应的centos版本也是6.0 内核版本是2.6.32-71.el6.x86_64这里base源设置的是163的镜像站而epel扩展源使用的则是sohu镜像站1.首先确 Read More
posted @ 2016-05-10 16:48 懵懂的青年 Views(429) Comments(0) Diggs(0)
linux 是一个文件系统,用户使用linux就是使用linux自带的或者安装的文件去进行自己想要的操作, 而对常用的文件, linux将其做成指令,或者声明环境变量,可以在命令行直接使用。 对于一个在linux系统上的文件,我们首先要了解的是它的属性,而属性则限定了文件的用途。 [root@loc Read More
posted @ 2016-03-09 21:32 懵懂的青年 Views(171) Comments(0) Diggs(0)
1.查看文件指令:cat tail head tac,more ,less 大家比较常用的是cat ,例如cat /etc/passwd 而当查看log时,因为需要关注的往往是最新的内容,则往往用到的指令是tail 如,tail /var/maillog 而tac 输出的内容是与cat顺序相反的,最 Read More
posted @ 2016-03-02 19:31 懵懂的青年 Views(154) Comments(0) Diggs(0)
关于文件查找,能想到的locate ,find ,whereis,which which 命令,可以查找到该命令的绝对路径。[root@master shell]# which service/sbin/servicePATH:环境变量关于PATH 的理解,因为linux执行的是文件,而PATH设置 Read More
posted @ 2016-03-01 17:52 懵懂的青年 Views(123) Comments(0) Diggs(0)