Skip to content

Instantly share code, notes, and snippets.

View codymoorhouse's full-sized avatar

Cody Moorhouse codymoorhouse

View GitHub Profile

How to install OCI8 on Ubuntu 17.10 and PHP 7.1

This guide refers to Instantclient Version 12.2.0.1.0

Install Oracle Instant Client and SDK

Step 1

Download the latest Oracle Instant Client and SDK from the Oracle website (Yeah, fuck you Oracle, you need to create an account to download the files).

http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html

@codymoorhouse
codymoorhouse / do-snapshot.py
Last active August 23, 2018 17:40
Creates a digital ocean snapshot
#!/usr/bin/python
#################################################################################
# Default Options #
#################################################################################
DEFAULT_NAME = "Snapshot - " + str(datetime.now().now())
DEFAULT_ALLOWED_SNAPSHOTS = 7
DEFAULT_DATA_CONSISTENCY_MODE = False
#################################################################################