/timezone yum-y install kde-l10n- Chinese localedef-c-F UTF-8-i zh_cn zh_cn.utf8 mkdir-p/usr/javacopy jre1.8.0_171/usr/j Ava/jre1.8.0_171env LANG ZH_CN. Utf-8env java_home/usr/java/jre1.8.0_171env PATH $JAVA _home/bin: $PATH * Create a mirrored springcloudenv and upload to registry to make sure Docker Registry has started Docker Build-t springcloudenv. $
Mdb1/bin/bashAfter entering the main database container,Vi/etc/mysql/my.cnfRemove the comments from the "Server-id = 1" line, save, exit the container, andDocker Restart MDB1Similarly, changing the MY.CNF from the database to "Server-id = 2" needs to be more than the main Server-idLarge numbers, MDB2 also need to be restarted.3.4Using a client connection on the primary database, here I am using MySQL Workbench, from the database becauseSecurity considerations do not expose the port to the host,
1, modify httpd.confNote characters before the following two lines are removed: #LoadModule proxy_module modules/mod_proxy.so#loadmodule proxy_http_module modules/mod_proxy_http.so2, adding proxy rulesAt the end of the httpd.conf file, add a forwarding rule for example: Proxypass/baidu Http://www.baidu.comProxyPassReverse/baidu http://www.baidu.com will/ Baidu start of the request forwarded to the homepage3, after the configuration file is changed, cr
-yarn.shThe results are as follows:At this point, the container can already be accessed from the host, but the host is not a desktop environment, only through the physical machine in the browser to access the Web UI provided by the cluster, but now the physical machine can not ping the container address, nor access the container, because the host is the subnet of the physical machine, the container is a host subnet, The physical machine does not know the existence of the subnet where the contain
Allow GitHub to bind to the Docker Hub Docker hub->create->create automated build for the first time this step requires GitHub authorization. will automatically jump to GitHub consent authorization.
Create a Docker build project on the GitHub to implement dockerfile inside.
7 commands to deploy Mesos clusters in DockerAll of the Docker container build files that are used are also available. You can build each container locally or use only the containers that are pre-built at the Docker hub. The following command will automatically download the required pre-built container for your service
/tcp yphpa9decc06558e php56-fpm-centos68-withext "/run.sh" 25 minutes ago Up 3 seconds 80/tcp, 0.0.0.0:9000->9000/tcp yphp56The description is normal.If your Mac or Linux is installed locally and you have Docker (not toolbox), 127.0.0.1 you can see that Nginx is already running. 127.0.0.1 hello.cc /etc/hosts After you add to (non-Windows) Access http://hello.cc/you can see the phpinfo information. T
Build a kafka cluster environment in a docker container
Kafka cluster management and status saving are implemented through zookeeper. Therefore, you must first set up a zookeeper cluster.
Zookeeper cluster Construction
I. software environment:
The zookeeper cluster requires more than half of the nodes to survive for external services. Therefore, the number of servers should be 2 * N + 1. Here, three nodes
/CA.CRT/ETC/DOCKER/CERTS.D/HARBOR.TEST.COM/CA.CRTUser Login [local need to do hosts harbor.test.com domain name redirect to Harbor server IP]Docker login-u admin-p Harbor12345 harbor.test.comTip "Login succeeded" is successfulDocker Download Redis Image:Docker Pull RedisRenaming a mirror using Docker tagUpload image to harbor WarehouseLog on to the web to see if
. Set the docker ServiceSet docker to start automatically
systemctl enable docker
4. Configure the image repositoryFirst, put the tar packages of the two images to be used./rootDirectory.
Then manually load the image and LoadregistryAnd then upload the image to the private image repository becauseregistryThe container must be used for registration of other conta
initial account details.The user name is admin, but the password is random. We need to check this password through Docker logs.650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://s3.51cto.com/wyfs02/M00/8D/B3/wKioL1imsHXS9NlRAAEez3S0f5c904.png" height= "273" />We use the Docker logs container ID number to vi
Let's start with today's two main characters: NFS and DockerWhat is NFS?The NFS (Network File system), which is one of the file systems supported by FreeBSD, allows computers in the network to share resources across TCP/IP networks. In an NFS application, a local NFS client application can transparently read and write to files located on the remote NFS server, just as you would access a local file. Excerpt from Baidu EncyclopediaWhat is Docker?This is
applications, the use of Logstash to collect logs, often face the problem of large costs, so in practice, often used filebeat as a log collector, and Logstash responsible for filtering and parsing. At this point, the schema diagram is as follows:
To implement the environmental requirements of the log system in this article: The system environment is Ubuntu 16.04 (or other), the following software needs to be installed (software required)
Docker Coc
Docker Build Gitlab-ce
No Internet environment, external Docker pull [image],docker save [Image] > [Image].tar, under LAN Docker load First, create an empty container volume to facilitate data backup migration:
sudo docker pull U
, in fact, Cadvisor also has a basic graphical display function, we mainly use it to do data collection.
3.4 Creating a Granafa container
To run the Granafa container:[[emailprotected] ~]# docker run -d --name grafana --net monitor -p 3000:3000 grafana/grafana
To view the results of a run:[[emailprotected] ~]# docker ps -l
CONTAINER ID IMAGE COMMAND CREATED
by Falcon of tinylab.org2015/05/02Brief introductionThe lab environment for Linux 0.11 in five minutes describes how to quickly build a Linux 0.11 lab environment.This article describes how to quickly build a host-independent Linux 0.11 lab environment that can be used on any operating system hosting development machine and will be very handy for all types of students to learn Linux 0.11, this article only
:
Docker build-t Zhangchao/mysql-master5.7:v1.
Be careful not to drop the last point at the end of the line.
Generate a new container based on a compiled mirror:
Docker run--name mysql-master \
p 3306:3306 \
-v/zc/mysql-master/datadir:/var/lib/mysql \
e mysql_root_ Password= ' 123456 '-D zhangchao/mysql-master5.7:v1
Using MySQL client t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.