-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_history
310 lines (310 loc) · 20.2 KB
/
.bash_history
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
ls
cd ./mmgdino
cd ./mm-gdino
cd ..
git clone [email protected]:ModelTrains/mm-grounddino.git
conda env list
wget https://repo.anaconda.com/archive/Anaconda3-latest-Linux-x86_64.sh -O anaconda.sh
ls
cd ./Clash
ls
./clash -d . > 20240520.log
sudo docker login 192.168.100.25:80 -u admin -p Harbor-+12345
tar -czvf mmgdino.tar.gz -C /home/cxc/mm-gdino
ls -l /home/cxc/mm-gdino
tar -czvf mmgdino.tar.gz -C /home/cxc mm-gdino
ls
docker exec -it mm-grounding-dino-container /bin/bash
docker exec -it mm-grounding-dino- /bin/bash
docker exec -it mm-grounding-dino /bin/bash
sudo docker run -it --rm -p 5678:5678 -v $(pwd):/home/cxc/mm-gdino -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --name mm-grounding-dino 192.168.100.25/algolib/mm-grounding-dino:demo
docker run -it --rm -p 5678:5678 -v $(pwd):/home/cxc/mm-gdino -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --name mm-grounding-dino 192.168.100.25/algolib/mm-grounding-dino:demo
sudo docker login 192.168.100.25:80 -u admin -p Harbor-+12345
sudo docker login 192.168.100.25 -u admin -p Harbor-+12345
docker images
sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
git --version
git init
git config --global user.name "cxc"
git config --global user.email "[email protected]"
git config --global core.editor vim
git add.
git add .
git add ./configs/mm_grounding_dino/grounding_dino_sein-l_finetune_smokefire_test.py
git commit -m "add a new feature"
vi /etc/ssh/sshd-config
ssh-keygen -t rsa -b 4096 -C "[email protected]"
ssh-copy-id [email protected]
scp -r ./* [email protected]: /home/cxc
scp -r ./* [email protected]:/home/cxc
scp -r ./* [email protected]:/home/cxc/mm-gdino
scp -r ./data/smoke_fire [email protected]:/home/cxc/mm-gdino/data
git config --global user.name "caixichen"
git config --global user.email "[email protected]"
ssh-keygen -t rsa -b 4096 -C "[email protected]"
ls
cd /home/cxc/.ssh/id_rsa
cd /home/cxc/.ssh
ls
vi id_rsa.pub
docker ps
docker stop 391fdc6cf17e
docker rm 391fdc6cf17e
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker exec -it 947935d8f355 /bin/bash
ssh [email protected] -p 8043
docker exec -it 947935d8f355 /bin/bash
docker ps
docker stop 0f5c388882e8
docker rm 0f5c388882e8
docker exec -it 391fdc6cf17e /bin/bash
ssh [email protected] -p 8022
docker exec -it 391fdc6cf17e /bin/bash
ssh [email protected] -p 8043
vi ~/.ssh/known_hosts
ssh-keygen -f "/home/cxc/.ssh/known_hosts" -R "[127.0.0.1]:8043"
docker exec -it 0f5c388882e8 /bin/bash
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
nmap 192.168.100.25
docker ps
docker exec -it 391fdc6cf17e /bin/bash
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker ps
docker stop d61ee979d1d7
docker rm d61ee979d1d7
docker ps
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker ps
docker exec it 0f5c388882e8 /bin/bash
docker exec -it 0f5c388882e8 /bin/bash
python
phython3
pip
docker exec -it d61ee979d1d7 /bin/bash
docker ps
docker a
docker ps
docker stop 6dac29498f3a
docker mv 6dac29498f3a
docker rm 6dac29498f3a
docker ps
docker images
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker ps
docker exec -it d61ee979d1d7 /bin/bash
ssh [email protected] -p 8043
docker run -it > -v /tmp/.X11-unix:/tmp/.X11-unix > -e DISPLAY=$DISPLAY > -v /etc/timezone:/etc/timezone > -v /home:/home > -v /home/cxc:/home/cxc > -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility > --shm-size 32G > --gpus all > --cap-add=SYS_PTRACE > --security-opt seccomp=unconfined > 192.168.100.25/algolib/mm-grounding-dino:demo
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /h
ome/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /
ome/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
docker exec -it -w /home/cxc/mm-gdino mm-grounding-dino-container /bin/bash
docker ps
docker exec -it -w /home/cxc/mm-gdino quirky_jang /bin/bash
docker exec -it 72121b419070 -w /home/cxc/mm-gdino quirky_jang /bin/bash
docker exec -it 72121b419070 /bin/bash
docker exec -it -w /home/cxc/mm-gdino 72121b419070 /bin/bash
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8022:22 -p 8081:8080 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8022:22 -p 4041:4040 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
docker kill 3c1aa4853ac2
docker ps -f "publish=8022"
docker ps -f "publish=8043"
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -p 4041:4040 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
netstat -ntulp | grep 4041
apt install net-tools
sudo apt install net-tools
docker ps -a
docker rm 1fb4fb7d7d82
docker rm 9e9bd020c48e
docker rm 1a2638e825a4
docker rm 64815aec8279
docker rm 1fb4fb7d7d82
docker ps -a
docker rm c40580de7b5e
docker stop 72121b419070
docker rm 72121b419070
sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --name mm-grounding-dino 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --name mm-grounding-dino 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker ps -f "publish=8043"
docker stop c40580de7b5e
docker rm c40580de7b5e
docker ps -f "publish=8043"
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --name mm-grounding-dino 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8043:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker ps
docker exec -it 6dac29498f3a87cfaa66ca976b7d43e11a2cf435c44786c52935fbfccd20fa62 /bin/bash
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -p 5678:5678 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -p 4000:4000 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo
docker exec -it 947935d8f355
docker exec -it 947935d8f355 /bin/bash
docker exec -it c088188ed241 /bin/bash
docker ps
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -d --gpus all -p 8044:22 -e DISPLAY=$DISPLAY -v /etc/timezone:/etc/timezone -v /home:/home -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
docker ps
docker exec -it c088188ed241 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it c088188ed241
docker exec -it c088188ed241 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps -s
docker inspect 947935d8f355
docker ps
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it c088188ed241 /bin/bash
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355
docker exec -it 947935d8f355 /bin/bash
docker exec -it 947935d8f355 /bin.bash
docker exec -it 947935d8f355 /bin/bash
docker exec -it 947935d8f355 /bin/bash
docker exec -it 947935d8f355 /bin/bash
clear
docker exec -it 947935d8f355 /bin/bash
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it c088188ed241 /bin/bash
docker ps
docker exec -it c088188ed241
docker exec -it c088188ed241 /bin/bash
docker ps
docker exec -it c088188ed241 /bin/bash
nvidia-smi
clear
docker exec -it 947935d8f355 /bin/bash
docker ps
docker exec -it 947935d8f355 /bin/bash
scp ./cxc_mmdino/AlgoServerScript [email protected]:/home/cxc/mm-grounddino
scp -r ./cxc_mmdino/AlgoServerScript [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/configs [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/data/smoke_fire [email protected]:/home/cxc/mm-grounddino/data
scp -r /media/40T/cxc_mmdino/demo [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/mmcv [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/mmdet [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/mmdet.egg-info [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/official [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/official_work_dir [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/outputs [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/projects [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/requirements [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/reaources [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/resources [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/smokefirecf_work_dir [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/tests [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/tools [email protected]:/home/cxc/mm-grounddino
scp -r /media/40T/cxc_mmdino/~ [email protected]:/home/cxc/mm-grounddino
scp /media/40T/cxc_mmdino [email protected]:/home/cxc/mm-grounddino
scp /media/40T/cxc_mmdino/* [email protected]:/home/cxc/mm-grounddino
nvidia-smi
docker ps
docker exec -it 947935d8f355
/bin/bash
ssh -v
ssh -V
cd ~/.ssh
cat id-rsa.pub >> authorized_keys
ll
cat id_rsa.pub >> authorized_keys
ls
ssh-keygen
cat id_rsa.pub >> authorized_keys
ls
conda env list
docker images
docker run -t -d -v /home/cxc:/home/cxc 192.168.100.25/algolib/ubuntu-anaconda:20.04 bash
docker run -it -d --gpus all -p 8044:22 -e DISPLAY=$DISPLAY -v /home/cxc:/home/cxc -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility --shm-size 32G --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined 192.168.100.25/algolib/mm-grounding-dino:demo /bin/bash
htop
kill -9 3012990
kill -9 3023135
kill -9 3026470
nvidia-smi
htop
kill -9 3027517
kill -9 3082084
kill -9 3041176
kill -9 2382084
htop
nvidia-smi
fuser -v /dev/nvidia*
unzip
scp -r /media/40T/cxc_mmdino/data/objects365v2/OpenDataLab___Objects365/raw/annotations/Objects365/data 192.168.2.46@cxc:/home/cxc/mm-grounddino/data/obj365
scp -r /media/40T/cxc_mmdino/data/objects365v2/OpenDataLab___Objects365/raw/annotations/Objects365/data [email protected]:/home/cxc/mm-grounddino/data/obj365
docker images
ls -a
rm -r .vscoder-server
rm -r ./.vscoder-server
cd ..
ls -a
cd ./cxc
ls -a
rm -r .vscode-server
ls -a
wget https://update.code.visualstudio.com/commit:695af097c7bd098fbf017ce3ac85e09bbc5dda06/server-linux-x64/stable -O vscode-server.tar.gz
ls -a
cd ~/.vscode-server
mkdir -p ~/.vscode-server/bin
cd ~/.vscode-server/bin
tar -zxf /home/cxc/vscode-server.tar.gz
mv vscode-server-linux-x64 695af097c7bd098fbf017ce3ac85e09bbc5dda06
docker ps
scp vscode-server.tar.gz [email protected]:/home/cxc/
cat /etc/resolv.conf
nano /etc/resolv.conf
nano ~/.bashrc