Developing software used to boot when necessary, to maintain performance.
Server software installation
- 1, the installation and configuration mirroring acceleration docker
- 1.1, install docker
- 1.2, to accelerate the mirror configuration
- 1.3, start docker and set at startup
- 2, redis installation
- 3, mysql installation
- 4, zookeeper installation
- 5, dubbo-admin installation
- 6, solr installation
- 7, activemq installation
- 8, fastdfs installation (not temporary installation, in particular a waste of resources)
- 9, Ali cloud in preventing mining
1, the installation and configuration mirroring acceleration docker
Reference: http: //get.daocloud.io/
1.1, install docker
curl -sSL https://get.daocloud.io/docker | sh
1.2, to accelerate the mirror configuration
Ali cloud URL: https: //cr.console.aliyun.com/cn-beijing/instances/mirrors
curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s 阿里云提供的
After the configuration, as shown:
1.3, start docker and set at startup
systemctl start docker
systemctl enable docker
2, redis installation
docker run --name redis -p 6379:6379 -d redis
3, mysql installation
And use the coded character set. Prevent garbled
docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
4, zookeeper installation
docker run --name zk -p 2181:2181 -d zookeeper
5, dubbo-admin installation
(See providers and consumers of services)
docker run --name dubbo-admin -p 8080:8080 -e dubbo.registry.address=zookeeper://localhost:2181 -e dubbo.admin.root.password=root -e dubbo.admin.guest.password=guest -d chenchuxin/dubbo-admin
6, solr installation
docker run --name solr -p 8983:8983 -d solr:7.7.2
7, activemq installation
docker run --name mq -p 8161:8161 -p 61616:61616 -d rmohr/activemq
8, fastdfs installation (not temporary installation, in particular a waste of resources)
Installation tracker (tracker)
docker run -d --name tracker --net=host morunchang/fastdfs sh tracker.sh
Installation storage (memory)
(Prior to installation, close dubbo-admin), because the required storage port 8080.
TRACKER_IP use public addresses in development, it can be accessed.
docker run -d --name storage --net=host -e TRACKER_IP=47.94.225.69:22122 -e GROUP_NAME=g1 morunchang/fastdfs sh storage.sh
9, Ali cloud in preventing mining
Set in the following manner wave, you can prevent mining, but others can not visit. Development can be used.