随笔分类 - Linux
摘要:Install gcc-14 on Ubuntu 22.04 The steps: 1 sudo apt install build-essential 2 sudo apt install libmpfr-dev libgmp3-dev libmpc-dev -y 3 wget http://ft
阅读全文
摘要:1、环境说明 实验环境:Ubuntu 16.04 + Heartbeat_3.0.6-2+FreeSWITCH _1.10.5+nginx_1.10.3 Heartbeat 下载地址:https://launchpad.net/ubuntu/xenial/amd64/heartbeat/1:3.0.
阅读全文
摘要:1 deb http://mirrors.ustc.edu.cn/debian bullseye main 2 deb-src http://mirrors.ustc.edu.cn/debian bullseye main 3 4 deb http://mirrors.ustc.edu.cn/deb
阅读全文
摘要:1、静态库libtools.a源码 libtools.h #ifndef tools_h_ #define tools_h_ int sub(int x,int y); int mul(int x,int y); #endif libtools.cpp #include"libtools.h" in
阅读全文
摘要:环境:centos 7 1、准备开发环境 $ yum groupinstall "Development Tools" $ yum install glibc-static libstdc++-static 2、下载源码 wget http://ftp.gnu.org/gnu/gcc/gcc-11.
阅读全文
摘要:1、下载文件下载地址:https://mirrors.tuna.tsinghua.edu.cn/gnu/glibc/glibc-2.18.tar.gz 2、安装部署解压tar -zxvf glibc-2.18.tar.gz 创建编译目录cd glibc-2.18 mkdir build 编译、安装c
阅读全文
摘要:1、mysql sudo apt-get install libmysql++-dev //mysql连接库 2、ms sql server/sybase ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdbl
阅读全文
摘要:https://cdimage.debian.org/cdimage/archive/
阅读全文
摘要:部署环境:CentOS 7 1、Heartbeat介绍 Heartbeat是Linux-HA项目中的一个组件,它实现了一个高可用集群系统。心跳检测和集群通信是高可用的两个关键组件,在Heartbeat项目中,由heartbeat模块实现了这两个功能。Heartbeat是目前开源HA项目中十分成功的例
阅读全文