Simple FTP based backup of a zip file
This script creates a zipfile and uploads it to an FTP server. You can define how many backups should be stored on the server. Older files will be deleted.
/etc/pki/ca-trust/source/anchorson your CentOS machine
unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: hosts: (from flag: [fd://], from file: [unix:///var/run/docker.sock tcp://184.108.40.206:2375])
we'll find "docker.service"
|# LICENSE CDDL 1.0 + GPL 2.0|
|# Copyright (c) 1982-2016 Oracle and/or its affiliates. All rights reserved.|
|# ORACLE DOCKERFILES PROJECT|
|# This is the Dockerfile for Oracle Database 11g Release 2 Express Edition|
|# REQUIRED FILES TO BUILD THIS IMAGE|
This is how to install something in a VM and export it as a Vagrant box and use it locally.
First copy the Vagrantfile from below and change the box to the box you want as a base.
vagrant up to create the Virtual Machine and
vagrant ssh to login.
On Windows you might have to put ssh.exe to your %PATH%. If you have installed git, you can use C:\Program Files\Git\usr\bin You can also login via Putty on host: "localhost", Port "2222", login: "vagrant", password: "vagrant".
This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.
First be sure to enable the Docker Remote API on the remote host. This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.
For HTTPS connection use whiledo/docker-remote-api-tls.
If you don't have a local Docker installation, you need to download the docker client, which is a simple executable.
This is how to easily setup a VM with Docker and Docker Remote API enabled.
We use VirtualBox, Vagrant and Docker for that.
vagrant version to check that vagrant is correctly installed.
Vagrantfile from this gist to a local directory.
##Create drop statements for all tables:
select 'drop table '||rtrim(tabschema)||'.'||rtrim(tabname)||';' from syscat.tables where tabschema = 'MYSCHEMA';
#Oracle ##Delete all sequences and tables http://stackoverflow.com/questions/2549718/dropping-all-user-tables-sequences-in-oracle