上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
  2018年4月20日
摘要: server { listen 80 default_server; server_name _; server_name localhost; return 500; } 阅读全文
posted @ 2018-04-20 14:00 上善若水-随 阅读(742) 评论(0) 推荐(1) 编辑
  2018年4月19日
摘要: supervisord 是Linux/Unix系统下的一个进程管理工具 https://blog.csdn.net/fenglailea/article/details/77146248 排错记得写上 Supervisor定期重启指定进程 Supervisor定期重启指定进程 2018年04月29日 阅读全文
posted @ 2018-04-19 10:02 上善若水-随 阅读(1439) 评论(0) 推荐(0) 编辑
  2018年4月11日
摘要: 每天都git,烦死了??? 放到/usr/local/bin/gp gp 就说这些,默认commit内容为时间 阅读全文
posted @ 2018-04-11 14:56 上善若水-随 阅读(132) 评论(0) 推荐(0) 编辑
  2018年4月10日
摘要: # 反向代理 Apache nginx.conf httpd.conf 通过域名反向代理: proxy_pass http://www.test.com; nginx会把 www.test.com;转换成IP, 跟用IP直接访问网站的效果一样. 当网站设置了禁用IP访问或一个IP有多个网站时, 访问 阅读全文
posted @ 2018-04-10 10:34 上善若水-随 阅读(335) 评论(0) 推荐(0) 编辑
  2018年4月9日
摘要: 1.获取上个月第一天及最后一天. echo date('Y-m-01', strtotime('-1 month')); echo "<br/>"; echo date('Y-m-t', strtotime('-1 month')); echo "<br/>";2.获取当月第一天及最后一天. $Be 阅读全文
posted @ 2018-04-09 10:28 上善若水-随 阅读(11990) 评论(1) 推荐(2) 编辑
  2018年3月29日
摘要: 每次都搜,写篇博客记录以备后续查看. 安装 紧接着,我们需要做一件事让通过 Hombrew 安装的程序的启动链接 (在 /usr/local/bin 中)可以直接运行,无需将完整路径写出。通过以下命令将 /usr/local/bin 添加至 $PATH 环境变量中: zsh的话添加.zshrc里面 阅读全文
posted @ 2018-03-29 08:41 上善若水-随 阅读(130) 评论(0) 推荐(0) 编辑
  2018年3月26日
摘要: 出现错误: which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by SQL的grop by 语法为, select 阅读全文
posted @ 2018-03-26 10:03 上善若水-随 阅读(1988) 评论(0) 推荐(0) 编辑
  2018年3月20日
摘要: 通过脚本代码实现记录所有用户的登录操作日志,防止出现安全事件后无据可查。 运行 [root@xxx /]# vim /etc/profile打开配置文件。 注意: /var/log/history 是记录日志的存放位置,可以自定义。 通过上述步骤,可以在 /var/log/history 目录下以每 阅读全文
posted @ 2018-03-20 10:34 上善若水-随 阅读(7163) 评论(0) 推荐(0) 编辑
  2018年1月28日
摘要: 安装Markdown Preview 修改用户配置文件(代码高亮): 快捷键: 生成html文档 安装OmniMarkupPreviewe 如果出现这种错误: 修改用户配置文件: Sublime Text > Preferences > Package Settings > OmniMarkupPr 阅读全文
posted @ 2018-01-28 17:48 上善若水-随 阅读(653) 评论(0) 推荐(0) 编辑
  2018年1月26日
摘要: 系统美化 1. 为Ubuntu安装Numix主题和图标 sudo add-apt-repository ppa:noobslab/themes sudo apt-get update sudo apt-get install flatabulous-theme 图标安装: 2. 安装docky 3. 阅读全文
posted @ 2018-01-26 13:42 上善若水-随 阅读(529) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页