MiftyCoin Broker Node Configuration
  • 👋Welcome!
  • Pre-Setup
    • 🧭Prerequisites
    • 🎛️Setup your DNS
    • 🖥️Access your Server
  • 💽Install the Prerequisites
  • SETUP
    • 🔥Setup the Firewall
    • 🐈Update the Tomcat Configuration
    • 🐬Start and Reload Tomcat and MySQL
    • 🌐Webmin Configuration
    • ✳️Setup the Database
    • 👩‍💻Install the Code
    • ⚒️Test your Installation
  • Configuration
    • 🔐Generate an Application Key
    • 💻Get your Laptop/Desktop IPv4 Address
    • ⚙️Configure your Node
    • 👨‍💻Update the Data in your Node
    • 💾Upgrade your Node to the Latest Version
    • ⚒️Test your Configuration
Powered by GitBook
On this page
  1. SETUP

Update the Tomcat Configuration

Set the user identity that the tomcat server will assume to "root"

$ vi /usr/lib/systemd/system/tomcat.service

Replace the line that starts with "User" with User=root, then save and exit with :x

$ vi /usr/share/tomcat/conf/server.xml

Add the following lines between the <Engine> and </Engine> tags (preferrably at the end and right before </Engine> tag.

<Host
    name="<your-domain-name>"
    autoDeploy="false"
    liveDeploy="false"
    appBase="/srv/mft/bnd/webapp"
    unpackWARs="false">
  <Valve className="org.apache.catalina.valves.AccessLogValve"
      fileDateFormat="yyyy-MM-dd"
      pattern="%h %l %u %t &quot;%r&quot; %s %b"
      prefix="mftbnd_log"
      suffix=".txt"/>
 </Host>

Save and exit with :x

$ vi /usr/share/tomcat/conf/catalina.properties 

Add the following line at the end:

com.entevia.sddi.config.dbDriver=com.mysql.cj.jdbc.Driver

Save and exit with :x

PreviousSetup the FirewallNextStart and Reload Tomcat and MySQL

Last updated 2 years ago

🐈