摘要: "Serilog": { //日志等级有小到大:Verbose->Debug->Information->Warning->Error->Fatal "Using": [ "Serilog.Sinks.RollingFile", "Serilog.Sinks.Console", "Serilog.F 阅读全文
posted @ 2020-07-02 17:19 hausthy 阅读(2668) 评论(0) 推荐(0) 编辑
摘要: push Github的时候,出现了一句错误提示: error: failed to push some refs to 'https://github.com/......' hint: Updates were rejected because the tip of your current b 阅读全文
posted @ 2020-06-30 09:16 hausthy 阅读(116) 评论(0) 推荐(0) 编辑
摘要: git无法pull仓库refusing to merge unrelated histories 如果合并了两个不同的开始提交的仓库,在新的 git 会发现这两个仓库可能不是同一个,为了防止开发者上传错误,于是就给下面的提示:fatal: refusing to merge unrelated hi 阅读全文
posted @ 2020-06-30 09:13 hausthy 阅读(134) 评论(0) 推荐(0) 编辑
摘要: FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 WORKDIR /app COPY . . EXPOSE 8001 ENV ASPNETCORE_URLS "http://*:8001" ENV ASPNETCORE_ENVIRONMENT "PD" EN 阅读全文
posted @ 2020-06-29 10:13 hausthy 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 在 Ubuntu 系统安装 Redis 可以使用以下命令: 启动 Redis $ redis-server 查看 redis 是否启动? $ redis-cli 以上命令将打开以下终端: redis 127.0.0.1:6379> 127.0.0.1 是本机 IP ,6379 是 redis 服务端 阅读全文
posted @ 2018-05-17 15:40 hausthy 阅读(5860) 评论(0) 推荐(2) 编辑
摘要: Supervisor 介绍 Supervisor是采用 Python(2.4+) 开发的,它是一个允许用户管理 基于 Unix 系统进程的 Client/Server 系统,提供了大量功能来实现对进程的管理。 官方文档:http://supervisord.org/ Supervisor 安装 在 阅读全文
posted @ 2018-05-17 12:44 hausthy 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 在安装.NET之前,您需要注册Microsoft密钥,注册产品存储库并安装所需的依赖关系 打开命令提示符并运行以下命令: 安装.NET SDK 更新可用于安装的产品,然后安装.NET SDK。 在您的命令提示符下,运行以下命令: 阅读全文
posted @ 2018-05-17 12:32 hausthy 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 1.Ubuntu下安装Nginx 2.Ubuntu下卸载 阅读全文
posted @ 2018-05-15 19:44 hausthy 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1. 删除apache 代码: 2.找到没有删除掉的配置文件,一并删除 代码: 3.删除关联,这样就可以再次用apt-get install apache2 重装了 阅读全文
posted @ 2018-05-15 19:18 hausthy 阅读(3776) 评论(0) 推荐(0) 编辑