Skip to content

Tag: ubuntu

Setting up Hadoop in Pseudo-distributed mode in ubuntu

I’m trying to teach myself Hadoop on my laptop. My objective is to get the pseudo distributed mode running. I’m following the guide from the Apache website to set up Hadoop and HDFS in Ubuntu, but I can’t get it to work. Here are the steps I have followed so far: 1) check Java version: retur…

Ubuntu dockerfile – mailutils install

I am installing mailutils via a dockerfile on an ubuntu image. I do this via: RUN apt-get install -y mailutils However, on this line I get the following: When I do exactly the same thing with a Debian image I do not get this option. I use the -y prefix to handle all the yes/no installation questions when usin…

How can I install python-gasp on Ubuntu 16.04?

I use a Ubuntu 16.04 system, and I want to install the gasp for python. I was told that the following commands can help me to install the python-gasp: I tried the commands, but it seems not to work, because when I run it returned as Then I use $ whereis python-gasp to check the location of the python-gasp I

Explanation of this docker file?

I am trying to understand this docker file I understood most of the lines but I don’t understand what these below lines means? Can anyone help me understand? I am not sure what is the purpose of wget supervisor docker.io openssh-server in that line. Also what does echo mean there? And then also last sed…

read -a not working as expected in Bash

For some reason when using “read -a” my script is only taking the first element of the line into the array. For example, when inputting a string such as “canada China”, the output of the program simply reads: Instead of: The instructions for my assignment are as follows: Create a scrip…