Nginx配置文件 Nginx的主配置文件是nginx.conf,这个配置文件一共由三部分组成,分别为全局块、events块和http块。在http块中,又包含http全局块、多个server块。每个server块中,可以包含server全局块和多个location块。在同一配置块中嵌套的配置块,各个之间不存在次序关系。配置文件支持大量可配置的指令,绝大多数指令不是特定属于某一个块的。同一个指令放在不同层级的块中,其 2020-08-10 nginx #nginx
centos无法生成验证码 Unable to load shared library 'gdiplus' or one of its dependencies... 1yum install libgdiplus-devel 2020-07-29 centos #centos #gdiplus
npm切换国内源 淘宝源12npm install -g cnpm --registry=https://registry.npm.taobao.org 华为源https://mirrors.huaweicloud.com/ 12npm config set registry https://mirrors.huaweicloud.com/repository/npm/npm cache clean -f 2020-07-28 npm #npm
centos关闭图形界面 123456781、查看默认的target,执行:systemctl get-default 2、开机以命令模式启动,执行:systemctl set-default multi-user.target 3、开机以图形界面启动,执行:systemctl set-default graphical.target 2020-07-28 centos #centos
netcore使用Swagger生成接口文档 Swagger 是一个规范和完整的框架,用于生成、描述、调用和可视化 RESTful 风格的 Web 服务。 2020-07-21 swagger #dotnet #swagger
netcore 常用加密和Hash工具NETCore.Encrypt 在日常开发过程中,不可避免的涉及到数据加密解密(Hash)操作,所以就有想法开发通用工具,NETCore.Encrypt就诞生了。目前NETCore.Encrypt只支持.NET Core ,工具包含了AES,DES,RSA加密解密,MD5,SHA*,HMAC*等常用Hash操作。 2020-06-22 netcore #netcore #加密
Docker安装 阿里镜像1yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 异常:yum-config-manager: command not found 1这个是因为系统默认没有安装这个命令,这个命令在yum-utils 包里,可以通过命令yum -y install yu 2020-06-17 docker #docker