On 10/24/22 13:16, Mark Thomas wrote:
On 24/10/2022 20:04, John Dale (DB2DOM) wrote:
Mark and Chris - do you guys have a favorite flavor of Linux that has
yielded good results?
I use Ubuntu for my various test environments and the servers I run at
home. Stuff I know well (Tomcat, Java, etc) I tend to install manually
rather than using the package manager.
+1000 for Ubuntu.
Many years ago I used and loved Debian. I have found that Ubuntu
retains all the things I love about Debian but has a much larger
selection of packages available, due to Debian's strict adherence to
only including software that meets DFSG requirements. I mostly use
Ubuntu packages, and in some cases official project repos for Ubuntu
(gitlab, zabbix, dovecot, etc), but there a few things that I prefer to
use official downloads or source to install. Solr and haproxy are the
top two in that category.
Every time I try to do something useful on an RHEL clone, I find that
most of the things I love about my Ubuntu servers don't exist. I can
usually find a way to accomplish what I'm after, but it takes a lot more
effort and frustration to get it working. In general, .deb packages
work better than .rpm packages, and include many convenience features
that make them easier to use.
Getting back to the original post:
has not been available in 32 bit flavors for a number of major
releases. But Debian still supports it. A link to a network install
ISO, which will require Internet access:
https://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-11.5.0-i386-netinst.iso
If the Internet requirement is a problem, you can find larger DVD images
that can install a full system without Internet.
SUCCESS!
------------
I built a VM and installed that Debian ISO on it. I did not install a
GUI. Once I got it booted up, I was able to do "apt update && apt
install -y openjdk-11-jdk" (as root) with no trouble. If you just need
the JRE, you can install openjdk-11-jre instead. Once Java was
installed, I downloaded the latest tomcat 10, extracted it, and started
it. I was then able to access port 8080 in a browser and see the
"successfully installed Tomcat" page.
------------
Note that 32 bit Java is limited to a 2GB heap. Limitations like this
are one of the primary reasons that 32 bit support is rapidly
disappearing from the software world. Chances are of course that your
32 bit system won't really have an issue with that limitation.
The Linux kernel dropped support for 386 and 486 CPUs some time ago. So
I hope your 32 bit system has at least a Pentium CPU. I am not positive
that i586 support is still around in Debian, but i686 is there for sure.
On the 32 bit VM:
root@debian32bit:/opt/apache-tomcat-10.0.27# uname -a
Linux debian32bit 5.10.0-19-686-pae #1 SMP Debian 5.10.149-2
(2022-10-21) i686 GNU/Linux
elyograg@debian32bit:~$ java --version
openjdk 11.0.16 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
OpenJDK Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode,
sharing)
On a 64-bit system:
elyograg@smeagol:~$ uname -a
Linux smeagol 5.17.0-1020-oem #21-Ubuntu SMP PREEMPT Fri Oct 14 09:33:24
UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
elyograg@smeagol:~$ java -version
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu122.04,
mixed mode, sharing)
Thanks,
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org