-CONNECTSTRING=192.168.1.120 # IP address for Server Management nodeDefault_storage_engine=ndbcluster # Define default storage engine used by MySQL[Mysql_cluster]NDB-CONNECTSTRING=192.168.1.120 # IP address for Server Management node Service MySQL Start Cluster monitoring: Ndb_mgmNdb_mgm> Show Ndb_mgm-e "All Status"NDB_MGM-E "All report Memory" In DB4 or in the DB5 test cluster: Mysql-u root-p CREATE USER ' root ' @ '% ' identified by ' aqwe123 '; Select User, host, password from Mysql.user; GR
specially finishing a tutorial, the benefit of the vast number of mcers.
2 How to Build
As we all know, MC is written in Java, both client and server are directly a jar package, so the prerequisite is to have a JRE. My MC suit is completely manually set up, first with you simple to talk about the steps of manual construction.
1, create a Linux container, Ubuntu, Debian, CentOS see what you like, I use Debian
2. Install JRE or JDK
3, the installa
ago258.6Mbmysql5.7E95cbb9f48ea5Days ago258.6MBStart the MySQL container[Email protected] ~/base $ docker run--name db001-p3306:3306 - eMysql_root_password=admin- DMysql:5.7#上面这条语句启动了一个名字叫 db001 container, his root password is admin, mapping the host host port 3306 to the container port 3306, these are manually specified. [Email protected] ~/base $ docker pscontainer ID IMAGE COMMAND CREATED STATUS PORTS n
# sudoinstall Jenkins 2. Login to http://IP:8080, enter Jenkins, in Http://IP: 8080/pluginmanager/available Install some necessary plugins for SCM Sync Configuration Plugin, GitHub Plugin, git Plugin, git client Plugin, restart Jenkins at the end of installation.3. Re-login to http://IP:8080, enter Jenkins and create a new item named Apache.
Configure as below
The shell script is as follows, and the script will be from GitHub (if there is a local gitlab operation in the same v
reprinted from: https://blog.csdn.net/bxzhu/article/details/73253032
1. Environmental Preparedness
Linux version: Centos7
Docker version: 17.05.0-ce
2. Deploying registry
Get the image of registry using the Docker pull command
[Plain] View plain copy # sudo docker pull registry:2.1.1
Use Docker run to launch a conta
For information on how to enter the container operation Ping, see my other blog post: http://my.oschina.net/hochikong/blog/369036 Summary: Such a scheme allows the container of the same network segment to communicate across machines, enabling flexible deployment of applications. In addition, my topology and this architecture (http://www.sdnlab.com/8236.html) Implementation of the function is the same, you can refer to, but I am bridge and OvS mixed, but also can implement VLAN on the OVS0, the
Weekly Technology first-glance, always have what you want! Mobile Development
"Software" Mobile-side web framework Frozen UI
"Blog" the usage of various adapter of Android
server-side development/management
"Translation" the competition for Docker comes immediately
"Translation" Docker and PID 1 zombie process issues
"Software" node. JS Serial read/write package Node-serialport
"
Docker provides a method for direct access to multiple containers, the simplest way is to specify the mapped port directly using the port mapping -p parameter or -P to map all the ports, and multiple containers are accessed directly over the network port. However, network port mapping is not the only way to connect multiple containers in Docker, and you can use Docker's connection system ( --link ) to conne
Docker Volume use
A data volume is a specially specified directory that leverages the container's UFS file system to provide some stable features or data sharing for the container. A data volume can be shared among multiple containers.
To create a data volume, you can create a data volume with the-v argument just after the Docker Run command, and of course you could create multiple data volumes with multi
Run command has an external dependency: Once the Run command has an external dependency, such asRUN apt-get update, then over time, based on the same underlying image, one year of Apt-get update and one year after the Apt-get update, the resulting mirror should theoretically be different due to the update of the software source software. If you continue to use the cache mechanism, there will be situations that do not meet the user's needs. The first design of
enter the previous 5-7 bits enough to distinguish the other ID is possible. This command can also see container name, which is generally more readable, and can be replaced with container name instead of the container ID above You can then import the schema with a SQL file, similar to the command Mysql-hhost-u User-p Database Host is the IP of MySQL container, or it can be container name,ip can be used Docker container Inspect Containerid View, here
Tags: dockerScenario One: Use wget to download the latest version of Tomcat build when Docker is created#centos7+oraclejdk7+tomcat7 from centos:centos7 maintaineryuj Scenario Two: Build with the Tomcat compression package downloaded on the Docker server (apache-tomcat-7.0.63.tar.gz is used here) #centos7+oraclejdk7+to
;padding-right:0px;float:none; Border-top-width:0px;border-bottom-width:0px;margin-left:auto;border-left-width:0px;margin-right:auto; padding-top:0px; "title=" wps121e.tmp "border=" 0 "alt=" wps121e.tmp "src=" http://s3.51cto.com/wyfs02/M01/85/2B/ Wkiol1ebxtzc22fqaaesnysupmc669.jpg "width=" 327 "height=" 484 "/>6. We use this image to build a container:650) this.width=650; "Style=" background-image:none;padding-left:0px;padding-right:0px;float:none; B
responsible for monitoring 8080 ports, Nginx received dynamic Web pages need to be handled by Tomcat, to be forwarded to 8080 ports. In the Docker environment, the Nginx directly forwards the request to 8080,tomcat is not forwarded. So with Llinks, the value here is T1, which is the name.In the nginx.conf file, add the following configuration:On the HTTP side, addUpstream Backend {#后台负载均衡容器及端口, this example
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.