redaax.blogg.se

Install java 8 mac brew
Install java 8 mac brew





install java 8 mac brew

Ssh-keygen -t rsa -P'' -f ~/.ssh/id_rsa cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keysĪfter this step open terminal and enter “ssh localhost”, you should log in without a password and that indicates your settings is successful Install hadoop brew install hadoop Homebrew is very commonly used on mac, not much to describe, installation method /usr/bin/ruby -e "$(curl -fsSL )" Install SSH

install java 8 mac brew

Note: In recent versions, the mac should have built-in java, but it is possible that the version will be lower, and the lower version will affect the installation of Hadoop. OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode) OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09) Then enter the java -version in the terminal, you can see the Java version.Then, execute source ~/.bash_profile in the terminal to make the configuration file effective.Place the following statement in the blank line export JAVA_HOME=”/Library/Java/JavaVirtualMachines/ jdk version.jdk/Contents/Home”.Enter vim ~/.bash_profile in the terminal to configure the Java path.JDK is installed in the directory /Library/Java/JavaVirtualMachines. After the installation is complete, Configure the environment variables of JAVA.If no version is returned then go for the official website to install it Open the terminal and enter java -version to check the current Java version.The installation of Hadoop is divided into these steps: In this article, I will take you through step by step on how to easily install Hadoop 3.3.0 on a mac OS – Big Sur (version 11.2.1) with HomeBrew for a single node cluster in pseudo-distributed mode.







Install java 8 mac brew