27.12.2020 Maintenance
cat /etc/debian_version
10.7
cat /etc/issue
Debian GNU/Linux 10
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
hostnamectl
Static hostname: v22018061954267647
Icon name: computer-vm
Chassis: vm
Machine ID: [..]
Boot ID: [..]
Virtualization: kvm
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-13-amd64
Architecture: x86-64
Note: apt-get install lsb-release
vi /etc/apt/sources.list
deb http://ftp.debian.org/debian/ buster main
Note: check additional sources specified wihtin folder sources.list.d
mysql -u <user> -p select version();
apt-get install mariadb-server
(mysql_secure_installation)
Start: /etc/init.d/mysql
Config: folder /etc/mysql/...
Log: /var/log/mysql
Bin:
/usr/bin/mysql
/usr/bin/mysqladmin
/usr/sbin/mysqld
Database: folder /var/lib/mysql
.cd <tomee_home>/lib java -cp catalina.jar org.apache.catalina.util.ServerInfo Server version: Apache Tomcat/9.0.39 Server built: Oct 6 2020 14:11:46 UTC Server number: 9.0.39.0 OS Name: Linux OS Version: 4.19.0-13-amd64 Architecture: amd64 JVM Version: 11.0.9.1+1-post-Debian-1deb10u2 JVM Vendor: Debian
TomEE webprofile TAR/GZ and tar xvf *
Enable Apache HTTP with Tomcat
vi <tomee_home>/conf/server.xml
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" address="::1" protocol="AJP/1.3" redirectPort="8443" secretRequired="false" />
<Connector port="8109" address="::1" protocol="AJP/1.3" redirectPort="8443" secretRequired="false" />
Improve start script
vi <tomee_home>/bin/catalina.sh #Markus JAVA_OPTS="$JAVA_OPTS -server -Xms1024m -Xmx6144m -Djava.awt.headless=true -Dfile.encoding=UTF-8" JAVA_HOME=/usr/lib/jvm/default-java
/etc/init.d/tomee restart
cp mariadb-java-client-2.7.1.jar <tomeeHome>/lib
log4j ?
vi <tomeeHome>/lib/jspwiki-custom.properties
jspwiki.applicationName=inetone
jspwiki.fileSystemProvider.pageDir=/markus/jspWikiData
jspwiki.workDir=/markus/tomee/temp
jspwiki.basicAttachmentProvider.storageDir=/markus/jspWikiData
jspwiki.pageProvider=VersioningFileProvider
#jspwiki.searchProvider=LuceneSearchProvider
jspwiki.searchProvider=BasicSearchProvider