daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Apr 27th, 2016 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hank you for using DigitalOcean's Django Application.
  2. We have created a default Django application that can be seen from http://107.17                                                                             0.14.114/
  3.  
  4. You can use the following SFTP credentials to upload your files (using FileZilla                                                                             /WinSCP/Rsync):
  5. Host: 107.170.14.114
  6. User: django
  7. Pass: XQNHYNUqMH
  8.  
  9. You can use the following Postgres database credentials:
  10. DB: django
  11. User: django
  12. Pass: J5XWRTneXd
  13.  
  14. Nginx listens on public IP (107.170.14.114) port 80 and forwards requests to Gun                                                                             icorn on port 9000
  15. Nginx access log is in /var/log/nginx/access.log and error log is in /var/log/ng                                                                             inx/error.log
  16. Gunicorn is started using an Upstart script located at /etc/init/gunicorn.conf
  17. To restart your Django project, run : sudo service gunicorn restart
  18.  
  19. You can find more information on using this image at: http://do.co/djangoapp
  20. --------------------------------------------------------------------------------                                                                             -----
  21. To delete this message of the day: rm -rf /etc/motd.tail
  22. root@django-512mb-nyc2-01:~# virtualenv tango
  23. New python executable in tango/bin/python
  24. Installing setuptools, pip...done.
  25. root@django-512mb-nyc2-01:~# source tango/bin/activate
  26. (tango)root@django-512mb-nyc2-01:~# pip install django
  27. Downloading/unpacking django
  28.  Downloading Django-1.9.5-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded
  29. Installing collected packages: django
  30. Successfully installed django
  31. Cleaning up...
  32. (tango)root@django-512mb-nyc2-01:~# pip install git+https://github.com/tBaxter/T                                                                             ango.git
  33. Downloading/unpacking git+https://github.com/tBaxter/Tango.git
  34.  Cloning https://github.com/tBaxter/Tango.git to /tmp/pip-2dyJwR-build
  35. Cleaning up...
  36. Cannot find command 'git'
  37. Storing debug log for failure in /root/.pip/pip.log
  38. (tango)root@django-512mb-nyc2-01:~# pip install git
  39. Downloading/unpacking git
  40.  Could not find any downloads that satisfy the requirement git
  41. Cleaning up...
  42. No distributions at all found for git
  43. Storing debug log for failure in /root/.pip/pip.log
  44. (tango)root@django-512mb-nyc2-01:~# apt install hit
  45. Reading package lists... Done
  46. Building dependency tree
  47. Reading state information... Done
  48. E: Unable to locate package hit
  49. (tango)root@django-512mb-nyc2-01:~# apt install git
  50. Reading package lists... Done
  51. Building dependency tree
  52. Reading state information... Done
  53. The following extra packages will be installed:
  54.  git-man liberror-perl
  55. Suggested packages:
  56.  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  57.  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
  58. The following NEW packages will be installed:
  59.  git git-man liberror-perl
  60. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  61. Need to get 3,421 kB of archives.
  62. After this operation, 21.9 MB of additional disk space will be used.
  63. Do you want to continue? [Y/n] y
  64. Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
  65. Err http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.2
  66.  404  Not Found [IP: 103.253.144.50 80]
  67. Err http://security.ubuntu.com/ubuntu/ trusty-security/main git-man all 1:1.9.1-1ubuntu0.2
  68.  404  Not Found [IP: 91.189.88.161 80]
  69. Err http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.2
  70.  404  Not Found [IP: 103.253.144.50 80]
  71. Err http://security.ubuntu.com/ubuntu/ trusty-security/main git amd64 1:1.9.1-1ubuntu0.2
  72.  404  Not Found [IP: 91.189.88.161 80]
  73. Fetched 21.1 kB in 1s (15.9 kB/s)
  74. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_1.9.1-1ubuntu0.2_all.deb  404  Not Found [IP: 91.189.88.161 80]
  75.  
  76. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git_1.9.1-1ubuntu0.2_amd64.deb  404  Not Found [IP: 91.189.88.161 80]
  77.  
  78. E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  79. (tango)root@django-512mb-nyc2-01:~# git
  80. The program 'git' is currently not installed. You can install it by typing:
  81. apt-get install git
  82. (tango)root@django-512mb-nyc2-01:~# apt-get install get
  83. Reading package lists... Done
  84. Building dependency tree
  85. Reading state information... Done
  86. E: Unable to locate package get
  87. (tango)root@django-512mb-nyc2-01:~# apt-get install git
  88. Reading package lists... Done
  89. Building dependency tree
  90. Reading state information... Done
  91. The following extra packages will be installed:
  92.  git-man liberror-perl
  93. Suggested packages:
  94.  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  95.  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
  96. The following NEW packages will be installed:
  97.  git git-man liberror-perl
  98. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  99. Need to get 3,400 kB/3,421 kB of archives.
  100. After this operation, 21.9 MB of additional disk space will be used.
  101. Do you want to continue? [Y/n] y
  102. Err http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.2
  103.  404  Not Found [IP: 192.241.164.26 80]
  104. Err http://security.ubuntu.com/ubuntu/ trusty-security/main git-man all 1:1.9.1-1ubuntu0.2
  105.  404  Not Found [IP: 91.189.88.161 80]
  106. Err http://security.ubuntu.com/ubuntu/ trusty-security/main git amd64 1:1.9.1-1ubuntu0.2
  107.  404  Not Found [IP: 91.189.88.161 80]
  108. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_1.9.1-1ubuntu0.2_all.deb  404  Not Found [IP: 91.189.88.161 80]
  109.  
  110. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git_1.9.1-1ubuntu0.2_amd64.deb  404  Not Found [IP: 91.189.88.161 80]
  111.  
  112. E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  113. (tango)root@django-512mb-nyc2-01:~# : sudo apt install git
  114. (tango)root@django-512mb-nyc2-01:~#
  115. (tango)root@django-512mb-nyc2-01:~#
  116. (tango)root@django-512mb-nyc2-01:~#
  117. (tango)root@django-512mb-nyc2-01:~#
  118. (tango)root@django-512mb-nyc2-01:~#
  119. (tango)root@django-512mb-nyc2-01:~# sudo apt install git
  120. Reading package lists... Done
  121. Building dependency tree
  122. Reading state information... Done
  123. The following extra packages will be installed:
  124.  git-man liberror-perl
  125. Suggested packages:
  126.  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  127.  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
  128. The following NEW packages will be installed:
  129.  git git-man liberror-perl
  130. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  131. Need to get 3,400 kB/3,421 kB of archives.
  132. After this operation, 21.9 MB of additional disk space will be used.
  133. Do you want to continue? [Y/n] y
  134. Err http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.2
  135.  404  Not Found [IP: 192.241.164.26 80]
  136. Err http://security.ubuntu.com/ubuntu/ trusty-security/main git-man all 1:1.9.1-1ubuntu0.2
  137.  404  Not Found [IP: 91.189.88.161 80]
  138. Err http://security.ubuntu.com/ubuntu/ trusty-security/main git amd64 1:1.9.1-1ubuntu0.2
  139.  404  Not Found [IP: 91.189.88.161 80]
  140. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_1.9.1-1ubuntu0.2_all.deb  404  Not Found [IP: 91.189.88.161 80]
  141.  
  142. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git_1.9.1-1ubuntu0.2_amd64.deb  404  Not Found [IP: 91.189.88.161 80]
  143.  
  144. E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  145. (
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top