The root password is: hadoop2023 on Apple-M1 based systems The root password is: hadoop on Intel-x86_64 based systems Macintosh and Linux machines have ssh and Terminal application installed by default, On Mac and Linux systems, open a text terminal (under Aplications\Utilities\Terminal) and connect to the LHM as the root user using the ssh command below. See the videos above for a full explanation of this process. Follow the instructions below for local terminal access.Īs described above, on Windows systems use Putty or MobaXterm to start a terminal connection. It is possible to login and use the sandbox from the VirtualBox or UTM terminal, however, you will have much more flexibility with local terminals. This procedure is the same for both Intel-x86_64 and Apple-M1 based systems. Once the LHM is up and running, use an ssh client to connect and verify all the services are running. If you are having difficult with running applications while the LHM is running, you can stop the LHM and the 6G of memory and 4 cores it was using will be released. This should leave enough resources to run other application on the host. Note: The LHM is configured to use 4-cores and 6G of memory. We will log into the LHM using the Mac terminal program. When finished, a prompt will be displayed in this window ( localhost login:) Minimize this terminal window. A new “terminal” window will open and show the VM boot-up sequence. (If it is not highlighted, click on the Linux-Hadoop-Minimal-V2.0-beta8-M1-R2 on the left) The LHM should start. Step 5: Start the LHM by clicking on the big arrow in the middle of the window. Next, navigate to the Downloads folder and click on The LHM should now be listed in the left hand column in the UTM window. Toward the bottom click Open under Existing. Step 4: Start UTM (it will be in the applications folder, suggest keeping it in your dock) Click the to the left of the UTM at the top. Step 3: The downloaded LHM is a zip file. NOTE: Google Chrome may prevent http downloads, right click the link, choose “Save Link As” then click “Keep” next to the blue discard box at the bottom of the browser. The current version is beta8-M1-R2 (11G) The MD5 file can be used to verify the integrity of the download. Step 2: Download the LHM for Apple-M1 into your Downloads folder. Step 1: Download and install UTM (use the free direct download, the Mac Store version is $10, helps pay for development)) UTM is similar to VirtualBox – it runs and manages the virtual machines. To run the VM on an Apple-M1 based machine, Perform the following steps: There is a partial LHM for the Apple M1 based machines. Installation Steps for Apple-M1 Based Hosts This will ensure a safe and orderly shutdown of the machine. To stop the LHM, it is suggested the you login as the root user (see Stopping the VM ) and issue the poweroff command. The running services should be stopped in a graceful manner (powered down) as frequent standby or a sudden power interruption can leave some services in a broken state. IMPORTANT The LHM should be stopped when not in use. Make sure you leave enough for the base operating system (Windows, MacOS, Linux) to run. Use the Base Memory slider to add more memory to the LHM. Before the LHM is started, go to the VirtualBox GUI, select the LHM, then select Settings/System. HINT: If your laptop (desktop) has more than 4GB or memory, you can increase the amount of memory for the LHM virtual machine. All the essential Hadoop service should be started automatically. Step 4: Download the image and load it into VirtualBox. The error is do to new security levels in MacOS. Step 3a: On MacIntosh Systems with Big Sur, you may get the Kernel driver not installed (rc=-1908) error. Step 3: Make sure hardware virtualization is enabled in your BIOS. If you are using Mac OS system and want to run X-Windows applications you will need to install the XQuartz X-Windows library package. MobaXterm (provides terminal for ssh sessions and allows remote X Windows session)
0 Comments
Leave a Reply. |