Ubuntu 20.04 Install Guest Additions for VirtualBox时有报错: This system is currently not set up to build kernel modules.Please install the gcc make perl ...
分类:
系统相关 时间:
2020-07-26 23:00:43
阅读次数:
94
对于源文件较多的 c/c++项目,直接在 shell 中使用 gcc/clang 进行编译会十分麻烦,makefile 可以解决这一问题。Makefile 记录了项目的编译规则,当使用 make 命令进行项目的编译时,make 命令会使用 makefile 中记录的规则,一步步地编译、链接,生成目标 ...
分类:
其他好文 时间:
2020-07-26 15:40:29
阅读次数:
62
Dinic模板 #pragma GCC optimize(2) #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10; //const int maxm = 1e3 * 2 + 10; const int in ...
分类:
其他好文 时间:
2020-07-26 01:58:19
阅读次数:
59
1,yum安装的Nginx添加第三方模块支持tcp [root@centos7 ~]# nginx -V nginx version: nginx/1.16.1 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) built with OpenS ...
分类:
其他好文 时间:
2020-07-26 01:42:06
阅读次数:
77
1.安装编译工具及库文件 # yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel pcre-devel gcc、gcc-c++ # 主要用来进行编译相关使用 openssl、openssl-devel # ...
分类:
其他好文 时间:
2020-07-25 23:57:46
阅读次数:
292
主要参考:wpa_supplicant交叉编译 选择的版本: openssl-1.0.2r.tar.gz libnl-3.5.0.tar.gz wpa_supplicant-2.5(版本太新会有报错) 1 libssl编译 1.1下载 下载链接:https://www.openssl.org/sou ...
分类:
其他好文 时间:
2020-07-24 21:25:35
阅读次数:
67
简介:redis作为目前非常主流的key-value型内存数据库,得到了业界广泛的认可与使用。我们可以使用redis作为系统中的缓存数据库,减轻系统压力,也可以使用redis来实现分布式锁。 优点: 对数据高并发读写 对海量数据的高效率存储和访问 对数据的可扩展性和高可用行 缺点: redis(AC ...
vscode如何配置c/c++环境 下载 Mingw 参考链接:https://blog.csdn.net/jiqiren_dasheng/article/details/103775488 笔者下载的x86_64-8.1.0-release-win32-sjlj离线包存放在百度网盘,需要的读者可以 ...
分类:
编程语言 时间:
2020-07-23 16:01:55
阅读次数:
75
Nginx安装 注意:这里以CentOS 6.8服务器为例,以root用户身份来安装Nginx。 1.安装依赖环境 yum -y install wget gcc-c++ ncurses ncurses-devel cmake make perl bison openssl openssl-deve ...
分类:
其他好文 时间:
2020-07-22 15:36:35
阅读次数:
86
在windows环境下,我们运行一程序,只需要在VS中点击运行按键即可,VS帮我们做完了程序的预处理、编译、汇编、链接阶段 但是在linux环境下,我们只能借助gcc/g完成这一系列的操作 -o参数:g main.cpp -o main -o:output的意思,指将main.cpp输出为main。 ...
分类:
其他好文 时间:
2020-07-22 11:08:34
阅读次数:
72