using Console/cake on EC2

不羁岁月 提交于 2019-12-11 14:28:58

问题


I'd to use the cakephp console on EC2 by this code :

sudo cd /path/to/cakephp/app && Console/cake

But weirdly I got this message:

No such file or directory


回答1:


Solved by installing dos2unix .
First you have to install dos2unix

sudo yum install dos2unix or sudo apt-get install dos2unix 


Then run:

sudo dos2unix /path/to/app/Console/cake

Maybe you need also to grant

chmod -R 777 app/Console


来源:https://stackoverflow.com/questions/31888769/using-console-cake-on-ec2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!