1. Install httpd & enable
dnf install httpd -y
systemctl enable httpd
systemctl start httpd
2. download lucee wget https://cdn.lucee.org/lucee-6.2.3.35-linux-x64-installer.run
3. install lucee
/opt/lucee-6.2.3.35-linux-x64-installer.run
[root@teguhth nitip2]# /opt/lucee-6.2.3.35-linux-x64-installer.run
----------------------------------------------------------------------------
Welcome to the Lucee Installer.
Tomcat Version: 11.0.13
Bundled Java: 21.0.9+10-LTS
----------------------------------------------------------------------------
Please read the following License Agreement. You must accept the terms of this
agreement before continuing with the installation.
Press [Enter] to continue:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Lucee Server is Copyright (c) 2020 by the Lucee Association Switzerland, and is
distributed under the LGPL v2 License:
http://www.opensource.org/licenses/lgpl-2.1.php
The Apache Tomcat Server is Copyright (c) 1999-2020 by the Apache Software
Foundation and is distributed under the Apache License version 2:
http://www.apache.org/licenses/
The OpenJDK is made available by Oracle America, Inc. and/or its affiliates, and
is distributed under the GNU GPLv2 License:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Press [Enter] to continue:
Do you accept this license? [y/n]: y
----------------------------------------------------------------------------
Please specify the directory where Lucee will be installed.
Installation Directory [/opt/lucee]:
----------------------------------------------------------------------------
No System Java detected
The bundled JRE will be automatically installed
Lucee requires a Java runtime (Version 11 supported, Lucee 6.1+ supports Java 21
)
Press [Enter] to continue:
----------------------------------------------------------------------------
Lucee Password
Please enter in the default passwords for the Lucee Server Administrator and the
Lucee Web Administrators.
Lucee Password :
Lucee Password (confirm) :
----------------------------------------------------------------------------
Memory Settings
How much system memory should Lucee be allowed to use? These will be the minheap
and maxheap values assigned to Lucee's JVM. Leave blank for the JVM to decide,
which defaults to 25% of available memory.
Minimum (mb) []: 1000
Maximum (mb) []: 2000
----------------------------------------------------------------------------
Tomcat System User
Enter in the System User Account that Tomcat will run under. Running as "root"
or "Administrator" on Windows will avoid system permission problems, while
running as a non-root user will add an additional layer of security. If you
choose to run as a non-root user, we recommend using a easily identifiable
username like "lucee" or "cfml".
[root]:
----------------------------------------------------------------------------
Tomcat Ports
Tomcat needs to reserve "ports" on your computer in order to serve various types
of requests. You can customize those ports using the fields below. If you are
unsure, the default values provided below are perfectly safe to use.
Tomcat Web Server Port: [8888]:
Tomcat Shutdown Port (scripts): [8005]:
Tomcat AJP Port: [8009]:
----------------------------------------------------------------------------
Start At Boot?
Do you want Lucee to start up automatically whenever the system boots up?
Yes, Start Lucee at Boot Time [Y/n]: Y
----------------------------------------------------------------------------
Install Apache Connector?
This option will install mod_proxy_http so that you can utilize Apache as a web
server in front of your Lucee installation. This option is recommended if you're
using Apache.
Yes, Install Apache Connector [Y/n]: Y
----------------------------------------------------------------------------
Install modcfml?
The mod_cfml adaptor helps make system administration easier by automatically
creating new hosts in Tomcat whenever you add a new host to your web server. To
learn more about mod_cfml, visit its website at modcfml.org. This option is
recommended for most environments.
Yes, Install mod_cfml [Y/n]: Y
----------------------------------------------------------------------------
Bundled or custom Lucee Version
You can either install the bundled Lucee version ( 6.2.3.35 ) or select an
alternate Lucee jar to install
Select a Lucee jar []:
----------------------------------------------------------------------------
Apache Control Script Location
Please enter the location of your apache control script. The default location
for this script is "/usr/sbin/apachectl".
Apache Control Script Location [/usr/sbin/apachectl]:
----------------------------------------------------------------------------
Apache Modules Directory
Please enter the directory that apache stores it's modules in. By default, this
directory is located at "/usr/lib/httpd/modules/" for RHEL/CentOS, and
"/usr/lib/apache2/modules/" for Ubuntu. For 64-bit systems, try changing the
"lib" directory to "lib64".
Apache Modules Directory [/usr/lib64/httpd/modules]:
----------------------------------------------------------------------------
Apache Configuration File
The Apache configuration file controls how Apache processes incoming requests.
The default location of the Apache configuration file is
"/etc/httpd/conf/httpd.conf" on RHEL/CentOS and "/etc/apache2/apache2.conf" on
Ubuntu.
Apache Configuration File [/etc/httpd/conf/httpd.conf]:
----------------------------------------------------------------------------
Apache Logs Directory
Please enter the directory that Apache stores it's log files in. By default,
this directory is located at "/var/log/httpd/" for RHEL/CentOS, and
"/var/log/apache2/" for Ubuntu.
Apache Logs Directory [/var/log/httpd]:
----------------------------------------------------------------------------
Setup is now ready to begin installing Lucee on your computer.
Do you want to continue? [Y/n]: Y
----------------------------------------------------------------------------
Please wait while Setup installs Lucee on your computer.
Installing
0% ______________ 50% ______________ 100%
########################################
#
----------------------------------------------------------------------------
Setup has finished installing Lucee on your computer.
[root@teguhth nitip2]#
4. open browser
http://10.10.10.17:8888/index.cfm
http://10.10.10.17:8888/lucee/admin/index.cfm?action=overview
[root@teguhth ~]# locate .lco
/data/y/tomcat/lucee-server/patches/6.2.3.35.lco
[root@teguhth ~]#
5. console for restart lucee
systemctl status lucee_ctl
systemctl start lucee_ctl
[root@teguhth ~]# /etc/rc.d/init.d/lucee_ctl
* Usage: /etc/rc.d/init.d/lucee_ctl {start|stop|restart|forcequit|status}
[root@teguhth ~]#
/etc/rc.d/init.d/lucee_ctl status
[root@teguhth ~]# /etc/rc.d/init.d/lucee_ctl stop
* Shutting down Lucee: . . [DONE]
[root@teguhth ~]#
[root@teguhth ~]# /etc/rc.d/init.d/lucee_ctl status
* PID not found.
[root@teguhth ~]# /etc/rc.d/init.d/lucee_ctl start
* Starting Lucee: Using CATALINA_BASE: /data/y/tomcat
Using CATALINA_HOME: /data/y/tomcat
Using CATALINA_TMPDIR: /data/y/tomcat/temp
Using JRE_HOME: /data/y/jre
Using CLASSPATH: /data/y/tomcat/bin/bootstrap.jar:/data/y/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Using CATALINA_PID: /data/y/tomcat/work/tomcat.pid
Tomcat started.
. . . [DONE]
--------------------------------------------------------
It may take a few moments for Lucee to start processing
CFML templates. This is normal.
--------------------------------------------------------
[root@teguhth ~]#
[root@teguhth ~]# /etc/rc.d/init.d/lucee_ctl status
* Lucee/Tomcat is running (PID: 2007)
[root@teguhth ~]#

.jpeg)

No comments:
Post a Comment