-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraft.txt
64 lines (39 loc) · 1.81 KB
/
draft.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
slug: full-stack-automation
title: Full-Stack Automation
authors: [livio]
tags: [automation, awx, ansible, gitlab, network automation]
---
###TODO:
- DESENHO COM ARCH DE VERDADE COM MAIS GITLAB COM MAIS RUNNER E COM ACESSOS OCASIONAIS PARA MUDAR PLAYBOOKS NO GITLAB, ETC.
- corrigir communication no fullstack para communicating
***********OPEN LOCAL*************
npm install
npm run start
***********UPDATING PAGE*************
npm run build
GIT_USER=livio.zanol GIT_PASS= npm run deploy
https://layerunknown.com/category/cisco/
ip domain name fullstack.local
crypto key generate rsa general-keys modulus 2048
username routeruser privilege 15
aaa new-model
aaa authentication login default local
aaa authorization exec default local
ip ssh server authenticate user password
ip ssh version 2
login com chaves: https://networklessons.com/uncategorized/ssh-public-key-authentication-cisco-ios
-c aes128-cbc -oKexAlgorithms=+diffie-hellman-group1-sha1
###TODO: INITIAL INSTALL
sudo apt update && sudo apt install ca-certificates curl gnupg lsb-release jq openssl docker ansible make python3 --yes
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io --yes
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
curl -fsSL https://bootstrap.pypa.io/get-pip.py > get-pip.py
python3 get-pip.py
sudo usermod -aG docker