storm installation process

Storm installation process:

1. Download Storm

Visit Storm's official website and select the version suitable for your operating system to download. On the download page, you can choose a compiled binary version or a source code version.

2. Unzip Storm

After the download is complete, unzip the Storm file into a directory. You can extract it to any location you want, just make sure you have sufficient permissions to read and write files in that directory.

Unzip using the following command:

```

tar -xvf apache-storm-x.x.x.tar.gz

```

Among them, `xxx` is the Storm version number.

After decompression is complete, enter the Storm directory:

```

cd apache-storm-x.x.x

```

3. Configure Storm

Before you install Storm, you need to configure it a bit. Open Storm's conf directory and edit the storm.yaml file to specify your Storm cluster configuration. This file contains comments and default values ​​for various Storm configuration options. You can modify these options as needed.

First, set the `storm.zookeeper.servers` option to a list of ZooKeeper servers. Then, set the IP address or hostname of the Nimbus server in the `nimbus.host` option,

4. Start Storm

After installing and configuring Storm, start the Storm service.

Then in another console window, run the following command to start the Supervisor server:

./storm supervisor

Finally, in the third console window, run the following command to start the UI server:

5. Verify Storm installation

After launching Storm, you can verify that Storm has been successfully installed by accessing the Web UI. Enter the following address into your web browser:

```

http://localhost:8080

```

If all goes well, you will see Storm's web UI interface. Now you are ready to use Storm to perform distributed computing tasks.

Guess you like

Origin blog.csdn.net/m0_72935705/article/details/134780027
Recommended