This is a copy of the script I use to create an instance of a Kohana project. It works on Ubuntu server (tested with Lucid). Adapt it to your own needs, of course.
#! /bin/bash CODE="upc" OWNER="myusername" GROUP="mygroupname" KOHANA_URL="http://dev.kohanaframework.org/attachments/download/1355/kohana-v2.3.4.zip" KOHANA_ZIP="kohana-v2.3.4.zip" SITESROOT="/usr/local/var/www" URL="www.mysite.com" # database.php parameters DBUSER="mydbuser" DBPWD="mydbpasswd" DBHOST="localhost" DBDATABASE="mydbname" # # make sure this [...]
