On the Lucee downloads page there is a "Linux Inst...
# lucee
c
On the Lucee downloads page there is a "Linux Installer" for release 5.4 but on the current 6.1 release there are just some scripts and jar files and an "express" download but no installer. What is the proper way to install Lucee 6.1 on Linux (Ubuntu Server 24.04 w/Apache 2 already installed)?
➕ 1
j
I was trying to figure that out last week as well, but I ended up just using version 5 since I was out of time. Curious to know…
p
Commandbox and reverse proxy it to your Apache instance
j
That’s not a LINUX installation.
p
Yes it is…
c
@Patrick we're trying to keep this simple. Apache->Tomcat->Lucee. I shouldn't need 3rd-party tooling to get this up and running. Like @jakobward I ended up just installing 5.4 using the installer and it hooked up to Apache without error or fuss. The team should really consider producing an installer for the 6 release series if they want adoption, or at a minimum update the documentation and guides to explain how to configure it all manually. Right now it's just a brick wall.
☝🏻 1
p
Yea the Lucee folks have dropped the ball from that perspective
And honestly, dockerize and never have to worry about environments/installers and compatibility stuff like this 🙂
Install Docker > spin up endless instances of your Lucee environment + a containered NGINX or web server of your flavor and done
c
Containerizing entails a lot of additional processes and tooling and not ideal for this specific use case which is a standalone server which will be deployed on-prem to dozens of client sites for internal use. We desire as little overhead as possible in the architecture for this application.
👍 1
☝🏻 1
d
What containers cost in learning time (that's all they really cost, as the container-containers (lol) are not resource intensive themselves, per se) they generally make up for in maintenance costs. You may be adding the the real overhead by producing more pets, than cattle, as it were.
c
@denny I appreciate your mindset, and the concern is appreciated, however in this instance we're building one server and then cloning the entire machine and copies will get deployed into the field to run on private networks for a very specific purpose. This is an application that won't change once deployed (ok, maybe once every few years, and in those cases we'll do planned updates on a per-client basis directly from GitHub to update the codebase). We do use containers in our main Internet-accessible production systems along with remote load balancers and a multi-data center architecture, so this isn't new to us and we've made a decision to run this on bare metal for a reason to keep it dirt simple. We're aware of the options and have chosen this one, so any suggestions around containers or 3rd-party tools, however well-intended, are not applicable to my original question about installing Lucee 6 into Ubuntu with Apache 2 in front of it. Using the 5.4 installer we're up and running but would rather run 6 to deploy this on the most current version possible before it hits the field.
☝🏻 1
j
lol. So…no one knows how to install Lucee 6 on Ubuntu.
c
If I had the time I'd take the 5.4 installer and rework it into an installer for 6.1 myself... but I don't have the time and that seems like something the core team should do, and if they're not willing to put time into that themselves then they really need to up the game on documentation on how to deploy as right now the options for the 6.1 downloads are basically "express" for local development, or here are some JAR files that you can put into existing environments... or go learn the whole Ortus stack and use CommandBox. They can do better. If there is a tutorial or documentation anywhere then I'd love to read it, but if it exists they've done a great job at hiding it.
d
It feels more like complaining than looking for solutions. If there isn't the kind of installer you like (several have been proposed already, I'd consider both Docker and CommandBox valid ways of installing CF) you can make it happen, or pay someone to make it happen. Or just wait and they're get around to it for free!
👎🏻 1
c
Occasionally things deserve to be complained about. Yes, there are alternatives, but they carry a lot more effort to implement than what should simply exist as part of a release for a mature ecosystem. The installer for 5.4 took about two minutes to download and run and I was up and running. If the core team wants people to use the newer version they need to make it equally as simple to implement.
👍 1
👍🏻 1
p
Commandbox ultra simple and can be running your Lucee instance in like 5min with some minor modifying of the apache2 conf
1. Setup Commandbox with 3 simple steps here (https://commandbox.ortusbooks.com/setup/installation#linux-yum) 2. CD to your app’s dir 3.
box start cfengine=lucee@xxx
whatever lucee version in the commandbox cli 4. Mod the proxy to point to the localhost:9999 or whatever port you use. 5. done 6. Bonus- doesnt require using anything about Ortus in your code base
j
Everyone here knows about CommandBox. That is not the question.
p
No shit, telling you something to solve your issue immediate vs you wasting company money researching to fix a problem that someone hasnt been able to give you an answer to you.
j
Wow. Start drinking early? Have a great day everyone. I’m out.
p
Nope, just followed the thread and have seen several times that you have implied that no one is following your initial request.
c
@Patrick let's keep this professional, please. There is no need for an aggressive tone.
p
Being abrasive like your assumed employee, as he constantly implies no one is understanding the request. Most folks in the community say something like “Thanks for the advice regarding Commandbox, but at this time we are seeking another approach that better fits our requirements. But thanks for the tip!”
c
@Patrick Also this thread was my question and you're directing comments to Jakob that should probably come to me (he and I do not know each other and do not work together, as you seem to believe ["assumed employee"]). I do agree that Commandbox is a potential solution, and one that is even suggested by the Lucee documentation. HOWEVER, that is not something that my team and I have experience with, know, or trust at this point, so it is not under consideration. We may consider it in the future once we understand it and its dependencies better. Others have mentioned containers, which are not going to be part of this deployment (they have their place, but not on this deployment). What we know works is a basic Ubuntu server with Apache and the application server attached to it. This is very simple to deploy using 5.4 and we have done so to move our development along. It would be nice to have the same option for 6.1 so that we can deploy on a more recent version out of the box. Perhaps someday we will get to know Commandbox and put it through it's paces, but that day is not today (we'll use it in something far less critical first). The most simple answer to my original question might simply have been, "No, there is no official installer from Lucee for the 6 Release series" which is entirely valid. Suggestions for alternative deployment scenarios are also valid, but are not going to be the path we are going to take here. Our applications have some fairly unique requirements and minimizing the number of components (and dependencies) involved, in this case, is one of them, so a bare metal installer or similar equivalent is the ONLY option we're going to consider on this specific installation. If there isn't one for 6.1, that's fine, we'll use 5.4, but it would be nice if there were (and my opinion is that there should be so that Lucee can cover what is a pretty common deployment method). I'm fine to have a technical discussion or debate the merits of options about anything, but not with someone who is going to reach for vulgar language and throw a tantrum because the solution that they proposed isn't the one being considered. Your presumptive assertions about "wasting company money" are so far off base they aren't worth discussing further.
p
Apologies for making some assumptions, it seemed like a team response. And nope, no shits given if you do or dont prefer my suggestion. The tone came when repeatedly implied that no one was comprehending the original request, and that wasnt you so again apologies.
Also @coldfusioneer, there is a linux installer for 6.0.3.1: https://download.lucee.org/?releases=06.000.003.0001.100#core
c
@Patrick Thank you, this is the answer I was looking for. I was able to uninstall 5.4 using their provided uninstall script, and then install this one and it hooked into Apache just like the older installer without any trouble. Once the admin was loaded it recognized an update and I was able to upgrade it to the current release internally without issue. I appreciate your diligence and the pointer to the newer installer as it's not immediately obvious where on their site this is located, but I was able to find where they're hiding it with that link and see how to get to it in the future if needed.
👍🏻 1
d
For what it's worth, all I need to do to install (or update) Lucee is bump a version number— and it's been that way for I want to say a decade. If I need to downgrade? Again, I just set a version number. If I need to test on a different version? You guessed it— change a version number. I'm not going to mess around with connectors and running installers and stuff on something that is mission critical. I want reproducible results. I want easy. (Manually downloading and running installers is not easy.) I want to be able to onboard a new developer quickly and easily as well. What triggered me was Jakob's "lol. So…no one knows how to install Lucee 6 on Ubuntu." which was maybe supposed to be a good-hearted joke, but came across as a bit passive-aggressive to my untrained eye. CF itself runs in a container, so theoretically all you need to have is the container docs to know how to "install" it, much less the even easier solutions offered. In closing, Tomcat (or whatever you use) and Apache (or whatever you use) are also just dependencies if you're Doing it Right — and if you have requirements that are unique, this is an even greater reason to be leveraging dependencies and automation, versus manually running installers on anything. I felt a little regretful about the complaining comment when I thought "what if they're paying hundreds or thousands of dollars a year to the Lucee folks? Would that justify it some? Hmm… maybe, depending on what they're paying for", and FWIW none of this is to make anyone feel bad about the current state of their, or others, systems. I'm just saying, is all. 😃