Last active
August 25, 2019 10:36
-
-
Save lechidung/a5f7288a16530d3f21ecca8774da6d32 to your computer and use it in GitHub Desktop.
Install Athenz
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
# INSTALL ZMS | |
bin/setup_dev_zms.sh | |
sudo bin/zms start | |
sudo bin/zms stop | |
# INSTALL ZTS | |
bin/setup_dev_zts.sh 172.104.48.122 /root/athenz-zms-1.8.11/var/zms_server/certs/zms_cert.pem | |
bin/zts start | |
bin/zts stop | |
# INSTALL UI | |
bin/setup_dev_ui.sh beta.athenz.8bitbase.com /root/athenz-zms-1.8.11/var/zms_server/certs/zms_cert.pem | |
export UI_SERVER=beta.athenz.8bitbase.com ZMS_SERVER=beta.athenz.8bitbase.com | |
# Register UI Prod | |
cd athenz-ui-X.Y | |
bin/linux/zms-cli -z https://beta.athenz.8bitbase.com:4443/zms/v1 add-domain athenz | |
bin/linux/zms-cli -z https://beta.athenz.8bitbase.com:4443/zms/v1 -d athenz add-service ui 0 keys/athenz.ui_pub.pem | |
bin/linux/athenz-conf -o config/athenz.conf -z https://beta.athenz.8bitbase.com:4443:4443/ | |
bin/athenz_ui start | |
bin/athenz_ui stop | |
docker run -itd -h athenz.8bitbase.com -p 9443:9443 -p 4443:4443 -p 8443:8443 -e ZMS_SERVER=athenz.8bitbase.com -e UI_SERVER=athenz.8bitbase.com athenz/athenz | |
li1628-122.members.linode.com:9443 | |
sudo netstat -ntlp | grep LISTEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment