Elxis CMS Forum

Support => Installation => Topic started by: ROUBOS on May 28, 2009, 01:57:29

Title: Hi, how do I install several copies of Elxis for development purposes? (linux)
Post by: ROUBOS on May 28, 2009, 01:57:29
Hi,
I just downloaded Elxis2009, and I am about to install it. I have everything setup with XAMPP on my Ubuntu 8.10 system
I was wondering how I can go about installing multiple copies of elxis. This is for development purposes as I have to work on three sites.
Do I just make three subfolders i.e: SiteA, SiteB and SiteC and install Elxis in every folder? Then access them by "http://localhost/SiteA" ???

thanks in advance...
Title: Re: Hi, how do I install several copies of Elxis for development purposes? (linux)
Post by: ks-net on May 28, 2009, 03:23:19
yes.... three subfolders... or one site in root folder an two in subfolders... each installation in it's own folder+database(or same DB with different prefix)

Ps (offtopic)
Quote
I just downloaded Elxis2009, and I am about to install it. I have everything setup with XAMPP on my Ubuntu 8.10 system
why xammp in such a sytem?.... ???
Title: Re: Hi, how do I install several copies of Elxis for development purposes? (linux)
Post by: datahell on May 28, 2009, 08:32:38
The better solution is to create virtual hosts. So, you will be able to access your sites like this:
http://sitea.loc
http://siteb.loc
http://sitec.loc

No sub-folders, no ugly URLs.
Here is a guide for windows. For linux it is almost the same procedure.
https://www.elxis.org/guides/developers-guides/local-apache-and-virtual-hosts.html (https://www.elxis.org/guides/developers-guides/local-apache-and-virtual-hosts.html)
Title: Re: Hi, how do I install several copies of Elxis for development purposes? (linux)
Post by: ROUBOS on May 28, 2009, 10:50:16

why xammp in such a sytem?.... ???

Well I installed XAMPP cause it was nice a and quick to setup. (I'm sure installing Apache and PHP would be just as simple).
Was just going through the installation instructions of the Elxis CMS books I bought.

Just one more question. On completion of development on my local machine, how easy is it to move the entire site with elxis and all to the web server?
Title: Re: Hi, how do I install several copies of Elxis for development purposes? (linux)
Post by: Ivan Trebješanin on May 28, 2009, 13:54:27
... On completion of development on my local machine, how easy is it to move the entire site with elxis and all to the web server?

Copy the files from your local public_html to server's public_html, and import mysql. When you do that, just modify absolute paths in configuration.php. That's all!  :)
Title: Re: Hi, how do I install several copies of Elxis for development purposes? (linux)
Post by: ROUBOS on May 28, 2009, 16:09:54
that's awesome..thanks ;)
Title: Re: Hi, how do I install several copies of Elxis for development purposes? (linu
Post by: muharihar on May 29, 2009, 02:18:18
that's awesome..thanks ;)
that's why we use Elxis :D