Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ip-172-31-33-236:~# echo "deb https://repo.gluu.org/ubuntu/ xenial main" > /etc/apt/sources.list.d/gluu-repo.list
- root@ip-172-31-33-236:~# curl https://repo.gluu.org/ubuntu/gluu-apt.key | apt-key add -
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 3112 100 3112 0 0 4049 0 --:--:-- --:--:-- --:--:-- 4052
- OK
- root@ip-172-31-33-236:~# apt-get update
- Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
- Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
- Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
- Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
- Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
- Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
- Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
- Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
- Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
- Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
- Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
- Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
- Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Sources [291 kB]
- Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,524 B]
- Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [189 kB]
- Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,972 B]
- Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [709 kB]
- Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [294 kB]
- Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,560 B]
- Get:20 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
- Get:21 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [580 kB]
- Get:22 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [234 kB]
- Get:23 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
- Get:24 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,052 B]
- Get:25 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,436 B]
- Get:26 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,908 B]
- Get:27 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,840 B]
- Get:28 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,220 B]
- Get:29 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,612 B]
- Get:30 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,768 B]
- Ign:31 https://repo.gluu.org/ubuntu xenial InRelease
- Get:32 http://security.ubuntu.com/ubuntu xenial-security/main Sources [107 kB]
- Get:33 https://repo.gluu.org/ubuntu xenial Release [5,704 B]
- Get:34 https://repo.gluu.org/ubuntu xenial Release.gpg [836 B]
- Get:35 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B]
- Get:36 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [49.3 kB]
- Get:37 https://repo.gluu.org/ubuntu xenial/main amd64 Packages [4,452 B]
- Get:38 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,520 B]
- Get:39 https://repo.gluu.org/ubuntu xenial/main all Packages [2,565 B]
- Get:40 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [435 kB]
- Get:41 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [189 kB]
- Get:42 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [200 kB]
- Get:43 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [102 kB]
- Get:44 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,208 B]
- Get:45 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,408 B]
- Fetched 24.7 MB in 3s (6,428 kB/s)
- Reading package lists... Done
- root@ip-172-31-33-236:~# apt-get install gluu-server-3.0.2
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- gluu-server-3.0.2
- 0 upgraded, 1 newly installed, 0 to remove and 30 not upgraded.
- Need to get 586 MB of archives.
- After this operation, 1,044 MB of additional disk space will be used.
- Get:1 https://repo.gluu.org/ubuntu xenial/main amd64 gluu-server-3.0.2 amd64 1-1~xenial+Ub16.04 [586 MB]
- Fetched 586 MB in 1min 14s (7,892 kB/s)
- Selecting previously unselected package gluu-server-3.0.2.
- (Reading database ... 51121 files and directories currently installed.)
- Preparing to unpack .../gluu-server-3.0.2_1-1~xenial+Ub16.04_amd64.deb ...
- Unpacking gluu-server-3.0.2 (1-1~xenial+Ub16.04) ...
- Processing triggers for systemd (229-4ubuntu21) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Setting up gluu-server-3.0.2 (1-1~xenial+Ub16.04) ...
- Processing triggers for systemd (229-4ubuntu21) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- root@ip-172-31-33-236:~# service gluu-server-3.0.2 start
- root@ip-172-31-33-236:~# service gluu-server-3.0.2 login
- gluu-server-3.0.2 is running...
- logging in...
- root@localhost:~# cd /install/community-edition-setup/
- root@localhost:/install/community-edition-setup# ./setup.py
- Installing Gluu Server...
- Detected OS : ubuntu
- Detected init: systemd
- Detected Apache: 2.4
- Installing Gluu Server...
- For more info see:
- ./setup.log
- ./setup_error.log
- ** All clear text passwords contained in ./setup.properties.last.
- Enter IP Address [172.31.33.236] :
- Enter hostname [localhost] : test.gluu.org
- Enter your city or locality : Austin
- Enter your state or province two letter code : TX
- Enter two letter Country Code : US
- Enter Organization Name : Gluu Inc.
- Enter email address for support at your organization : zico@gluu.org
- Enter maximum RAM for applications in MB [3072] :
- Optional: enter password for oxTrust and LDAP superuser [yTSXBcPa60xo] :
- Install oxAuth OAuth2 Authorization Server? [Yes] :
- Install oxTrust Admin UI? [Yes] :
- Install LDAP Server? [Yes] :
- Install Apache HTTPD Server [Yes] :
- Install Shibboleth SAML IDP? [No] : Yes
- Install Asimba SAML Proxy? [No] : Yes
- Install oxAuth RP? [No] : Yes
- Install Passport? [No] : Yes
- Install JCE 1.8? [Yes] : Yes
- You must accept the Oracle Binary Code License Agreement for the Java SE Platform Products to download this software. Accept License Agreement? [Yes] :
- hostname test.gluu.org
- orgName Gluu Inc.
- os ubuntu
- city Austin
- state TX
- countryCode US
- support email zico@gluu.org
- Applications max ram 3072
- Admin Pass yTSXBcPa60xo
- Install oxAuth True
- Install oxTrust True
- Install LDAP True
- Install JCE 1.8 True
- Install Apache 2 web server True
- Install Shibboleth SAML IDP True
- Install Asimba SAML Proxy True
- Install CAS False
- Install oxAuth RP True
- Install Passport True
- Proceed with these values [Y|n] Y
- Downloading Asimba war file...
- Downloading JCE 1.8 zip file...
- Gluu Server installation successful! Point your browser to https://test.gluu.org
- root@localhost:/install/community-edition-setup# ifconfig
- eth0 Link encap:Ethernet HWaddr 02:ad:81:32:b0:a2
- inet addr:172.31.33.236 Bcast:172.31.47.255 Mask:255.255.240.0
- inet6 addr: fe80::ad:81ff:fe32:b0a2/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:9001 Metric:1
- RX packets:458681 errors:0 dropped:0 overruns:0 frame:0
- TX packets:157687 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:684591231 (684.5 MB) TX bytes:10801580 (10.8 MB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1047 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1047 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:544305 (544.3 KB) TX bytes:544305 (544.3 KB)
- root@localhost:/install/community-edition-setup# cat /etc/*-release
- DISTRIB_ID=Ubuntu
- DISTRIB_RELEASE=16.04
- DISTRIB_CODENAME=xenial
- DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
- NAME="Ubuntu"
- VERSION="16.04.1 LTS (Xenial Xerus)"
- ID=ubuntu
- ID_LIKE=debian
- PRETTY_NAME="Ubuntu 16.04.1 LTS"
- VERSION_ID="16.04"
- HOME_URL="http://www.ubuntu.com/"
- SUPPORT_URL="http://help.ubuntu.com/"
- BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
- VERSION_CODENAME=xenial
- UBUNTU_CODENAME=xenial
- root@localhost:/install/community-edition-setup#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement