大家知道Windows下有一个很好的查看源代码的软件sourceinsight,使用sourceinsight查看Linux内核代码、嵌入式软件开发中的C语言项目源代码、驱动程序代码很是方便。在Linux下使用vim查看源代码不是很方便,于是搜了一下Linux下sourceinsight的相关替代软件,找到了一款Source Navigator,于是就试着在Ubuntu12.04下安装了一下。但是安装之后默认字体不好看,新建一个工程很慢,个人感觉跟sourceinsight没法比,还不如使用最新Android集成的Eclipse查看方便。
rpm 包格式: 软件名称-软件版本.系统版本.平台.rpm 如: vim-common-7.4.10-5.el7.x86-64.rpm
ZLMediaKit的作者是使用Ubuntu 16开发的,但是如果要跑到测试甚至于生产上必须要部署到centos上,笔者主要是使用centos6 (centos7除了下面rpm包外,编译组件操作一致),因为有需求就装完给大家分享一下。
OpenResty是一个基于Nginx与Lua的高性能Web平台,可以用于Web服务动态网关等,能够处理极高的并发。所以对于我们来说学好OpenResty是很有必要的。
趁着国庆长假,抽出些时间来记录下最近倒腾的一些内容,第一个需要记录的自然是Android源码编译的流程。上班第一天就干了一件事,编译Android 6.0源码,第二天就是编译Flyme系统啦!但是编完系统之后刷到PRO6里面还有点小鸡冻呢!
对于Heartbeat真可谓是错综复杂,过程充满各种曲折的错误,这里像大家列出我在RHEL-6.1/5.4下安装过程中所碰到的一些错误和解决方法以方便友友参考:
https://github.com/unofficial-openjdk/openjdk.git
在《Opentelemetry-Language APIs & SDKs-C+±Getting Started》一文中,介绍了如果编译一个可以发出Trace遥测数据的C++项目。虽然过程很详细,但是在我的环境下,编译出现了问题。本文将介绍分析并解决该问题的过程。
在进行MySQL的源码安装的时候,系统上找不到合适的C编译器,GCC忘了装,莫慌,直接 yum命令装上gcc,还有gcc-C++没装的话后面也会提示错误,一起装上,,,
yum install -y gcc gcc-c++ make automake openssl-devel
安装cmake之前,记得升级gcc,请参考centos7 升级GCC版本到7.3.0 #shell 太简单,懒得解释 wget https://cmake.org/files/v3.11/cmake-3.11.4.tar.gz tar xzvf cmake-3.11.4.tar.gz cd cmake-3.11.4 ./bootstrap gmake gmake install 参考资料: https://cmake.org/download/
编译openresty,把刚才的配置加到"configure"命令后方,如果需要使用lua也可以加上"--with-luajit"
Ansible部署MySQL编译安装 - xiao智 - 博客园 (cnblogs.com)
最近折腾openssl的时候发现谷歌Boring ssl常规编译惊人通不过,查看编译记录发现要求CMAKE3版本及以上。
其实对于PG,自己总是听圈内人说和Oracle很相似,自己也有一些蠢蠢欲动学习的想法,从我的感觉来看,它是介于Oracle和MySQL之间的一种 数据库,具备类似Oracle的功能,兼具MySQL的开源风格。所以个人感觉无论是从Oracle转向学习PG,还是从MySQL转向PG都会有一些独 到的侧重方向。当然学习数据库本身不是目的,会的越多并不能说明你很牛,能够深入理解数据库,就如同感受的性格和处事风格,在合适的场景使用它,无想应该 是超越于技术本身之外,而且难能可贵的。 其实我本身也是一个浮
这里建议下载的源码进行编译(下载二进制文件,虽然可以执行,但你并不知道会有什么动态链接库的报错,出现了问题也很难解决)
1.安装openresty # yum -y install libuuid-devel pcre-devel openssl-devel gcc-c++ wget # mkdir /openresty # cd /openresty # wget https://openresty.org/download/openresty-1.9.15.1.tar.gz # tar -zxf openresty-1.9.15.1.tar.gz # cd openresty-1.9.15.1 # ./configure
在直接源码安装gdal2.3时报错,大概意思是说没有安装SFCGAL。 1、centos更新cmake到3.5版本: wget https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz tar xvf cmake-3.5.2.tar.gz cd cmake-3.5.2 ./bootstrap --prefix=/usr (这一步很关键,如果没有指定prefix,后面使用时会报错Could not find CMAKE_ROOT) gmake sudo gmake ins
一般出现这个-bash: make: command not found提示,是因为安装系统的时候使用的是最小化mini安装,系统没有安装make、vim等常用命令,直接yum安装下即可。
一、简介 MySQL是最流行的开放源码SQL数据库管理系统,它是由MySQL AB公司开发、发布并支持的。有以下特点: MySQL是一种数据库管理系统。 MySQL是一种关联数据库管理系统。 MySQL软件是一种开放源码软件。 MySQL数据库服务器具有快速、可靠和易于使用的特点。 MySQL服务器工作在客户端/服务器模式下,或嵌入式系统中。 有大量可用的共享MySQL软件。 MySQL表最大能达到多少? InnoDB存储引擎将InnoDB表保存在一个表空间内,该表空间可由数个文件创建。这样,表的大小就能超
也可以官网 https://cmake.org/ 下载源码编译。 我这里选择了官网下载最新版本cmake-3.5.2.tar.gz。
nginx_cache_purge是nginx的一个三方模块,主要是对nginx生产的缓存(proxy_cache)内容进行清理。
OpenResty® 是一个基于 Nginx 与 Lua 的高性能 Web 平台,其内部集成了大量精良的 Lua 库、第三方模块以及大多数的依赖项。用于方便地搭建能够处理超高并发、扩展性极高的动态 Web 应用、Web 服务和动态网关。
4.使用yum安装的ssl无法找到一直报错时:./configure: error: SSL modules require the OpenSSL library.
yum install bison gcc gcc-c++ autoconf automake zlib* libxml* ncurses-devel libtool-ltdl-devel*
一.准备 ### 一.准备 要求OS上已经安装下述软件。如果没有,可以直接通过yum来安装。 ##### 1 gmake或者make要求至少3.80版本以上 ~~~bash [root@Centos ~]# make -v [root@Centos ~]# gmake -v [root@Centos ~]# which make /usr/bin/make [root@Centos ~]# which gmake /usr/bin/gmake ~~~ ##### 2
Pcap DNSProxy 是一个基于 WinPcap/LibPcap 用于过滤 DNS 投毒污染的工具,提供便捷和强大的包含正则表达式的修改 Hosts 的方法,以及对 DNSCurve/DNSCrypt 协议、并行和 TCP 协议请求的支持。多服务器并行请求功能,更可提高在恶劣网络环境下域名解析的可靠性。
[root@localhost ~]# yum -y install ncurses-devel
包管理器是方便软件安装、卸载,解决软件依赖关系的重要工具,在不同发行版本的Linux系统中,有着不同的软件包管理器:
wget https://elrepo.org/linux/kernel/el7/x86_64/RPMS/kernel-ml-5.5.9-1.el7.elrepo.x86_64.rpm
和Win10类似,windows系统安装和使用ROS的好处,几乎主流版本的ROS全部可以用,还能用WSL使用Ubuntu下原生ROS,非常方便。
1、MySQL的特点: 1)多线程、多用户 2)基于c/s(客户端/服务器)架构 3)简单易用、查询速度快 4)安全可靠 2、MySQL编译安装 (*代表键盘上tab键) 1)准备工作:卸载使用rpm方式安装的mysql Rpm -e mysql --nodeps 安装cmake包; Cd /media Tar zxf cmake-* -C /usr/src Cd /usr/src/cmake-* ./configure && gmake && gmake install 2)MySQL
/usr/local/Cellar/findutils/4.8.0_1/bin:/usr/local/Cellar/make/4.3/bin:/usr/local/opt/make/libexec/gnubin:$PATH
因为nginx HTTP rewrite module 需要PCRE包,同时其依赖的zlib本机也没有安装。所以一并下载源码包编译。
Web应用防护系统(也称为:网站应用级入侵防御系统。英文:Web Application Firewall,简称:WAF)。利用国际上公认的一种说法:Web应用防火墙是通过执行一系列针对HTTP/HTTPS的安全策略来专门为Web应用提供保护的一款产品。 架构设计 我们的流量第一层先到达高防抗D,做DDOS清洗,然后转发给WAF,由WAF做第二次清洗流控,转发给后端业务LB,整体架构如下,并旁路了分析引擎,弥补了WAF这一块无法做太复杂的计算缺陷,并把分析结果通过接口交给WAF执行。 技术选型 目前,主流
1.安装必要的软件包 yum install python python-devel xorg-x11-proto-devel libXext-devel yum install gcc-c++ 2.下载qt4、pyqt4、sip4,这几个包可以在我的服务器上下载 cd /tmp wget /GNS3/GNS3-0.7.2-src.tar.bz2 wget /PyQt-x11-gpl-4.5.2.tar.gz wget /GNS3/qt-x11-opensource-src-4.5.1.tar.gz wget /GNS3/sip-4.8.1.tar.gz 3.编译Qt4 cd /tmp tar zxvf qt-x11-opensource-src-4.5.1.tar.gz cd qt-x11-opensource-src-4.5.1 ./configure -nomake examples -nomake demos -qt-gif -no-exceptions -debug -qt3support //等几分钟 gmake //等吧,1小时-3小时不等 gmake install //继续等,30分钟或者更长 export PATH=/usr/local/Trolltech/Qt-4.5.1/bin:$PATH 4.编译sip cd /tmp tar zxvf sip-4.8.1.tar.gz cd sip-4.8.1 python configure.py make make install 5.编译PyQt cd /tmp tar zxvf PyQt-x11-gpl-4.5.2.tar.gz cd PyQt-x11-gpl-4.5.2 python configure.py make //继续等,差不多30分钟以上 make install 6.安装GNS3 cd /tmp tar jxvf GNS3-0.7.2-src.tar.bz2 -C /opt mv /opt/GNS3-0.7.2-src /opt/GNS3 7.创建几个目录 mkdir /opt/GNS3/Dynamips mkdir /opt/GNS3/IOS cd /opt/GNS3/Dynamips wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-x86.bin //for 32bit chmod +x ./dynamips-0.2.8-RC2-x86.bin wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-amd64.bin //for 64bit chmod +x ./dynamips-0.2.8-RC2-amd64.bin 8.运 行GNS3 python /opt/GNS3/gns3
Python调用opencv的原理是:opencv编译出共享库文件,python把这个共享库文件作为一个模块加载并使用。通俗点就是,编译opencv的时候开启python接口选项,编译好了会产生cv2.so(linux下)或者cv2.pyd(windows下)这个共享库文件,python代码中import这个cv2就可以用了。为了能正确import它,往往需要把cv2.so放在python找包能找到的路径下,或者修改PYTHONPATH环境变量让它包含cv2.so所在路径。此外,python的opencv接口中,图像使用numpy数组表示的,所以往往还需要安装numpy、scipy、matplotlib这几个包。
git clone https://github.com/replay/ngx_http_consistent_hash.git
由于将geotiff文件转为WRF所需的二进制文件,需要在服务器上编译安装convert_geotiff。
Web应用防护系统(也称为:网站应用级入侵防御系统。英文:Web Application Firewall,简称:WAF)。利用国际上公认的一种说法:Web应用防火墙是通过执行一系列针对HTTP/HTTPS的安全策略来专门为Web应用提供保护的一款产品。
注:如果要重新初始化只要删除data目录库文件存储地或者新建一个库文件存储地,重新初始化,提示两个ok就是成功
本文目录: 1.简介 2.安装heartbeat 2.1 编译安装Heartbeat 3.heartbeat相关配置文件 3.1 配置文件ha.cf 3.2 配置文件authkeys 3.3 配置文件haresources 4.示例:heartbeat为httpd提供高可用服务
OpenResty 是一个基于 Nginx 与 Lua 的高性能 Web 平台,其内部集成了大量精良的 Lua 库、第三方模块以及大多数的依赖项。用于方便地搭建能够处理超高并发、扩展性极高的动态 Web 应用、Web 服务和动态网关。 OpenResty 通过汇聚各种设计精良的 Nginx 模块(主要由 OpenResty 团队自主开发),从而将 Nginx 有效地变成一个强大的通用 Web 应用平台。这样,Web 开发人员和系统工程师可以使用 Lua 脚本语言调动 Nginx 支持的各种 C 以及
首先准备一个hadoop源码包,我选择的hadoop版本是:hadoop-2.7.7-src.tar.gz,在hadoop-2.7.7的源码包的根目录下有一个文档叫做BUILDING.txt,这其中说明了编译hadoop所需要的一些编译环境相关的东西。不同的hadoop版本的要求都不一样,对应的版本参照BUILDING.txt
最近安装MYSQL 8的时候遇到一些问题,之前MYSQL 8.011 的shell脚本安装8.026 报错,后面手动安装MYSQL虽然没有什么问题,但重复性的劳动也没有人愿意去经常做,所以做了一个简易的python脚本来快速安装8.026。
# 官网地址:https://www.php.net/downloads.php wget https://www.php.net/distributions/php-7.3.11.tar.bz2
本书源码下载地址 浏览器下载 《UNIX网络编程》源码地址 wget wget http://www.unpbook.com/unpv13e.tar.gz 开始编译 cd unpv13e/ 按照README的指引进行 ./configure # try to figure out all implementation differences cd lib # build the basic library that all programs need make #
Haproxy是一个使用C语言编写的自由及开放代码软件,其提供高可用性、负载均衡,以及基于TCP和HTTP的应用程序代理,可以运行于大部分主流的Linux操作系统上。 本次实验用到四台服务器,一台服务器安装haproxy实现调度,另三台服务器搭建nginx提供web服务,一台客户机测试访问。
领取专属 10元无门槛券
手把手带您无忧上云