dnf install -y glibc-langpack-pl
localectl set-locale LANG=pl_PL.UTF-8
source <(curl -s https://download.lsfusion.org/dnf/install-lsfusion6)

yum install -y wget
wget http://download.lsfusion.org/solutions/mycompany-6.2-SNAPSHOT.jar -O /var/lib/lsfusion/mycompany.jar
echo "logics.topModule = MyCompanyPl" >> /etc/lsfusion6-server/settings.properties

systemctl stop lsfusion6-server
systemctl start lsfusion6-server

#Allow connections to server 
firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --permanent --add-port=7652/tcp
firewall-cmd --reload