自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 MacBook M2安装python2解决方案

然后运行安装即可。这个比Homebrew一键安装还要方便快捷。然后再安装node-sass基本就可以成功了。→ macOS64-bit安装程序。

2024-01-21 13:07:21 1247 1

原创 flutter Failed to read key key from store

最后问题出在,生成key时的命令,这里检测的并不是文件名,而是jks在生成时的定义的名称。检查多次,文件名是没问题的!

2023-06-16 14:02:01 484

原创 Flutter获取依赖报错Got TLS error trying to find package xxx

之前flutter自动获取依赖包都是正常的,今天突然卡住了,一致获取不到,尝试替换镜像也照样没有用,而且所有镜像均能够通过浏览器在国内访问。当配置好环境变量后,手动或自动执行 flutter pub get 后会使用无法正常下载依赖包,时间长了会出现下面的错误。这里需是你配置的 PUB_HOSTED_URL的网址,同时我们所需要的证书也必须是此网站的证书。至此,就完成了修改,然后重启vscode,再次执行命令,成功下载依赖。商业转载请联系作者获得授权,非商业转载请注明出处。使用chrome打开网站。

2023-06-14 13:40:39 4339

原创 宝塔的mysql配置root访问

4、查看效果 select host, user, authentication_string, plugin from user;2、接着授权 grant all on *.* to 'root'@'%' with grant option;3、刷新配置 flush privileges;sql语句最后的“;

2023-05-27 22:52:59 1239

原创 宝塔安装的环境,.net core3.1调用三方api,提示The SSL connection could not be established, see inner exception.

提示The SSL connection could not be established, see inner exception./etc/pki/tls/cert.pem 复制到 /usr/local/openssl/宝塔安装的环境,.net core3.1调用三方api。即使是用IP发布的接口应用,也会这样。

2023-05-21 17:54:40 694

原创 安装.NET CORE 3.1

如果安装失败,则根据报错信息重新安装运行时,或sdk。3、安装 ASP.NET Core 运行时。1、注册 Microsoft 密钥和源。2、安装 .NET Core SDK。

2023-04-26 13:28:06 944

原创 html转word标签代码api

Attribute Status Feature Constants and Values Default Type Inherits background CSS Borders and Shading See theCSS Level 2 Recommendation complex N background-attachment CSS Borders and Shading See theCSS ..

2022-01-06 09:12:22 377

原创 .net core linux环境下导出到excel报The type initializer for ‘Gdip‘ threw an exception.异常

.net core linux环境下导出到excel报The type initializer for 'Gdip' threw an exception.异常一、安装一下包:yum -y install autoconf automake libtoolyum -y install freetype-devel fontconfig libXft-develyum -y install libjpeg-turbo-devel libpng-devel giflib-devel libtif

2021-12-30 21:00:00 1141

原创 nginx 标准ssl配置

nginx.conf里加载注入配置include /usr/local/nginx/www/*.conf;server { listen 80; server_nameapi-ead.hm-t.com; rewrite ^(.*)$ https://$host$1; location / { proxy_passhttp://127.0.0.1:10900; proxy_...

2021-12-30 20:30:00 144

原创 nginx提示缺少ssl模块

Nginx如果未开启SSL模块,配置Https时提示错误原因也很简单,nginx缺少http_ssl_module模块,编译安装的时候带上--with-http_ssl_module配置就行了,但是现在的情况是我的nginx已经安装过了,怎么添加模块,其实也很简单,往下看: 做个说明:我的nginx的安装目录是/usr/local/nginx这个目录,我的源码包在/usr/local/src/nginx-1.6.2目录 1 nginx: [emerg] the"ssl".

2021-12-30 20:30:00 1373

原创 nginx安装

安装基础库yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-develnginx: download下载包。一般1.18.0wgethttp://nginx.org/download/nginx-1.18.0.tar.gztar -vxf nginx-1.18.0.tar.gz编译安装./configuremakemake install设置链接vi /etc/..

2021-12-30 20:15:00 234

原创 解决 nginx 启动错误 nginx: [emerg] host not found in upstream

感谢这个朋友简单而清晰的解决办法。在配置nginx支持PHP的时候,因为之前有站点,配置的比较乱。尤其是支持JSP导致重启nginx时,一直报错nginx: [emerg] host not found in upstream 类似这样的报错。各种不明白为何如此,不得不到处搜索解决办法,真的是好多办法,就是没几个能看懂的,不知道都在说什么。有很多参考做都无法实现。后来终于看到一个简单的解决办法。就是因为当前系统无法解析upstream后边跟着的域名。导致无法重启。解决办法也很简.

2021-12-30 20:00:00 23767

原创 html转word加密

</style><xml><w:WordDocument><w:View>Print</w:View><w:Zoom>100</w:Zoom><w:DoNotOptimizeForBrowser/><w:DocumentProtection>ReadOnly</w:DocumentProtection><w:UnprotectPassword>123</w

2021-12-30 15:53:19 165

原创 安装.NET CORE 3.1

1、注册 Microsoft 密钥和源# sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm2、安装 .NET Core SDK # sudo yum install dotnet-sdk-3.13、安装 ASP.NET Core 运行时# sudo yum install aspnetcore-runtime-3.14、测试.NET SDK安装成功:

2021-12-30 15:48:17 1543

原创 启动Nginx出现Failed to start nginx.service:unit not found

启动nginx出现Failed to start nginx.service:unit not found。错误的原因就是没有添加nginx服务,所以启动失败。解决方法就是:在/root/etc/init.d/目录下新建文件,文件名为nginx;或者用命令在根目录下执"行:# vim /etc/init.d/nginx (注意vim旁边有一个空格),随后插入代码: #!/bin/sh # nginx -thisscript starts and stops the..

2021-12-30 15:47:49 6760

原创 nodejs安装

环境说明:Linux环境,CentOS 7版本。第一步:下载node地址:Download | Node.js解压:xz -d node-v14.15.1.xz #.xz解压命令tar -xvf node-v14.15.1.tar #.tar解压命令第二步:配置环境变量1、切换到root账户2、vi /etc/profile ,进入文件后,在最后面追加两条路径,如下:export NODEJS_HOME=/root/tools/node-v14.15...

2021-12-30 15:47:09 950

原创 linux安装部署免费confluence wiki

Centos7安装部署免费confluence wiki(知识库)详细操作步骤 前言:confluence是团队协作软件,改变团队工作方式,作为现代化办公不可缺少的工具 wiki所需的安装包: 链接:Download Confluence Data Center | Atlassian进入部署环境:首先我们需要安装jdk:tar zxf jdk-8u91-linux-x64.tar.gz -C /usr/local/ln -s /usr/local/jdk1.8.0_91/ /usr/

2021-12-30 15:44:14 3600

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除