Last active
June 22, 2021 21:43
-
-
Save ajin/714c8bcd88675fa6c1108be8427501b6 to your computer and use it in GitHub Desktop.
Sailpoint quick installation guide with default settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
max_allowed_packet=32M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install epel-release | |
sudo yum update -y && sudo reboot | |
sudo yum install wget | |
sudo yum install unzip | |
sudo yum install mysql-server | |
sudo vi /etc/my.cnf | |
sudo systemctl start mysql | |
sudo systemctl enable mysql | |
sudo systemctl status mysql | |
sudo mysql_secure_installation | |
sudo yum install java-1.8.0-openjdk-devel | |
sudo useradd -m -U -d /opt/tomcat -s /bin/false tomcat | |
# setup apache tomcat | |
cd /tmp | |
wget http://apache.hippo.nl/tomcat/tomcat-9/v9.0.19/bin/apache-tomcat-9.0.19.tar.gz | |
tar -xf apache-tomcat-9.0.19.tar.gz | |
sudo mv apache-tomcat-9.0.19 /opt/tomcat/ | |
sudo ln -s /opt/tomcat/apache-tomcat-9.0.19 /opt/tomcat/latest | |
sudo chown -R tomcat: /opt/tomcat | |
sudo sh -c 'chmod +x /opt/tomcat/latest/bin/*.sh' | |
# create systemctl tomcat service | |
sudo vi /etc/systemd/system/tomcat.service | |
sudo systemctl daemon-reload | |
sudo systemctl enable tomcat | |
sudo systemctl start tomcat | |
sudo systemctl status tomcat | |
sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp | |
sudo firewall-cmd --reload | |
# download sailpoint identityiq from vendor site | |
sudo unzip /tmp/identityiq.war -d /opt/tomcat/latest/webapps/identityiq | |
sudo chmod +x /opt/tomcat/latest/webapps/identityiq/WEB-INF/bin/iiq | |
sudo chown -R tomcat: /opt/tomcat | |
timedatectl set-timezone UTC | |
mysql -uroot -p < /opt/tomcat/latest/webapps/identityiq/WEB-INF/database/create_identityiq_tables-7.3.mysql | |
echo "import init.xml" | sudo /opt/tomcat/latest/webapps/identityiq/WEB-INF/bin/iiq console | |
echo "import init-lcm.xml" | sudo /opt/tomcat/latest/webapps/identityiq/WEB-INF/bin/iiq console | |
sudo systemctl restart tomcat | |
sudo systemctl status tomcat | |
sudo tail -n 100 /opt/tomcat/latest/logs/catalina.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Tomcat 9 servlet container | |
After=network.target | |
[Service] | |
Type=forking | |
User=tomcat | |
Group=tomcat | |
Environment="JAVA_HOME=/usr/lib/jvm/jre" | |
Environment="JAVA_OPTS=-Djava.security.egd=file:///dev/urandom" | |
Environment="CATALINA_BASE=/opt/tomcat/latest" | |
Environment="CATALINA_HOME=/opt/tomcat/latest" | |
Environment="CATALINA_PID=/opt/tomcat/latest/temp/tomcat.pid" | |
Environment="CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC" | |
ExecStart=/opt/tomcat/latest/bin/startup.sh | |
ExecStop=/opt/tomcat/latest/bin/shutdown.sh | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment