Predictive R-rstudio-Hadoop powered by Miri Infotech
Jun 28, 2024
> /etc/hosts
Then run the command vi /etc/hosts and exit the file by pressing the button Esc and then enter :wq then
press enter.
Step 3: Use following Linux command to start rstudio
Command- ssh-keygen -t rsa -P ""
This command is used to generate the ssh key. You just have to press Enter button where it asks you in
which file to save the key.
Command- cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
This command is used to move the generated ssh key to the desired location
Command- hdfs namenode –formatCommand- start-all.sh
You have to write “yes” when it prompts you – Are you sure you want to continue?
Step 4: After the above command executes successfully, you should check the below urls in the browser
-
http://:8088Step 5: Type the following commands to access rstudio:
Command- cd /home
Command- gdebi rstudio-server-1.1.463-amd64.deb
Step 6: Update user rstudio password
Command- passwd rstudioStep 7: Use the browser to access the application at http://:8787, replace
the with actual IP address of the running instance.
Note: You will get the instance IP address as shown in the screenshot below:
Step 8: Enter the username as: rstudio
Password as you have entered in step 6.
Step 9: r-studio is up and running.">