• Python 记录

    创建虚拟环境

    1
    2
    3
    4
    5
    pip install virtualenv

    # 打开cmd,进入项目目录
    virtualenv .venv -p "F:\software\python37\python.exe"

  • 问题记录

    JetBrains IDEA

    unable to import maven project see logs for details

    1
    2
    3
    4
    idea14
    log:

    java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors

    降低maven版本 3.3.9

  • mysql 安装配置记录

    安装

    1
    2
    3
    sudo apt-get update

    sudo apt-get install mysql-server

    mysql8

  • maven - java jar包仓库记录

    下载

    下载 maven

  • Java jdk 安排配置

    下载

    下载 jdk8

  • Nginx 记录

    install

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    sudo wget http://nginx.org/download/nginx-1.16.1.tar.gz

    sudo tar -zxvf nginx-1.16.1.tar.gz

    sudo apt install build-essential libtool libpcre3 libpcre3-dev openssl libssl-dev zlib1g-dev

    cd nginx-1.16.1

    sudo git clone git://github.com/yaoweibin/ngx_http_substitutions_filter_module.git

    sudo ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_v2_module --with-http_dav_module --with-http_stub_status_module --with-threads --with-file-aio --with-mail --with-mail_ssl_module --with-http_sub_module --add-module=ngx_http_substitutions_filter_module

    sudo make

    sudo make install
  • Ubuntu 记录

    apt

    sources.list

    1
    2
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    sudo gedit /etc/apt/sources.list
  • Linux 工具笔记

    ab 简单压力测试

    安装命令

    1
    sudo apt install apache2-utils
  • Markdown 语法记录

    标题

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    # 一级标题

    ## 二级标题

    ### 三级标题

    #### 四级标题

    ##### 五级标题

    ###### 六级标题
  • Node 记录

    nvm

    install

    1
    2
    3
    wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash

    nvm --version
/4