随笔分类 -  D.1.2-Linux踩坑之旅

若干后台配置、软件安装等,各种坑
摘要:参考博客:https://blog.csdn.net/qq_34691713/article/details/83895617 安装依赖包的时候出现这个错误,网上查了一下,有如下解决方案: yum provides '*/applydeltarpm' #查看依赖包的位置 yum -y install 阅读全文
posted @ 2021-05-26 10:59 He_LiangLiang 阅读(379) 评论(0) 推荐(0) 编辑
摘要:参考地址: https://stackoverflow.com/questions/53553009/not-able-to-insert-data-using-zaddsorted-set-in-redis-using-python The newer version of redis from 阅读全文
posted @ 2021-04-21 18:48 He_LiangLiang 阅读(544) 评论(0) 推荐(0) 编辑
摘要:1:先安装一个 xinetd: yum install xinetd; 2:然后修改 /etc/xinetd.d/daytime-stream和 /etc/xinetd.d/ daytime-dgram 中的disable为no;(注意:修改之前必须将daytime-stream 和daytime- 阅读全文
posted @ 2020-08-29 14:17 He_LiangLiang 阅读(329) 评论(0) 推荐(0) 编辑
摘要:本地(win10)起了客户端,连到了远端服务器。需要知道本地客户端的端口号是多少,方便后面去抓包。 服务器端口是:9889 , ip: 10.88.0.191 在cmd输入如下命令: netstat -an | findstr 9889 就可以看到我们客户端的端口号了。 主要是配合 findstr 阅读全文
posted @ 2020-07-03 16:56 He_LiangLiang 阅读(647) 评论(0) 推荐(0) 编辑
摘要:hiredis 的应用程序出错。 ./example-libevent: error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such file or directo 阅读全文
posted @ 2020-07-01 11:44 He_LiangLiang 阅读(1155) 评论(0) 推荐(0) 编辑
摘要:tar glibc-2.31.tar.gz cd glibc-2.31 mkdir build cd build ../configure --prefix=/usr/local/glibc-2.31 --with-headers=/usr/include make -j4 make install 阅读全文
posted @ 2020-06-22 14:10 He_LiangLiang 阅读(6028) 评论(1) 推荐(0) 编辑
摘要:wget https://ftp.gnu.org/gnu/make/make-4.2.tar.gz tar -zxf make-4.2.tar.gz cd make-4.2 ./configure --prefix=$HOME/local make make install 可以在 ~/.bash_ 阅读全文
posted @ 2020-06-22 14:07 He_LiangLiang 阅读(2582) 评论(0) 推荐(0) 编辑
摘要:redis http://try.redis.io/ Please type HELP for one of these commands: DECR, DECRBY, DEL, EXISTS, EXPIRE, GET, GETSET, HDEL, HEXISTS, HGET, HGETALL, H 阅读全文
posted @ 2020-06-19 14:09 He_LiangLiang 阅读(247) 评论(0) 推荐(0) 编辑
摘要:centos7 安装xinetd,telnet 安装方式:yum [root@master ~]# yum list |grep telnettelnet-server.x86_64 1:0.17-59.el7 @base telnet.x86_64 1:0.17-59.el7 base [root 阅读全文
posted @ 2020-06-18 20:26 He_LiangLiang 阅读(737) 评论(0) 推荐(0) 编辑
摘要:永久显示行号 在xshell终端,输入下面的 命令 echo "set number" >> ~/.vimrc 这将在 ~/.vimrc 文件末尾添加一行 set number。 阅读全文
posted @ 2020-06-18 19:28 He_LiangLiang 阅读(212) 评论(0) 推荐(0) 编辑
摘要:sudo /etc/init.d/redis start 其他重启方式: 如果是用apt-get或者yum install安装的redis,可以直接通过下面的命令停止/启动/重启redis /etc/init.d/redis-server stop /etc/init.d/redis-server 阅读全文
posted @ 2020-06-18 19:16 He_LiangLiang 阅读(25801) 评论(0) 推荐(0) 编辑
摘要:对服务器节点的 [cpu, rem, cpuG] 等数据进行读取和管理操作。这类记录下用到的若干TS方法。主要参考这里的 聚合查询语法。 /** * InfoManager1.ts * * 对服务器节点的 [cpu, rem, cpuG] 等数据进行读取和管理操作 * * Author:henry 阅读全文
posted @ 2020-06-15 09:45 He_LiangLiang 阅读(517) 评论(0) 推荐(0) 编辑
摘要:1.安装python2.72.安装pip 3.网上下载gyp(python的一个模块),并安装(用python命令执行gyp文件下面的setup.py脚本)https://dist.libuv.org/dist/https://github.com/svn2github/gyphttps://gyp 阅读全文
posted @ 2020-06-15 09:34 He_LiangLiang 阅读(683) 评论(0) 推荐(0) 编辑
摘要:Build LLVM and Clang:cd llvm-projectmkdir build (in-tree build is not supported)cd buildcmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm 阅读全文
posted @ 2020-06-15 09:29 He_LiangLiang 阅读(564) 评论(0) 推荐(0) 编辑
摘要:1.升级环境,安装gcc g++,安装若干相关依赖包yum -y updateyum install gcc gcc-c++ sudo yum -y install bzip2 wget gcc gcc-c++ gmp-devel mpfr-devel libmpc-devel makeyum in 阅读全文
posted @ 2020-06-15 09:25 He_LiangLiang 阅读(729) 评论(0) 推荐(0) 编辑
摘要:文章内容,转自官网。 更多信息,请去官网了解: https://docs.mongodb.com/manual/reference/method/ https://docs.mongodb.com/manual/reference/operator/query-comparison/ MongoDB 阅读全文
posted @ 2020-06-15 09:13 He_LiangLiang 阅读(213) 评论(0) 推荐(0) 编辑
摘要:sudo yum -y install net-tools 阅读全文
posted @ 2020-06-14 19:48 He_LiangLiang 阅读(107) 评论(0) 推荐(0) 编辑
摘要:安装好之后发现上不了网,经过一番搜索和尝试之后发现,修复的方法很简单: 进入网卡的配置文件目录: cd /etc/sysconfig/network-scripts/ 打开网卡的配置文件进行编辑。centos7下的网卡名称不再是eth0了,比如我的是ens33,那么我的网卡配置文件就是。我们需要将网 阅读全文
posted @ 2020-06-04 09:31 He_LiangLiang 阅读(558) 评论(0) 推荐(0) 编辑
摘要:windows安装openSSH-client使用PowerShell安装OpenSSH要使用PowerShell安装OpenSSH,请首先以管理员身份启动PowerShell。要确保OpenSSH功能可用于安装:Get-WindowsCapability -Online | ? Name -lik 阅读全文
posted @ 2020-06-03 14:07 He_LiangLiang 阅读(1571) 评论(0) 推荐(0) 编辑
摘要:运行:strings /lib64/libc.so.6 |grep GLIBC_发现没有GLIBC_2.18下载:wget http://mirrors.ustc.edu.cn/gnu/libc/glibc-2.18.tar.gz解压:tar -zxvf glibc-2.18.tar.gz进入解压文 阅读全文
posted @ 2020-06-02 09:05 He_LiangLiang 阅读(4904) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示