This is work for ubuntu 16.04 and 18.04 LTS, if you didn't have ubuntu, try to get free account on G cloud and follow the 🌟Create instance on google cloud (Image Tuts)
-
run as sudo
sudo -i
-
if this is the first time run, we need an update apt package meta
apt update
-
install docker and docker-composer
apt-get install docker.io apt-get install docker-compose
-
buid and start docker
./start
-
now you can use browser to access http://"External Ip" depending on where your Ubuntu node hosted
- If you want to get use of Cloudera Manager, you must run /home/cloudera/cloudera-manager after the docker first started and do a instance down and start again.
- If you want to update spark2 java8 and kafka pls download and put /kafka /spark /jdk1.8.0_202 in /ext/lib (see volumes in docker-compose.yml) and you may need to change /cloudera/profile file to match these foldername
Tips: You can paste command. Now you can install docker and cloudera follow 🌟Install docker and cloudera on Ubuntu
When we stated up an instance it automatically allocate an dynamic IP, we can make it static
- Forget about security, just open all to get it simple at first!
- Or
Find the default rule for our created instance, do you remember "Allow HTTP trafic" of previous Tuts ?
Notes: to avoid datamining trojan aim to docker manager port you should open only needed ports, do not open 2375 and 2376