Development of common server software is installed

Developing software used to boot when necessary, to maintain performance.

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

[Image dump the chain fails, the source station may have security chain mechanism, it is recommended to save the picture down uploaded directly (img-4IMPxRKq-1585738256745) (assets / 1585370824247.png)]

curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s 阿里云提供的

After the configuration, as shown:

[Image dump the chain fails, the source station may have security chain mechanism, it is recommended to save the picture down uploaded directly (img-2bE26zU8-1585738256746) (assets / 1585370745843.png)]

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.

[Image dump the chain fails, the source station may have security chain mechanism, it is recommended to save the picture down uploaded directly (img-oxRAEznQ-1585738256748) (assets / 1585371663619.png)]


Published 29 original articles · won praise 0 · Views 2233

Guess you like

Origin blog.csdn.net/rootDream/article/details/105252877