yii1 获取 SQL

2019-02-22 18:02:18 xhs
$db = Yii::app()->sjbdb; $ids = $db->createCommand() ->select('uid, crmid') ...

查软件安装目录, mysql

2019-08-16 10:19:23 xhs
rpm -qa | grep mysql 得到 mysql-community-server-5.7.27-1.el7.x86_64 rpm -ql mysql-community-server-5.7.27...

git hooks 钩子使用

2018-12-29 22:31:44 xhs
进入git服务端仓库钩子目录 /home/git/repositories/blog/.git/hooks cp post-receive.sample post-receive vi post-recei...

git操作脚本

2018-09-30 09:06:16 xhs
php实现了git命令的运行 安装 git 后,在git bash里运行

nginx403问题

2019-08-28 20:01:45 xhs
nginx root 配置有问题 #root /var/www/utils; root /var/www/utils/frontend/web/; 接着又是file not fo...

virtualbox centos7 虚拟机 与宿主机共享文件夹

2019-01-31 09:06:47 xhs
点安装增强功能 wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo yum clean all yum makeca...

redis启动报错

2019-04-08 20:36:16 xhs
25645:M 08 Apr 2019 20:19:41.896 # WARNING: The TCP backlog setting of 511 cannot be enforced because /pro...

pr遮罩

2018-11-09 21:27:29 xhs
https://jingyan.baidu.com/album/295430f194424e0c7e005013.html 关键一步 查中英文对照找到了遮罩的英文名 matte ,在channel那里 最后...

典型bash脚本

2019-03-11 14:52:06 xhs
set -o nounset # Treat unset variables as an error read -p "Enter The User...

找nginx配置文件在哪里

2018-04-24 19:37:45 xhs
ps -aux |grep nginx 先找到nginx进程 /usr/sbin/nginx -V /usr/sbin/nginx -V 2>&1 | grep --color=auto conf ...