TeamMCS
January 7th, 2011, 05:33 PM
Hi guys,
I've been working a lot lately with RPM files to deploy websites on Centos systems and I'd like to do the same for Ubuntu. Unfortunately I'm finding the man pages and debian maint guide unhelpful.
I've tarred up my "site" in the following structure
/apacheconfig
/htdocs
/sql
The apache config needs to end up in /etc/apache2/sites-available and sym linked to sites-enabled.
/htdocs needs to go into /var/www/<site-name>/htdocs and I'll need apply the appropriate permissions.
How should I do this? The rules file seems to have changed compared to many of the guides I've found (it's now a wild card). The pre/post scripts strike me as the right place to carry out these tasks but I have no idea where the tar file is extracted to. I keep seeing repeat references to make but that's obviously no use to me (I think).
Does anyone have some RTFM love for me?
I've been working a lot lately with RPM files to deploy websites on Centos systems and I'd like to do the same for Ubuntu. Unfortunately I'm finding the man pages and debian maint guide unhelpful.
I've tarred up my "site" in the following structure
/apacheconfig
/htdocs
/sql
The apache config needs to end up in /etc/apache2/sites-available and sym linked to sites-enabled.
/htdocs needs to go into /var/www/<site-name>/htdocs and I'll need apply the appropriate permissions.
How should I do this? The rules file seems to have changed compared to many of the guides I've found (it's now a wild card). The pre/post scripts strike me as the right place to carry out these tasks but I have no idea where the tar file is extracted to. I keep seeing repeat references to make but that's obviously no use to me (I think).
Does anyone have some RTFM love for me?