编译器centos7 centos gcc

CentOS 7 关闭IPv6

一、编辑/etc/default/grub编辑/etc/default/grub,在GRUB_CMDLINE_LINUX加上的后面句首加上ipv6.disable=1。 修改之前: [root@localhost ~]# cat /etc/default/grub GRUB_TIMEOUT=5 GR ......
CentOS IPv6 IPv

Winform串口通信Demo 附源工程文件可直接通过编译。

Demo功能介绍 下载地址百度网盘 链接:https://pan.baidu.com/s/1AdhP8uUkSvVg3qXUtlMvOw?pwd=ieo5 提取码:ieo5 源代码 介绍: cbx_Port为lable文字"串口号"后对应控件命名 cbx_BaudRate为lable文字"波特率"后 ......
串口 Winform 文件 工程 Demo

ES搜索框架--ES部署到Centos8服务器

参考:https://blog.csdn.net/Me_xuan/article/details/114608076https://www.cnblogs.com/chenxitag/p/12320868.html一、下载安装1.下载ES使用elasticsearch7.10.2,到官网下载对应的l ......
框架 Centos8 服务器 Centos ES

lvgl 经典编译错误解决之道:section `.bss' is not within region `dram0_0_seg'

实验证明,宏定义 LV_MEM_CUSTOM 从 0 改为 1,对 LVGL+TFT_eSPI 编译时不再提示 “section `.rodata' will not fit in region `dram0_0_seg'” 或“section `.bss' is not within region... ......
错误 section 经典 region within

Centos7 时间显示不对

修改系统时区 timedatectl set-timezone Asia/Shanghai 安装NTP yum -y install ntp 使用 ntpdate 更新系统时间 ntpdate pool.ntp.org 使用 date 查看时区是否正确 date 启动ntpd daemon,持续校准 ......
Centos7 时间 Centos

gcc链接时打桩

gcc 链接时打桩 链接时打桩简单分析 链接时打桩本质是在重定位解析符号的时候,做了手脚。 假设main.o用到外部符号malloc,malloc的定义本来在libc中,直接链接给定-L/path/to/libc.so -lc, main.o中malloc的地址就链接到了libc.so中的符号。 链 ......
链接 gcc

linux kernel 编译的过程中 make defconfig、 make menuconfig、 make savedefconfig、 make olddefconfig 的含义

原文:https://www.cnblogs.com/xingboy/p/16478998.html 1、 make defconfig 首先通过make xxx_defconfig,生成最开始的.config,相当于把 XXX_defconfig 文件复制为 .config 文件,其中 defco ......

Centos 7 安装部署 xxl-job

1.xxl-job部署前需要的环境 - Maven3+ - Jdk1.8+ - Mysql5.7+ 2.xxl-job下载地址 官网地址 https://www.xuxueli.com/xxl-job/ 源码地址 https://github.com/xuxueli/xxl-job/ 3.在源码地址 ......
xxl-job Centos xxl job

cmake 函数编译第三方库

