Compare and find the corresponding file when configuring. The files in the hadoop root directory may be different from those installed by brew. The downloaded file here is hadoop-3.2.1. #Spark for mac keeps asking for password installThe secondMethod, open settings, click share, and tick Remote login。Ī) Use the following command to install hadoop:Īfter downloading and decompressing, put it in the /usr/local folder. The firstMethod terminal execution: sudo systemsetup -f -setremotelogin on If it fails and the content is as follows: ssh: connect to host localhost port 22: Connection refused Generate authorized_keys file: cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keysĪuthorize the public key to the local, avoid asking for the password every time you log in. If it returns Last login: Mon Nov 11 14:46:03 2019, Indicating that the configuration has been successful before.Ĭonfigure exemption (if exemption has been configured, ignore this step):įirst generate the rsa file: ssh-keygen -t rsa Modify the host name (if the host name is already localhost, ignore this step): sudo scutil -set HostName localhostī) Configure exemption (if exemption has been configured, ignore this step) If localhost is returned, it means that the previous modification has been successful. If it is already configured, proceed to the next step if not, please check:Mac configuration Java development environment
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |