PythonStock (18): Use docker to install the quantlib source code lib library, and pythonstockdockerPreface
Develop a stock project using Python.Project address:Https://github.com/pythonstock/stockRelated information:Http://blog.csdn.net/freewebsys/article/details/78294566The main development language is python.The lib library used is pandas, tushare, TensorFlow, tornado, etc.
The connection of the original
1. Docker search and download MySQL imageDocker search MySQL;Docker Pull mysql:5.7 (5.7: Version number);2. Create a MySQL image and runDocker run --name you-mysql-p 3308:3306-e mysql_root_password=123456-d MySQLTerminal authorization to enter MySQL (otherwise remote access is not possible)[email protected] ~]# Docker exec-it you-mysql mysql-uroot-p123456 grant
This is a creation in
Article, where the information may have evolved or changed.
The text of this text connection is: http://blog.csdn.net/freewebsys/article/details/53816615 not allowed to reprint without the Bo master.Bo main address is: Http://blog.csdn.net/freewebsys
1, installing Jenkins
Jenkins is a powerful tool for continuous construction. It's a very handy tool.The simplest way to install it is to use the
Tags: mysql configuration pass COM command parsing run pre etc Docker installation configurationInstall the MySQL service using the official Docker image1 Pull MySQL image, use netease acceleration addressDocker pull HUB.C. 163. Com/library/mysql:5.72 Renaming a mirror nameDocker tag HUB.C. 163. Com/library/mysql:5.7 mysql:5.73 Creating a directory for mountingsudo mkdir /my/mysql/datadir #用于挂载mysql数据文件 sud
The previous talk of using wget to download JDK installation files from Oracle uses cookie spoofing to bypass authentication to use Dockerfile to install Oracle versions of the JDK in Ubuntu.However, the path is to use Apt-get to install the Oracle JDK, and now update a dockerfile configuration that uses Apt-get to install the Oracle JDK:1#VERSION 0.0.12 #默认ubunt
) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/0F/wKiom1dJZISjP2dDAACuPXCGodk256.jpg-wh_500x0-wm_3 -wmp_4-s_3747632387.jpg "title=" qq20160528172712.jpg "alt=" Wkiom1djzisjp2ddaacupxcgodk256.jpg-wh_50 "/>Note that the container name here is: Dbtest,mysql root user password is: root1234,Port 3306 of the host child is mapped to port 3306 of the container, The warehouse name MySQL and tag (tag) only determine the image to be specified, in fact, if there is only one MySQL it is necessar
Install docker on Ubuntu.
Solution: run the uname -- m command to install Ubuntu 14.04 or later on the x86 architecture.
2. putty cannot connect to the VM...
Solution: 1. Make sure that you can ping a remote Ubuntu or virtual machine. 2. If you still cannot log on, most of the reasons are that you have not enabled the ssh-server service. The final success meth
Today, in the use of dockerfile to make Docker mirror, suddenly found that can run "run yum install-y sudo" Suddenly ran an error, the following errors:
Rpmdb Checksum is INVALID:DCDPT (pkg checksums): sudo.x86_64 0:1.8.6p3-29.el6_9-u the
command '/bin/sh-c yum L-y sudo ' returned a non-zero code:1
The underlying mirror used in my dockerfile is "gpmidi/centos-6.5". Research on a circle to find someone sa
Installation environment, CentOS Linux version 3.10.0-514.el7.x86_641. Find the latest MySQL imageDocker search MySQL2, download the latest mysql-server imageDocker pull Mysql/mysql-server:latest 3, after the download is complete, you can view the downloaded image Docker images 4, build container, the-e command to set the default password,--name can customize the name of the image Docker run-- Name Mysql-p
sudo yum update updates the system environmentCurl-ssl https://get.docker.com/| SH Installing the latest Docker versionSystemctl Start Docker.service Launch DockerSystemctl enable Docker.service boot from DockerDocker version View Docker versionsDocker Info View docker informationsudo service Docker status View
First, Docker pulls the Tomcat image, as shown in figure:
Second, install the Tomcat container, as shown:
Note:--link Connect to MySQL (otherwise the DB cannot be accessed.) Each container is independent)
Tomcat_mysql is an alias. DB configured as: tomcat_mysql:3306
Third, if the 80 port is occupied, then stop Tomcat and remove the Tomcat container, as shown in figure:
Four, replace the port of
Get MirrorDocker pull MySQLTo start the container:Docker run-p 3306:3306--name pf-mysql-v/usr/pf/docker/volumn/mysql_conf/my.cnf:/etc/mysql/my.cnf-v/USR/PF /docker/volumn/logs/mysql:/logs-v/usr/pf/docker/volumn/db/mysql:/mysql_data-e mysql_root_password=123456-d 0D16D0A97DD1
-P 3,306:3,306: Map the container's 3306 port to the host's 3306 port
-V $PWD/conf
When using a Docker container, there are times when Vim is not installed, and when you tap the VIM command, you are prompted to say: Vim:command not found, this time you need to install VIM, but when you knock Apt-get install Vim command, prompt:Reading Package Lists ... DoneBuilding Dependency TreeReading state information ... DoneE:unable to locate package vimT
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.