linux服务执行composer命令 报错解决方案Composer install Do not run Composer as root/super user!
2016-12-05 00:00
661 查看
后面我就添加了一个部署用的账户,为了好分配权限,就分配到了用户组
然后在执行
www-data.
useradd www-deploy -g www-data
然后在执行
Composer install的时候,切换用户为
www-deploy执行.
#执行完成没任何反应(在项目目录,当前目录也有composer.json) su www-deploy -c "composer install"
相关文章推荐
- centos 安装composer PHP项目部署,Composer install Do not run Composer as root/super user!
- 解决Linux下出现Google Chrome does not run as root问题
- hadoop格式化报错:"May not run daemons as root. Please specify HADOOP_NAMENODE_USER"的解决办法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方案
- linux下搭建nexus提示then set the environment variable RUN_AS_USER=root
- The user specified as a definer ('wx_root'@'%') does not exist 解决方案
- #1449 - The user specified as a definer ('root'@'%') does not exist
- [Android]利用run-as命令在不root情况下读取data下面的数据
- ubuntu Google Chrome can not be run as root
- Run As Service把批处理等任何可执行文件变成系统服务的小工具
- google-chrome can not be run as root
- Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB
- 利用run-as命令在不root情况下读取data下面的sqlite数据
- The user specified as a definer ('root'@'') does not exist when
- The user specified as a definer ('root'@'%') does not exist
- 利用run-as命令在不root情况下读取data下面的数据
- Linux 服务执行dbca命令
- ERROR 1449 (HY000): The user specified as a definer ('admin_isbox'@'%') does not exist-j解决方案
- [Android]利用run-as命令在不root情况下读取data下面的数据
- Google Chrome can not be run as root 解决办法