Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Juanan-2:kontalk-server juanan$ ./kontalk-setup
- Please give a name to your new Kontalk server instance.
- Kontalk instance name [prime]:
- Kontalk is available in the following branches:
- master: bleeding-edge, latest modifications. Possibly unstable. Use for development only.
- staging: used in Kontalk test server. It should have the latest features with a certain degree of stability.
- production: used in Kontalk production server. Stable and tested.
- You can also specify a version tag.
- Kontalk version/branch to build [staging]:
- XMPP service name [prime.kontalk.net]:
- XMPP plain listen port [5222]:
- XMPP secure listen port [5223]:
- XMPP s2s listen port [5269]:
- MySQL root password [root]:
- MySQL kontalk password [kontalk]:
- MySQL time zone []: Europe/Madrid
- The HTTP file upload service is used by clients to upload and download media.
- It should be exposed directly or better through a reverse proxy (e.g. Nginx).
- We will ask you for the listen port exposed to the host system and the URLs seen by clients.
- Note that those URLs should be available from the outside, i.e. from the Internet
- HTTP file upload service listen port [8828]:
- HTTP file upload URL [https://prime.kontalk.net/media]:
- HTTP file download URL [https://prime.kontalk.net/media]:
- Max HTTP upload file size [20971520]:
- You can now build the images by running ./launcher bootstrap
- Juanan-2:kontalk-server juanan$ cd kontalk-server/
- Juanan-2:kontalk-server juanan$ ./launcher bootstrap
- Building images for branch staging (7ad23b7e608541e645cd2118f28889561c1f580c)
- This could take several minutes.
- 7ad23b7: Pulling from kontalk/xmppserver
- Digest: sha256:fa255974b5b82a41f54746a704cfbf960d64c8714bf7c81f4f76aab8a5779971
- Status: Image is up to date for kontalk/xmppserver:7ad23b7
- kontalk/httpupload OK
- Not using provided GPG server key, I'll generate one later automatically.
- You can provide a GPG server key by exporting it into config/server-private.key and config/server-public.key
- Please note that the private key MUST NOT be password-protected.
- Not using provided X.509 certificate, I'll generate one later automatically.
- If you want to provide an existing X.509 certificate for the server,
- you can copy it into config/privatekey.pem and config/certificate.pem
- An optional CA chain can be provided into config/cachain.pem
- Using default trusted certs bundle
- Using default Tigase configuration
- Using default Tigase environment
- Using default HTTP upload component configuration
- Successfully bootstrapped, to startup use ./launcher start
- Juanan-2:kontalk-server juanan$ ./launcher start
- + /usr/local/bin/docker-compose -p prime up -d
- prime_httpupload is up-to-date
- prime_db is up-to-date
- prime_xmpp is up-to-date
- Juanan-2:kontalk-server juanan$ nmap localhost
- Starting Nmap 7.60 ( https://nmap.org ) at 2018-07-03 16:05 CEST
- Nmap scan report for localhost (127.0.0.1)
- Host is up (0.0014s latency).
- Other addresses for localhost (not scanned): ::1
- Not shown: 749 closed ports, 242 filtered ports
- PORT STATE SERVICE
- 53/tcp open domain
- 80/tcp open http
- 631/tcp open ipp
- 1023/tcp open netvenuechat
- 3306/tcp open mysql
- 5001/tcp open commplex-link
- 5222/tcp open xmpp-client
- 5269/tcp open xmpp-server
- 8021/tcp open ftp-proxy
- Nmap done: 1 IP address (1 host up) scanned in 4.43 seconds
- Juanan-2:kontalk-server juanan$ docker ps
- CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
- 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
- d95a537845f5 kontalk/httpupload "/home/kontalk/entry…" 13 minutes ago Up 13 minutes 0.0.0.0:8828->8828/tcp prime_httpupload
- 9f15b5913755 mysql:5.6 "docker-entrypoint.s…" 13 minutes ago Up 13 minutes 3306/tcp prime_db
- Juanan-2:kontalk-server juanan$
Add Comment
Please, Sign In to add comment