Month: November 2018
VS code 실행 및 plugin 설치하기
Windows Server 2019 평가판 다운로드하기
Get-Parameter cmdlet를 사용하기 위해 pscx Module 설치하기
<Get-Parameter를 사용하기 위해 pscx Module 설치하기>
1)Module 관리하는 cmdlet 확인하기
Get-Command -Module PowerShellGet
2)Get-Parameter 명령어 찾아 보기
Find-Command -Name Get-Parameter
##여기서 get-parameter가 있는 module 이름을 기억해두어야 한다
3)찾은 Module 설치하기
Install-Module -Name pscx -AllowClobber
(**$env:psmodulepath -split “;” 에 저장된다)
4)pscx 모듈에 있는 cmdlet 확인하기
Get-Command -Module pscx
help Get-Parameter -Examples
vlc라는 Package 설치하기
<vlc라는 Package 설치하기>
1)Package 관리하는 cmdlet 확인하기
Get-Command -Module PackageManagement
2)Package를 가지고 있는 Provider 목록을 인터넷 상에서 확인하기
Find-PackageProvider
3)로컬 컴퓨터에 가지고 있는 Package Provider 확인하기
Get-PackageProvider
##여기에 필요한 Package Provider가 있어야만 Package를 설치할 수 있다
4)vlc라는 Package가 있는지를 인터넷 상에서 확인하기
Find-Package -ProviderName * -Name vlc
##lc가 저장되어 있는 Package Provider가 “chocolatey”인 것을 알게됨
5)chocolatey라는 Package Provider를 로컬에 설치하기
Install-PackageProvider -Name chocolatey
##로컬 컴퓨터에 설치된 Package Provider가 가지고 있는 Package만 설치할 수 있다
6)vlc 패키지 설치하기
Install-Package -ProviderName chocolatey -Name vlc
(Install-Package -Name vlc)
(**C:\Chocolatey에 저장된다)
7)vlc 패키지가 어디에 저장되어 있는지 확인하기
Get-Package -Name vlc
8)vlc가 저장된 곳으로 이동한다
C:\Chocolatey\lib
dir
ii .
9)더블 클릭으로 해당 Package를 설치한다
vlc를 설치한다
PowerShell Core v6.1.1 출시
다운로드: https://github.com/PowerShell/PowerShell/releases/tag/v6.1.1
PowerShell core를 리눅스에 설치하는 PowerShell이다.
MySQL on Docker
참고: https://severalnines.com/blog/mysql-docker-introduction-docker-swarm-mode-and-multi-host-networking
MySQL on Docker: Introduction to Docker Swarm Mode and Multi-Host Networking
여기에는 좋은 자료가 있으니 참고할 것
AKS(Azure Kubernetes Service) 참고 자료
# AKS Documentation
https://docs.microsoft.com/en-us/azure/aks/
# Cluster Creation Options
https://docs.microsoft.com/en-us/azure/aks/create-cluster
# Persistent Volumes on AKS
https://docs.microsoft.com/en-us/azure/aks/azure-disks-dynamic-pv
# Kubernetes Persistent Volumes
https://kubernetes.io/docs/concepts/storage/persistent-volumes/
# Use Virtual Kubelet with Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/virtual-kubelet
# Use an internal load balancer with Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/internal-lb
# Terraform Azure Provider
https://www.terraform.io/docs/providers/azurerm/
# Creating a Kubernetes Cluster with AKS and Terraform
https://www.hashicorp.com/blog/kubernetes-cluster-with-aks-and-terraform
# Monitor Azure Kubernetes Service (AKS) container health (preview)
https://docs.microsoft.com/en-us/azure/monitoring/monitoring-container-health
# Install applications with Helm in Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/kubernetes-helm
# Azure Dev Spaces
https://docs.microsoft.com/en-us/azure/dev-spaces/azure-dev-spaces
# Use Draft with Azure Kubernetes Service
https://docs.microsoft.com/en-us/azure/dev-spaces/azure-dev-spaces
Integrate with Azure-managed services using Open Service Broker for Azure (OSBA)
https://docs.microsoft.com/en-us/azure/aks/integrate-azure
Using OpenFaaS on AKS
https://docs.microsoft.com/en-us/azure/aks/openfaas
Using GPUs on AKS
https://docs.microsoft.com/en-us/azure/aks/gpu-cluster
Continuous deployment with Jenkins and Azure Kubernetes Service
https://docs.microsoft.com/en-us/azure/aks/jenkins-continuous-deployment
Tutorial: Deploy your ASP.NET Core App to Azure Kubernetes Service (AKS) with the Azure DevOps Project
https://docs.microsoft.com/en-us/azure/devops-project/azure-devops-project-aks
SSH into Azure Kubernetes Service (AKS) cluster nodes
https://docs.microsoft.com/en-us/azure/aks/aks-ssh
Get started with Visual Studio Kubernetes Tools
https://docs.microsoft.com/en-us/visualstudio/deployment/tutorial-kubernetes-tools
Frequently asked questions about Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/faq
Azure Kubernetes Service (AKS) pricing
https://azure.microsoft.com/en-us/pricing/details/kubernetes-service/
AZ CLI를 사용하여 VM 생성하기
az group list -o table
az account list-locations -o table
az group create -n linuxRG -l eastus
az network vnet list -o table
az network vnet create -n linuxVNet -g linuxRG
az vm list -o table
az vm image list -o table
az vm list-sizes -l eastus -o table
az vm create -n linux -g linuxRG -l eastus –vnet-name linuxVNet –image centos –admin-username adminuser –admin-password Peace91911234 –size Standard_DS2_v2 –no-wait
어떤 바이러스 백신을 사용하고 있는지 확인
Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntivirusProduct