Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| —————— Install Java 8 ———————— | |
| 1. wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm" | |
| 2. sudo yum localinstall jdk-8u60-linux-x64.rpm | |
| —————— Install Erlang/OTP-17.5 ———————— | |
| Setup erlang 17.5: | |
| 1. wget http://erlang.org/download/otp_src_17.5.tar.gz & untar it. |
| Let's say we need to join two node nodeA & nodeB. Then makesure both the node has the same erlang-cookies & basics ports are open | |
| i.e needed to communicate nodes internally. | |
| Steps: | |
| 1. Ensure all the node has the same erlang-cookies. | |
| 2. Now go to any one of the node let's say we wish to add NodeB to NodeA cluster. Then go to the NodeB & run the following command in debug mode i.e by running ./bin/ejabberdctl debug | |
| Node = NodeAName. | |
| net_adm:ping(Node). #==> Check if node can connect with each other. If the response is Pang abort & fix the issue first & then comeback. |