function(find_external_project_add) set(options BUILD_SHARED_LIBRARY) set(oneValueArgs NAME) set(multiValueArgs DEPENDS EXPORT_LIBRARIES CONFIGURE_COM ......
第三方 函数 cmake

c语言编译

1、编译动态库 gcc -shared -o libtest.so test.c gcc -shared -o libtest.dll test.c 2、编译包含第三方库的可执行程序 gcc -c test.c //生成test.ogcc main.c -static -L. test.o ......
语言

centos7 mongodb4.4分片集群部署

#创建mongo相应的目录 mkdir -pv /data/app/mongodb/conf mkdir -pv /data/app/mongodb/{configset,shared1,shared2,shared3}/log mkdir -pv /data/mongodb/{configset, ......
集群 mongodb4 centos7 mongodb centos

centos 7.9搭建安装confluence-7

centos 7.9搭建安装confluence-7 ##1、安装Java环境 ###1.1 解压tar包 [root@wiki ~]# tar xf jdk-8u171-linux-x64.tar.gz -C /usr/local/ [root@wiki ~]# mv /usr/local/jdk ......
confluence centos 7.9

Centos7 安装 maven3.6.3

1.下载 maven 3.6.3 安装包 wget https://mirrors.ocf.berkeley.edu/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz --no-check-certificate 2. ......
Centos7 Centos maven3 maven 6.3

Centos7 yum安装mqtt

1.mqtt的官网是https://www.emqx.io/zh/downloads?os=CentOS 2.配置 EMQX Yum 源 curl -s https://assets.emqx.com/scripts/install-emqx-rpm.sh | sudo bash 3.安装 EMQX ......
Centos7 Centos mqtt yum

Centos8防火墙设置

Centos8防火墙设置 Centos8防风墙设置 1、centos中firewalld与iptables centos7以前的版本默认使用iptables服务进行管理防火墙规则。centos7以及其以上版本默认使用firewalld服务管理防火墙。所以在centos8中,就使用其默认的firewa ......
防火墙 Centos8 Centos

用docker作为嵌入式编译环境

https://www.shangyexin.com/2020/01/20/docker_ubuntu_compile/https://wiki.t-firefly.com/Firefly-RK3288/linux_compile.html方法二:使用 Docker ......
嵌入式 环境 docker

Centos 7 安装 rabbitmq

1.配置yum下载源: yum install epel-release -y 2.下载rabbitmq: yum install rabbitmq-server -y 3.配置web ui网页插件(网页登陆端口号:15672) rabbitmq-plugins enable rabbitmq_ma ......
rabbitmq Centos

ubuntu18.04 编译安装php7.4.33

先安装 freetype jpeglib gdlib 以支持GD 或许仍有许多其它错, 比如 报库缺失或未安装某些支持等问题, 由于直接 apt-get 就搞定了, 也没有什么问题, 所以并未记录在案. 一个编译配置 ./configure --prefix=/usr/local/php7 --wi ......
ubuntu 18.04 php7 4.33 php

Centos 7 yum 安装redis

一、安装redis 1、检查是否有redis yum 源 yum list | grep redis 2、下载fedora的epel仓库 yum install epel-release -y 3、安装redis数据库 yum install redis -y 4.防火墙开放相应端口 iptable ......
Centos redis yum

多个子项目使用不同的编译器会导致无限循环的bug

记录一次编译错误,CMake不支持对subdirtory使用不同的编译器版本,gcc6和gcc7 项目情况:一个项目下有两个子项目base-project和base-project-gpu,前者使用gcc-7编译,后者由于cuda版本是9,所以最高支持到gcc-6 展开查看:项目主CMakeList ......
子项目 子项 编译器 多个 bug

ubuntu升级gcc和g++

下载安装 sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-9 sudo apt-get install g++-9 配置为默认选项 sudo update ......
ubuntu gcc

Centos8 配置本地yum源

Centos8 配置本地yum源centos8发行版通过 BaseOS 和应用流 (AppStream) 仓库发布,这篇文章主要介绍了CentOS8 配置本地yum源的详细教程,需要的朋友可以参考下centos8发行版通过 BaseOS 和应用流 (AppStream) 仓库发布,AppStream ......
Centos8 Centos yum

centos6更换源

#备份原有文件[root@zk1 /]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup#跳过检查证书,从https://www.xmpan.com/Centos-6-Vault-Aliyun ......
centos6 centos

CentOS7安装zabbix-agent

一:系统要求 1.centos 7 2.zabbix服务器端5.0版本 二:安转和配置zabbix 1.安装zabbix存储库 # rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.n ......
zabbix-agent CentOS7 CentOS zabbix agent

centos7安装k8s

部署计划 a机1核1G,192.168.180.128,用来安装 b机1核2G,192.168.180.129,用来k8s Master节点 a机动作 安装docker --安装需要的软件包, yum-util 提供yum-config-manager功能,另两个是devicemapper驱动依赖 ......
centos7 centos k8s 8s k8

Centos7 安装配置FTP服务

1、FTP简介 ftp(File Transfer Protocol文件传输协议)是基于TCP/IP 协议的应用层协议,用于文件的传输,包括ftp服务器(或服务端)和ftp客户端 2、关闭防火墙设置selinux systemclt stop firewalld.service && systemc ......
Centos7 Centos FTP

Centos8搭建sftp服务器

#安装sftp服务器 #创建用户组 [root@192 ~]# groupadd sftpgroup #创建完成之后使用cat /etc/group命令组的信息 [root@192 ~]# cat /etc/group #创建用户并且加入到这个用户组,并修改mysftp用户的密码 [root@192 ......
Centos8 服务器 Centos sftp

ubuntu22.04 系统 esp-matter 编译问题

一. 获取 Matter仓库 #git clone --recursive https://github.com/espressif/esp-matter.git若过程有报错,请执行#cd esp-matter#git submodule update --init --recursive -f#加 ......
esp-matter ubuntu matter 问题 系统

Centos7使用systemctl管理mysql8服务开机启动

centos7下开机默认不执行原来配置启动命令的/etc/rc.local文件,建议使用systemctl管理自启动服务,如果要使用/etc/rc.local进行自启动,需要给文件/etc/rc.d/rc.local添加可执行权限。 systemctl常用命令如下: 1.列出所有启动项命令syste ......
systemctl Centos7 Centos mysql8 mysql

gcc栈溢出保护机制:stack-protector

引用:https://www.cnblogs.com/arnoldlu/p/11630979.html 1. gcc栈保护机制stack-protector简介 gcc提供了栈保护机制stack-protector。关于stack-protector包含三个选项,分别是stack-protector ......
stack-protector protector 机制 stack gcc