上一页 1 2 3 4 5 6 7 8 9 10 ··· 59 下一页

2023年12月26日

nginx部署vue编译项目刷新页面404

摘要: 原因:nginx配置错误。 因为vue打包输出的是单页网页应用,只有一个index.html入口,其他路径是由前端路由去跳转的,服务器目录下没有对应物理路径,所以就会报404。 这样的nginx配置会出现该问题。 location / { alias /home/vue/dist/; index i 阅读全文

posted @ 2023-12-26 16:45 星河赵 阅读(290) 评论(0) 推荐(0)

2023年11月9日

CentOS 7下安装配置Nginx

摘要: 本文基于 CentOS 7 下安装配置 Nginx 操作实践记录整理。 一、配置 EPEL 源 sudo yum install -y epel-release sudo yum -y update 二、安装 Nginx sudo yum install -y nginx 安装成功后,默认的网站目录 阅读全文

posted @ 2023-11-09 22:25 星河赵 阅读(206) 评论(0) 推荐(0)

2023年11月3日

Python打开https链接报错:unable to get local issuer certificate

摘要: Python打开https链接报错:unable to get local issuer certificate 或安装Python3.10以上版本,需要openssl 1.1.1以上版本,会导致openssl 下面缺少证书,记录下安装方法 问题描述: 当使用urllib.urlopen打开一个 h 阅读全文

posted @ 2023-11-03 10:38 星河赵 阅读(1568) 评论(0) 推荐(0)

2023年10月30日

安装Supervisor 配置开机启动

摘要: centos安装supervisor详细教程 安装supervisor 使用yum命令安装 $ sudo su - #切换为root用户 yum install epel-release yum install -y supervisor systemctl enable supervisord # 阅读全文

posted @ 2023-10-30 10:25 星河赵 阅读(347) 评论(0) 推荐(0)

2023年10月24日

centos 安装redis

摘要: centos下通过yum安装redis-cli redis在第三方的源里,首先添加源,最常用的是epel源 yum install epel-release 然后就可以安装redis了 yum install -y redis 安装完成以后配置文件/etc/redis.conf 启动redis服务端 阅读全文

posted @ 2023-10-24 16:27 星河赵 阅读(121) 评论(0) 推荐(0)

centOS、Ubuntu 安装MongoDB客户端

摘要: mongo有客户端和服务端之分下面方法是安装 mongo客户端 curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.6.tgz cd /usr/local 解压 sudo tar -zxvf /tmp/mongodb-l 阅读全文

posted @ 2023-10-24 15:38 星河赵 阅读(638) 评论(0) 推荐(0)

2023年10月23日

CentOS 7 安装 Python 3.10

摘要: 推荐在root下面安装,本教程已亲自测试,可以正常安装 <注意:python3.7后使用ssl需要高版本的openssl支持,centos7.9默认1.0.2k-fips版本已经不支持,所以需要ssl的话,需要提前额外编译安装高版本openssl> 1.安装编译所需的依赖 sudo yum -y u 阅读全文

posted @ 2023-10-23 18:54 星河赵 阅读(1833) 评论(0) 推荐(0)

2023年10月20日

AppStore服务端通知(订阅/退款回调通知) python 解密苹果回调 apple 苹果支付

摘要: appStore 设置支付回调,通常支付回调称为notify Notify一般会加密携带订单的支付数据,成功与否等,相当于给后端一个比较安全的确认,因为前端即时的反馈数据并不能保证绝对的可靠。 早前在做苹果的应用内支付的时候就对苹果没有回调通知感到很苦恼,因为确认只能自己从服务端向苹果发送验证请求, 阅读全文

posted @ 2023-10-20 15:15 星河赵 阅读(5242) 评论(0) 推荐(0)

2023年10月19日

海外apple 苹果 登陆 快速配置 Sign In with Apple

摘要: 登录 Apple 开发者后台 https://developer.apple.com/account 我们需要获得具有 Sign In with Apple 功能的 App Id。 • 进入 Certificates, Identifiers & Profiles > Identifiers,然后单 阅读全文

posted @ 2023-10-19 11:03 星河赵 阅读(1118) 评论(0) 推荐(0)

2023年10月18日

Python 解密JWT验证苹果登录 apple 登录

摘要: 1.验证苹果登录,官方提供两种验证方法,一种是token,另一个种是code。这里使用的是token 2.登录流程 3. 苹果客户端调用苹果API,获取到用户的信息,包括: 3.1 user_id 3.2 昵称 3.3 identity_token 3.4 苹果客户端发送identity_token 阅读全文

posted @ 2023-10-18 16:58 星河赵 阅读(630) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 59 下一页

导航