摘要: 1. 定位到Azure DevOps > Artifacts 2. Feed取名并创建 3. 点击“Connect to feed”按钮 4. 选择npm 5. 点击“Get the tools‘ 6. 定位项目目录并打开cmd 7. 运行命令:npm install -g vsts-npm-aut 阅读全文
posted @ 2021-01-25 16:49 【舍予】 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 由于在RabbitMQ安装过程中随意创建了vhost, 导致ABP vNext在启动时报如下错误: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=530, text='NOT_ALLOWE 阅读全文
posted @ 2020-08-07 17:17 【舍予】 阅读(10285) 评论(0) 推荐(1) 编辑
摘要: 步骤: 1. 设置数据库字段类型为: image(注意同时设置字符串类型的字段存储图片类别) 2. 在Conroller中,增加如下方法分别用于上传和前端获取 表单上传: [HttpPost] public ActionResult Create(Student student, HttpPoste 阅读全文
posted @ 2020-07-31 18:39 【舍予】 阅读(586) 评论(0) 推荐(0) 编辑
摘要: Version: .net core 3.1 报错消息: 严重性 代码 说明 项目 文件 行 禁止显示状态错误 CS1061 '“EntityTypeBuilder<Course>”未包含“ToTable”的定义,并且找不到可接受第一个“EntityTypeBuilder<Course>”类型参数的 阅读全文
posted @ 2020-06-24 01:02 【舍予】 阅读(1698) 评论(0) 推荐(0) 编辑
摘要: OS环境:CentOS 7 Docker version:19.03.8 工具: XShell 准备工作:安装Cent OS7的java环境,参考自:https://www.cnblogs.com/stulzq/p/9286878.html 1. 拉取最新版本jenkins镜像 command:do 阅读全文
posted @ 2020-05-14 23:37 【舍予】 阅读(670) 评论(0) 推荐(0) 编辑
摘要: --查看可用性组消息 --select * from sys.availability_replicas --01 设置 --配置CLUSTER1副本的只读路由属性(ReadOnly代表‘只读意向’) ALTER AVAILABILITY GROUP [TestAlwaysGroup] MODIFY 阅读全文
posted @ 2020-05-14 11:05 【舍予】 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 先决条件:配置好AD域环境及故障转移集群 目标:实现在CLUSTER1服务器上新建数据库TestDB的高可用性(由于数据库的安装目录不同,因此重新创建了数据库TestDB2进行) 转一个比较好搭建和验证过程的例子:来源(https://www.cnblogs.com/jenrrychen/p/547 阅读全文
posted @ 2020-05-12 19:10 【舍予】 阅读(493) 评论(2) 推荐(0) 编辑
摘要: 参考链接 https://blog.csdn.net/qq_38727626/article/details/82632649 下载mysql地址:https://dev.mysql.com/downloads/mysql/ (我的mysql版本5.7.22,OS是Red Hat,但此OS版本对应的 阅读全文
posted @ 2020-04-27 13:54 【舍予】 阅读(962) 评论(0) 推荐(0) 编辑
摘要: 1. 关闭、启动 sudo service supervisor stop sudo service supervisor start 2. Supervisor 其它常用命令 supervisorctl shutdown #关闭所有任务 supervisorctl stop|start progr 阅读全文
posted @ 2020-04-20 00:10 【舍予】 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 注意应用程序服务器授权的处理: 1. 启动WinRM(Windows Remote Management (WS-Management))服务 2. 将Jenkins客户端加入到信任列表 Command: Set-Item wsman:\localhost\Client\TrustedHosts - 阅读全文
posted @ 2020-04-03 14:59 【舍予】 阅读(357) 评论(0) 推荐(0) 编辑