portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

Adventures in Installations – Installing CF 2018 Developer Edition on Ubuntu 16.04 + Apache

| View in Portal
November 02, 2018 04:41:14 AM GMT
6 Comments
<p>TLDR;  After beating my head against my monitor trying to figure out why ColdFusion wouldn’t configure a web server on install under Ubuntu and Apache, I learned you need to run the wsconfig after the fact, and the commands you need (assuming you installed in the default location) are: cd /opt/coldfusion2018/cfusion/runtime/bin/./wsconfig -ws Apache -dir /etc/apache2/ -v ———- Alright… I’m tired of waiting for someone to come up with a CF 2018 AWS instance.  I really want to play with the […]</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2018/11/adventures-in-installations-installing-cf-2018-developer-edition-on-ubuntu-16-04-apache/">Adventures in Installations – Installing CF 2018 Developer Edition on Ubuntu 16.04 + Apache</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: CF2018 Updates, ColdFusion 2018, Question, cf2018 updates, ColdFusion, coldfusion 2018, question

Comments:

I have become a fan of CommandBox lately. It is real easy to bring up ColdFusion on it. I am running MacOS. I have to admit I haven't tried to get it to mate with Apache.
Comment by James Mohler
1357 | November 05, 2018 04:21:33 PM GMT
Agreed.  Command Box is impressive, and I have a healthy respect for it in an ecosystem.  In this case, it was important to have a local VM environment that mimicked the production environment as closely as possible.
Comment by David Byers
1358 | November 05, 2018 06:08:58 PM GMT
Thanks a lot for this! You've saved me quite a lot of grief... 
Comment by KhalilGarwaoui
2376 | October 08, 2019 07:08:19 PM GMT
Hi David, Thanks , I am newbie for Ubuntu and your instruction helps me a lot. I have some doubts which I am sharing with you in the form of two scenarios. <strong>Scenarios 1</strong> : I have installed CF11, Apache 2 on Ubuntu 18 (Under GCP). I have installed everything as per your instructions. The port 80 will let me open Ubuntu home page. I can also able to open ColdFusion administrator page using port 80, So I can understand that Apache 2 is successfully configured for ColdFusion 11. <strong>Scenarios 2</strong> : I have installed CF18, Apache 2 on Ubuntu 18 (Under GCP). I have installed everything as per your instructions. The port 80 will let me open Ubuntu home page But unable to open ColdFusion administrator page using port 80 after executing the wsconfig related command  <strong>./wsconfig -ws Apache -dir /etc/apache2/ -v </strong>mentioned by you. The ColdFusion administrator page opens on its default port 8500. So I can understand that Apache 2 is not successfully configured for ColdFusion 18. I have tried the manual configuration method also but it didn't work for me. While executing  <strong>./wsconfig -ws Apache -dir /etc/apache2/ -v </strong>command I am getting some error message described as below : ------------------------------------------------------------------------------------------------------------------------------------- root@al-stage-coldfusion-2:/opt/coldfusion2018/cfusion/runtime/bin# ./wsconfig -ws Apache -dir /etc/apache2/ -v command line: -ws Apache -dir /etc/apache2/ -v Could not find file /etc/bin/httpd Could not find file /usr/sbin/httpd Could not find file /usr/local/apache/bin/httpd Could not find file /usr/apache/bin/httpd Using Apache binary /usr/sbin/apache2 Server version: Apache/2.4.29 (Ubuntu) Error while getting Apache Websites. Make sure you have administrator privilages Error while getting Apache Websites. Make sure you have administrator privilages Assuming Apache has been configured for DSO support since it can't be determined. Parsing Apache configuration file /etc/apache2/apache2.conf Could not find file /etc/bin/apachectl Using Apache control script /usr/sbin/apachectl Exec'ing chmod 777 /opt/coldfusion2018/config/wsconfig/1 Set permission to 777 on /opt/coldfusion2018/config/wsconfig/1 Exec'ing chmod +x /etc/apache2/mod_jk.so Set permission to execute on /etc/apache2/mod_jk.so Created file /etc/apache2/mod_jk.so Wrote file /etc/apache2/apache2.conf Added ColdFusion configuration to Apache configuration file /etc/apache2/apache2.conf Created file /opt/coldfusion2018/config/wsconfig/1/README Wrote file /opt/coldfusion2018/config/wsconfig/wsconfig.properties Exec'ing /usr/sbin/apachectl restart Restarted Apache server The Apache connector was installed to /etc/apache2 -------------------------------------------------------------------------------------------------------------------------------------- Please help me whether I am missing something. Thanks Sunil
4775 | July 02, 2020 07:19:51 AM GMT
Hi Sunil, We don't have an alias for CFIDE in ColdFusion 2016/2018 and that is why you are unable to access the CF Admin using the port 80. It doesn't mean the ColdFusion connector and Apache is not working fine. To test it, you can put a test CFM in your Virtual Host webroot and test if it is rendering the CFM. If not, then we can see the error. I don't see any issue here.
4776 | July 02, 2020 02:15:39 PM GMT
Hi Priyank,Thanks for your comments . On the next day of writing this post, I have tried to configure my coldfusion application in apache server and I was succeeded in running it. I was so busy in server migration that I was unable to see your replay.Sorry for the late response.
4780 | July 09, 2020 01:12:09 PM GMT