It works with virtualbox so your different environments are just virtual machines, The code is local, I have a directory for each of my environments and this is where I modify the code, this directory also has some environment files that are used to setup the box and the vagrant file which tells vagrant what to install. I access the directory via command line and type vagrant up which sets up the box installs and sets up apache and cf server using the environment files and vagrant creates a share to the local directory so all the virtual box contains are the cf server and apache.
A lot of this was already setup for me I simply copied the files down to my machine so I am not familiar with getting everything setup, I do plan on gettings this setup on my personal machine when I get more time. I am still a noob only three months in. I think Billy might be more familiar with this, I want to say he discussed it during one of the cfug meetings. It is suppose to be easy enough to setup though. -Jermaine On Tue, Sep 15, 2015 at 4:46 PM, Mark Davis <[email protected]> wrote: > hey Jermaine, Thanks for the link to VagrantUp. Can you explain a little > bit about how that works and how you use it to create different > environments on the same machine? Appreciate the help. > > On Tue, Sep 15, 2015 at 4:27 PM, Jermaine Gonzales <[email protected]> > wrote: > >> Have you looked into vagrant https://www.vagrantup.com/ ? I am currently >> using this at current job, I am able to run different setups for the >> different environments we are using. >> >> >> -Jermaine >> >> On Tue, Sep 15, 2015 at 4:15 PM, Charlie Arehart < >> [email protected]> wrote: >> >>> Mark, while on the surface you have always been able to run more than >>> one version of CF on a single machine, there is a problem with putting both >>> CF9 or earlier and CF10 or later on one machine, if you are going to use >>> IIS. >>> >>> The problem is that the connectors are so very different (JRun for CF9 >>> and earlier, Tomcat for CF10 and later). Now, it could work, and especially >>> (as someone may point out) you could and would have a separate “web server >>> connector” created for site a talking to CF10 and site b talking to CF9. >>> >>> The problem is if you have setup CF10 so that it’s configured to handle >>> “all sites” in IIS. In that case, the “isapi filter” for CF10 (that will >>> be configured and implemented in your “new site”) may conflict with the >>> “wildcard handler” that CF9’s connector sets up. If instead you have CF10 >>> setup for now so that a connector exists for only one specific named site, >>> it could work if you create a connector with CF9’s tool to another site. >>> >>> If this is a VM, take a snapshot before you try so you can recover if >>> things get botched. If it’s not a VM, sadly the files you need to “backup” >>> are both the applicationhost.config (buried deep in windows system 32 >>> folder) and the web.config (if any) of your web sites, as well as perhaps >>> the connector folders under wsconfig in CF 10. >>> >>> I’ll add this: if you want to have it done and be sure to recover if >>> something goes amiss, I could certainly help with this, remotely (without >>> need for you to give me RDP access to the machine. I’d “watch over your >>> shoulder” via join.me and guide you in the process. It may take no more >>> than 15-30 minutes if all goes well, and perhaps no more than an hour if >>> things go amiss. This would include explaining what we’re seeing and doing >>> as we go. (If you wanted me to “just do it”, it might shave 25% of the time >>> off, but then you’d need to give me remote access, and setting that up >>> could take time.) You can learn more about my consulting services (rates, >>> approach, satisfaction guarantee, and more) at the consulting page of >>> carehart.org. >>> >>> But if you’re wanting to go it alone, I hope the info above may help. >>> It’s potentially a delicate operation. Hope it goes well for you. >>> >>> /charlie >>> >>> >>> >>> *From:* [email protected] [mailto:[email protected]] *On >>> Behalf Of *Mark Davis >>> *Sent:* Tuesday, September 15, 2015 12:10 PM >>> *To:* [email protected] >>> *Subject:* [houcfug] Multiple versions of CF on same machine >>> >>> >>> >>> hey gang, >>> >>> >>> >>> Not sure if anyone is even still on here, but thought I'd try. Here's >>> the deal. >>> >>> >>> >>> I have a local dev environment setup on my Windows 7 laptop for Company >>> A that I work for. >>> >>> >>> >>> That setup is: CF 10, Java 1.7, IIS, Single instance >>> >>> >>> >>> I now need to setup a second CF install to do some work for Company B. >>> That setup needs to be >>> >>> >>> >>> CF 9, Java 1.6, IIS, Multiple instances >>> >>> >>> >>> Completely different code bases and settings. >>> >>> >>> >>> Has anyone done something similar and care to share any gotchas? >>> >>> >>> >>> Thanks >>> >>> >>> >>> Mark >>> >>> -- >>> -- >>> You received this message because you are subscribed to the "Houston >>> ColdFusion Users' Group" discussion list. >>> To unsubscribe, send email to [email protected] >>> For more options, visit http://groups.google.com/group/houcfug?hl=en >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Houston ColdFusion Users' Group" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> -- >>> You received this message because you are subscribed to the "Houston >>> ColdFusion Users' Group" discussion list. >>> To unsubscribe, send email to [email protected] >>> For more options, visit http://groups.google.com/group/houcfug?hl=en >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Houston ColdFusion Users' Group" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> -- >> You received this message because you are subscribed to the "Houston >> ColdFusion Users' Group" discussion list. >> To unsubscribe, send email to [email protected] >> For more options, visit http://groups.google.com/group/houcfug?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Houston ColdFusion Users' Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > You received this message because you are subscribed to the "Houston > ColdFusion Users' Group" discussion list. > To unsubscribe, send email to [email protected] > For more options, visit http://groups.google.com/group/houcfug?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Houston ColdFusion Users' Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en --- You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
