-
-
Save yuyalush/1324330 to your computer and use it in GitHub Desktop.
CakePHP2.0.0 setup on NiftyCloud CentOS5.6 plain startup script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# CakePHP2.0 setup script | |
# Only for CentOS 5.6 64bit Plain | |
/bin/cat <<EOF >> /etc/rc.d/rc.local | |
curl https://raw.github.com/gist/1284739/2fbed6559815413523cda708d99eb18f9926428a/cakephp2_on_nifyucloud_centos5_6.sh | sh | tee /root/_setup.log | |
/bin/sed -i.orig -e "s/curl/#curl/g" /etc/rc.d/rc.local | |
/bin/sed -i.orig -e "s/\/bin\/sed/#\/bin\/sed/g" /etc/rc.d/rc.local | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment