hexo删除文章 1 删除 "_posts" 中的 .md 结尾的文件 执行生效 1 hexo d -g
1、hexo多个标签应该遵循 list 格式,如下 1 2 3 title: XXX date: 2021-04-07 17:39:32 tags: [标签1,标签2]
解决部署的一些项目,因机器关机/重启导致项目需要手动重新启动的问题 1.安装supervisor(3种选一种) 1 2 3 4 5 6 7 8 #yum安装 yum install
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 server { listen 80; server_name xx.cn; #域名1 location / { proxy_pass http://x.x.x.x:9001; #域名1需要映射到80端口的服务端口 } } server { listen 80; server_name xx.cn; #域名2 location / { proxy_pass http://xx.xx.xx.xx:7300; #域名
前期准备: 1、Linux:CentOS Linux release 7.8.2003 (Core) 2、mongodb:3.4.24 3、redis:4.0.14 4、node:8.9.0 PS: no
1.安装nvm 1 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash 或者 1 wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash 2.nvm会自己添加环境变量,但是需要我们手动让环境变量生效 1 source ~/.bashrc ps:如果没有环境变量,需要手动
原因 原因:git本地运行有缓存,需要清除git缓存即可 解决 1 git rm -r --cached . 注意: 清完缓存需要把代码推到远程仓库
前景: 在查看git branch分支时,需要q才能退出出现 原因 这是 git 2.16以后版本的默认行为. 如果不想分页输出可以设置: 解决 1 git config --global pager.branch false
我的需求是这样的,nginx+uwsgi启动的web服务,访问域名XX.CN之后,nginx报错404,我需要实现的是访问XX.CN,自动映
出现的问题是django没有django_session表 错误跟Session的机制相关 既然要从Web服务器端来记录用户信息, 那么一定要有存