--Start
Speaking of Oracle analysis functions, it can be described in a very good and powerful sense. This feature is especially useful for a variety of statistical queries that are difficult to implement in normal SQL or are not implemented at all. First, let's start with a simple example, step by step to uncover its mystery, look at the following sql:
CREATE TABLE employ
(
name VARCHAR2)-- name
DEPT VARCHAR2 (a)-- Department
SALARY number -wages
);
INSERT into em
Build a Docker registry private image to resolve the Docker private warehouse push error
applies To: Docker 1.8 Environment: Centos7
Each version of the Docker modification configuration content is different, please be optimistic about the installation of the Docker version.
1) Download Docker Registry private image
# Docker Pull Docker.io/registry
2) Modify the configuration file
# Gedit/etc/sysconfig/docker
Options= '--selinux-enabled--insecure-registry 192.168.137.17:
docker installed:Server machine (with the registry host name): A private docker repository server that runs the registry container;Test-side machine (host name: node): A common docker server. Download a test image busybox from this server and upload it to the registry server for testing;3. Deployment (server operations)
3.1 download the image registry
[Root @ registry ~] # Docker pull registryUsing default tag: latestLatest: Pulling from library/registry81033e7c1d6a: Pull completeB235084c2315:
-test/centos:7
To create and use a local private warehouse:
1, download and install registry
We simply build a local private warehouse environment through an official registry image Docker run-d-P 5000:5000 Registry This will automatically download and start a registry container, creating a local private warehouse service By default, the next time you create a/tmp/registry directory in the container,
of ctx is called, and submitChanges is executed immediately. The message is reported every 5000 times.19:41:2819:41:29 019:42:08 5000 this 5000 entries took 39 seconds19:43:39 10000 this 5000 entries took 91 seconds and 52 more19:46:02 15000 this 5000 entries took 143 secon
In the network programming, especially in the short time new network connection too many, often appears java.net.BindException:Address already in Use:jvm_bind's exception, the network has many introduced this anomaly, It is usually said that the port to be used is already used by another program, but sometimes it is not the reason, by looking carefully, to find some good information, here to record it. **********************************************************************************Article On
Docker's private warehouse, like Maven's, is typically used to build a docker hub-like environment within the company, so uploading and downloading mirrors are faster, and this article demonstrates how to use Docker-machine on a Mac to build a private warehouse without SSL certificates.One, view docker-machine virtual machine IPDocker-machine IP DefaultBy default, the virtual machine name created by Docker-toolbox is default, and if your virtual machine name is not this, the last default of the
following practices to reduce security settings:
12
docker-machinesshdefaultsudovi/var/lib/boot2docker/profile
At the end of the profile, add:
1
EXTRA_ARGS="--insecure-registry 192.168.99.100:5000"
Then exit the default, and enter the following command to restart the virtual machine
1
docker-machine restart default
Third, create a container
at run time. The expose instruction does not allow the port of the container to be accessed by the host. To make accessible, you must publish a port range via the-p flag or use the-P flag to publish all exposed portsThe EXPOSE directive simply adds metadata to the mirror, so you can say in the document that it is a mirrored consumer. Technically, I should have ignored EXPOSE 5000 because I knew the ports the API was listening to, but left them very u
Sometimes it is inconvenient to use a public repository such as Docker Hub, and the company's private images are not pushed to the docker hub for business security. You can create a local repository for private use. Similar to git and maven, it saves the server bandwidth for downloading and uploading images.What is docker registry?Docker Registry consists of three parts: index, registry, and registry client.You can regard Index as an external implementation for login, authentication, storage
unordered order, only 1-M is returned and sorted by month, for example, if JAN is smaller than FEB and so on,-B will ignore all the blank parts in front of each line. from the first visible character, compare 7. the k option in sort will discuss the preparation materials: the first domain is the company name, the second domain is the number of people in the company, and the third domain is the average salary of employees. (Except for the company name, others are all written into the comment _ ^
dbdata, DB1, and DB2), the data volume is not automatically deleted. If you want to delete a data volume, you must use the Docker rm-v command to specify that the associated container is deleted at the same time when you delete the last container that also mounts it. This allows users to upgrade and move data volumes between containers.3. External Access ContainerSome network applications can be run in a container, and to allow external access to these applications, you can specify port mapping
; evaperf fnh xx. yy. ZZ. dd administratorVerifying access...Host username accessible----------------------------------XX. yy. ZZ. dd administrator YesThe purpose of this command is to connect to SMA and prepare to generate friendly name, because when there is no friendly name, what you see on the generated report is not vdisk01, vdisk02, but a lengthy wwid, which seems to be exhausted.Where:FNH is the parameter for evaperf to generate friendly name.XX. yy. ZZ. DD is the IP address of your SMA s
is the number of people in the company, and the third domain is the average salary of employees. (Except for the company name, others are all written into the comment _ ^) # cat netcompany.txt google 110 5000 baidu 100 5000 3000 guge 50 100 sohu 4500 I want this file to be sorted alphabetically by the company, that is, sort by the first domain # sort-t''-k1 netcompany.txt baidu 100
Sony (Japan) 10 thousand/month, only for graduate students China headquarters of South Korea's Samsung Electronics 0.25 million/year French Somm software, with an annual salary of 0.2 million RMB/year, working in Europe Cisco (Cisco) 15000/month, only for graduate students Intel 13000/month IBM 5000/month Siemens Germany 8000/month Tibet Unicom's 1 million year (must be 8 years old), but the altitude sickness is too hard. The monthly salary o
performance of MySQL, Redis and other I/O operations); BMW 330i (PHP): The following abbreviation (PHP) Version:5.2.17; Official performance: 8220 Req/sec (HTTP request); Modification situation: BMW Modified Acschnitzer provides: nginx+fastcgi; Note: Perhaps my PHP configuration is not the optimization, should also be faster, some of the following test configuration is based on the article on the Internet configuration, if the master to match, the estimated PHP performance can also improve ab
I. Docker use of the network
1. External access to the Docker container, you can specify port mappings by-p or-p
When the-p tag is used, Docker maps a 49000~49900 port randomly to an open network port on the internal container
--->docker run-d-p training/webapp python app.py
--->docker ps-l view port mappings
root@izrj92o440hd7iwmo9iwfgz:~# Docker run-d-p Training/webapp python app.py8a65b840a7882d76746baba48c98227b03be2218aa0af262f8180d0dee83c361root@izrj92o440hd7iwmo9iwfgz:~#CONTAINER ID IMAGE
The absolute inside. Pre-sales salaries for major IT companies in recent years
2004, the days of the letter Beijing salary list: Top 4000-8000, technology over the take can be more than 5000, there are bonuses, sales are not detailed, research and development pay a higher 5000-9000, the implementation of the General Staff. 05, more than 4500 before the sale
2005 CISCO, pre-sale 6000-18000, requirements ccie
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.