Install WSO2 Identity Server 5.7.0 on Centos 7 x64
Pre-requisites:
OpenJDK8 or Oracle JDK 1.8.*
Steps:
1. Download WSO2 Identity Server from WSO2 Website:
https://wso2.com/identity-and-access-management/install/
2. Install WSO2 Identity Server
rpm -i wso2is-linux-installer-x64-5.7.0.rpm
3. Download and install Apache Tomcat version 8 or above
I installed Apache Tomcat 9 which I downloaded from Apache Tomcat 9 Core Download (tar.gz)
tar xvf apache-tomcat-9.0.14.tar.gz
4. Download and install curl
I installed it using yum
yum -y install curl
5. Create a Twitter application to try out multi-factor or federated authentication
a. Go to https://twitter.com/ and create an account
b. Register for Twitter Developer account
I applied for it on 31 Jan 2019 6.00pm GMT+8. Will update here when it is approved).
Update: My Twitter Developer Account was approved 1 Feb 2019 11.43pm GMT+8. Twitter first responded asking for more info on 31 Jan 2019 10.24pm GMT+8 but I didn't notice the email and only replied back on 1 Feb 2019 11.25pm GMT+8. So, it's either I was very lucky to have gotten a very fast response or Twitter is super efficient in handling these developer accounts application because I think there would be like thousands of application per day from all over the world everyday! Anyway, thanks to Twitter for approving my developer account.)
c. Register a new application on Twitter at https://apps.twitter.com You can use the following url as the Callback URL for your Twitter application: https://localhost:9443/commonauth
d. Note down API key and secret for later use.
6. Open the /etc/hosts file and add the following entry
127.0.0.1 localhost.com
7. Start WSO2 IS
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/
export WSO2IS_HOME=/usr/lib64/wso2/wso2is/5.7.0/
cd $WSO2IS_HOME/bin
sudo ./wso2server.sh
8. Open firewall port if firewalld is active in Centos 7
firewall-cmd --permanent --add-port=9443/tcp
firewall-cmd --list-ports
List the services that are accepted through the firewall:
firewall-cmd --list-services
Thursday, January 31, 2019
Subscribe to:
Post Comments (Atom)
Install MySQL 8.0 on Centos 7
Steps to install MySQL 8.0 Community Edition in Centos 7 1. Enable MySQL 8.0 Repository sudo yum localinstall https://dev.mysql.com...
-
Install TeamViewer on Centos7 1. Get the RPM Package wget https://download.teamviewer.com/download/linux/teamviewer-host.x86_64.rpm ...
-
Steps to install MySQL 8.0 Community Edition in Centos 7 1. Enable MySQL 8.0 Repository sudo yum localinstall https://dev.mysql.com...
No comments:
Post a Comment