Skip to content

Instantly share code, notes, and snippets.

@serverok
Created March 21, 2018 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serverok/85531533e4f4eb87d5118366cb17784f to your computer and use it in GitHub Desktop.
Save serverok/85531533e4f4eb87d5118366cb17784f to your computer and use it in GitHub Desktop.
177 openssl req -new -newkey rsa:2048 -nodes -keyout ssl.goipshop.com.key -out ssl.goipshop.com.csr
178 ls
179 vim ssl.goipshop.com.csr
180 cd
181 ls
182 vim ssl.goipshop.com.csr
183 ls
184 cd /home/ipshoproot/
185 ls
186 vim ssl.goipshop.com.csr
187 history
188 ls
189 history
190 hitstory
191 history
192 history
193 cd /home/ipshoproot/
194 ls
195 ll
196 ls -la
197 history
198 cd /home/ipshoproot/
199 ll
200 ls -la
201 ps aux
202 cd /etc/apache2/
203 ll
204 ls -la
205 ps aux | grep ngin
206 cd /etc/nginx/
207 ll
208 ls -la
209 vi nginx.conf
210 service nginx stop
211 service nginx start
212 cd /var/www/html
213 ll
214 vi /etc/nginx/nginx.conf
215 cd conf.d
216 ll
217 ls -la
218 vi vesta.conf
219 cd /home/admin/conf/web/
220 vi nginx.conf
221 cd /home/ipshoproot/
222 ll
223 ls -la
224 cat ssl.goipshop.com.key
225 cd /home
226 ls -la
227 cd admin/
228 ll
229 ls -la
230 cd web
231 ls -la
232 cd goipshop.com/
233 ll
234 ls -la
235 cd public_html/
236 ls -la
237 vi index.php
238 find ./ -name "blogposts.phtml"
239 vi ./app/design/frontend/default/theme692/template/goipshop/blogposts/blogposts.phtml
240 vi ./app/design/frontend/default/theme692/template/goipshop/blogposts/blogposts.phtml
241 vi ./app/design/frontend/default/mobile/template/goipshop/blogposts/blogposts.phtml
242 vi ./app/design/frontend/default/mobilebak/template/goipshop/blogposts/blogposts.phtml
243 vi ./app/design/frontend/default/theme692/template/goipshop/blogposts/blogposts.phtml
244 find ./ -name "homebanners.phtml"
245 vi ./app/design/frontend/default/theme692/template/goipshop/homebanners/homebanners.phtml
246 pwd
247 cd ./app/design/frontend/default/theme692/template/goipshop/blogposts/
248 ls -la
249 cd ..
250 cd ..
251 c d..
252 cd ..
253 ll
254 git init
255 git add .
256 git commit -a -m "inital"
257 git grep wp-content
258 git grep blog-mini
259 vi template/goipshop/blogposts/blogposts.phtml
260 vi 1.php
261 cd /home/admin/web/blog.goipshop.com/
262 ll
263 ls -la
264 cd public_html/
265 ll
266 pwd
267 ls -la
268 pwd
269 cd /home/admin/
270 ll
271 ls -la
272 cd conf
273 ls -la
274 cd web
275 ls -la
276 vi /home/admin/conf/web/nginx.blog.goipshop.com.conf_letsencrypt
277 service nginx restart
278 ps aux | grep nginx
279 /usr/local/vesta/nginx/sbin/vesta-nginx -s reload
280 ps aux | grep nginx
281 /usr/local/vesta/nginx/sbin/vesta-nginx -s reload
282 netstat -antp | grep 80
283 netstat -antp | grep LIST
284 service nginx start
285 systemctl status nginx.service
286 vi /home/admin/conf/web/snginx.conf
287 vi /etc/nginx/nginx.conf
288 ps aux | grep nginx
289 kill --9 9602 28582
290 kill -9 28582 9602
291 service nginx status
292 service nginx start
293 ournalctl -xe
294 journalctl -xe
295 vi /home/admin/conf/web/snginx.conf
296 cp /home/admin/conf/web/snginx.conf /root
297 vi /home/admin/conf/web/snginx.conf
298 service nginx restart
299 journalctl -xe
300 vi /etc/nginx/conf.d/phpmyadmin.inc
301 /usr/local/vesta/nginx/sbin/vesta-nginx -s reload
302 /usr/local/vesta/nginx/sbin/vesta-nginx -t
303 /usr/local/vesta/nginx/sbin/vesta-nginx
304 ps aux | grep nginx
305 service nginx status
306 service nginx start
307 ystemctl status nginx.service
308 cd
309 ps aux | grep apache
310 nginx -t
311 mv /etc/nginx/conf.d/phpmyadmin.inc /etc/nginx/conf.d/phpmyadmin.inc-disabled-hon
312 nginx -t
313 mv /etc/nginx/conf.d/phpmyadmin.inc-disabled-hon /root
314 nginx -t
315 cd /etc/nginx/conf.d
316 ls -la
317 mv phppgadmin.inc /root
318 nginx -r
319 nginx -t
320 vi webmail.inc
321 mkdir disabled
322 mv webmail.inc disabled/
323 service nginx restart
324 nginx -t
325 vi /home/admin/conf/web/snginx.goipshop.com.conf_letsencrypt
326 ls -la
327 cd /home/admin/conf/web/
328 ll
329 ls -la
330 mkdir disabled
331 mv snginx.goipshop.com.conf_letsencrypt disabled/
332 ll
333 nginx -t
334 vi /home/admin/conf/web/snginx.conf
335 ll
336 ls -la
337 git init
338 git add .
339 git commit a-a -m "inital"
340 git commit -a -m "inital"
341 git log
342 w
343 ll
344 ls -la
345 cd disabled/
346 ll
347 ls -la
348 mv snginx.goipshop.com.conf_letsencrypt ..
349 ll
350 cd /etc/nginx/conf.d
351 ll
352 ls
353 cd ,,
354 cd ..
355 ls
356 history
357 ls
358 cd
359 ls
360 zip
361 zip ipshopWebsite /home/admin/web/goipshop.com/
362 ls
363 ls -la
364 ls -la
365 top
366 ls
367 zip -r ipshopWebsite /home/admin/web/goipshop.com/
368 ls
369 ls -la
370 ls -la
371 top
372 ls
373 ls
374 history
375 top
376 history
377 ls
378 ls
379 history
380 cd /home/ipshoproot/
381 ls
382 passwd
383 passwd
384 passwd
385 sudo passwd -dl root
386 service nginx restart
387 "systemctl status nginx.service
388 systemctl status nginx.service
389 systemctl status nginx.service
390 service nginx restart
391 systemctl status nginx.service
392 service nginx restart
393 systemctl status nginx.service
394 service nginx restart
395 systemctl status nginx.service
396 service nginx restart
397 service nginx restart
398 systemctl status nginx.service
399 service nginx restart
400 systemctl status nginx.service
401 service nginx restart
402 service nginx restart
403 systemctl status nginx.service
404 service nginx restart
405 service nginx restart
406 systemctl status nginx.service
407 service nginx restart
408 systemctl status nginx.service
409 service nginx restart
410 systemctl status nginx.service
411 service nginx restart
412 service nginx restart
413 service nginx restart
414 service nginx restart
415 service nginx restart
416 service nginx restart
417 service nginx restart
418 service nginx restart
419 service nginx restart
420 systemctl status nginx.service
421 service nginx restart
422 systemctl status nginx.service
423 service nginx restart
424 systemctl status nginx.service
425 service nginx restart
426 systemctl status nginx.service
427 service nginx restart
428 systemctl status nginx.service
429 service nginx restart
430 systemctl status nginx.service
431 service nginx restart
432 systemctl status nginx.service
433 service nginx restart
434 systemctl status nginx.service
435 service nginx restart
436 service nginx restart
437 service nginx restart
438 service nginx restart
439 systemctl status nginx.service
440 service nginx restart
441 systemctl status nginx.service
442 service nginx restart
443 service nginx restart
444 systemctl status nginx.service
445 service nginx restart
446 systemctl status nginx.service
447 service nginx restart
448 systemctl status nginx.service
449 service nginx restart
450 service nginx restart
451 sudo -i
452 parted -l
453 mkdir /old
454 mount /dev/xvdf1 /old
455 cd /old
456 ll
457 cd root
458 ll
459 vi .ssh/authorized_keys
460 cd
461 ls -la
462 pwd
463 ps aux
464 curl http://ec2-13-229-82-192.ap-southeast-1.compute.amazonaws.com/
465 service httpd start
466 service nginx status
467 netstat -antp
468 netstat -antp | grep LIST
469 service nginx status
470 ip a
471 cd /etc/nginx/
472 ll
473 git status
474 git init
475 git add .
476 git commit -a -m "initial commit"
477 git status
478 git log
479 cd /home/admin/
480 ll
481 cd conf/
482 ll
483 cd web
484 ls -la
485 git status
486 git diff
487 cd
488 ll
489 cd /var/log/ssh
490 cd /var/log/
491 vi auth.log
492 grep 112.133.237.47 auth.log
493 passwd root
494 ps aux
495 vi /etc/rc.local
496 which curl
497 vi /etc/rc.local
498 uptime
499 vi /etc/ssh/sshd_config
500 shutdown -h now
501 vi .ssh/authorized_keys
502 vi /etc/rc.local
503 service nginx status
504 curl 52.221.67.16
505 ip a
506 service nginx restart
507 netstat -antp
508 netstat -antp | grep LIST
509 netstat -antp | grep LIST | grep nginx
510 curl localhost
511 cd /etc/nginx/
512 ls -la
513 git grep 172.31.22.47
514 cd /home/admin/con/web
515 cd /home/admin/conf/web
516 ll
517 git grep 127
518 git grep 172
519 vi nginx.conf
520 service nginx restart
521 mysql
522 cd ..
523 cd ..
524 ls -la
525 cd web
526 ls -la
527 cd goipshop.com/
528 ls -la
529 cd public_html/
530 ll
531 cd app
532 cd etc
533 ls -la
534 vi local.xml
535 mysql -h 54.169.201.26:3306 -u root -p
536 cd
537 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment