2023-07-01から1ヶ月間の記事一覧

Ansible Webサーバインストール

https://hitolog.blog/2021/10/12/how-to-install-ansible/ https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum_module.html 前提: Rocky Linux 9.2ansible [core 2.15.1]コントロールノード -> ターゲットノードの公開鍵認証設定済…

{Terraform} RDS/AWS

https://qiita.com/Brutus/items/cd5aab062ea6cebe436chttps://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance -- 1. macにTerraformインストール brew tap hashicorp/tapbrew install hashicorp/tap/terraformbrew upda…

{Terraform} S3/AWS

https://cloud5.jp/terraform-s3/https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket -- 1. macにTerraformインストール brew tap hashicorp/tapbrew install hashicorp/tap/terraformbrew updatebrew upgrade hashico…

{Terraform} EC2/AWS

https://kacfg.com/terraform-vpc-ec2/ https://registry.terraform.io/providers/hashicorp/aws/3.3.0/docs/resources/instance -- 1. macにTerraformインストール brew tap hashicorp/tapbrew install hashicorp/tap/terraformbrew updatebrew upgrade has…

パスワード使用可能文字(OS)

OS

Ubuntu (22) sudo userdel -r user01sudo useradd -m -d /home/user01 user01 sudo passwd user01 !"#$%&'()=-~^|\`@{}+;*:<>,.?/_ su - user01 全32文字使用可能 Debian (11) sudo userdel -r user01sudo useradd -m -d /home/user01 user01 sudo passwd us…

パスワード使用可能文字

DB

Oracle -> ダブルクォート不可MySQL,PostgreSQL,SQL Server -> シングルクォート不可 MySQL (8.0.33)https://dev.mysql.com/doc/refman/8.0/ja/create-user.html パスワードをシングルクォートで囲むため、シングルクォートは使用不可 その他、\ も使用不可★…

{Pulumi} VPC/AWS

https://www.pulumi.com/docs/get-started/https://qiita.com/yufuku/items/1c8ca01494e77924ab48 Python: 3.9.13 -- 1. macにPulumiインストール brew install pulumi/tap/pulumi -- 2. macにAWS CLIインストール curl "https://awscli.amazonaws.com/AWSCL…

{Terraform} VPC/AWS

https://y-ohgi.com/introduction-terraform/handson/vpc/https://kacfg.com/terraform-vpc-ec2/https://registry.terraform.io/providers/hashicorp/aws/3.3.0/docs/resources/vpc -- 1. macにTerraformインストール brew tap hashicorp/tapbrew install ha…

{GCP}サービス アカウントとして認証する

GCP

https://cloud.google.com/docs/authentication/production?hl=ja#linux-or-macoshttps://blog.1q77.com/2020/01/gcloud-switch-account-and-project/https://cloud.google.com/docs/authentication/gcloud?hl=ja -- 1. 前作業 gcloud initgcloud auth list …

{Azure}Azure CLI を使用して Azure サービス プリンシパルを操作する

https://tech-blog.cloud-config.jp/2022-09-16-auto-azure-login-for-clihttps://learn.microsoft.com/ja-jp/azure/active-directory/develop/howto-create-service-principal-portalhttps://learn.microsoft.com/ja-jp/cli/azure/create-an-azure-service-…

{Terraform} RDS/Azure

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mssql_server https://tech-blog.cloud-config.jp/2019-10-18-creting-azure-sql-database-using-terraformhttps://learn.microsoft.com/ja-jp/azure/azure-sql/database/…

{Terraform} S3/Azure

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_accounthttps://qiita.com/turupon/items/e5cf3699fffc40de3b3c -- 1. macにTerraformインストール brew tap hashicorp/tapbrew install hashicorp/tap/terraform…

{Denodo}Data Catalog REST API

https://community.denodo.com/docs/html/browse/latest/en/vdp/data_catalog/appendix/rest_api/rest_api http://localhost:9090/denodo-data-catalog/swagger-ui/index.html -- 1. カテゴリ一覧 curl -X GET "http://localhost:9090/denodo-data-catalog/p…

{Denodo}ビューの変更

https://community.denodo.com/docs/html/browse/8.0/jp/vdp/vql/creating_a_base_view/modifying_a_base_view/modifying_a_base_viewhttps://community.denodo.com/docs/html/browse/8.0/jp/vdp/vql/defining_a_derived_view/modifying_a_derived_view/modi…

{Denodo}DESC ステートメント

https://community.denodo.com/docs/html/browse/8.0/en/vdp/vql/describing_catalog_elements/describing_catalog_elementshttps://community.denodo.com/docs/html/browse/8.0/en/vdp/developer/appendix/output_schema_of_the_desc_commands/output_schem…

{Denodo}LIST コマンド

https://community.denodo.com/docs/html/browse/8.0/en/vdp/vql/listing_elements_in_the_catalog/listing_elements_in_the_catalog HELP LIST サーバー内のエレメント LIST DATABASESLIST FUNCTIONSLIST FUNCTIONS CUSTOMLIST I18NSLIST JARS LIST MAPS I1…

{Terraform} EC2/Azure

https://qiita.com/duelist2020jp/items/6b78adae9a242f3c5935https://learn.microsoft.com/ja-jp/azure/virtual-machines/linux/quick-create-terraformhttps://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_virtual_ma…

{Terraform} VPC/Azure

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs https://qiita.com/duelist2020jp/items/6b78adae9a242f3c5935 -- 1. macにTerraformインストール brew tap hashicorp/tapbrew install hashicorp/tap/terraformbrew updatebrew upg…

巨大ファイル調査

OS

Ubuntu (22)https://centos.bungu-do.jp/archives/25cdC: dd if=/dev/zero of=dummy.1025M bs=1k count=1049600dd if=/dev/zero of=dummy.1G bs=1k count=1048576dd if=/dev/zero of=dummy.1023M bs=1k count=1047552 find /tmp -type f -size +1Gfind /tmp …