CentOS 7上源码编译安装和配置LNMP Web+phpMyAdmin服务器环境 什么是LNMP? LNMP(别名LEMP)是指由Linux, Nginx, MySQL/MariaDB, PHP/Perl/Python组合成的动态Web应用程序和服务器,它是一组Web应用程序的基础软件包,在这个基础环境上我们可以搭建任何使用PHP/Perl/Python等语言的动态网站,如商务网站.博客.论坛和开源Web应用程序软件等,它是互联网上被广泛使用的Web网站架构之一. 部署方式 从网站规模大小(…
一.背景 在一次学习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…
一.查看操作系统环境和目录结构,并创建mysql用户和组,以及规划安装mysql所需要的目录. #cat /etc/issue 查看发行版本信息: #cat  /proc/version 查看正在运行的内核版本信息 #uname -a 查看电脑以及操作系统的相关信息. #df -Th 查看系统目录结构和存储空间分配情况 创建组: #sudo groupadd mysql 创建用户并指定用户所属组: #sudo useradd -r -g mysql mysql 创建mysql的安装目录: #mk…
本文首发于个人博客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/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/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…
此文已由作者温正湖授权网易云社区发布. 欢迎访问网易云社区,了解更多网易技术产品运营经验. 要想精通一个数据库,除了知道该数据库的功能特性.使用方法等,还需要能够看懂数据库源码,能够使用gdb工具对其进行调试跟踪,如果能够修改源码,实现自己所需的功能,那是极好的.本文简单介绍如何在debian 7上编译MongoDB 3.4源码.官方的编译指南如链接所示:MongoDB编译指南.摘取如下: To build the master branch, you will need: A modern a…
本文首发于个人博客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…
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/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 &…