一、Blazor Server 编译与发布 cd /home/soursecode/ServerDemo donet publish -c release mv bin/release/net5.0/publish /var/www/ServerDemo supervisor守护serverDemo ...
分类:
Web程序 时间:
2021-06-04 19:04:52
阅读次数:
0
安装准备 安装环境:CentaOS 7 第一种安装方式:yum安装 在Linux上是有yum安装Git,非常简单,只需要一行命令 yum -y install git 输入 git --version 查看git是否安装完成以及查看其版本号 yum方式安装的git,在/usr/libexec/git ...
分类:
系统相关 时间:
2021-06-04 19:04:28
阅读次数:
0
win10运行calc打开计算器提示 需要新应用打开此calculator的解决方法 1、先将所有程序关闭,以管理员身份运行 Windows PowerShell;2、在Windows PowerShell框中键入下面命令:Get-AppXPackage -AllUsers | Foreach {A ...
在aws 云平台的机器如果忘记密码或者系统被入侵密码被篡改有以下几种方式。 1、通过创建iam 的角色,给角色授权,再把角色绑定到ec2,最后通过 aws 的SSM 服务连接登陆。注意此方式的 前提是ec2已经安装了ssm的服务,一般新版本的aws 的系统镜像会默认安装,如果是旧版本或者公共镜像默认 ...
分类:
系统相关 时间:
2021-06-04 18:57:06
阅读次数:
0
Windows “在此系统上禁止运行脚本”解决办法
set-executionpolicy remotesigned ...
import os with open('a.txt','wb') as fp; file = open('a.txt','w',encoding = 'utf-8') # w是覆盖并且重新写入 file.write('Python') # 文件的杜西呃怎么打印出来是个中文字符 # print(fi ...
分类:
其他好文 时间:
2021-06-04 18:48:35
阅读次数:
0
一、查看端口占用情况: netstat -ano|findstr "9901" 9901是要查询的端口号 查询结果如图: 最后一行是进程的pid。 二、杀进程 taskkill /f /pid 612 612是要杀的进程pid /f表示强制执行 如果要根据进程的pid查看进程的详细信息: Ctrl+ ...
Error: I am getting following error while openning connection with Database from asp.net application. [SqlException (0x80131904): Login failed for use ...
分类:
移动开发 时间:
2021-06-03 18:29:29
阅读次数:
0
创建第一个启动shell脚本,如tomcat_restart.sh,内容 #/bin/sh tomcatmsg=$(ps -ef|grep tomcat|awk '{print $1$8}'|grep '/xxxx/xxx/xxxx/jdk/bin/java/'|wc -l) if [ $tomca ...
分类:
系统相关 时间:
2021-06-03 18:29:06
阅读次数:
0
Linux 平台上安装 Git 的工作需要调用 curl,zlib,openssl,expat,libiconv 等库的代码,所以需要先安装这些依赖工具。 在有 yum 的系统上(比如 Fedora)或者有 apt-get 的系统上(比如 Debian 体系),可以用下面的命令安装: 各 Linux ...
分类:
其他好文 时间:
2021-06-03 18:28:05
阅读次数:
0