drush 学习
来源:互联网 发布:saas java开源架构 编辑:程序博客网 时间:2024/05/16 17:31
A command line shell and scripting interface for Drupal.
可以直接从drush官网来学习。
$ drush uli功能:生成一次性登录链接
举个例子
[hyn@ezijing html]$ cd /[hyn@ezijing /]$ drush uliA Drupal installation directory could not be found [error][hyn@ezijing /]$ lsbin data etc lib lost+found misc net proc sbin server sys usrboot dev home lib64 media mnt opt root selinux srv tmp var[hyn@ezijing /]$ cd var[hyn@ezijing var]$ lsaccount cvs ftp local lost+found nis run vhostscache db games lock mail opt spool wwwcrash empty lib log monit preserve tmp yp[hyn@ezijing var]$ cd vhosts[hyn@ezijing vhosts]$ lsbian-206.tar.gz fanyuan qsg206 sql zz zzw-206.tar.gzdamo-206.tar.gz qsg qsg-206.tar.gz xmn-206.tar.gz zzw[hyn@ezijing vhosts]$ cd qsg[hyn@ezijing qsg]$ ls8301[hyn@ezijing qsg]$ cd 8301[hyn@ezijing 8301]$ lshtml private qsg206 sql[hyn@ezijing 8301]$ cd html[hyn@ezijing html]$ lsapi.php includes MAINTAINERS.txt sitesauthorize.php index.php misc themesbackgroundsize.min.htc INSTALL.mysql.txt modules update.phpCHANGELOG.txt INSTALL.pgsql.txt profiles UPGRADE.txtCOPYRIGHT.txt install.php quiz.php user.jpgcron.php INSTALL.sqlite.txt README.txt web.configcrossdomain.xml INSTALL.txt robots.txt xmlrpc.phpfavicon.ico LICENSE.txt scripts[hyn@ezijing html]$ drush ulihttp://166.111.108.35:8301/user/reset/1/1396354220/tnTdJc8nBMPHUtWN3PqBuB-XlL0S-OFNqEBj2CzDOsM/login[hyn@ezijing html]$
直接调用drush uli报错
A Drupal installation directory could not be found [error]
我感觉错误的意思是需要drupal 的安装目录,这里没google出来,以后再说
当切换路径到某一时刻时,不知道为什么是这个目录 www 和vhosts不知道有什么区别,总之我猜测是需要在安装目录下使用[hyn@ezijing html]$ drush ulihttp://166.111.108.35:8301/user/reset/1/1396354220/tnTdJc8nBMPHUtWN3PqBuB-XlL0S-OFNqEBj2CzDOsM/login
其它指令等遇到的时候再来补充
0 0
- drush 学习
- Drush 命令
- Drush Commands
- drush features 常用命令
- linux / mac 安装drush
- Drush commands reference
- centos上安装drush
- drush 安装的问题
- 使用drush安装drupal站点
- Drush has Error on windows
- 使用Drush进行Drupal进行开发
- drush安装后出现错误提示解决办法
- PEAR简易安装Drush,附常用命令
- Drush的安装配置和应用
- 解决 drush PDOException: SQLSTATE[HY000] [2002]
- 解决 drush make 2.3 下载的模块找不到的问题
- windows命令行安装Drupal7(包括drush安装与配置)
- drupal drush exception 'PDOException' with message 'SQLSTATE[HY000] [2002]
- 主流支付平台的业务流程简介
- bellman_ford算法 python实现
- oracle闪回技术恢复误操作数据
- c\c++编程规范
- storm on Yarn
- drush 学习
- code forces 407A Triangle
- 课堂 test
- OpenCV(1)ML库->Normal Bayes分类器
- 【CentOS笔记】CentOS安装JDK
- 5
- 矩形类的构造函数
- 二哥养细菌
- php面向对象之抽象类