摘要: 一、Git版本分支管理 以下是一个比较基本的分支管理示范,每个公司的项目管理运作不同,分支管理也有各自的特色,但万变不离其宗。 1) dev分支用于日常开发 2) 当有新版本需要发布时,把dev代码合并到release分支做集成测试,并等待发布 3) release分支进入bug修复阶段 4) 如果 阅读全文
posted @ 2018-12-26 20:47 二月无雨 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : 阅读全文
posted @ 2018-12-26 20:43 二月无雨 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 公司的测试数据库,不能正常连接,报“Host is blocked because of many connection errors;unblock with 'mysqladmin flush-hosts'”; 原因: 同一个ip在短时间内产生太多(超过mysql数据库max_connect_e 阅读全文
posted @ 2018-12-26 15:26 二月无雨 阅读(5619) 评论(0) 推荐(0) 编辑
摘要: 描述: 将centos7升的python版本由2.7升级到3.6之后,发现yum命令报错,错误如下: File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ^ SyntaxError: invalid syntax 问题原因: yum是使 阅读全文
posted @ 2018-12-22 18:17 二月无雨 阅读(3192) 评论(0) 推荐(0) 编辑
摘要: Linunx查询端口的命令: 1、 lsof -i:端口号 用于查看某一端口的占用情况 # lsof -i :3000 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME node 1133 root 18u IPv6 16640 0t0 TCP * 阅读全文
posted @ 2018-12-19 22:09 二月无雨 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 在客户现场安装应用时,应用启动失败,错误如下: 1 2018-12-12 20:17:44.371 |-ERROR [Druid-ConnectionPool-Create-116919541] com.alibaba.druid.pool.DruidDataSource [2471] -| cre 阅读全文
posted @ 2018-12-12 20:31 二月无雨 阅读(2517) 评论(0) 推荐(0) 编辑
摘要: 问题:413 Request Entity Too Large(nginx/1.2.1) 回答:其实从,错误上已经知道是,nginx限制,只要调整nginx参数就能解决问题。 location / { client_max_body_size 50m; proxy_pass http://xxx.c 阅读全文
posted @ 2018-12-12 16:58 二月无雨 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 今天一台一直在用的虚拟机重启后,CRT连接不上,ip也ping不通,重启网卡报错,“Failed to start LSB: Bring up/down networking”,参考:http://blog.51cto.com/11863547/1905929,解决。 遇到这个错误好几次,所以总结了 阅读全文
posted @ 2018-12-09 23:32 二月无雨 阅读(965) 评论(0) 推荐(1) 编辑
摘要: 在linux图形界面中,按 “Alt+Ctrl+F1”,进入命令行界面。 切换到root用户 # vi /etc/inittab 找到下面的语句: # Default runlevel. The runlevels used by RHS are: # 1 – Single user mode –单 阅读全文
posted @ 2018-12-08 22:42 二月无雨 阅读(200) 评论(0) 推荐(0) 编辑
摘要: HTTP 400 – 请求无效HTTP 401.1 – 未授权:登录失败HTTP 401.2 – 未授权:服务器配置问题导致登录失败HTTP 401.3 – ACL 禁止访问资源HTTP 401.4 – 未授权:授权被筛选器拒绝HTTP 401.5 – 未授权:ISAPI 或 CGI 授权失败HTT 阅读全文
posted @ 2018-12-08 17:19 二月无雨 阅读(107) 评论(0) 推荐(0) 编辑