- #How to set up hotkeys to open programs in linuz install#
- #How to set up hotkeys to open programs in linuz full#
- #How to set up hotkeys to open programs in linuz password#
- #How to set up hotkeys to open programs in linuz Pc#
Once the file opened, copy the below export command inside it and make sure to comment the already existing export command with JAVA_HOME: export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 sudo gedit /usr/local/hadoop/etc/hadoop/hadoop-env.sh For that open the file using below command. Step 19: Now we will configure hadoop-env.sh. Step 18: Before configuring more file first we ensure which version of java we have installed for that go to the location /usr/lib/jvm and after going to this location type ls command to list down the file inside it now see the java version, In my case it is java-11-openjdk-amd64. Then check whether you have configured it correctly or not.
#How to set up hotkeys to open programs in linuz Pc#
bashrc file is open then copy the below command inside this file (change java version according to your PC java version like it might be java-8-openjdk-amd64 ).Įxport JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64Įxport HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/nativeĮxport HADOOP_OPTS="=$HADOOP_HOME/lib" bashrc file so that to open that file type the below command: sudo gedit ~/.bashrc now we are going to configure some files this is really very important.įirst we configure our. Step 17: This is the most important Step i.e. Step 16: Now we need to change the ownership so for that command is: sudo chown -R hadoopusr /usr/local Step 15: Now we need to move this extracted folder to the hadoopusr user so for that type below command(make sure name of your extracted folder is hadoop): sudo mv hadoop /usr/local/hadoop command : sudo tar xvzf hadoop-2.9.0.tar.gz
#How to set up hotkeys to open programs in linuz password#
If you don’t know the password don’t worry you can simply switch your user and change password according to yourself. Now we extract this file with below command and enter your hadoopusr password. In my case I moved it to the /Documents folder. Step 14: Once you have download hadoop-2.9.0.tar.gz then place this tar file to your preferred location then extract it with below commands. download it from Hadoop-2.9.0 by clicking to the file shown in below image. Step 13: Now download the package that you will going to install. Now you have completed the basic requirement for Hadoop installation.
ssh localhost with below command and press yes to continue and enter your password if it ask then type exit. Step 12: Now check for the local host i.e. ssh/id_rsa.pub > $HOME/.ssh/authorized_keys
Step 11: Now we use the below command because we need to add the public key of the computer to the authorized key file of the compute that you want to access with ssh keys so we fired these command. Step 10: Now it’s time to generate ssh key because Hadoop requires ssh access to manage it’s node, remote or local machine so for our single node of the setup of Hadoop we configure such that we have access to the localhost. Step 9: Now it’s time for us to switch to new user that is hadoopusr and also enter the password you use above command for switching user: su - hadoopusr
#How to set up hotkeys to open programs in linuz install#
Step 8: Now we also need to install ssh key’s that is secured shell. With this command, you add your ‘hadoopusr’ to the ‘sudo’ group so that we can also make it a superuser. Step 7: Now use the following command: sudo adduser hadoopusr sudo Keep pressing enter for default then press Y for correct information.
#How to set up hotkeys to open programs in linuz full#
Then it will ask you for information like Full Name etc. Now it will ask for a new UNIX password so choose password according to your convenience(make sure sometimes it doesn’t show the character or number you type so please remember whatever you type).
Step 6: Now after running the above 2 commands, you have successfully created a dedicated user with name hadoopusr. You can use the following command: sudo addgroup hadoop It is not necessary but it is a good thing to make a dedicated user for the Hadoop installation. Step 5: Once it installs we require a dedicated user for the same. Step 4: Now check whether Java is installed or not using the command java -version