一.背景 在一次学习https原理的过程中,希望客户端指定特定的cipher suites来抓包分析SSL/TLS的握手过程,就想到了使用curl工具,而不是使用浏览器. 接下来使用man curl找到-ciphers选项,同时man文档中同时提到了需要到https://curl.haxx.se/docs/ssl-ciphers.html这个地方去寻找具体的ciphers suites列表,从中我们可以看到这样一句话:The names of the known ciphers differ d…
CentOS 7上源码编译安装和配置LNMP Web+phpMyAdmin服务器环境 什么是LNMP? LNMP(别名LEMP)是指由Linux, Nginx, MySQL/MariaDB, PHP/Perl/Python组合成的动态Web应用程序和服务器,它是一组Web应用程序的基础软件包,在这个基础环境上我们可以搭建任何使用PHP/Perl/Python等语言的动态网站,如商务网站.博客.论坛和开源Web应用程序软件等,它是互联网上被广泛使用的Web网站架构之一. 部署方式 从网站规模大小(…
一.查看操作系统环境和目录结构,并创建mysql用户和组,以及规划安装mysql所需要的目录. #cat /etc/issue 查看发行版本信息: #cat  /proc/version 查看正在运行的内核版本信息 #uname -a 查看电脑以及操作系统的相关信息. #df -Th 查看系统目录结构和存储空间分配情况 创建组: #sudo groupadd mysql 创建用户并指定用户所属组: #sudo useradd -r -g mysql mysql 创建mysql的安装目录: #mk…
此文已由作者温正湖授权网易云社区发布. 欢迎访问网易云社区,了解更多网易技术产品运营经验. 要想精通一个数据库,除了知道该数据库的功能特性.使用方法等,还需要能够看懂数据库源码,能够使用gdb工具对其进行调试跟踪,如果能够修改源码,实现自己所需的功能,那是极好的.本文简单介绍如何在debian 7上编译MongoDB 3.4源码.官方的编译指南如链接所示:MongoDB编译指南.摘取如下: To build the master branch, you will need: A modern a…
在 linux 上编译安装 mysql-.tar.gz http://www.mysql.com/ mysql下载地址: http://www.mysql.com/downloads/mysql/#downloads mysql 官方网站文档: https://dev.mysql.com/doc/ .准备工作 yum install -y gcc gcc-c++ cmake make ncurses ncurses-devel bison .解压 tar zxf mysql-.tar.gz .编…
wget https://downloads.php.net/~ab/php-7.0.0alpha2.tar.bz2 //用winscp把下载好的文件上传到网站中 tar jxf php-7.0.0alpha2.tar.bz2 安装: sudo apt-get update sudo apt-get install libxml2-dev 安装gcc sudo apt-get install build-essential sudo apt-get install openssl sudo ap…
本文首发于个人博客https://kezunlin.me/post/6580691f/,欢迎阅读! compile opencv with CUDA support on windows 10 Series Part 1: compile opencv on ubuntu 16.04 Part 2: compile opencv with CUDA support on windows 10 Part 3: opencv mat for loop Part 4: speed up opencv…
本文首发于个人博客https://kezunlin.me/post/54e7a3d8/,欢迎阅读最新内容! tutorial to compile and use pytorch on ubuntu 16.04 PyTorch for Python install pytorch from anaconda conda info --envs conda activate py35 # newest version # 1.1.0 pytorch/0.3.0 torchvision conda…
本文首发于个人博客https://kezunlin.me/post/c6ead512/,欢迎阅读! compile dlib on ubuntu 16.04 Series Part 1: compile dlib on windows 10 Part 2: compile dlib on ubuntu 16.04 Guide compile git clone https://github.com/davisking/dlib.git cd dlib && mkdir build &…
本文首发于个人博客https://kezunlin.me/post/654a6d04/,欢迎阅读! compile dlib on windows 10 Series Part 1: compile dlib on windows 10 Part 2: compile dlib on ubuntu 16.04 Guide compile git clone https://github.com/davisking/dlib.git cd dlib && mkdir build &&…
本文首发于个人博客https://kezunlin.me/post/854071ac/,欢迎阅读! compile boost 1.66.0 from source on windows 10 Series compile boost 1.66.0 from source on ubuntu 16.04 compile boost 1.66.0 from source on windows 10 Guide download wget https://dl.bintray.com/boostor…
本文首发于个人博客https://kezunlin.me/post/1e5d14ee/,欢迎阅读! compile opengv on ubuntu 16.04 Series compile opengv on windows 10 compile opengv on ubuntu 16.04 Guide install sudo apt-get install cmake libeigen3-dev git clone https://github.com/laurentkneip/openg…
本文首发于个人博客https://kezunlin.me/post/51cd9fa0/,欢迎阅读! compile opengv on windows 10 from source Series compile opengv on windows 10 compile opengv on ubuntu 16.04 Guide prerequiests Visual Studio 2015 LLVM 5.0.1 eigen3 cmake opengv latest install llvm+cla…
本文首发于个人博客https://kezunlin.me/post/9f626e7a/,欢迎阅读! compile and use libjpeg-turbo on ubuntu 16.04 Series compile and use libjpeg-turbo on windows 10 compile and use libjpeg-turbo on ubuntu 16.04 Guide build requirements autoconf 2.56 or later automake…
本文首发于个人博客https://kezunlin.me/post/977f5125/,欢迎阅读! compile glog and glags on ubuntu 16.04 Series compile glog and glags on windows compile glog and glags on ubuntu 16.04 Guide version wget https://github.com/schuhschuh/gflags/archive/v2.2.1.tar.gz wge…
本文首发于个人博客https://kezunlin.me/post/bb64e398/,欢迎阅读! compile glog v0.3.5 and glags on windows from source. Series compile glog and glags on windows compile glog and glags on ubuntu 16.04 Guide version glog: v0.3.5 https://github.com/google/glog/archive/…
本文首发于个人博客https://kezunlin.me/post/83828674/,欢迎阅读! compile and use libjpeg-turbo on windows 10 Series compile and use libjpeg-turbo on windows 10 compile and use libjpeg-turbo on ubuntu 16.04 Guide build requirements Build Requirements cmake 2.8 NASM…
本文首发于个人博客https://kezunlin.me/post/281dd8cd/,欢迎阅读! guide to compile and install poco cpp library on ubuntu 16.04 Series guide to compile and install poco cpp library on windows guide to compile and install poco cpp library on ubuntu 16.04 Guide apt-ge…
本文首发于个人博客https://kezunlin.me/post/9587bb47/,欢迎阅读! compile and install poco cpp library on windows Series guide to compile and install poco cpp library on windows guide to compile and install poco cpp library on ubuntu 16.04 Guide download wget https:…
本文首发于个人博客https://kezunlin.me/post/2d809f92/,欢迎阅读! Part-4: Compile pcl with vtk qt5 support from source on windows. Series Part-1: Install and Configure Qt5 on Ubuntu 16.04 Part-2: Install and Configure VTK 8.1.0 from source with Qt5 on Ubuntu 16.04 P…
本文首发于个人博客https://kezunlin.me/post/aca50ff8/,欢迎阅读! compile gtest on windows 10 Guide compile gtest on ubuntu 16.04 compile gtest on windows 10 download wget https://github.com/google/googletest/archive/release-1.8.0.zip compile mkdir build cd build su…
本文首发于个人博客https://kezunlin.me/post/4a1427cf/,欢迎阅读! compile gtest on ubuntu 16.04 Guide compile gtest on ubuntu 16.04 compile gtest on windows 10 apt-get sudo apt-get install libgtest-dev cd /usr/src/gtest # only source files compile git clone https://…
本文首发于个人博客https://kezunlin.me/post/39ab7ed9/,欢迎阅读最新内容! compile and install cgal on ubuntu 16.04 Guide version: 4.13.1 install wget https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.13.1/CGAL-4.13.1.zip cd CGAL-4.13.1 mkdir build && c…
为了尽可能保证OpenCV的特性,使用OpenCV源码编译安装在linux上.先从安装其依赖项开始,以ubuntu 14.04.X为例讲解在Linux上源码编译安装OpenCV,其他linux版本可以类比安装.此文针对,有一点Linux常识(会使用终端)的读者. 源代码准备 如果不想在安装过程中,一步步的下载.编译.安装,可以先一次性下载完需要用到的源代码. X264: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ FFMPEG: htt…
与YUM方式安装相比,源码编译安装方式更灵活,安装过程中能自定义功能和参数,特别是在批量部署服务器又要求软件版本及配置一致时,源码编译安装的优势很明显.本文介绍如何通过源码编译方式安装Nginx1.18 + MySQL8.0 + PHP7.4并部署WordPress. 源码编译安装当然也有缺点,一是需要解决软件包依赖问题,对新手来讲有一定的难度,二是编译耗时较长,需要耐心等待.爱好技术,喜欢折腾的朋友可以好好研究一下编译安装,这对提升技术能力很有帮助. 环境信息 系统.软件名称 版本 下载地址…
因为用pip命令直接下载安装会链接到google,导致打不开,比如使用pip install tensorflow碰到如下的问题.因此在本文中,主要介绍了如何通过源码进行TensorFlow的安装 $ pip install tensorflow Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distrib…
前言 1.操作前提: CentOS Linux release 7.5.1804: sudo用户(需要root权限): 2.需要安装的组件: nginx稳定版:nginx-1.14.0: MariaDB 10.3.10 Stable: PHP 7.2.11 Stable: 3.操作步骤: 添加环境依赖包: 安装libiconv,libmcrypt等: 安装nginx: 安装php: 安装mariadb: 下载安装包 wget http://nginx.org/download/nginx-1.1…
从源码安装golang 通常情况下,安装go只需要在官网(https://golang.org/dl/)下载适合系统的二进制发布包,按照安装说明进行安装即可. 对于Linux, Mac OS X和FreeBSD系统下的安装,三步即可完成: 1.下载tarballs文件go$VERSION.$OS-$ARCH.tar.gz,例如1.8.3 wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz) 2.执行tar -…
作者 : 韩曙亮  博客地址 : http://blog.csdn.net/shulianghan/article/details/42707293 转载请注明出处 : http://blog.csdn.net/shulianghan VLC 二次开发 视频教程 : http://edu.csdn.net/course/detail/355 博客总结 : -- 本博客目的 : 让 Android 开发者通过看本博客能够掌握独立移植 VLC Media Player 核心框架到自己的 app 中,…
目录 前言 背景 安装软件 正文 Mac 分区 移动硬盘分区 Repo 下载源码 编译 源码导入 Android Studio 查看 碰到的问题 Could not find a supported mac sdk Undefined symbols for architecture i386 结语 致谢 前言 背景 工作需要,想着刚好有个趁手的兵器(Mac),虽然做好充足的功课,但是这场编译之旅还是十分曲折 本文主要记录本人使用macOs( 10.14) 在本地 checkout 出 AOSP…