curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
AWSTemplateFormatVersion: 2010-09-09 | |
Description: "This is the first CF Template for running Rundeck via UserData!" | |
Parameters: | |
NameOfService: | |
Description: "The name of the service this stack is to be used for." | |
Type: String | |
KeyName: | |
Description: Name of an existing EC2 KeyPair to enable SSH access into the server | |
Type: AWS::EC2::KeyPair::KeyName | |
DatabaseName: |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: "This is the third CF Template for running Rundeck via UserData with ALB and Autoscale!" | |
Parameters: | |
KeyName: | |
Description: Name of an existing EC2 KeyPair to enable SSH access into the server | |
Type: AWS::EC2::KeyPair::KeyName | |
DatabaseName: | |
Type: String | |
Default: rundeck | |
DatabaseUser: |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: "This is the first CF Template for running Rundeck via UserData!" | |
Parameters: | |
NameOfService: | |
Description: "The name of the service this stack is to be used for." | |
Type: String | |
KeyName: | |
Description: Name of an existing EC2 KeyPair to enable SSH access into the server | |
Type: AWS::EC2::KeyPair::KeyName | |
Resources: |
Documentation For This Video Chef Server Download Chef Server Installation Documentation Chef Manage Creating the Chef Server For this course, we’re going to use the most recent stable release of chef server (which is 12.17.331). Our first step is going to be creating a CentOS 7 cloud server to be used as our Chef server. After that server is running, we need to get the download link for a Redhat 64bit system from the downloads page (here’s the exact link used in this video). Let’s use curl to copy this onto our server so that we can install it. Since we’ll need to run virtually all of these commands using sudo we’ll switch to root at the start:
$ sudo su - [root] $ cd /tmp [root] $ curl -O https://packages.chef.io/files/stable/chef-server/12.17.33/el/7/chef-server-core-12.17.33-1.el7.x86_64.rpm
Run the following commands to get the Docker gpg key and add it to your repository:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"webAppName": { | |
"type": "string" | |
}, | |
"hostingPlanName": { | |
"type": "string" | |
}, |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- This file will modify Web.config to enable remote debugging when publishing your project in the Debug configuration. | |
For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<system.web xdt:Transform="Insert"> | |
<httpRuntime targetFramework="4.5" /> | |
<customErrors mode="Off"/> | |
</system.web> |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
For more information on how to configure your Node.js application, please visit | |
http://go.microsoft.com/fwlink/?LinkId=290972 | |
--> | |
<configuration> | |
<appSettings> | |
<!-- | |
<add key="StorageAccountName" value="" /> | |
<add key="StorageAccountKey" value="" /> |
<?xml version="1.0" encoding="utf-8"?> | |
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |
<PropertyGroup> | |
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> | |
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | |
<Name>nodejs-webapp-express</Name> | |
<RootNamespace>nodejs-webapp-express</RootNamespace> | |
</PropertyGroup> | |
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |
<PropertyGroup> |