Open ertjlane opened 1 year ago
The raw bash commands run are:
52 df -h
53 cd /server
54 cd /servers
55 sudo mkdir lamp
56 sudo chmod a+w lamp/
57 cd /
58 ll
59 cd certs/
60 ll
61 cd ..
62 clear
63 l
64 ll
65 cd lamp_config/
66 ll
67 sudo docker stack deploy -c traefik.yml traefik
68 sudo yum install docker
69 sudo docker stack deploy -c traefik.yml traefik
70 clear
71 sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine podman runc
72 sudo yum install -y yum-utils
73 sudo yum-config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
74 clear
75 sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
76 sudo yum-config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
77 sudo yum update
78 curl -fsSL https://get.docker.com -o get-docker.sh
79 sudo sh get-docker.sh
80 sudo yum install docker-ce
81 sudo yum-config-manager
82 sudo yum-config-manager --disable docker-ce
83 sudo yum-config-manager --disable docker-ce-stable
84 clear
85 sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
86 sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
87 sudo dnf repolist -v
88 clear
89 dnf list docker-ce --showduplicates | sort -r
90 sudo dnf list docker-ce --showduplicates | sort -r
91 sudo dnf install docker-ce
92 pwd
93 clear
94 sudo systemctl enable --now docker
95 ll
96 docker --version
97 docker ps
98 sudo docker ps
99 sudo docker stack deploy -c traefik.yml traefik
100 sudo docker swarm init
101 ifconfig
102 sudo docker swarm init --advertise-addr 172.XX.XX.XXX
103 clear
104 sudo docker stack deploy -c traefik.yml traefik
105 sudo docker network create --driver overlay --attachable public
106 sudo docker stack deploy -c traefik.yml traefik
107 sudo docker ps
108 sudo docker stack deploy -c lamp.yml lamp
109 sudo docker service ls
110 sudo curl ifconfig.me
111 sudo docker service ls
112 clear
113 sudo docker stack deploy -c traefik.yml --prune traefik
114 sudo docker stack deploy -c lamp.yml --prune lamp
115 sudo docker service ls
116 sudo docker server logs --follow lamp_server
117 sudo docker service logs --follow lamp_server
118 clear
119 sudo docker service logs lamp_server
120 sudo docker service ls
121 sudo docker ps
122 sudo docker container ls
123 sudo docker service ps lamp_server
124 sudo docker pull ghcr.io/bidmcdigitalpsychiatry/lamp-server:2023
125 sudo curl ghcr.io
126 sudo curl -v ghcr.io
127 sudo curl -v https://ghcr.io
128 sudo docker pull ghcr.io/bidmcdigitalpsychiatry/lamp-server:2023
129 sudo docker pull ghcr.io/bidmcdigitalpsychiatry/lamp-server:2022
130 clear
131 sudo docker stack deploy -c lamp.yml --prune lamp
132 sudo docker service ls
133* sudo docker
134 sudo docker service logs lamp_server
135 clear
136 sudo docker stack deploy -c lamp.yml --prune lamp
137 sudo docker service ls
138 sudo docker container ls
139 sudo docker container logs 908e9f942331
140 sudo docker container ls
141 sudo docker container logs 39819bbe5964
142 sudo curl lamp_server
143 clear
144 sudo docker container ls
145 sudo docker run --rm alpine/curl lamp_server:3000
146 sudo docker run --rm --network=public alpine/curl lamp_server:3000
147 clear
We need to simplify this to the bare minimum to match the documentation's install instructions first. @carlan1 @lugray1 Could you both take a look?
Seems like we can remove all the "clear", "ps", and "ls" statements...?
Is there an approximate ETA for this update, or a check in point?
We need a deployment shell script that
this should be run with something like this command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/LAMP-platform/install/HEAD/install.sh)"