- 博客(31)
- 资源 (1)
- 收藏
- 关注
原创 centos7 安装 elasticsearch head 插件 elasticsearch6.x
1配置环境node下载node地址:https://nodejs.org/en/download/其他系统的安装教程在:https://nodejs.org/en/download/package-manager/主流的几个系统(Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora(centos) an...
2019-01-31 15:38:26 318
原创 centos7 安装Elasticsearch6.x
1.Elasticsearch 简介Elasticsearch是一个高度可扩展的开源文本搜索分析引擎2.logstash的安装环境这是下载地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html根据自己的需求在可以到elastic官网查看对应版本的logstash ...
2019-01-31 14:56:54 553
原创 centos7 下的logstash 安装流程 及错误修改
1.logstash 简介是有elastic 开发的一款免费的日志收集数据采集类似于flume2.logstash的安装环境这是下载地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html根据自己的需求在可以到elastic官网查看对应版本的logstash 需要的...
2019-01-31 11:40:53 632
原创 centos 7 mariadb安装
1.安装MariaDByum -y install mariadb mariadb-server2.启动MariaDBsystemctl start mariadb3.设置开机启动systemctl enable mariadb首先是设置密码,会提示先输入密码Enter current password for root (enter for none):<–初次运行...
2019-01-31 09:37:36 169
原创 Centos7 搭建Apache+PHP+mariadb环境
安装Apache、PHP、Mysql、连接Mysql数据库的包: 1 2 3 4 5 6 7 8 9 10 11 yum -y install httpd yum -y install php yum -y install php-fpm ...
2019-01-30 21:50:10 961
原创 关于端口处理的一些机制
1、使用telnet判断telnet是windows标准服务,可以直接用;如果是linux机器,需要安装telnet.yum install epel-releasecentos7 yum -y install telnet用法: telnet ip port1)先用telnet连接不存在的端口 1 2 3 [root@local...
2019-01-30 16:51:53 341
原创 firewalld.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead
yum install firewalld systemd -y
2019-01-30 14:39:34 7484
原创 CentOS 7 为firewalld添加开放端口及相关资料
1、运行、停止、禁用firewalld启动:# systemctl start firewalld查看状态:# systemctl status firewalld 或者 firewall-cmd --state停止:# systemctl disable firewalld禁用:# systemctl stop firewalld 查看firewall是否运行,下...
2019-01-30 14:31:23 201
原创 centos 7 笔记本闭盖不休眠
systemd 处理某些电源相关的 ACPI事件,可以通过从 /etc/system/logind.conf以下选项进行配置:动作包括:HandlePowerKey:按下电源键后的动作HandleSleepKey:按下挂起键后的动作HandleHibernateKey: 按下休眠键后的动作HandleLidSwitch:合上笔记本盖后待机这些动作的值可以是 ignore(什...
2019-01-23 21:30:54 2549
原创 学习地方
https://github.com/EZLippi/practical-programming-bookshttps://blog.csdn.net/yuanfengyun/article/details/54706333https://blog.csdn.net/VRunSoftYanlz/article/details/81041359https://www.cnblogs.co...
2019-01-23 17:59:45 223
原创 centos luaconf.h:275:31: 致命错误:readline/readline.h:没有那个文件或目录
yum install readline-devel
2019-01-21 16:07:10 2211 1
原创 centos lua_cjson.c:43:17: 致命错误:lua.h:没有那个文件或目录
1.下载lua-5.1.5.tar.gz地址:https://www.lua.org/ftp/lua-5.1.5.tar.gz2.解压到指定目录:tar -zxvf lua-5.1.5.tar.gznote:tar -zxvf 为解压指令 例如: tar -zcvf lua-5.1.5.tar.gz ./ (解压到当前文件夹) tar -zcvf 压缩指...
2019-01-21 16:05:50 5859 1
原创 centos json.lua:1: module 'cjson' not found
1.下载lua-cjson-2.1.0.tar.gz地址:https://github.com/Kong/kong-cjson/archive/2.1.0.tar.gz2.解压到指定目录:tar -zxvf lua-cjson-2.1.0.tar.gz 3.进入解压后的目录,依次运行指令:cmake CMakeListsmake&& make insta...
2019-01-21 16:03:21 4942
原创 centos /usr/bin/ld: cannot find -lluajit
1.下载LuaJIT-2.1.0-beta3.tar.gz地址:http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz2.解压到指定目录:tar -zxvf LuaJIT-2.1.0-beta3.tar.gznote:tar -zxvf 为解压指令 例如: tar -zcvf LuaJIT-2.1.0-beta3.tar.gz ...
2019-01-21 15:47:07 597
原创 centos /usr/bin/ld: cannot find -luv
1.yum -y install libuv-dev如果出现没有可用软件包 libuv*。2.安装EPEL源yum install epel-release3.重新执行1
2019-01-21 15:43:34 1140
原创 CObjectJsonReader.h:4:23: 致命错误:json/json.h:没有那个文件或目录
1.下载1.6.0.tar.gz地址:https://github.com/open-source-parsers/jsoncpp/archive/1.6.0.tar.gz2.解压到指定目录:tar -zxvf 1.6.0.tar.gz3.进入解压后的目录,依次运行指令:cmake CMakeLists.txtmake&&make install ...
2019-01-21 15:41:18 3310 1
原创 centos libz.a(compress.o): relocation R_X86_64_32 against `.rodata.str1.1'
libz.a(compress.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a: ...
2019-01-21 15:36:58 1615 1
原创 /usr/bin/ld: /usr/local/lib/libjemalloc.a(jemalloc.o)
/usr/bin/ld: /usr/local/lib/libjemalloc.a(jemalloc.o): relocation R_X86_64_32S against `je_index2size_tab' can not be used when making a shared object; recompile with -fPIC则将修改MakeFilevim MakeFile...
2019-01-18 12:09:15 835
原创 centos7 linux /usr/bin/ld: cannot find -ljemalloc
1. 官网下载4.5.0.tar.gz;地址:https://github.com/jemalloc/jemalloc/archive/4.5.0.tar.gz2. 解压到指定目录;tar -zxvf 4.5.0.tar.gz note:tar -zxvf 为解压指令 例如: tar -zcvf 4.5.0.tar.gz ./ (解压到当前文件夹) ta...
2019-01-18 12:02:30 1294
原创 centos ./autogen.sh:行47: autoreconf: 未找到命令
yum -y install install autoconf automake libtool
2019-01-18 11:50:43 13892 2
原创 linux centos 致命错误:google/protobuf/stubs/common.h:没有那个文件或目录
1. 官网下载v3.0.0.tar.gz;地址:https://github.com/protocolbuffers/protobuf/archive/v3.0.0.tar.gz2. 解压到指定目录;tar -zxvf v3.0.0.tar.gz note:tar -zxvf 为解压指令 例如: tar -zcvf v3.0.0.tar.gz ./ (解压到当前文件夹) ...
2019-01-18 11:48:12 6975 1
原创 /libae.h:35:29: 致命错误:hiredis/hiredis.h:没有那个文件或目录 #include "hiredis/hiredis.h"
1. 官网下载v0.11.0.tar.gz;地址:https://github.com/redis/hiredis/archive/v0.11.0.tar.gz2. 解压到指定目录;tar -zxvf v0.11.0.tar.gznote:tar -zxvf 为解压指令 例如: tar -zcvf v0.11.0.tar.gz ./ (解压到当前文件夹) ...
2019-01-18 11:30:07 4366
原创 centos 7 /usr/bin/ld: cannot find -lcurl 安装 curl-7.45.0.tar.gz
1. 官网下载curl-7.45.0.tar.gz;地址:https://curl.haxx.se/download/curl-7.45.0.tar.gz2. 解压到指定目录;tar -zxvf curl-7.45.0.tar.gz note:tar -zxvf 为解压指令 例如: tar -zcvf curl-7.45.0.tar.gz ./ (解压到当前文件夹) ...
2019-01-15 14:37:40 1432
原创 centos7 出现/usr/bin/ld: cannot find -lssl 和 /usr/bin/ld: cannot find -lcrypto
Answers:openssl, openssl-devel and openssl-static (for RHEL/Centos).指令 :yum -y install openssl*
2019-01-15 14:32:50 2335
原创 centos /usr/bin/ld: cannot find -lz
Answers:yum -y install zlib*如果再次编译自己对应的源文件还出先 /usr/bin/ld: cannot find -lz 这建议采取下面的方式1.下载zlib-1.2.8.tar.gz地址:https://zlib.net/fossils/zlib-1.2.8.tar.gz2.解压到指定目录:tar -zxvf zlib-1.2.8.tar.gz...
2019-01-15 14:29:34 4393
原创 centos7 致命错误:curl/curl.h:没有那个文件或目录 #include "curl/curl.h"
yum -y install curl-devel
2019-01-15 13:58:55 13108
原创 centos7 cmake: 未找到命令 (cmake cannot found) 安装3.13.2 笔记
1. 官网下载cmake-3.12.2.tar.gz;https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2.tar.gz2. 解压到指定目录;tar -zxvf cmake-3.13.2.tar.gz3、进入解压后的目录,依次运行指令./bootstrap && make ...
2019-01-15 13:54:32 11729 6
原创 centos7 创建swig.3.0.12 与移除swig2.0.10
1. 移除swig2.0.10yum -y remove swig2. 官网下载swig-3.0.12.tar.gz;地址:http://www.swig.org/download.html3. 解压到指定目录;tar -zxvf swig-3.0.12.tar.gz note:tar -zxvf 为解压指令 例如: tar -zcvf swig-3.0.12.tar.gz...
2019-01-10 11:22:31 3519
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人