yum install gcc 结果报错: [root@localhost ~]# yum install gcc Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * epel: ...
分类:
其他好文 时间:
2020-08-27 17:12:52
阅读次数:
174
安装 linux nginx可以使用各平台的默认包来安装,这里介绍的是使用源码编译安装,包括具体的编译参数信息。 正式开始前,编译环境gcc g++ 开发库之类的需要提前装好,这里默认你已经装好。 ububtu平台编译环境可以使用以下指令: $ apt-get install build-essen ...
分类:
其他好文 时间:
2020-08-27 13:13:06
阅读次数:
60
写了个nginx编译安装脚本 版本:nginx-1.19.2 #!/bin/bash # 安装依赖关系包 yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel gcc gcc-c++ autoconf automak ...
分类:
其他好文 时间:
2020-08-26 19:03:54
阅读次数:
73
1 概述 VirtualBox安装完CentOS8后无法调节分辨率,需要安装额外的工具。 2 安装依赖包 首先确保虚拟机能正常连接网络,然后安装:kernel、kernel-core、kernel-modules、kernel-devel、gcc、make、perl、elfutils-libelf- ...
分类:
其他好文 时间:
2020-08-25 15:53:57
阅读次数:
56
Educational Codeforces Round 21 A. Lucky Year 个位数直接输出$1$ 否则,假设$n$十进制最高位的值为$s$,答案就是$s-(n\mod s)$ view code #pragma GCC optimize("O3") #pragma GCC optim ...
分类:
其他好文 时间:
2020-08-25 15:43:40
阅读次数:
44
1.安装 gcc-c++ 先查看gcc版本信息 gcc --v 2.安装redis redis 官网的安装命令;官网地址:https://redis.io/download 先执行 wget http://download.redis.io/releases/redis-6.0.6.tar.gz,把 ...
分类:
其他好文 时间:
2020-08-20 18:24:31
阅读次数:
66
Educational Codeforces Round 19 A. k-Factorization 找出所有质因子,把多的合并一下 view code //#pragma GCC optimize("O3") //#pragma comment(linker, "/STACK:1024000000 ...
分类:
其他好文 时间:
2020-08-19 19:49:08
阅读次数:
61
1.[root@centos8 ~]#wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-Butterscotch.tar 2. [root@centos8 ~]#dnf -y insta ...
分类:
其他好文 时间:
2020-08-17 17:01:41
阅读次数:
55
稀疏数组: 当一个数组(包括多维数组)中大部分元素为0,或者为同一个值的数组时,,为了节约空间起到压缩的效果,将数据用另一种结构来表示,即稀疏数组。 稀疏数组的处理方法是: 记录数组一共有几行几列,有多少个不同的值 把具有不同值的元素的行列及值记录在一个小规模的数组中,从而缩小程序的规模 如二维数组 ...
分类:
编程语言 时间:
2020-08-15 23:55:54
阅读次数:
89
1.安装相关依赖库(工具包) yum install gcc patch libffi-devel python-devel zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel ...
分类:
编程语言 时间:
2020-08-10 16:15:09
阅读次数:
85