Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
echo "setting for httpd"
sudo rm -rf /etc/httpd/conf.d/${USER}.conf
sudo cp -rf /etc/httpd/conf.d/xxx_setup /etc/httpd/conf.d/${USER}.conf
sudo sed -i "s/xxx_setup/"${USER}"/g" /etc/httpd/conf.d/${USER}.conf
echo "delete old folder"
rm -rf /home/${USER}/www
echo "settings"
mkdir /home/${USER}/www
echo "clone"$1"/fuel.git "
cd /home/${USER}/www/
git clone$1/fuel.git
echo "graceful httpd"
sudo /etc/rc.d/init.d/httpd graceful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.