摘要: 出现以下错误提示: -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)CMake Error at cmake/readline.cmake:82 (MESSAGE): Curses library not f 阅读全文
posted @ 2019-03-27 01:55 用户名未被使用 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 创建仓库C:\Users\1>svnadmin create D:\VisualSVN\web\shop 启动svn的服务C:\Users\1>svnserve -d -r D:\VisualSVN\web\shop 设置snv为系统服务C:\Windows\system32>sc create s 阅读全文
posted @ 2019-03-17 13:57 用户名未被使用 阅读(323) 评论(0) 推荐(0) 编辑
摘要: ①安装一个全新redis从服务 ②关闭从服务器的防火墙[root@localhost redis]# service iptables stop ③修改从服务器的redis配置文件162 # slaveof <masterip> <masterport> 改为 slaveof 192.168.163 阅读全文
posted @ 2019-03-17 13:55 用户名未被使用 阅读(119) 评论(0) 推荐(0) 编辑
摘要: ①安装一个全新redis从服务 ②关闭从服务器的防火墙 [root@localhost redis]# service iptables stop ③修改从服务器的redis配置文件 162 # slaveof 改为 slaveof 192.168.163.129 6379 指定同步redis主服务器redis中的数据 169 # masterauth 指定redis主服务器的密码,... 阅读全文
posted @ 2019-03-17 13:53 用户名未被使用 阅读(190) 评论(0) 推荐(0) 编辑
摘要: [root@localhost ~]# cd /usr/local/redis/ [root@localhost redis]# vim redis.conf redis重启 [root@localhost redis]# pkill redis [root@localhost redis]# /usr/local/redis/redis-server /usr/local/redis/red... 阅读全文
posted @ 2019-03-17 13:52 用户名未被使用 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: ①上传源码包 ②解压文件 [root@localhost ~]# tar zxvf mongodb-linux-i686-rhel57-2.3.0.tgz ③将解压文件剪切到指定的目录下 [root@localhost ~]# mv mongodb-linux-i686-rhel57-2.3.0 /usr/local/mongodb ④创建MongoDB数据存储目录 [root@loca... 阅读全文
posted @ 2019-03-17 13:44 用户名未被使用 阅读(282) 评论(0) 推荐(0) 编辑
摘要: $ git --help 查看帮助$ git config --global user.name 用户名 设置用户名$ git config --global user.email 邮箱名 设置邮箱$ pwd 查看当前目录$ git init 仓库初始化,设置当前路径为git仓库目录$ touch. 阅读全文
posted @ 2019-03-17 13:35 用户名未被使用 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 控制器创建 创建规则 1、文件存储目录:application/模块/controller 2、文件命名:控制器名称(要求首字母大写的驼峰式).php 创建控制器 申明命名空间-use控制器基类-创建自定义类 阅读全文
posted @ 2019-03-14 18:58 用户名未被使用 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 一、拷贝源码到指定的目录 二、修改Apache的主配置文件httpd.conf开启重写机制 三、创建虚拟主机 四、设置本机的host 五、重启Apache访问 阅读全文
posted @ 2019-03-14 18:10 用户名未被使用 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 解压源码目录 application目录 在application目录里的每一个目录就是一个模块/分组,但是extra与common目录具备特殊的作用一般不作为模块使用。 public目录 thinkphp目录 think目录 TP框架结构图: 阅读全文
posted @ 2019-03-14 15:26 用户名未被使用 阅读(286) 评论(0) 推荐(0) 编辑