摘要: nginx已经在这个安装过了 yum install -y git composer readline-devel freetype gmp-devel net-tools pcre pcre-devel mariadb mariadb-server epel-release autoconf au 阅读全文
posted @ 2018-02-08 10:13 蜗牛使劲冲 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #乐观锁的实现,必须基于WATCH,然后利用redis的事务。 #WATCH生命周期,只是和事务关联的,一个事务执行完毕,相应的watch的生命周期即结束。 127.0.0.1:6379> watch hello OK 127.0.0.1:6379> get hello "4" 127.0.0.1: 阅读全文
posted @ 2018-02-02 17:07 蜗牛使劲冲 阅读(2) 评论(0) 推荐(0) 编辑
摘要: // 存储字符串(后者覆盖前者) runoobkey zhi set runoobkey zhi2 get runoobkey // 存储多个哈希值 HMSET 'user:1' zhi1 zhi2 zhi3 zhi4 HGETALL 'user:1' // 列表list LPUSH 'queue: 阅读全文
posted @ 2018-02-02 17:04 蜗牛使劲冲 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 记的东西太多了,下载源码安装太坑了,直接yum安装,上代码 安装 . php yum install epel-release yum install httpd -y(检测rpm -qa httpd) yum install gcc gcc++ libxml2-devel rpm -Uvh htt 阅读全文
posted @ 2018-01-18 10:25 蜗牛使劲冲 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 我 restart apache报了 ***Redirecting to/bin/systemctl start httpd.service //转到bin文件夹启动服务 Job for httpd.service failed.See ‘systemctl status httpd.service 阅读全文
posted @ 2018-01-18 10:00 蜗牛使劲冲 阅读(3) 评论(0) 推荐(0) 编辑
摘要: apache的包也下好了,也tar过了,然后嘛老样子 开始configure,我执行命令 ./configure –prefix=/usr/local/httpd –with-apr=/usr/local/apr –with-apr-util=/usr/local/apr-util –with-pc 阅读全文
posted @ 2018-01-17 17:55 蜗牛使劲冲 阅读(5) 评论(0) 推荐(0) 编辑
摘要: let item = { name: $(this).children('#sizing-addon1').text(), money: $(this).children('input').val() }; data_arr.push(item)// push到一个对象里面 // 下面就是ajax操 阅读全文
posted @ 2018-01-04 16:37 蜗牛使劲冲 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <script> $(".askCheng").click(function(){ var user_id = $("input[name='user_id']").val(), course_id = $("input[name='course_id']").val(), section_id = 阅读全文
posted @ 2017-12-06 10:16 蜗牛使劲冲 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 再做git教程 git init–初始化 git add readme.txt – 把文件添加到仓库 git commit -m “wrote a readme.txt” – 提交到仓库 git status – 查看仓库状态 git diff readme.txt – 查看不同 git diff 阅读全文
posted @ 2017-11-17 14:32 蜗牛使劲冲 阅读(4) 评论(0) 推荐(0) 编辑
摘要: $date=date("Ymd"); $filename = $date."-".$this->user_id.".txt"; $fp = fopen('./plugins/bijidown/'.$filename, 'w') or die("Unable to open file!"); fwri 阅读全文
posted @ 2017-11-13 09:21 蜗牛使劲冲 阅读(3) 评论(0) 推荐(0) 编辑