juananehu

Kontalk server

Jul 3rd, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. Juanan-2:kontalk-server juanan$ ./kontalk-setup
  2. Please give a name to your new Kontalk server instance.
  3. Kontalk instance name [prime]:
  4.  
  5. Kontalk is available in the following branches:
  6. master: bleeding-edge, latest modifications. Possibly unstable. Use for development only.
  7. staging: used in Kontalk test server. It should have the latest features with a certain degree of stability.
  8. production: used in Kontalk production server. Stable and tested.
  9. You can also specify a version tag.
  10.  
  11. Kontalk version/branch to build [staging]:
  12. XMPP service name [prime.kontalk.net]:
  13. XMPP plain listen port [5222]:
  14. XMPP secure listen port [5223]:
  15. XMPP s2s listen port [5269]:
  16. MySQL root password [root]:
  17. MySQL kontalk password [kontalk]:
  18. MySQL time zone []: Europe/Madrid
  19.  
  20. The HTTP file upload service is used by clients to upload and download media.
  21. It should be exposed directly or better through a reverse proxy (e.g. Nginx).
  22. We will ask you for the listen port exposed to the host system and the URLs seen by clients.
  23. Note that those URLs should be available from the outside, i.e. from the Internet
  24.  
  25. HTTP file upload service listen port [8828]:
  26. HTTP file upload URL [https://prime.kontalk.net/media]:
  27. HTTP file download URL [https://prime.kontalk.net/media]:
  28. Max HTTP upload file size [20971520]:
  29.  
  30. You can now build the images by running ./launcher bootstrap
  31. Juanan-2:kontalk-server juanan$ cd kontalk-server/
  32. Juanan-2:kontalk-server juanan$ ./launcher bootstrap
  33. Building images for branch staging (7ad23b7e608541e645cd2118f28889561c1f580c)
  34. This could take several minutes.
  35. 7ad23b7: Pulling from kontalk/xmppserver
  36. Digest: sha256:fa255974b5b82a41f54746a704cfbf960d64c8714bf7c81f4f76aab8a5779971
  37. Status: Image is up to date for kontalk/xmppserver:7ad23b7
  38. kontalk/httpupload OK
  39.  
  40. Not using provided GPG server key, I'll generate one later automatically.
  41. You can provide a GPG server key by exporting it into config/server-private.key and config/server-public.key
  42. Please note that the private key MUST NOT be password-protected.
  43.  
  44. Not using provided X.509 certificate, I'll generate one later automatically.
  45. If you want to provide an existing X.509 certificate for the server,
  46. you can copy it into config/privatekey.pem and config/certificate.pem
  47. An optional CA chain can be provided into config/cachain.pem
  48.  
  49. Using default trusted certs bundle
  50.  
  51. Using default Tigase configuration
  52.  
  53. Using default Tigase environment
  54.  
  55. Using default HTTP upload component configuration
  56.  
  57. Successfully bootstrapped, to startup use ./launcher start
  58. Juanan-2:kontalk-server juanan$ ./launcher start
  59. + /usr/local/bin/docker-compose -p prime up -d
  60. prime_httpupload is up-to-date
  61. prime_db is up-to-date
  62. prime_xmpp is up-to-date
  63. Juanan-2:kontalk-server juanan$ nmap localhost
  64.  
  65. Starting Nmap 7.60 ( https://nmap.org ) at 2018-07-03 16:05 CEST
  66. Nmap scan report for localhost (127.0.0.1)
  67. Host is up (0.0014s latency).
  68. Other addresses for localhost (not scanned): ::1
  69. Not shown: 749 closed ports, 242 filtered ports
  70. PORT STATE SERVICE
  71. 53/tcp open domain
  72. 80/tcp open http
  73. 631/tcp open ipp
  74. 1023/tcp open netvenuechat
  75. 3306/tcp open mysql
  76. 5001/tcp open commplex-link
  77. 5222/tcp open xmpp-client
  78. 5269/tcp open xmpp-server
  79. 8021/tcp open ftp-proxy
  80.  
  81. Nmap done: 1 IP address (1 host up) scanned in 4.43 seconds
  82. Juanan-2:kontalk-server juanan$ docker ps
  83. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  84. 8e0ead1d3ea2 kontalk/xmppserver:7ad23b7 "/home/kontalk/entry…" 13 minutes ago Up 13 minutes 0.0.0.0:5222-5223->5222-5223/tcp, 0.0.0.0:5269->5269/tcp prime_xmpp
  85. d95a537845f5 kontalk/httpupload "/home/kontalk/entry…" 13 minutes ago Up 13 minutes 0.0.0.0:8828->8828/tcp prime_httpupload
  86. 9f15b5913755 mysql:5.6 "docker-entrypoint.s…" 13 minutes ago Up 13 minutes 3306/tcp prime_db
  87. Juanan-2:kontalk-server juanan$
Add Comment
Please, Sign In to add comment