# go-sitellite installation script # # run via: # # wget -q -O - http://www.sitellite.org/go-sitellite | sh # echo "Welcome to the Sitellite CMS installer." echo "" LATEST=sitellite-4.2.13-stable DL=$LATEST.tar.gz echo "Retrieving sources..." echo "" #wget http://www.sitellite.org/inc/app/org/downloads/sitellite/$DL wget "http://www.sitelliteforge.com/index/siteforge-download-action/proj.sitellite?step=2&dl=$DL" echo "Unpacking sources..." echo "" tar -zxf "proj.sitellite?step=2&dl=$DL" mv $LATEST/.htaccess . mv $LATEST/* . rm -Rf $LATEST rm -Rf "proj.sitellite?step=2&dl=$DL" echo "Setting permissions..." echo "" chmod -R 777 cache chmod -R 777 inc/app/cms/conf/services chmod -R 777 inc/app/cms/data chmod -R 777 inc/conf chmod -R 777 inc/data chmod -R 777 inc/html chmod -R 777 inc/lang chmod -R 777 inc/app/*/lang chmod -R 777 inc/app/*/conf chmod 777 inc/app/* chmod -R 777 install chmod -R 777 pix echo "Done." echo "" echo "Before you launch the web-based installer, which will guide you through" echo "the remainder of the installation process, you will need to create a" echo "MySQL database for your web site. Please have your database name," echo "hostname, username, and password ready before proceeding." echo "" echo "To launch the web-based installer, go to the following address in" echo "your web browser. Note that you will need to replace 'example.com'" echo "with the actual location of your Sitellite installation." echo "" echo "http://www.example.com/install" echo "" echo "Thank you for using Sitellite!"