上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 打包vue发版到线上后,如果访问后端接口存在跨域问题,则可以在vue的nginx配置文件中添加对后台接口的反向代理设置,解决跨域问题: location ^~ /api { rewrite ^/api/(.*)$ /api/$1 break; proxy_pass http://api.xx.com 阅读全文
posted @ 2021-08-04 15:58 童年的回忆 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 配置好PHP的yaf环境后,访问页面,页面上只出现了 Access denied.的字样。 打开 /usr/local/php/etc/php.ini 文件,找到 cgi.fix_pathinfo cgi.fix_pathinfo=0 这里注释里默认是1,但是用 lnmp 安装后默认是0。 配置修改 阅读全文
posted @ 2021-08-04 14:01 童年的回忆 阅读(968) 评论(0) 推荐(0) 编辑
摘要: 对于后台进程的管理,常用的工具是crontab,可用于两种场景:定时任务和常驻脚本。关于常驻脚本,今天介绍一款更好用的工具:pm2,基于nodejs开发的进程管理器,适用于后台常驻脚本管理,同时对node网络应用有自建负载均衡功能。官方的说法,pm2 是一个带有负载均衡功能的Node应用的进程管理器 阅读全文
posted @ 2021-08-03 14:37 童年的回忆 阅读(720) 评论(0) 推荐(0) 编辑
摘要: 调用短信接口错误如下: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) fo 阅读全文
posted @ 2021-07-31 15:02 童年的回忆 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 简介Redis,全称 Remote Dictionary Server(远程字典服务器) ,全开源基于C语言开发,是高性能的(key/value)分布式内存数据库,基于内存运行并支持持久化的NoSQL数据库,是当前最热门的NoSQL数据库之一,也被人们称为数据结构服务器。 环境准备 操作系统 [ro 阅读全文
posted @ 2021-07-28 18:41 童年的回忆 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 安装yaf tips:如果想用yaf-3.0的版本,请先安装php7,php5.6的只能用yaf-2.3.5 (据说只有3.0.5版本兼容php7.2) 1、下载 sudo wget https://github.com/laruence/yaf/archive/yaf-3.0.5.tar.gz 2 阅读全文
posted @ 2021-07-28 16:13 童年的回忆 阅读(65) 评论(0) 推荐(0) 编辑
摘要: uname -aLinux vmcentos7-1 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux cd /usr/local/ mkdir nodejs c 阅读全文
posted @ 2021-07-28 16:11 童年的回忆 阅读(1341) 评论(0) 推荐(0) 编辑
摘要: 让.NET应用程序在Linux上运行,目前通用的做法就是在Linux上安装mono,然后通过”mono your.exe“命令运行这个程序。 这种运行.net程序的办法有两个弱点,一个是需要客户机安装mono,二个是 ”mono xx.exe“ 这种命令行总让人感到有点不太专业的味道。 那么,有没有 阅读全文
posted @ 2021-02-01 16:16 童年的回忆 阅读(3965) 评论(0) 推荐(0) 编辑
摘要: 在centos下使用git命令拉取代码,记住密码: git config --global credential.helper store gitlab进入项目管理界面,选择setting->Integrations 最简单的python代码: #--*--coding:utf-8--*-- fro 阅读全文
posted @ 2019-11-22 10:43 童年的回忆 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 1.安装policycoreutils-python yum install policycoreutils-python 2.安装postfix yum install postfix sudo systemctl enable postfix systemctl start postfix 3. 阅读全文
posted @ 2019-11-21 18:25 童年的回忆 阅读(175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页
如果本博客解决了您的问题,可以微信支付宝打赏鼓励一下作者哦,在此表示感谢