Install Sencha Cmd on VM (Centos 7)
install rpm
yum install java-1.7.0-openjdk
Download
- https://www.sencha.com/products/sencha-cmd/download
- For ExtJS 4.2.1 select version 4.0.5 at the bottom of the page
Install on the server
> unzip SenchaCmd-4.0.5.87-linux-x64.run.zip
> chmod +x SenchaCmd-4.0.5.87-linux-x64.run
> ./SenchaCmd-4.0.5.87-linux-x64.run
- Move all files in
/home/gesprod/lib
> cd /home/gesprod/lib/Sencha/Cmd
> ln -s 4.0.5.87 latest
- Modify the file
.bashrc
# Sencha Command
export PATH=/home/gesprod/lib/Sencha/Cmd/latest:$PATH
- Try it
> source .bahsrc
> sencha