问题
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