随笔分类 -  linux

摘要:gdb 调试 dir:清除所有的自定义的源文件搜索路径信息。 dir <dirname>:加一个源文件路径到当前路径的前面。指定多个路径,可以使用”:” show dir:显示定义了的源文件搜索路径。 (gdb) dir /opt:/usr/include/ Source directories s 阅读全文
posted @ 2020-05-13 16:13 略加思索的河马 编辑
摘要:1. cpu 1个物理4核心 2. 内存4GB 4.磁盘50GB 选择标准分区 swap 2048M / 剩余大小 /boot 200M 非必须 阅读全文
posted @ 2020-01-06 15:26 略加思索的河马 阅读(124) 评论(0) 推荐(0) 编辑
摘要:# 系统信息查看 cat /proc/cpuinfo processor : 3 【0-3】model name : Intel(R) Core(TM) i7-9700 CPU @ 3.00GHzcpu MHz : 2999.997physical id : 1 【0-1】core id : 1 【 阅读全文
posted @ 2019-11-29 13:32 略加思索的河马 阅读(221) 评论(0) 推荐(0) 编辑
摘要:环境变量设置 1.export export ORACLE_HOME=/usr/local/instantclient_12_2export PATH=$ORACLE_HOME:$PATHexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME 只有在 阅读全文
posted @ 2017-07-18 10:16 略加思索的河马 阅读(1008) 评论(0) 推荐(0) 编辑
摘要:tar –xvf log4cplus-1.1.3-rc5.tar.gz cd log4cplus-1.1.3-rc5 configure --prefix=/usr/local/log4cplus make make install export LD_LIBRARY_PATH=$LD_LIBRAR 阅读全文
posted @ 2017-07-17 15:55 略加思索的河马 阅读(321) 评论(0) 推荐(0) 编辑
摘要:1. 2 阅读全文
posted @ 2017-06-19 09:53 略加思索的河马 阅读(344) 评论(0) 推荐(0) 编辑
摘要:1. 头文件 2. 定义文件 3.main.cpp 阅读全文
posted @ 2017-06-12 00:08 略加思索的河马 阅读(697) 评论(0) 推荐(0) 编辑
摘要:第一步 第二步 第三步 centos: redhat: 阅读全文
posted @ 2017-04-21 09:47 略加思索的河马 阅读(786) 评论(0) 推荐(0) 编辑
摘要:1、检查yum是否安装,默认情况下都是安装好的,总共4各包。 rpm -qa |grep yum 卸载掉系统redhat自带的yum rpm -qa |grep yum |xargs rpm -e --nodeps2 下载相关的centos yum插件 在linux可以使用命令直接下载到本地也可以 阅读全文
posted @ 2017-03-30 10:02 略加思索的河马 阅读(437) 评论(0) 推荐(0) 编辑
摘要:本人在centos下安装zeromq 1.下载最新版的zeromq http://download.zeromq.org/ 2 解压 tar -xvf zeromq-3.1.0-beta.tar.gz 3 运行configure ./configure --prefix=/data/zeromq P 阅读全文
posted @ 2016-07-02 23:43 略加思索的河马 阅读(1019) 评论(1) 推荐(0) 编辑
摘要:1. 下载gdb 7.6.1源码包 http://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.gz 将源码包放在home目录的Download目录中 2. 解压缩gdb 7.6.1源码包 cd /root/Downloads/ tar -zxvf gdb-7.6.1.tar. 阅读全文
posted @ 2016-03-08 15:46 略加思索的河马 阅读(2080) 评论(0) 推荐(1) 编辑
摘要:1.下载gcc-4.8.3安装包 gcc各版本浏览地址:http://ftp.gnu.org/gnu/gcc/ yum install gccyum install gcc-c++ 2.将gcc-4.8.3.tar.bz2放到~~/opt文件夹下解压 [root@localhost ~]# cd ~ 阅读全文
posted @ 2016-01-21 09:46 略加思索的河马 阅读(2317) 评论(0) 推荐(0) 编辑
摘要:sigaction函数相比signal函数更为复杂,但更具灵活性,下面具体介绍她的结构和用法: #include <signal.h> int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact); 阅读全文
posted @ 2016-01-18 17:24 略加思索的河马 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-12-29 18:05 略加思索的河马 阅读(313) 评论(0) 推荐(0) 编辑
摘要:/* * XXX This sample code was once meant to show how to use the basic Libevent * interfaces, but it never worked on non-Unix platforms, and some of th 阅读全文
posted @ 2015-10-20 16:48 略加思索的河马 阅读(388) 评论(0) 推荐(0) 编辑
摘要:1.查看是否安装 g++ -v 2.命令直接安装 yum install gcc-c++ 3.提示你找不到g++安装包,执行下面命令 yum install gcc-c++ libstdc++-devel -y 阅读全文
posted @ 2015-04-24 15:01 略加思索的河马 阅读(394) 评论(0) 推荐(0) 编辑

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