http://www.itbulu.com/wdcp-php55.html
http://www.wdlinux.cn/wdcp/install.html
wdcp支持两种安装方式
1 源码编译 此安装比较麻烦和耗时,一般是20分钟至一个小时不等,具体视机器配置情况而定
2 RPM包安装 简单快速,下载快的话,几分钟就可以完成
源码安装(ssh登录服务器,执行如下操作即可,需root用户身份安装)
wget http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz
tar zxvf lanmp_laster.tar.gz
sh install.sh
4个可选安装,如下图
.htaccess
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
----------------------------------------------------
1、拉取代码倒根目录
2、安装composer
3、执行 composer global require "fxp/composer-asset-plugin:~1.0.0"
4、在项目根目录下执行 composer update
5、在项目根目录下执行 ./init
6、在项目根目录下执行./yii migrate
时间: 2024-12-17 16:32:24