How to install Footprints 20.19.01 on Linux /Postgresql? |
1. install java jdk rpm https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz Else follow this article to install & configure Java:-https://bmcsites.force.com/casemgmt/sc_KnowledgeArticle?sfdcid=000011131 -configure Java using command alternatives --config java 2.Install tomcat following this link https://linuxconfig.org/how-to-install-apache-tomcat-on-linux-redhat-8 #make sure to use user:root and group:root before reloading daemon and restarting tomcat service. -To complete the Tomcat configuration for FootPrints we need to edit file in the /usr/share/tomcat/conf/ directory. Edit the server.xml file to add URIEncoding="UTF-8" maxThreads="550" into the Connector settings for port 8080 as shown below <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" maxThreads="550" redirectPort="8443" /> -Create setenv.sh file under /usr/share/tomcat/bin/ and put those parameters CATALINA_HOME="/usr/share/tomcat" JAVA_HOME="/usr/java/jdk-11.0.2" export CATALINA_OPTS="$CATALINA_OPTS -Xms4096m" export CATALINA_OPTS="$CATALINA_OPTS -Xmx8192m" export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m" export JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8" export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom" export LC_ALL=en_US.utf8 -Lastly test the restart Tomcat and enable it for automatic startup with the commands below. systemctl start tomcat systemctl restart tomcat systemctl stop tomcat systemctl enable tomcat 3.Install postgresql 9.6 ============== Use those two commands to download and install Postgresql 9.6(first and second command may vary acc. to linux version) wget https://yum.postgresql.org/9.6/redhat/rhel-7.4-x86_64/pgdg-centos96-9.6-3.noarch.rpm yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm rpm -i pgdg-centos96-9.6-3.noarch.rpm -Install PostgreSQL 9.6: Footprints supports PostgreSQL 9.3 - 9.6.x and CentOS & RHEL 7 include Postgresql 9.6. Use the command below to install all necessary components. yum install postgresql96-server postgresql96-devel postgresql96-contrib -Next initialize Postgresql by running the command below /usr/pgsql-9.6/bin/postgresql96-setup initdb -We next need to configure Postgresql to allow connections by editing the pg_hba.conf and postgresql.conf files in the /var/lib/pgsql/9.6/data/ directory. Edit the pg_hba.conf file to change the "ident" methods to "md5" and then save the file. # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all peer # IPv4 local connections: host all all 127.0.0.1/32 ident # IPv6 local connections: host all all ::1/128 ident -Edit the postgresql.conf to enable the listen_addresses setting by removing the leading # and change 'localhost' to '*'. #------------------------------------------------------------------------------ # CONNECTIONS AND AUTHENTICATION #------------------------------------------------------------------------------ # - Connection Settings - #listen_addresses = 'localhost' # what IP address(es) to listen on; # comma-separated list of addresses; # defaults to 'localhost'; use '*' for all -Now restart postgresql and configure for automatic startup with the two commands below. systemctl start postgresql systemctl restart postgresql systemctl stop postgresql systemctl enable postgresql -Lastly set the postgres user password with the commands below (in order) to allow you to set the password for the account. systemctl start postgresql su - postgres psql \password Download the Footprints setup from WEBEPD and the downloaded file is encrypted,Steps for decrypting Linux installer 1. Open the terminal. 2. Type “gpg” in the terminal and enter (this is to verify that the machine has the gpg module running). 3. Go to the directory where the installer was copied. 4. Type the following command: gpg -d footprints-installer-20.19.01-51.3236.tar.gz.gpg | tar zxvf – 5. Enter fp2019r1 When prompted for passphrase. Data will be extracted 4.After that stop the tomcat service and follow this article to silent install footprints https://selfservice.bmc.com/casemgmt/sc_KnowledgeArticle?sfdcid=000011044 5.Also check the installation logs under /tmp folder by using this command Cat /tmp/datexxxx_footprints_install_log.txt and restart the tomcat if the logs showing Footprints 20.19.01 installation succeeded. |