Advertisement
Guest User

CE302_Ubuntu1604

a guest
Jan 31st, 2018
2,156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.40 KB | None | 0 0
  1. root@ip-172-31-33-236:~# echo "deb https://repo.gluu.org/ubuntu/ xenial main" > /etc/apt/sources.list.d/gluu-repo.list
  2. root@ip-172-31-33-236:~# curl https://repo.gluu.org/ubuntu/gluu-apt.key | apt-key add -
  3. % Total % Received % Xferd Average Speed Time Time Time Current
  4. Dload Upload Total Spent Left Speed
  5. 100 3112 100 3112 0 0 4049 0 --:--:-- --:--:-- --:--:-- 4052
  6. OK
  7. root@ip-172-31-33-236:~# apt-get update
  8. Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
  9. Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
  10. Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
  11. Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
  12. Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
  13. Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
  14. Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
  15. Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
  16. Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
  17. Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
  18. Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
  19. Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
  20. Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Sources [291 kB]
  21. Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,524 B]
  22. Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [189 kB]
  23. Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,972 B]
  24. Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [709 kB]
  25. Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [294 kB]
  26. Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,560 B]
  27. Get:20 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
  28. Get:21 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [580 kB]
  29. Get:22 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [234 kB]
  30. Get:23 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
  31. Get:24 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,052 B]
  32. Get:25 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,436 B]
  33. Get:26 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,908 B]
  34. Get:27 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,840 B]
  35. Get:28 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,220 B]
  36. Get:29 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,612 B]
  37. Get:30 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,768 B]
  38. Ign:31 https://repo.gluu.org/ubuntu xenial InRelease
  39. Get:32 http://security.ubuntu.com/ubuntu xenial-security/main Sources [107 kB]
  40. Get:33 https://repo.gluu.org/ubuntu xenial Release [5,704 B]
  41. Get:34 https://repo.gluu.org/ubuntu xenial Release.gpg [836 B]
  42. Get:35 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B]
  43. Get:36 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [49.3 kB]
  44. Get:37 https://repo.gluu.org/ubuntu xenial/main amd64 Packages [4,452 B]
  45. Get:38 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,520 B]
  46. Get:39 https://repo.gluu.org/ubuntu xenial/main all Packages [2,565 B]
  47. Get:40 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [435 kB]
  48. Get:41 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [189 kB]
  49. Get:42 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [200 kB]
  50. Get:43 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [102 kB]
  51. Get:44 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,208 B]
  52. Get:45 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,408 B]
  53. Fetched 24.7 MB in 3s (6,428 kB/s)
  54. Reading package lists... Done
  55. root@ip-172-31-33-236:~# apt-get install gluu-server-3.0.2
  56. Reading package lists... Done
  57. Building dependency tree
  58. Reading state information... Done
  59. The following NEW packages will be installed:
  60. gluu-server-3.0.2
  61. 0 upgraded, 1 newly installed, 0 to remove and 30 not upgraded.
  62. Need to get 586 MB of archives.
  63. After this operation, 1,044 MB of additional disk space will be used.
  64. Get:1 https://repo.gluu.org/ubuntu xenial/main amd64 gluu-server-3.0.2 amd64 1-1~xenial+Ub16.04 [586 MB]
  65. Fetched 586 MB in 1min 14s (7,892 kB/s)
  66. Selecting previously unselected package gluu-server-3.0.2.
  67. (Reading database ... 51121 files and directories currently installed.)
  68. Preparing to unpack .../gluu-server-3.0.2_1-1~xenial+Ub16.04_amd64.deb ...
  69. Unpacking gluu-server-3.0.2 (1-1~xenial+Ub16.04) ...
  70. Processing triggers for systemd (229-4ubuntu21) ...
  71. Processing triggers for ureadahead (0.100.0-19) ...
  72. Setting up gluu-server-3.0.2 (1-1~xenial+Ub16.04) ...
  73. Processing triggers for systemd (229-4ubuntu21) ...
  74. Processing triggers for ureadahead (0.100.0-19) ...
  75. root@ip-172-31-33-236:~# service gluu-server-3.0.2 start
  76. root@ip-172-31-33-236:~# service gluu-server-3.0.2 login
  77. gluu-server-3.0.2 is running...
  78. logging in...
  79. root@localhost:~# cd /install/community-edition-setup/
  80. root@localhost:/install/community-edition-setup# ./setup.py
  81.  
  82. Installing Gluu Server...
  83. Detected OS : ubuntu
  84. Detected init: systemd
  85. Detected Apache: 2.4
  86.  
  87. Installing Gluu Server...
  88.  
  89. For more info see:
  90. ./setup.log
  91. ./setup_error.log
  92.  
  93.  
  94. ** All clear text passwords contained in ./setup.properties.last.
  95.  
  96. Enter IP Address [172.31.33.236] :
  97. Enter hostname [localhost] : test.gluu.org
  98. Enter your city or locality : Austin
  99. Enter your state or province two letter code : TX
  100. Enter two letter Country Code : US
  101. Enter Organization Name : Gluu Inc.
  102. Enter email address for support at your organization : zico@gluu.org
  103. Enter maximum RAM for applications in MB [3072] :
  104. Optional: enter password for oxTrust and LDAP superuser [yTSXBcPa60xo] :
  105. Install oxAuth OAuth2 Authorization Server? [Yes] :
  106. Install oxTrust Admin UI? [Yes] :
  107. Install LDAP Server? [Yes] :
  108. Install Apache HTTPD Server [Yes] :
  109. Install Shibboleth SAML IDP? [No] : Yes
  110. Install Asimba SAML Proxy? [No] : Yes
  111. Install oxAuth RP? [No] : Yes
  112. Install Passport? [No] : Yes
  113. Install JCE 1.8? [Yes] : Yes
  114. You must accept the Oracle Binary Code License Agreement for the Java SE Platform Products to download this software. Accept License Agreement? [Yes] :
  115.  
  116. hostname test.gluu.org
  117. orgName Gluu Inc.
  118. os ubuntu
  119. city Austin
  120. state TX
  121. countryCode US
  122. support email zico@gluu.org
  123. Applications max ram 3072
  124. Admin Pass yTSXBcPa60xo
  125. Install oxAuth True
  126. Install oxTrust True
  127. Install LDAP True
  128. Install JCE 1.8 True
  129. Install Apache 2 web server True
  130. Install Shibboleth SAML IDP True
  131. Install Asimba SAML Proxy True
  132. Install CAS False
  133. Install oxAuth RP True
  134. Install Passport True
  135.  
  136.  
  137. Proceed with these values [Y|n] Y
  138. Downloading Asimba war file...
  139. Downloading JCE 1.8 zip file...
  140.  
  141.  
  142. Gluu Server installation successful! Point your browser to https://test.gluu.org
  143.  
  144.  
  145. root@localhost:/install/community-edition-setup# ifconfig
  146. eth0 Link encap:Ethernet HWaddr 02:ad:81:32:b0:a2
  147. inet addr:172.31.33.236 Bcast:172.31.47.255 Mask:255.255.240.0
  148. inet6 addr: fe80::ad:81ff:fe32:b0a2/64 Scope:Link
  149. UP BROADCAST RUNNING MULTICAST MTU:9001 Metric:1
  150. RX packets:458681 errors:0 dropped:0 overruns:0 frame:0
  151. TX packets:157687 errors:0 dropped:0 overruns:0 carrier:0
  152. collisions:0 txqueuelen:1000
  153. RX bytes:684591231 (684.5 MB) TX bytes:10801580 (10.8 MB)
  154.  
  155. lo Link encap:Local Loopback
  156. inet addr:127.0.0.1 Mask:255.0.0.0
  157. inet6 addr: ::1/128 Scope:Host
  158. UP LOOPBACK RUNNING MTU:65536 Metric:1
  159. RX packets:1047 errors:0 dropped:0 overruns:0 frame:0
  160. TX packets:1047 errors:0 dropped:0 overruns:0 carrier:0
  161. collisions:0 txqueuelen:1
  162. RX bytes:544305 (544.3 KB) TX bytes:544305 (544.3 KB)
  163.  
  164. root@localhost:/install/community-edition-setup# cat /etc/*-release
  165. DISTRIB_ID=Ubuntu
  166. DISTRIB_RELEASE=16.04
  167. DISTRIB_CODENAME=xenial
  168. DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
  169. NAME="Ubuntu"
  170. VERSION="16.04.1 LTS (Xenial Xerus)"
  171. ID=ubuntu
  172. ID_LIKE=debian
  173. PRETTY_NAME="Ubuntu 16.04.1 LTS"
  174. VERSION_ID="16.04"
  175. HOME_URL="http://www.ubuntu.com/"
  176. SUPPORT_URL="http://help.ubuntu.com/"
  177. BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
  178. VERSION_CODENAME=xenial
  179. UBUNTU_CODENAME=xenial
  180. root@localhost:/install/community-edition-setup#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement