Advertisement
Guest User

nhr

a guest
Jul 11th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. [mkargaki@dhcp129-211 ~]$ oc cluster up
  2. Starting OpenShift using openshift/origin:v3.6.0-alpha.2 ...
  3. Pulling image openshift/origin:v3.6.0-alpha.2
  4. Pulled 2/4 layers, 51% complete
  5. Pulled 3/4 layers, 82% complete
  6. Pulled 4/4 layers, 100% complete
  7. Extracting
  8. Image pull complete
  9. OpenShift server started.
  10.  
  11. The server is accessible via web console at:
  12. https://127.0.0.1:8443
  13.  
  14. You are logged in as:
  15. User: developer
  16. Password: <any value>
  17.  
  18. To login as administrator:
  19. oc login -u system:admin
  20.  
  21. [mkargaki@dhcp129-211 ~]$ oc process -f https://raw.githubusercontent.com/nhr/znc-cluster-app/master/znc-template-basic.yaml | oc create -f -
  22. imagestream "znc-cluster-app" created
  23. deploymentconfig "znc-cluster-app" created
  24. service "znc-cluster-app" created
  25. route "znc-cluster-app" created
  26. [mkargaki@dhcp129-211 ~]$ oc get is
  27. NAME DOCKER REPO TAGS UPDATED
  28. znc-cluster-app 172.30.1.1:5000/myproject/znc-cluster-app latest 11 seconds ago
  29. [mkargaki@dhcp129-211 ~]$ oc get po
  30. NAME READY STATUS RESTARTS AGE
  31. znc-cluster-app-1-8tv9c 0/1 ContainerCreating 0 54s
  32. znc-cluster-app-1-deploy 1/1 Running 0 1m
  33. [mkargaki@dhcp129-211 ~]$ oc get po
  34. NAME READY STATUS RESTARTS AGE
  35. znc-cluster-app-1-8tv9c 1/1 Running 0 2m
  36. [mkargaki@dhcp129-211 ~]$ oc logs -f znc-cluster-app-1-8tv9c
  37. spawn /usr/bin/znc -d /opt/znc-env --makeconf
  38. [ .. ] Checking for list of available modules...
  39. [ >> ] ok
  40. [ ** ]
  41. [ ** ] -- Global settings --
  42. [ ** ]
  43. [ ?? ] Listen on port (1025 to 65534): 6697
  44. [ ?? ] Listen using SSL (yes/no) [no]: yes
  45. [ ?? ] Listen using both IPv4 and IPv6 (yes/no) [yes]: no
  46. [ .. ] Verifying the listener...
  47. [ >> ] ok
  48. [ ** ] Unable to locate pem file: [/opt/znc-env/znc.pem], creating it
  49. [ .. ] Writing Pem file [/opt/znc-env/znc.pem]...
  50. [ >> ] ok
  51. admin
  52. [ ** ] Enabled global modules [webadmin]
  53. [ ** ]
  54. [ ** ] -- Admin user settings --
  55. [ ** ]
  56. [ ?? ] Username (alphanumeric): [ ?? ] Enter password:
  57. [ ?? ] Confirm password:
  58. [ ?? ] Nick [admin]:
  59. [ ?? ] Alternate nick [admin_]:
  60. [ ?? ] Ident [admin]:
  61. [ ?? ] Real name [Got ZNC?]: Administrator
  62. [ ?? ] Bind host (optional):
  63. [ ** ] Enabled user modules [chansaver, controlpanel]
  64. [ ** ]
  65. [ ?? ] Set up a network? (yes/no) [yes]: no
  66. [ ** ]
  67. [ .. ] Writing config [/opt/znc-env/configs/znc.conf]...
  68. [ >> ] ok
  69. [ ** ]
  70. [ ** ] To connect to this ZNC you need to connect to it as your IRC server
  71. [ ** ] using the port that you supplied. You have to supply your login info
  72. [ ** ] as the IRC server password like this: user/network:pass.
  73. [ ** ]
  74. [ ** ] Try something like this in your IRC client...
  75. [ ** ] /server <znc_server_ip> +6697 admin:<pass>
  76. [ ** ]
  77. [ ** ] To manage settings, users and networks, point your web browser to
  78. [ ** ] https://<znc_server_ip>:6697/
  79. [ ** ]
  80. [ ?? ] Launch ZNC now? (yes/no) [yes]: no
  81. Checking for list of available modules...
  82. Opening config [/opt/znc-env/configs/znc.conf]...
  83. Loading global module [webadmin]... [/usr/lib64/znc/webadmin.so]
  84. Binding to port [+6697] using ipv4...
  85. Loading user [admin]
  86. Loading user module [chansaver]...
  87. Loading user module [controlpanel]...
  88. Staying open for debugging [pid: 12]
  89. ZNC 1.6.3 - http://znc.in
  90. ^C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement