logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

git push remote unpack failed: error Missing tree

解决办法参数 --no-thin,加入这个参数。git push origin head:refs/for/master --no-thinOK

#git
解决mac执行 go run main.go 弹出防火墙警告

问题mac下面执行 go run main.go 总是弹出防火墙警告。原因及解决[GIN-debug] Listening and serving HTTP on :8080[GIN-debug] Listening and serving HTTP on 127.0.0.1:8080启动的时候不要只写端口,而是把本地IP也写进去,就不会弹出这个警告...

文章图片
#golang#mariadb
nginx 屏蔽采集的 $http_user_agent

block_cralwer# save at /etc/nginx/block_cralwer# then use it `include block_cralwer` at `server` directiveset $fbd 0;if ($http_user_agent ~* "yandex|Ahref|MJ12bot|XoviBot|SemrushBot|AhrefsBot|T..

#nginx#centos
centos -bash: fork: Resource temporarily unavailable 解决办法

报错信息进程调用 php 执行提示如下:-bash: fork: Resource temporarily unavailable解决办法修改配置 /etc/security/limits.d/90-nproc.conf 增加 www 用户的进程最大限制[www@vps root]$ cat /etc/security/limits.d/90-nproc.conf# De...

#centos
卸载了本地的VMWare 和 centos!

本地的VMWare模拟出来的环境跟正式的LAMP环境还有是一定差别的,用了linode VPS,打算把家里电脑的centos 卸载了。感觉不如远程的方便,在公司或者家里都可以继续测试。如果只安装在自己的电脑里面,只有回家才可以用。再一次体会到云端的方便,趋势。

#centos#linux
CentOS修改Ssh端口提示error: Bind to port 2271 on 0.0.0.0 failed: Permission denied.

报错内容error: Bind to port 2270 on 0.0.0.0 failed: Permission denied.问题原因selinux 问题解决办法修改selinux中sshd的端口。# 安装修改工具yum -y install policycoreutils-python# 查看selinux中的ssh的端口,输出为 22semanage port -l...

到底了