Although the installation on a linux dual system, but start shutdown problems dual system has not been resolved, I think it might be because the computer configuration is not enough of a problem, so I gave up linux dual system, we chose to use Ubuntu virtual machine discovery or virtual machine more convenient,
The first is to install the Ubuntu linux virtual machine, then that is a variety of configurations, based on a step by step tutorial like.
Wherein the display if you use the hadoop command:
hadoop: command not found
You can enter linux command:
export PATH=$PATH:/usr/local/hadoop/bin
hadoop version #测试
But may still be prompted the next boot: Hadoop: command not found, it is your environment variable is not saved, you can lose it again on top of the content, method, or below can be selected once and for all:
Your path will be put in the path of the file .bashrc
vim ~ / .bashrc # Add "Export the PATH = $ the PATH: / usr / local / hadoop / sbin: / usr / local / hadoop / bin " , the contents of quotation marks, save and exit Source ~ / .bashrc # after the modification .bashrc file to take effect modification hadoop version # test was successful
Reference link: https: //www.cnblogs.com/somedayLi/p/9750373.html