上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 我们可以借助Windows Service Wrapper小工具【需要.net 4.0环境】,将Nginx转换为Windows服务,这样就可以在开机时自动启动Nginx了。 下载后将该工具放入Nginx的安装目录下,并且将其重命名为 nginx-service.exe ,在该目录下新建 nginx- 阅读全文
posted @ 2020-10-19 15:27 岳帅超 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: 添加包: 添加 log4net.xml <?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- This section contains the log4net configuration settings --> <log4net 阅读全文
posted @ 2020-10-16 11:05 岳帅超 阅读(161) 评论(0) 推荐(0) 编辑
摘要: using System; using System.IO; using System.Threading; namespace GSK_SendEmail { public class LogLock { static ReaderWriterLockSlim LogWriteLock = new 阅读全文
posted @ 2020-10-16 11:01 岳帅超 阅读(187) 评论(0) 推荐(0) 编辑
摘要: var builder = new ConfigurationBuilder().SetBasePath(Directory.GetCurrentDirectory()).AddJsonFile("appsettings.json"); var configuration = builder.Bui 阅读全文
posted @ 2020-10-15 15:56 岳帅超 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 目录 1|0一、项目发布 1|1VS截图 项目发布 选择则文件夹,点击编辑 1|2nssm下载 下载网址 1|3Nginx 下载网址 2|0二、项目部署 2|1nssm启动服务 打开cmd 输入: nssm install 端口配置:--urls "http://*:15005;"15005替换为自 阅读全文
posted @ 2020-10-14 18:28 岳帅超 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 前端Vue项目需要部署到IIS服务器上: 准备工作: 1:部署IIS服务器 2:项目npm run build打包生成需要部署的文件(dist文件夹)我的是manage文件夹 开始部署: 1:复制文件 把打包好的文件(dist/manage文件夹)拷贝到IIS存放网站文件的目录 2:打开IIS服务器 阅读全文
posted @ 2020-09-30 14:06 岳帅超 阅读(837) 评论(0) 推荐(0) 编辑
摘要: 1、查看工作取是否干净 git status 2、创建分支:login git checkout -b login 3、查看所有分支 git branch 4、添加到本地 git add . 5、提交到本地仓库 git commit -m "完成登录" 6、切换到主分支 git checkout m 阅读全文
posted @ 2020-08-03 23:17 岳帅超 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1、$ sudo yum install -y yum-utils 2、 $ sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo3、安装最新版本的Docker E 阅读全文
posted @ 2020-06-26 14:08 岳帅超 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 研究了好久,期初只能保存页面可见部分; 后来采用 js 操作才保存成功,代码如下: from selenium import webdriver import time import os.path from selenium.webdriver.chrome.options import Opti 阅读全文
posted @ 2020-06-22 15:07 岳帅超 阅读(4626) 评论(0) 推荐(0) 编辑
摘要: begin DECLARE @keyID int; declare c_test_main cursor fast_forward for SELECT ID FROM table ; open c_test_main;--打开游标 while 1=1 --开始循环 begin fetch next 阅读全文
posted @ 2020-06-04 14:03 岳帅超 阅读(643) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页