add-apt-repository -y ppa:openjdk-r/ppa
apt-get update
apt -y install language-pack-ru
localectl set-locale LANG=ru_RU.UTF-8

source <(curl -s https://download.lsfusion.org/apt/install-lsfusion6)

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

service lsfusion6-server stop
service lsfusion6-server start

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