Install the OpenSSL on Debian based systems
sudo apt-get install openssl
PS C:\Users\lgomes> $Env:Path | |
%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Fil | |
es (x86)\Common Files\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C | |
:\windows\System32\Wbem;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow6 | |
4;C:\Program Files (x86)\Plantronics\PlantronicsURE\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\W | |
iFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Prog | |
ram Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;D:\Tools\nodejs\;D:\Tools\Git\cmd;C:\Program Files (x86)\Sennheiser\Softpho | |
neSDK\;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Wi | |
Fi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\lgomes\AppData\Roaming\npm;D:\Tools\gradle-2.11\bin | |
;D:\Tools\packer_0.10.1;D: |
#Powershell script | |
#Set-ExecutionPolicy RemoteSigned | |
Set-ExecutionPolicy Unrestricted | |
#Set-ExecutionPolicy -executionpolicy remotesigned -force | |
New-Item C:\helloworld.txt -ItemType File -Value "Hello, world!" |
#OCI Environment variables | |
variable "tenancy_ocid" {} | |
variable "user_ocid" {} | |
variable "fingerprint" {} | |
variable "compartment_ocid" {} | |
variable "region" {} | |
variable "ssh_public_key_path" {} | |
variable "ssh_private_key_path" {} | |
variable "availability_domain" {} | |
variable "instance_shape" {} |
variable "tenancy_ocid" {} | |
variable "user_ocid" {} | |
variable "fingerprint" {} | |
variable "compartment_ocid" {} | |
variable "region" {} | |
variable "ssh_public_key_path" {} | |
variable "ssh_private_key_path" {} | |
variable "availability_domain" {} | |
variable "instance_shape" {} |
#!/bin/bash | |
##Install KVM, Dependencies & utils | |
yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer oci-utils | |
yum groupinstall "Server with GUI" -y | |
##Install VNC Server | |
yum install xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils tigervnc-server mesa-libGL mesa-libEGL -y |
#!/bin/bash | |
yum install -y httpd | |
systemctl enable httpd.service | |
systemctl start httpd.service | |
echo '<html><head></head><body><pre><code>' > /var/www/html/index.html | |
hostname >> /var/www/html/index.html | |
echo '' >> /var/www/html/index.html |
#!/bin/bash | |
############################### | |
# Input variables # | |
############################## | |
DOMAIN=mysite.com | |
CERTS_ROOT_DIR=/etc/ssl | |
#Zip file containing the SSL certificate bundle | |
# Content of the zip file: |
#!/bin/bash | |
sudo yum -y install yum-utils | |
sudo yum-config-manager --enable ol7_developer | |
sudo yum -y install python-oci-sdk python-oci-cli |
# coding: utf-8 | |
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. | |
# This script subscribes to the default package of a Marketplace listing by accepting all terms and conditions and list all subscriptions | |
# | |
# | |
# | |
# | |
import oci |