-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathhistory.txt
361 lines (361 loc) · 8.6 KB
/
history.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
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
1 ip addr sh
2 ls /root/
3 sudo ls /root/
4 clear
5 sudo systemctl status ssh
6 df -h
7 vi /etc/apt/sources.list
8 sudo vi /etc/apt/sources.list
9 df -h
10 fdisk -l
11 sudo fdisk -l
12 sudo fdisk /dev/sda
13 sudo reboot
14 jupyter notebook
15 conda update conda
16 conda --help
17 conda list
18 conda list | less
19 conda install numpy matplotlib
20 conda search scikit
21 conda install -c r r-essentials rstudio
22 sd -h
23 df -h
24 fg
25 df -h
26 conda clean
27 conda clean --all
28 conda install -c r r-essentials rstudio
29 df -h
30 ls
31 du -h Anaconda3-5.1.0-Linux-x86_64.sh
32 rm -f Anaconda3-5.1.0-Linux-x86_64.sh
33 df -h
34 ls
35 ls Downloads/
36 ls
37 ls Videos/
38 ls
39 ls /tmp/
40 df -h
41 sudo apt autoremove
42 ls /boot/
43 ls /boot/grub/
44 ls /
45 df -h
46 conda clean
47 conda clean --all
48 df -h
49 fg
50 df -h
51 gedit &
52 vi
53 df -h
54 fg
55 df -h
56 conda clean --all
57 conda list | less
58 conda clean --all
59 df -h
60 conda clean --all
61 df -h
62 conda clean --all
63 df -h
64 jupyter notebook
65 conda clean --all
66 rstudio
67 sudo shutdown -h now
68 sudo resize2fs /dev/sda1
69 df -h
70 sudo apt-get update
71 sudo apt-get upgrade
72 df -h
73 sudo apt-get dist-upgrade
74 wget https://repo.anaconda.com/archive/Anaconda3-5.1.0-Linux-x86_64.sh
75 df -h
76 chmod +x Anaconda3-5.1.0-Linux-x86_64.sh
77 ./Anaconda3-5.1.0-Linux-x86_64.sh
78 sudo apt cache clean
79 sudo apt-get clean
80 df -h
81 date
82 sudo vi /etc/default/locale
83 sudo vi /etc/ntp.conf
84 ip addr sh
85 scp -v [email protected]:/etc/ntp.conf .
86 scp -v -P 62222 [email protected]:/etc/ntp.conf .
87 ls
88 diff ntp.conf /etc/ntp.conf
89 sudo cp /etc/ntp.conf /etc/ntp.conf.orig
90 sudo vi /etc/ntp.conf
91 sudo rm /etc/ntp.conf
92 sudo cp ntp.conf /etc/ntp.conf
93 sudo systemctl status ntp
94 sudo systemctl restart ntp
95 sudo systemctl status ntp
96 ntpq
97 ntpq -p
98 date
99 sudo vi /etc/default/locale
100 sudo reboot
101 rm ntp.conf
102 ls
103 ls
104 jupyter notebook
105 w
106 clear
107 sudo shutdown -h now
108 vi /etc/apache2/sites-enabled/jupyter.conf
109 ls
110 vi set_jupyter_apache_hostname.sh
111 vi test.conf
112 sh set_jupyter_apache_hostname.sh
113 cat test.conf
114 vi test.conf
115 sh set_jupyter_apache_hostname.sh
116 cat test.conf
117 sh set_jupyter_apache_hostname.sh
118 vi set_jupyter_apache_hostname.sh
119 cat set_jupyter_apache_hostname.sh
120 vi set_jupyter_apache_hostname.sh
121 sudo vi /etc/apache2/sites-available/jupyter.conf
122 ls
123 sudo sh set_jupyter_apache_hostname.sh
124 sudo vi /etc/apache2/sites-available/jupyter.conf
125 vi set_jupyter_apache_hostname.sh
126 chmod +x set_jupyter_apache_hostname.sh
127 ls
128 cd
129 sudo vi /etc/rc.local
130 ls
131 sudo mv set_jupyter_apache_hostname.sh /root/
132 sudo su
133 ip addr sh
134 rstudio
135 df -h
136 ls
137 sudo apt-get update
138 sudo apt-get upgrade
139 df -h
140 jupyter notebook --generate-config
141 vi /home/user/.jupyter/jupyter_notebook_config.py
142 mkdir cert
143 cd cert/
144 openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout mykey.key -out mycert.pem
145 ls
146 cd
147 openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout mykey.key -out mycert.pem
148 ls
149 mv my* cert/
150 cd cert/
151 chmod 400 my*
152 jupyter notebook password
153 cd
154 vi .jupyter/jupyter_notebook_config.json
155 vi .jupyter/jupyter_notebook_config.py
156 ls cert/mycert.pem
157 pwd
158 ls /home/user/cert/mycert.pem
159 fg
160 cat .jupyter/jupyter_notebook_config.json
161 fg
162 sudo apt-get install apache2
163 sudo a2enmod proxy proxy_http proxy_https proxy_wstunnel ssl headers
164 sudo service apache2 restart
165 cd /etc/apache2/sites-available/
166 ls
167 sudo cp 000-default.conf jupyter.conf
168 sudo vi jupyter.conf
169 ls /home/user/cert/mycert.pem
170 fg
171 sudo a2ensite jupyter.conf
172 sudo apache2ctl -t
173 sudo service apache2 restart
174 jupyter notebook
175 sudo vi jupyter.conf
176 sudo service apache2 restart
177 sudo a2dissite 000-default.conf
178 sudo service apache2 restart
179 sudo vi jupyter.conf
180 sudo service apache2 restart
181 jupyter notebook
182 cd
183 ls
184 jupyter notebook
185 ls
186 vi /etc/apache2/sites-enabled/jupyter.conf
187 hostname
188 jupyter notebook
189 cat /etc/apache2/sites-enabled/jupyter.conf
190 ip addr sh
191 sudo vi /etc/hosts
192 jupyter notebook
193 ls
194 cat hello-world.ipynb
195 ls
196 ls
197 vi .jupyter/jupyter_notebook_config.py
198 sudo /etc/init.d/apache2 restart
199 service apache2 restart
200 sudo su
201 which jupyter
202 df -h
203 cat /etc/rc.local
204 su user -c "jupyter notebook --config=/home/user/.jupyter/jupyter_notebook_config.py --no-browser --notebook-dir=/home/user/"
205 sudo su
206 cd
207 ls
208 whoami
209 sdklfsdjkf
210 ls
211 whoami
212 cd
213 ls
214 whoami
215 w
216 cat /etc/rc.local
217 cd /
218 su user -c "/home/user/anaconda3/bin/jupyter notebook --config=/home/user/.jupyter/jupyter_notebook_config.py --no-browser --notebook-dir=/home/user/"
219 jupyter notebook password
220 vi /home/user/.jupyter/jupyter_notebook_config.json
221 vi /home/user/.jupyter/jupyter_notebook_config.py
222 sudo reboot
223 ps aux | grep jupyter
224 pkill jupyter
225 ps aux | grep jupyter
226 jupyter notebook
227 cat /etc/apache2/sites-enabled/jupyter.conf
228 sudo su
229 ls
230 sudo vi /etc/apache2/sites-enabled/jupyter.conf
231 sudo su
232 ls
233 whoami
234 ls
235 cd
236 ls
237 cd OpenScience/
238 ls
239 mkdir Code
240 ls
241 mv Untitled.ipynb Code/
242 ls
243 cd Code/
244 ls
245 cd
246 ls
247 cd OpenScience/
248 ls
249 git clone https://github.com/BioinfoNet/TeachingJupyterNotebooks.git
250 ls
251 cd TeachingJupyterNotebooks/
252 ls
253 conda env create -f environment.yml
254 conda install qgrid
255 git status
256 git commit -a -m"Add license and updating README"
257 git config --global user.email "[email protected]"
258 git config --global user.name "Caleb Kipkurui"
259 git commit -a -m"Add license and updating README"
260 git push
261 git status
262 git add LICENSE
263 git add storedf.ipynb
264 git add README.md
265 ls
266 git status
267 git push
268 git commit -m "Added LICENSE and storedf notebook"
269 git push
270 git status
271 git commit -m "Added LICENSE" -a
272 git push
273 git status
274 git fetch
275 git status
276 git pull
277 ls
278 conda env create -f environment.yml
279 ls
280 cd home/
281 ls
282 cd user/
283 ls
284 cd OpenScience/
285 ls
286 cd TeachingJupyterNotebooks/
287 ls
288 git pull
289 git status
290 git checkout jupyter-notebook-slides.ipynb
291 git pull
292 ls
293 conda env create -f environment.yml
294 ls
295 cd ..
296 ls
297 cd home/user/OpenScience/
298 conda env create -f environment.yml
299 ls
300 cd TeachingJupyterNotebooks/
301 conda env create -f environment.yml
302 clear
303 cd ..
304 ls
305 git clone https://github.com/BioinfoNet/Introduction-to-Linux.git
306 clea
307 r
308 clear
309 ls
310 cd Introduction-to-Linux/
311 ls
312 cd
313 ls
314 clear
315 pwd
316 ls
317 cd OpenScience/
318 lls
319 ls
320 clear
321 ls
322 cd Introduction-to-Linux/
323 ls
324 cd Images/
325 ls
326 clear
327 cd
328 cd -
329 clear
330 ls ./../..
331 ls ~/OpenScience/
332 cdls -lh
333 ls -lh
334 lls
335 ls
336 clear
337 cd ..
338 ls
339 git status
340 cd TeachingJupyterNotebooks/
341 git pull
342 cd ..
343 ls
344 clear
345 git
346 clea
347 clear
348 ls
349 pwd
350 ls Code/
351 cd Introduction-to-Linux/
352 ls
353 less corr_seq.py
354 ls
355 clear
356 ls
357 git init
358 git remote add origin https://github.com/kipkurui/Introduction-to-Linux.git
359 history
360 clear
361 history > history.txt