环境
ubuntu linux
下载
这里我们从onethink的github仓库下载OT。
$ git clone https://github.com/liu21st/onethink
选择版本
到目前为止,OT的最新版本是1.1开发版,我们可以查看到其在github上的所有版本。
$ cd onethink
$ git tag
1.0.130929
1.0.131011
1.0.131018
1.0.131025
1.0.131101
1.0.131108
1.0.131115
1.1开发版
我们选择OT的最新版本安装。检出1.1开发版的tag。
$ git checkout 1.1开发版
安装
我们首先需要创建OT的运行时目录,假定以满权限创建。
$ mkdir --mode=777 Runtime
这里有一个要部署服务器rewrite的问题,如果不想理会rewrite,可以把安装时的URL模式配置成普通模式。
在wwwroot/Application/Install/Conf/config.php文件的返回array里添加一个配置项。
'URL_MODEL' => 0,
<