{"id":489,"date":"2018-03-09T19:53:12","date_gmt":"2018-03-09T19:53:12","guid":{"rendered":"https:\/\/www.web-workers.ch\/?p=489"},"modified":"2018-06-11T22:29:40","modified_gmt":"2018-06-11T22:29:40","slug":"how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6","status":"publish","type":"post","link":"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/","title":{"rendered":"How to install Lucee 5.2 on CentOS 7 x64 with Apache\/2.4.6"},"content":{"rendered":"<p>Lucee is a light-weight dynamic scripting language for the JVM that enables the rapid development of simple to highly sophisticated web applications. Lucee is made for the web; it simplifies common tasks for this environment.<\/p>\n<p>Lucee Server is a CFML engine. It allows you to write powerful web-based systems and deploy them to a variety of platforms. Lucee Server is written in Java and runs in a Java Servlet Container. When you download and install Lucee Server, you get a Servlet Container plus the Lucee code. But you don&#8217;t need to worry about that: you access Lucee Server features using CFML, a fast, easy-to-use language that you&#8217;ll learn in no time at all. Just write CFML files &#8211; typically one per page on your site &#8211; and then request them through the browser. Lucee Server will compile your work the first time you request that page. Lucee Server comes bundled with a lot of services that you&#8217;ll find useful in building your apps &#8211; session management, database connectivity, ORM, search engine, mail, scheduling, fast caches, subsystems for accessing disks, remote servers, Amazon services, support for REST, XML, JSON and much more. At the core of Lucee Server is the Lucee Server Administrator &#8211; a web application that lets you configure and maintain your own Lucee applications.<\/p>\n<h3>OS Installation<\/h3>\n<ol>\n<li>Download: CentOS-7-x86_64-DVD-1708.iso from <a href=\"http:\/\/isoredirect.centos.org\/centos\/7\/isos\/x86_64\/CentOS-7-x86_64-DVD-1708.iso\" target=\"_blank\" rel=\"noopener\">CentOS website<\/a><\/li>\n<li>Install CentOS 7 x64 1708 with minimal selection\n<p><figure id=\"attachment_493\" aria-describedby=\"caption-attachment-493\" style=\"width: 303px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-15_15_26-lucee-thuinformatik-local-centos-auf-thuesx003-thuinformatik-local\/\" rel=\"attachment wp-att-493\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"493\" data-permalink=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-15_15_26-lucee-thuinformatik-local-centos-auf-thuesx003-thuinformatik-local\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-15_15_26-lucee.thuinformatik.local-CentOS-auf-thuesx003.thuinformatik.local_.png?fit=802%2C598&amp;ssl=1\" data-orig-size=\"802,598\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2018-03-09 15_15_26-lucee.thuinformatik.local &#8211; CentOS auf thuesx003.thuinformatik.local\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-15_15_26-lucee.thuinformatik.local-CentOS-auf-thuesx003.thuinformatik.local_.png?fit=802%2C598&amp;ssl=1\" class=\"wp-image-493\" src=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-15_15_26-lucee.thuinformatik.local-CentOS-auf-thuesx003.thuinformatik.local_.png?resize=303%2C226&#038;ssl=1\" alt=\"\" width=\"303\" height=\"226\" srcset=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-15_15_26-lucee.thuinformatik.local-CentOS-auf-thuesx003.thuinformatik.local_.png?w=802&amp;ssl=1 802w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-15_15_26-lucee.thuinformatik.local-CentOS-auf-thuesx003.thuinformatik.local_.png?resize=300%2C224&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-15_15_26-lucee.thuinformatik.local-CentOS-auf-thuesx003.thuinformatik.local_.png?resize=768%2C573&amp;ssl=1 768w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/a><figcaption id=\"caption-attachment-493\" class=\"wp-caption-text\">Select &#8216;Minimal Install&#8217; but enable Debugging Tools, Compatibility Libraries and Development Tools<\/figcaption><\/figure><\/li>\n<\/ol>\n<p>Hint: Make sure you have a working internet connection before you proceed to the next step.<\/p>\n<h3>OS Preparation<\/h3>\n<p>Hint: We expect your server is protected by firewalls, proxies and is configured within a protected environment. In any case, read the &#8216;<a href=\"http:\/\/docs.lucee.org\/guides\/Various\/installation-installer-documentation\/installation-linux\/installation-on-centOS-linux.html\" target=\"_blank\" rel=\"noopener\">best practice guide<\/a>&#8216; to protect your Lucee equipment.<\/p>\n<h5>Work remotely<\/h5>\n<ol>\n<li>Disable firewalld<br \/>\n<code># systemctl disable firewalld<br \/>\n# systemctl stop firewalld<\/code><\/li>\n<\/ol>\n<h5>Install required software<\/h5>\n<ol>\n<li>Remove Postfix and install Sendmail<br \/>\n<code># yum -y remove postfix<br \/>\n# yum -y install sendmail*<\/code><\/li>\n<li>Install Apache<br \/>\n<code># yum -y install httpd*<\/code><\/li>\n<li>Install MariaDB<br \/>\n<code># yum -y install mariadb*<\/code><\/li>\n<li>Install deltarpm<br \/>\n<code># yum -y install deltarpm<\/code><\/li>\n<li>Install wget and dos2unix<br \/>\n<code># yum -y install wget<br \/>\n# yum -y install dos2unix<\/code><\/li>\n<li>Update your system<br \/>\n<code># yum -y update<\/code><\/li>\n<li>Install Webmin<br \/>\n<code># yum -y install perl-Net-SSLeay<\/code><code># yum -y install perl-Encode-Detect<br \/>\n# rpm -ihv https:\/\/netix.dl.sourceforge.net\/project\/webadmin\/webmin\/1.880\/webmin-1.880-1.noarch.rpm<\/code><\/li>\n<\/ol>\n<h5>Service configuration<\/h5>\n<ol>\n<li>Disable SELinux by configuring SELINUX=disabled<br \/>\n<code># cat \/etc\/selinux\/config<br \/>\n# This file controls the state of SELinux on the system.<br \/>\n# SELINUX= can take one of these three values:<br \/>\n# enforcing - SELinux security policy is enforced.<br \/>\n# permissive - SELinux prints warnings instead of enforcing.<br \/>\n# disabled - No SELinux policy is loaded.<br \/>\nSELINUX=disabled<br \/>\n# SELINUXTYPE= can take one of three two values:<br \/>\n# targeted - Targeted processes are protected,<br \/>\n# minimum - Modification of targeted policy. Only selected processes are protected.<br \/>\n# mls - Multi Level Security protection.<br \/>\nSELINUXTYPE=targeted<\/code><\/li>\n<li>Start and enable Webmin<br \/>\n<code># systemctl start webmin<br \/>\n# systemctl enable webmin<\/code><\/li>\n<li>Start and enable MariaDB<br \/>\n<code># systemctl start mariadb<br \/>\n# systemctl enable mariadb<\/code><\/li>\n<li>Start and enable Apache<br \/>\n<code># systemctl start httpd<br \/>\n# systemctl enable httpd<\/code><\/li>\n<li>Start and enable Sendmail<br \/>\n<code># systemctl start sendmail<br \/>\n# systemctl enable sendmail<\/code><\/li>\n<li>Reboot your server<br \/>\n<code># shutdown -r now<\/code><\/li>\n<\/ol>\n<h3>Lucee Installation<\/h3>\n<ol>\n<li>Check the latest version<br \/>\nGoto <a href=\"http:\/\/download.lucee.org\/?type=releases\" target=\"_blank\" rel=\"noopener\">http:\/\/download.lucee.org\/?type=releases<\/a> to check which file you need to download.<br \/>\nWe select\u00a0<a href=\"http:\/\/cdn.lucee.org\/lucee-5.2.6.059-pl0-linux-x64-installer.run\">Linux (64b)<\/a>\u00a0within this instructions because we are looking for the installer for x64 Linux.<\/li>\n<li>Download the installer<br \/>\n<code># cd \/root<br \/>\n# wget http:\/\/cdn.lucee.org\/lucee-5.2.6.059-pl0-linux-x64-installer.run<\/code><\/li>\n<li>Make the installer executable and execute the installer<br \/>\n<code># chmod +x lucee-5.2.6.059-pl0-linux-x64-installer.run<br \/>\n# .\/lucee-5.2.6.059-pl0-linux-x64-installer.run<br \/>\n----------------------------------------------------------------------------<br \/>\nWelcome to the Lucee Installer.<br \/>\n----------------------------------------------------------------------------<br \/>\nPlease read the following License Agreement. You must accept the terms of this<br \/>\nagreement before continuing with the installation.<br \/>\nPress [Enter] to continue:<br \/>\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br \/>\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS<br \/>\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR<br \/>\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER<br \/>\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN<br \/>\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<br \/>\nLucee Server is Copyright (c) 2018 by the Lucee Association Switzerland, and <span class=\"hiddenGrammarError\"><span class=\"hiddenGrammarError\"><span class=\"hiddenGrammarError\"><span class=\"hiddenGrammarError\"><span class=\"hiddenGrammarError\">is<br \/>\ndistributed<\/span><\/span><\/span><\/span><\/span> under the LGPL v2 License:<br \/>\nhttp:\/\/www.opensource.org\/licenses\/lgpl-2.1.php<br \/>\nThe Apache Tomcat Server is Copyright (c) 1999-2018 by the Apache Software<br \/>\nFoundation and is distributed under the Apache License version 2:<br \/>\nhttp:\/\/www.apache.org\/licenses\/<br \/>\nThe Java JRE is Copyright (c) 1993-2018 by Oracle and\/or its affiliates, and is<br \/>\nreleased under the Oracle License:<br \/>\nhttp:\/\/www.oracle.com\/technetwork\/java\/javase\/terms\/license\/index.html<br \/>\nPress [Enter] to continue:<br \/>\nDo you accept this license? [y\/n]: y<br \/>\n----------------------------------------------------------------------------<br \/>\nPlease specify the directory where Lucee will be installed.<br \/>\nInstallation Directory [\/opt\/lucee]:\u00a0\/opt\/lucee<br \/>\n----------------------------------------------------------------------------<br \/>\nLucee Password<br \/>\nPlease enter in the default passwords for the Lucee Server Administrator and the<br \/>\nLucee Web Administrators.<br \/>\nLucee Password : 123456<br \/>\nLucee Password (confirm) : 123456<br \/>\n----------------------------------------------------------------------------<br \/>\nTomcat Ports<br \/>\nTomcat needs to reserve \"ports\" on your computer in order to serve various types<br \/>\nof requests. You can customize those ports using the fields below. If you are<br \/>\nunsure, the default values provided below are perfectly safe to use.<br \/>\nTomcat Web Server Port: [8888]: 8888<br \/>\nTomcat Shutdown Port: [8005]: 8005<br \/>\nTomcat AJP Port: [8009]: 8009<br \/>\n----------------------------------------------------------------------------<br \/>\nTomcat System User<br \/>\nEnter in the System User Account that Tomcat will run under. Running as \"root\"<br \/>\nor \"Administrator\" on Windows will avoid system permission problems, while<br \/>\nrunning as a non-root user will add an additional layer of security. If you<br \/>\nchoose to run as a non-root user, we recommend using a easily identifiable<br \/>\nusername like \"lucee\" or \"cfml\".<br \/>\n[root]:\u00a0root<br \/>\n----------------------------------------------------------------------------<br \/>\nStart At Boot?<br \/>\nDo you want Lucee to start up automatically whenever the system boots up?<br \/>\nYes, Start Lucee at Boot Time [Y\/n]: y<br \/>\n----------------------------------------------------------------------------<br \/>\nInstall Apache Connector?<br \/>\nThis option will install mod_proxy_http so that you can utilize Apache as a web<br \/>\nserver in front of your Lucee installation. This option is recommended if you're<br \/>\nusing Apache.<br \/>\nYes, Install Apache Connector [Y\/n]: y<br \/>\n----------------------------------------------------------------------------<br \/>\nInstall modcfml?<\/p>\n<p>creating new hosts in Tomcat whenever you add a new host to your web server.<br \/>\nTo learn more about mod_cfml, visit its website at modcfml.org. This option is<br \/>\nrecommended for most environments.<br \/>\nYes, Install mod_cfml [Y\/n]: y<br \/>\n----------------------------------------------------------------------------<br \/>\nApache Control Script Location<br \/>\nPlease enter the location of your apache control script. The default location<br \/>\nfor this script is \"\/usr\/sbin\/apachectl\".<br \/>\nApache Control Script Location [\/usr\/sbin\/apachectl]:\u00a0\/usr\/sbin\/apachectl<br \/>\n----------------------------------------------------------------------------<br \/>\nApache Modules Directory<br \/>\nPlease enter the directory that apache stores it's modules in. By default, this<br \/>\ndirectory is located at \"\/usr\/lib\/httpd\/modules\/\" for RHEL\/CentOS, and<br \/>\n\"\/usr\/lib\/apache2\/modules\/\" for Ubuntu. For 64-bit systems, try changing the<br \/>\n\"lib\" directory to \"lib64\".<br \/>\nApache Modules Directory [\/usr\/lib64\/httpd\/modules]:\u00a0\/usr\/lib64\/httpd\/modules<br \/>\n----------------------------------------------------------------------------<br \/>\nApache Configuration File<br \/>\nThe Apache configuration file controls how Apache processes incoming requests.<br \/>\nThe default location of the Apache configuration file is<br \/>\n\"\/etc\/httpd\/conf\/httpd.conf\" on RHEL\/CentOS and \"\/etc\/apache2\/apache2.conf\" on<br \/>\nUbuntu.<br \/>\nApache Configuration File [\/etc\/httpd\/conf\/httpd.conf]:\u00a0\/etc\/httpd\/conf\/httpd.conf<br \/>\n----------------------------------------------------------------------------<br \/>\nApache Logs Directory<br \/>\nPlease enter the directory that Apache stores it's log files in. By default,<br \/>\nthis directory is located at \"\/var\/log\/httpd\/\" for RHEL\/CentOS, and<br \/>\n\"\/var\/log\/apache2\/\" for Ubuntu.<br \/>\nApache Logs Directory [\/var\/log\/httpd]:\u00a0\/var\/log\/httpd<br \/>\n----------------------------------------------------------------------------<br \/>\nSetup is now ready to begin installing Lucee on your computer.<br \/>\nDo you want to continue? [Y\/n]: y<br \/>\n----------------------------------------------------------------------------<br \/>\nPlease wait while Setup installs Lucee on your computer.<br \/>\nInstalling<br \/>\n0% ______________ 50% ______________ 100%<br \/>\n########################################<br \/>\n----------------------------------------------------------------------------<br \/>\nSetup has finished installing Lucee on your computer.<\/code><\/li>\n<li>Download service wrapper and mark it executable<code># wget https:\/\/raw.githubusercontent.com\/lucee\/Lucee4\/master\/build\/installer\/os\/linux\/sys\/service_config.sh<br \/>\n# chmod +x service_config.sh<\/code><\/li>\n<li>Install service wrapper<br \/>\n<code># .\/service_config.sh --install --path \/opt\/lucee\/lucee_ctl<br \/>\n## Installing Lucee Service ##<br \/>\n* [INFO]: Detected RedHat-based build.<br \/>\n* [INFO]: Checking for 'chkconfig' executable in the PATH...[FOUND]<br \/>\n## Installation Complete ##<br \/>\n<\/code><\/li>\n<li>Restart Lucee and enable the service<br \/>\n<code># \/etc\/init.d\/lucee_ctl restart<br \/>\n# chkconfig lucee_ctl on<\/code><\/li>\n<li>Check if you have WEB-INF directory within \/var\/www\/html<br \/>\n<code># ls -ltrah \/var\/www\/html<br \/>\ntotal 0<br \/>\ndrwxr-xr-x. 4 root root 33 Mar 9 18:51 ..<br \/>\ndrwxr-xr-x. 3 root root 21 Mar 9 20:16 .<\/code>Normally the directory is empty at this point.<\/li>\n<li>Try to open a URL within a browser ending with .cfm, for example http:\/\/\/test.cfm. You will see following errormessage:<br \/>\n<figure id=\"attachment_504\" aria-describedby=\"caption-attachment-504\" style=\"width: 292px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-20_18_44-10-0-1-37_test-cfm\/\" rel=\"attachment wp-att-504\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"504\" data-permalink=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-20_18_44-10-0-1-37_test-cfm\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-20_18_44-10.0.1.37_test.cfm_.png?fit=685%2C611&amp;ssl=1\" data-orig-size=\"685,611\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2018-03-09 20_18_44-10.0.1.37_test.cfm\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-20_18_44-10.0.1.37_test.cfm_.png?fit=685%2C611&amp;ssl=1\" class=\"wp-image-504\" src=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-20_18_44-10.0.1.37_test.cfm_.png?resize=292%2C261&#038;ssl=1\" alt=\"\" width=\"292\" height=\"261\" srcset=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-20_18_44-10.0.1.37_test.cfm_.png?w=685&amp;ssl=1 685w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-20_18_44-10.0.1.37_test.cfm_.png?resize=300%2C268&amp;ssl=1 300w\" sizes=\"auto, (max-width: 292px) 100vw, 292px\" \/><\/a><figcaption id=\"caption-attachment-504\" class=\"wp-caption-text\">Make sure the Message displayed (Page \/test.cfm [\/var\/www\/html\/test.cfm]) is referring to your Apache root-directory.<\/figcaption><\/figure><\/li>\n<li>Check that you have a WEB-INF directory within \/var\/www\/html _now_.<br \/>\n<code># ls -ltrah \/var\/www\/html<br \/>\ntotal 0<br \/>\ndrwxr-xr-x. 4 root root 33 Mar 9 18:51 ..<br \/>\ndrwxr-xr-x. 3 root root 21 Mar 9 20:16 .<br \/>\ndrwxr-xr-x 3 root root 36 Mar 9 20:16 WEB-INF<\/code><\/li>\n<li>Add proxy.conf to \/etc\/httpd\/conf.d<br \/>\nCreate a new file\u00a0\/etc\/httpd\/conf.d\/proxy.conf<br \/>\n<code># touch \/etc\/httpd\/conf.d\/proxy.conf<\/code>and add following content to it (make sure the URL within this file is referring to your Tomcat AJP Port. the one you have specified during the installation):<br \/>\n<code># cat \/etc\/httpd\/conf.d\/proxy.conf<br \/>\n&lt;Proxy *&gt;<br \/>\nAllow from 127.0.0.1<br \/>\n&lt;\/proxy&gt;<br \/>\nProxyPreserveHost On<br \/>\nProxyPassMatch ^\/(.+\\.cf[cm])(\/.*)?$ ajp:\/\/127.0.0.1:8009\/$1$2<br \/>\nProxyPassMatch ^\/(.+\\.cfchart)(\/.*)?$ ajp:\/\/127.0.0.1:8009\/$1$2<br \/>\nProxyPassMatch ^\/(.+\\.cfml)(\/.*)?$ ajp:\/\/127.0.0.1:8009\/$1$2<br \/>\nProxyPassReverse \/ ajp:\/\/127.0.0.1:8009\/<\/code><\/li>\n<li>Restart Apache and Lucee<br \/>\n<code># systemctl restart httpd<br \/>\n# service lucee_ctl restart<\/code><\/li>\n<\/ol>\n<h3>Test Lucee<\/h3>\n<ol>\n<li>Make sure Apache is running fine by opening http:\/\/&lt;youripaddress&gt;<br \/>\n<a href=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-16_23_55-apache-http-server-test-page-powered-by-centos\/\" rel=\"attachment wp-att-498\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"498\" data-permalink=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-16_23_55-apache-http-server-test-page-powered-by-centos\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_23_55-Apache-HTTP-Server-Test-Page-powered-by-CentOS.png?fit=1069%2C810&amp;ssl=1\" data-orig-size=\"1069,810\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2018-03-09 16_23_55-Apache HTTP Server Test Page powered by CentOS\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_23_55-Apache-HTTP-Server-Test-Page-powered-by-CentOS.png?fit=1024%2C776&amp;ssl=1\" class=\"alignnone wp-image-498\" src=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_23_55-Apache-HTTP-Server-Test-Page-powered-by-CentOS.png?resize=303%2C229&#038;ssl=1\" alt=\"\" width=\"303\" height=\"229\" srcset=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_23_55-Apache-HTTP-Server-Test-Page-powered-by-CentOS.png?w=1069&amp;ssl=1 1069w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_23_55-Apache-HTTP-Server-Test-Page-powered-by-CentOS.png?resize=300%2C227&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_23_55-Apache-HTTP-Server-Test-Page-powered-by-CentOS.png?resize=768%2C582&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_23_55-Apache-HTTP-Server-Test-Page-powered-by-CentOS.png?resize=1024%2C776&amp;ssl=1 1024w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/a><\/li>\n<li>Make sure Lucee is running fine by opening http:\/\/&lt;youripaddress&gt;:8888\n<p><figure id=\"attachment_499\" aria-describedby=\"caption-attachment-499\" style=\"width: 301px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-16_24_08-rapid-web-development-with-lucee\/\" rel=\"attachment wp-att-499\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"499\" data-permalink=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/2018-03-09-16_24_08-rapid-web-development-with-lucee\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_24_08-Rapid-web-development-with-Lucee.png?fit=1067%2C813&amp;ssl=1\" data-orig-size=\"1067,813\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2018-03-09 16_24_08-Rapid web development with Lucee!\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_24_08-Rapid-web-development-with-Lucee.png?fit=1024%2C780&amp;ssl=1\" class=\"wp-image-499\" src=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_24_08-Rapid-web-development-with-Lucee.png?resize=301%2C229&#038;ssl=1\" alt=\"\" width=\"301\" height=\"229\" srcset=\"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_24_08-Rapid-web-development-with-Lucee.png?w=1067&amp;ssl=1 1067w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_24_08-Rapid-web-development-with-Lucee.png?resize=300%2C229&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_24_08-Rapid-web-development-with-Lucee.png?resize=768%2C585&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/2018-03-09-16_24_08-Rapid-web-development-with-Lucee.png?resize=1024%2C780&amp;ssl=1 1024w\" sizes=\"auto, (max-width: 301px) 100vw, 301px\" \/><\/a><figcaption id=\"caption-attachment-499\" class=\"wp-caption-text\">Hint: In case you receive an errormessage, please restart the Lucee service and try immediately again.<\/figcaption><\/figure><\/li>\n<li>Download the following testfiles.zip, unpack it and upload it to your server into \/var\/www\/html<br \/>\n<a href=\"https:\/\/www.web-workers.ch\/index.php\/2018\/03\/09\/how-to-install-lucee-5-2-on-centos-7-x64-with-apache2-4-6\/testfiles\/\" rel=\"attachment wp-att-505\">&#8211;&gt; Download &#8216;testfiles.zip&#8217;<\/a><\/li>\n<li>Open http:\/\/&lt;youripaddress&gt;\/test.cfm to check if the files are rendered correctly.<\/li>\n<\/ol>\n<h3>Configure Lucee<\/h3>\n<ol>\n<li>Point your browser to http:\/\/&lt;youripaddress&gt;:8888\/lucee\/admin\/server.cfm and login with the password you have specified during the installation process.<\/li>\n<\/ol>\n<p>Have fun \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lucee is a light-weight dynamic scripting language for the JVM that enables the rapid development of simple to highly sophisticated web applications. Lucee is made for the web; it simplifies [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":492,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14,4,6],"tags":[54,63,61,35,34,68,46,69,43,49,75,89,52,33,87,41,98,44,48,100,29,102,42,93,28,103],"class_list":["post-489","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding","category-linux","category-security","tag-access","tag-ad","tag-address","tag-apache","tag-centos","tag-esx","tag-file","tag-firewall","tag-http","tag-https","tag-ie","tag-ipad","tag-log","tag-lucee","tag-oracle","tag-php","tag-postfix","tag-root","tag-script","tag-sendmail","tag-server","tag-update","tag-url","tag-webmin","tag-windows","tag-yum"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2018\/03\/lucee3.png?fit=698%2C400&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8sxjX-7T","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":28,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":640,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/489\/revisions\/640"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/media\/492"}],"wp:attachment":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/media?parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/categories?post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/tags?post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}