ZooKeeper server is created in Java and it runs on JVM. Now, follow the steps given below to install ZooKeeper framework on your machine. We believe you already have a Java environment installed on your system. Just verify it using the following command. If you have Java installed on your machine, then you could see the version of installed Java. Otherwise, follow the simple steps given below to install the latest version of Java. Step 1.1: Download JDKĭownload the latest version of JDK by visiting the following link and download the latest version. The latest version (while writing this tutorial) is JDK 8u 60 and the file is “jdk-8u60-linux圆4.tar.gz”. Please download the file on your machine. Generally, files are downloaded to the downloads folder. Verify it and extract the tar setup using the following commands. To make Java available to all users, move the extracted java content to “/usr/local/java” folder. To set path and JAVA_HOME variables, add the following commands to ~/.bashrc file. Now, apply all the changes into the current running system. Use the following command to change Java alternatives.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |