Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ RocketMQ Message Queuing simple deployment     - Linux User Rights Study Notes (Linux)

- Kafka + Log4j log implement centralized management (Server)

- Oracle 11g maintenance partitions (eight) - Renaming Partitions (Database)

- The several technical presentation Raid under Linux (Linux)

- Use MD5 transform algorithm to prevent exhaustive decipher passwords (Linux)

- Hazelcast integration with MongoDB (Database)

- Python programming style (Programming)

- Linux, Google Test (GTest) test environment to build step (Linux)

- Installation through the network Debian 7 (Wheezy) (Linux)

- 22 Port weak passwords and SSH connection program of the Linux server (Linux)

- Asynchronous JavaScript loading (Programming)

- Use the dd command to the hard disk I / O performance test (Linux)

- Mybatis + binding Struts2: achieving user to insert and find (Programming)

- Configuring a Linux operating system against syn attack (Linux)

- How to configure security services under Linux (Linux)

- CentOS7 Kubernetes used on container management (Server)

- Storm how to ensure that at least once semantics (Programming)

- Orabbix binding Python send graphical reports (Linux)

- After VMware CentOS full VM clone the network card is unavailable Solutions (Linux)

- Adjustment expand VMDK format VirtualBox disk space (Linux)

 
         
  RocketMQ Message Queuing simple deployment
     
  Add Date : 2018-11-21      
         
       
         
  RocketMQ alibaba is open source message queue. As used herein, the open source version v3.18

System: CentOS 6.x minimum installation

You need to use the package:

jdk-7u67-linux-x64.tar.gz

alibaba-rocketmq-3.1.8.tar.gz

start installation
#tar xvf jdk-7u67-linux-x64.tar.gz -C / opt /
#tar xvf alibaba-rocketmq-3.1.8.tar.gz -C / opt /
#ln -s /opt/jdk1.7.0_67 / opt / jdk

Configuration environment variable

In the / etc / profile last added
export JAVA_HOME = / opt / jdk
export PATH = $ JAVA_HOME / bin: $ PATH

The variable to take effect
source / etc / profile

Verify java
# Java -version
java version "1.7.0_67"
Java (TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot (TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

Start nameserver
#cd / opt / alibaba-rocketmq / bin /
#nohup sh mqnamesrv &

Verify nameserver is started
# Tail -f nohup.out
The Name Server boot success.

Start broker

Before starting borker need guidance nameserver
#export NAMESRV_ADDR = Your_IP: 9876
#cd / opt / alibaba-rocketmq / bin /
#nohup sh mqbroker &

Verify mqbroker whether to start
# Tail -f nohup.out
The broker [Your_hostname, Your_IP: 10911]. Boot success and name server is Your_IP: 9876

Finally, configure the firewall

nameserver port 9876

broker port 10911
lokkit -p 9876: tcp -p 10911: tcp

Close nameserver broker
# / Opt / alibaba-rocketmq / bin /
#sh mqshutdown namesrv
#sh mqshutdown broker

Thus RockerMQ installed.
     
         
       
         
  More:      
 
- How to add a new hard disk without restarting the CentOS 7 / RHEL 7 virtual machine (Linux)
- httpd-2.4 feature (Server)
- 5 steps to help you become a good Docker contributors (Linux)
- Linux modify the network interface name (Linux)
- Implement firewall function on a closed Linux machine (Linux)
- Linux system started to learn: how to view the Linux thread of a process (Linux)
- Installation of Python2.7.8 and iPython under CentOS6.5 (Linux)
- Oracle data row split multiple lines (Database)
- Three minutes to teach you to easily grasp the grep command regular expression (Linux)
- Mount NFS network file system (Linux)
- Linux MultiPath software implementation instructions (Linux)
- DRBD-based installation and configuration of CentOS 6.5 (Server)
- Red Hat Enterprise Linux Server 6.5 installation GCC 4.9.2 (Linux)
- Dual system Linux (Ubuntu) into the Windows NTFS partition's mount error (Linux)
- VMware virtual machine operating system log Error in the RPC receive loop resolve (Linux)
- Linux run queue process scheduling (Programming)
- Linux / Unix: chroot command examples to explain (Linux)
- RHEL 7.1 compile and install Ganglia 3.7.1 (Server)
- findmnt- Looking mounted file system (Linux)
- Ubuntu configuration SVN and http mode access (Server)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.