Today I do not know what the problem of CentOS installed, has been stuck in the start interface, looking for a long time did not find the reason (the last moment or find the reason, only because their hands owe rage will be CentOS deleted, and the choice is the local disk also deleted ...) Let me cry for a while ...
So then reinstall, but the problem came, before the installation and configuration of the Zookeeper/redis/solr/tomcat/ik and so on need to reinstall, so they find a lot of documentation video data re-installation and configuration. Ah, it's really troublesome, so I want to record in this blog post for easy access later ....
Note : This article belongs to the original, if reproduced please indicate the source, thank you.
Because it is very detailed graphics and text tutorials, so long, this is intended to a post, but it is not convenient to read, so a few to write, this article first said zookeeper installation and configuration. In addition, here are a few other links:
Redis Link: http://www.cnblogs.com/wang-meng/p/5814382.html
SOLR links (Tomcat/ik are in this link): http://www.cnblogs.com/wang-meng/p/5814459.html
1. Copy all the tar packages to the Linux root directory:
You can use the RZ command directly, but you need to install Lrzsz in advance.
Install command: Yum install Lrzsz
Then use the RZ command to import all the tar packages:
Of course there are a lot of third-party upload files tool, here does not outline, I still quite like this RZ command.
2. Start extracting Zookeeper files
3, after the successful decompression start configuration zookeeper
First we go into the Zookeeper Conf folder to see there is a zoo_sample.cfg template file, then we copy this and renamed to zoo.conf configuration (the default is to read the zookeeper file configuration when starting zoo.conf):
Note (update): Here is a mistake, a momentary negligence here should be zoo.cfg, the name has become zoo.conf. So the change CP command is: CP zoo_sample.cfg zoo.cfg
If you have not seen this line has become a zoo.conf, then delete this re-use CP command, delete command is:rm-f zoo.conf
4, after generating the zoo.conf, use the vim command to edit the Zoo.cfg
Here we have not modified what, here can see some basic information zookeeper, such as the port number: 2181.
5, Start zookeeper
Since we need to start the boot entry in the bin directory, let's take a look at which is the boot entry in the bin directory:
The rest is the direct start: zkserver.sh.
So how do we make sure that it's started successfully? Let's take a look at its status:
Here standalone, a good lonely person is not? Haha, because here is the configuration of the stand-alone version, and is not configured to cluster mode, so is a lonely person, which means that the start of success.
Okay, here it is, zookeeper is ready to be configured.
[Linux] Linux installation configuration Zookeeper/redis/solr/tomcat/ik A detailed example of a word breaker.