服务器
-
编译器错误消息: CS0246: 未能找到类型或命名空间名称“LitJson”(是否缺少 using 指令或程序集引用?)
在使用第三方插件kindeditor 时,上传图片报错。 解决方法: 将kindeditor/asp.net/bin目录下的LitJSON.dll文件复制到网站项目根目录下bin目录中,然后重新设置下ASP.NET 版本 ,再次测试上传就正常了。 -
CentOS 8 安装linux版安全狗提示Need system command ‘locate‘ to install safedog for linux的解决方法
CentOS 8 安装linux版安全狗提示 “Need system command ‘locate‘ to install safedog for linux ” 如图。 这种情况一般是缺少组件/插件导致的,在网上一番搜索找到 相关的安装命令 1、yum -y install mlocate 2、再次安装 再次出现错误,使用命令 yum -y install lsof 3、如果还提示“need system command 'lspci' t…… -
CentOS 7 安装 Docker compose
1、下载docker-compose文件 ,若下载慢,可以先下载到本地,然后传到对应的目录 curl -SL https://github.com/docker/compose/releases/download/v2.24.4/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose 2、给执行权限 sudo chmod +x /usr/local/bin/docker-compose 3、创建软连 sudo ln -s /usr/local/…… -
安装更新时出现一些问题,但我们稍后会重试。如果你继续看到此错误,并且想要搜索 Web 或联系支持人员以获取相关信息,以下信息可能会对你有帮助: (0x80244022)
安装更新时出现一些问题,但我们稍后会重试。如果你继续看到此错误,并且想要搜索 Web 或联系支持人员以获取相关信息,以下信息可能会对你有帮助: (0x80244022) windows10更新失败,解决方法一 这个更新失败的问题,可能和Windows update服务有关系。可以运行windows服务,重启Windows update 和Background intel…… -
Windows系统远程连接服务器后全屏,本地的任务栏始终显示的 解决办法
问题描述: Windows系统远程连接服务器后全屏,本地的任务栏始终显示的,遮住了远程桌面下方的 任务栏 ,使用很不方便。 解决办法: 重启本地电脑的windows 资源管理器 1、在本地电脑 - 在任务栏空白处 点击 右键 ,打开 任务管理器 2、在任务管理器中 找到 windows 资源管理器 (Windows Explorer) 3、选中 Windows …… -
IIS利用web.config隐藏部分响应头信息或 隐藏服务器响应头中php版本信息的方法
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <outboundRules rewriteBeforeCache="true"> <rule name="Remove Server header"> <match serverVariable="RESPONSE_SERVER" pattern=".+" /> <action type="Rewrite" value="" />…… -
The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.
The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. 原因是使用apache 由于启用HTTP2,浏览器默认在同证书、同IP的情况下会采取连接复用 ,如果配置两个站点的配置不通 或根证书不一致,会导致服务器拒绝浏览…… -
IIS访问提示“请求筛选模块被配置为拒绝包含双重转义序列的请求。” 解决方案。
报错信息如下: HTTP 错误 404.11 - Not Found 请求筛选模块被配置为拒绝包含双重转义序列的请求。 以下是解决方法 方法1. wwwroot下建立web.config 内容如下: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <security> <requestFiltering allowDoubl…… -
解决 You are using pip version 8.1.2, however version 23.2.1 is available 报错。
在安装 docker-compose的时候需要先安装 或升级pip 使用命令 1、 pip install --upgrade pip 运行后会报错 如图。 2、原因是 yum install python-pip 时,CentOS7 默认安装的python版本是2.7。它不支持更新到最新版本 解决办法: 安装python3的pip ,使用以下命令 yum install python3-pip 使用pip3 指令升级…… -
failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found
failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found 解决办法: 1 添加 docker仓库 yum-config-manager --add-repo https://download.docker.com/linux/centos/do……