Skip to content

Instantly share code, notes, and snippets.

@mhmdio
Last active December 23, 2021 07:33
Show Gist options
  • Save mhmdio/0a22e7e000242cdb83e390710642ba50 to your computer and use it in GitHub Desktop.
Save mhmdio/0a22e7e000242cdb83e390710642ba50 to your computer and use it in GitHub Desktop.
dev.cloudfalcon.io
1  2021-12-23 06:38:10 systemctl enable --now cockpit.socket
4  2021-12-23 06:38:10 yum install zsh
6  2021-12-23 06:38:10 yum install git
7  2021-12-23 06:38:10 sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

20 2021-12-23 06:38:10 curl https://get.trunk.io -fsSL | bash 50 2021-12-18 10:47:26 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash 51 2021-12-18 10:47:48 export NVM_DIR="$HOME/.nvm" 52 2021-12-18 10:47:48 [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm 53 2021-12-18 10:47:49 [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" 55 2021-12-18 10:48:06 nvm install node 57 2021-12-18 10:49:39 corepack enable 60 2021-12-18 10:51:22 yum install gcc-c++ make 68 2021-12-18 10:59:45 npx create-docusaurus@latest . classic 69 2021-12-18 11:00:10 npx create-docusaurus@latest my-website classic 116 2021-12-20 16:18:23 sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin 117 2021-12-20 16:18:28 task 118 2021-12-20 16:19:27 pip 119 2021-12-20 16:19:33 yum install python 120 2021-12-20 16:19:40 yum install python39 121 2021-12-20 16:19:58 pip install --upgrade pip 122 2021-12-20 16:20:04 pip3 install --upgrade pip 129 2021-12-20 16:24:27 curl -L -o /usr/local/bin/aws-vault https://github.com/99designs/aws-vault/releases/download/v6.3.1/aws-vault-linux-amd64 130 2021-12-20 16:24:34 chmod 755 /usr/local/bin/aws-vault 131 2021-12-20 16:24:37 aws-vault 132 2021-12-20 16:25:37 terraform 133 2021-12-20 16:25:41 terraform -version 144 2021-12-20 16:32:52 aws-vault exec -n siemens-china-prod 145 2021-12-20 16:33:09 aws s3 ls 146 2021-12-20 16:33:31 aws-vault list 147 2021-12-20 16:33:36 aws-vault list --backend file 155 2021-12-20 16:46:12 terraform plan -target="aws_autoscaling_group.tfer--tf-002D-asg-002D-20201118172430104500000036" 156 2021-12-20 16:47:42 terraform apply -target="aws_autoscaling_group.tfer--tf-002D-asg-002D-20201118172430104500000036" 157 2021-12-20 16:50:08 terraform apply -auto-approve -target="aws_autoscaling_group.tfer--tf-002D-asg-002D-20201118172256910200000028" 158 2021-12-20 16:57:26 terraform apply -auto-approve -target="aws_autoscaling_group.tfer--tf-002D-asg-002D-2020111817235086150000002e" 159 2021-12-20 17:02:03 terraform apply -auto-approve -target="aws_autoscaling_group.tfer--tf-002D-asg-002D-2020111817230734620000002d" 160 2021-12-20 17:04:16 terraform apply -auto-approve -target="aws_autoscaling_group.tfer--tf-002D-asg-002D-20201118172436478200000037"

174 2021-12-20 17:54:25 terraform plan -target="aws_autoscaling_group.tfer--tf-002D-asg-002D-20201118172425378100000035" 178 2021-12-22 08:42:58 curl -L https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh -o tflint.sh && chmod +x tflint.sh && ./tflint.sh 179 2021-12-22 08:43:15 tflint 180 2021-12-22 08:43:27 curl -L https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh 181 2021-12-22 08:43:39 curl -L https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh -o tflint.sh 182 2021-12-22 08:43:47 chmod +x tflint.sh 183 2021-12-22 08:43:51 ./tflint.sh 184 2021-12-22 08:43:58 yum install unzip 185 2021-12-22 08:44:04 ./tflint.sh 186 2021-12-22 08:44:07 tflint 187 2021-12-22 08:44:13 tflint --help 188 2021-12-22 09:35:07 pip3 install --upgrade pip --verbose 189 2021-12-22 09:35:18 pip3 install --upgrade pip 190 2021-12-22 09:35:27 pip3 install --upgrade pip pip3 install --upgrade pip --verbose 191 2021-12-22 09:35:35 pip3 install --upgrade checov --verbose 192 2021-12-22 09:35:43 pip3 install --upgrade checkov --verbose 193 2021-12-22 09:36:22 pip3 install --upgrade checkov --verbose --no-cache-dir 211 2021-12-22 12:02:24 podman run -ti ops-image bash 212 2021-12-22 12:10:08 podman build . -t ops-image 213 2021-12-22 12:11:53 podman run -ti ops-image bash 214 2021-12-22 14:21:42 curl -L https://github.com/aquasecurity/tfsec/releases/latest/download/tfsec-linux-amd64 -o tfsec && chmod +x tfsec && mv tfsec /usr/local/bin/

221 2021-12-22 14:53:56 curl -fsSL https://raw.githubusercontent.com/infracost/infracost/master/scripts/install.sh | sh

233 2021-12-23 06:39:25 yum-config-manager --add-repo https://rpm.releases.teleport.dev/teleport.repo 234 2021-12-23 06:39:34 yum install teleport 242 2021-12-23 07:02:42 yum install libatomic 243 2021-12-23 07:02:49 teleport configure --acme --acme-email=mohammed@cloudfalcon.io --cluster-name=tele.cloudfalcon.io -o file 244 2021-12-23 07:03:06 systemctl start teleport 245 2021-12-23 07:03:32 tctl users add teleport-admin --roles=editor,access --logins=root 246 2021-12-23 07:20:41 https://tele.cloudfalcon.io/ 247 2021-12-23 07:20:43 tctl get nodes 249 2021-12-23 07:28:37 yum install wget 250 2021-12-23 07:28:42 wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo 251 2021-12-23 07:28:43 rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key 252 2021-12-23 07:28:43 yum upgrade -y 253 2021-12-23 07:30:14 yum install epel-release java-11-openjdk-devel -y 254 2021-12-23 07:30:43 yum install jenkins -y 255 2021-12-23 07:31:04 systemctl daemon-reload 256 2021-12-23 07:31:18 systemctl start jenkins 257 2021-12-23 07:31:27 systemctl enable jenkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment