Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.48 KB | None | 0 0
  1. login as: brian
  2. brian@ares.feralhosting.com's password:
  3. Linux ares 4.19.0-0.bpo.1-amd64 #1 SMP Debian 4.19.12-1~bpo9+1 (2018-12-30) x86_64
  4. __ _ _ _ _
  5. / _| | | | | | (_)
  6. | |_ ___ _ __ __ _| | |__ ___ ___| |_ _ _ __ __ _ ___ ___ _ __ ___
  7. | _/ _ \ '__/ _` | | '_ \ / _ \/ __| __| | '_ \ / _` | / __/ _ \| '_ ` _ \
  8. | || __/ | | (_| | | | | | (_) \__ \ |_| | | | | (_| || (_| (_) | | | | | |
  9. |_| \___|_| \__,_|_|_| |_|\___/|___/\__|_|_| |_|\__, (_)___\___/|_| |_| |_|
  10. __/ |
  11. |___/
  12.  
  13. Last login: Sat May 18 20:50:03 2019 from 82.27.71.229
  14.  
  15. [ares ~]
  16. [ares ~] mkdir -p ~/bin && bash
  17. [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  18. --2019-05-22 15:37:47-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  19. Resolving github.com (github.com)... 140.82.118.3
  20. Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  21. HTTP request sent, awaiting response... 302 Found
  22. Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T153747Z&X-Amz-Expires=300&X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  23. --2019-05-22 15:37:47-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T153747Z&X-Amz-Expires=300&X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  24. Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.104.91
  25. Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.104.91|:443... connected.
  26. HTTP request sent, awaiting response... 200 OK
  27. Length: 61688298 (59M) [application/octet-stream]
  28. Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
  29.  
  30. /media/sdk1/brian/e 100%[===================>] 58.83M 40.5MB/s in 1.5s
  31.  
  32. 2019-05-22 15:37:49 (40.5 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
  33.  
  34. [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  35. [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  36. [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  37. [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  38. [ares ~] rm ~/emby-server-deb.deb
  39. [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
  40. [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
  41. [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
  42. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  43. [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
  44. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  45. [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  46. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  47. [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  48. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  49. [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
  50. > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  51. sed: -e expression #1, char 6: unterminated `s' command
  52.  
  53. http://ares.feralhosting.com:
  54. [ares ~] pgrep -fu "$(whoami)" "emby"
  55. [ares ~] mkdir -p ~/bin && bash
  56. [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  57.  
  58. --2019-05-22 15:42:18-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  59. Resolving github.com (github.com)... 140.82.118.3
  60. Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  61. HTTP request sent, awaiting response... 302 Found
  62. Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154219Z&X-Amz-Expires=300&X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  63. --2019-05-22 15:42:19-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154219Z&X-Amz-Expires=300&X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  64. Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.0.35
  65. Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.0.35|:443... connected.
  66. HTTP request sent, awaiting response... 200 OK
  67. Length: 61688298 (59M) [application/octet-stream]
  68. Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
  69.  
  70. /media/sdk1/brian/e 100%[===================>] 58.83M 19.8MB/s in 3.0s
  71.  
  72. 2019-05-22 15:42:22 (19.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
  73.  
  74. [ares ~] d
  75. bash: d: command not found
  76. [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  77. [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  78. [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  79. [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  80. ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
  81. [ares ~] rm ~/emby-server-deb.deb
  82. [ares ~] mkdir -p ~/bin && bash
  83. [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  84. --2019-05-22 15:48:22-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  85. Resolving github.com (github.com)... 140.82.118.4
  86. Connecting to github.com (github.com)|140.82.118.4|:443... connected.
  87. HTTP request sent, awaiting response... 302 Found
  88. Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154822Z&X-Amz-Expires=300&X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  89. --2019-05-22 15:48:22-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154822Z&X-Amz-Expires=300&X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  90. Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.133.163
  91. Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.133.163|:443... connected.
  92. HTTP request sent, awaiting response... 200 OK
  93. Length: 61688298 (59M) [application/octet-stream]
  94. Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
  95.  
  96. /media/sdk1/brian/e 100%[===================>] 58.83M 39.8MB/s in 1.5s
  97.  
  98. 2019-05-22 15:48:24 (39.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
  99.  
  100. [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  101. [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  102. [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  103. [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  104. ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
  105. [ares ~] rm ~/emby-server-deb.deb
  106. [ares ~] emby
  107. bash: emby: command not found
  108. [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
  109. [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
  110. [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
  111. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  112. [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
  113. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  114. [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  115. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  116. [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  117. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  118. [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
  119. > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  120. sed: -e expression #1, char 6: unterminated `s' command
  121.  
  122. http://ares.feralhosting.com:
  123. [ares ~] pgrep -fu "$(whoami)" "emby"
  124. [ares ~] pkill -fu "$(whoami)" 'emby'; sleep 3 && screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)<PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  125. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  126.  
  127. http://ares.feralhosting.com:
  128. [ares ~] http://ares.feralhosting.com:
  129. bash: http://ares.feralhosting.com:: No such file or directory
  130. [ares ~] emby
  131. bash: emby: command not found
  132. [ares ~]
  133. [ares ~] http://ares.feralhosting.com:
  134. bash: http://ares.feralhosting.com:: No such file or directory
  135. [ares ~] [ares ~] http://ares.feralhosting.com:
  136. bash: [ares: command not found
  137. [ares ~] bash: http://ares.feralhosting.com:: No such file or directory
  138. bash: bash:: command not found
  139. [ares ~] [ares ~] emby
  140. bash: [ares: command not found
  141. [ares ~] bash: emby: command not found
  142. bash: bash:: command not found
  143. [ares ~] Last login: Sat May 18 20:50:03 2019 from 82.27.71.229
  144. bash: Last: command not found
  145. [ares ~]
  146. Resolving github.com (github.com)... 140.82.118.3
  147. Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  148. HTTP request sent, awaiting response... 302 Found
  149. Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T153747Z&X-Amz-Expires=300&X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  150. --2019-05-22 15:37:47-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T153747Z&X-Amz-Expires=300&X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  151. [ares ~] [ares ~]
  152. bash: [ares: command not found
  153. [ares ~] [ares ~] mkdir -p ~/bin && bash
  154. bash: [ares: command not found
  155. [ares ~] [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  156.  
  157. [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  158. [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  159. [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  160. [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  161. [ares ~] rm ~/emby-server-deb.deb
  162. [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
  163. [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
  164. [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
  165. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  166. [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
  167. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  168. [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  169. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  170. [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  171. sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  172. [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
  173. > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  174. sed: -e expression #1, char 6: unterminated `s' command
  175.  
  176. http://ares.feralhosting.com:
  177. [ares ~] pgrep -fu "$(whoami)" "emby"
  178. [ares ~] mkdir -p ~/bin && bash
  179. [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  180.  
  181. --2019-05-22 15:42:18-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  182. Resolving github.com (github.com)... 140.82.118.3
  183. Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  184. HTTP request sent, awaiting response... 302 Found
  185. Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25bash: [ares: command not found
  186. [ares ~] --2019-05-22 15:37:47-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  187. bash: --2019-05-22: command not found
  188. [ares ~] Resolving github.com (github.com)... 140.82.118.3
  189. bash: syntax error near unexpected token `('
  190. [ares ~] Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  191. bash: syntax error near unexpected token `('
  192. 167[ares ~] HTTP request sent, awaiting response... 302 Found
  193. bash: HTTP: command not found
  194. [ares ~] Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T153747Z&X-Amz-Expires=300&X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  195. [1] 23357
  196. bash: Location:: command not found
  197. [2] 23358
  198. bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
  199. [3] 23359
  200. bash: X-Amz-Date=20190522T153747Z: command not found
  201. [4] 23360
  202. bash: X-Amz-Expires=300: command not found
  203. [5] 23361
  204. bash: X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4: command not found
  205. [6] 23362
  206. bash: X-Amz-SignedHeaders=host: command not found
  207. [7] 23363
  208. [8] 23364
  209. bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
  210. bash: response-content-type=application%2Foctet-stream: command not found
  211. [1] Exit 127 Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256
  212. [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
  213. [3] Exit 127 X-Amz-Date=20190522T153747Z
  214. [4] Exit 127 X-Amz-Expires=300
  215. [5] Exit 127 X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4
  216. [6] Exit 127 X-Amz-SignedHeaders=host
  217. [7]- Done actor_id=0
  218. [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
  219. [ares ~] --2019-05-22 15:37:47-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T153747Z&X-Amz-Expires=300&X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  220. [1] 23366
  221. bash: --2019-05-22: command not found
  222. [2] 23367
  223. bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
  224. [3] 23368
  225. bash: X-Amz-Date=20190522T153747Z: command not found
  226. [4] 23369
  227. bash: X-Amz-Expires=300: command not found
  228. [5] 23370
  229. bash: X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4: command not found
  230. [6] 23371
  231. bash: X-Amz-SignedHeaders=host: command not found
  232. [7] 23372
  233. [8] 23373
  234. bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
  235. bash: response-content-type=application%2Foctet-stream: command not found
  236. [1] Exit 127 --2019-05-22 15:37:47-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256
  237. [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
  238. [3] Exit 127 X-Amz-Date=20190522T153747Z
  239. [4] Exit 127 X-Amz-Expires=300
  240. [5] Exit 127 X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4
  241. [6] Exit 127 X-Amz-SignedHeaders=host
  242. [7]- Done actor_id=0
  243. [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
  244. [ares ~] Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.104.91
  245. bash: syntax error near unexpected token `('
  246. [ares ~] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.104.91|:443... connected.
  247. bash: syntax error near unexpected token `('
  248. [ares ~] HTTP request sent, awaiting response... 200 OK
  249. bash: HTTP: command not found
  250. [ares ~] Length: 61688298 (59M) [application/octet-stream]
  251. bash: syntax error near unexpected token `('
  252. [ares ~] Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
  253. bash: Saving: command not found
  254. [ares ~]
  255. [ares ~] /media/sdk1/brian/e 100%[===================>] 58.83M 40.5MB/s in 1.5s
  256. bash: /media/sdk1/brian/e: No such file or directory
  257. [ares ~]
  258. [ares ~] 2019-05-22 15:37:49 (40.5 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
  259. bash: syntax error near unexpected token `('
  260. [ares ~]
  261. [ares ~] [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  262. bash: [ares: command not found
  263. [ares ~] [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  264. bash: [ares: command not found
  265. [ares ~] [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  266. bash: [ares: command not found
  267. [ares ~] [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  268. bash: [ares: command not found
  269. [ares ~] [ares ~] rm ~/emby-server-deb.deb
  270. bash: [ares: command not found
  271. [ares ~] [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
  272. bash: [ares: command not found
  273. [ares ~] [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
  274. bash: [ares: command not found
  275. [ares ~] [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
  276. bash: [ares: command not found
  277. [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  278. > [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
  279. > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  280. bash: sed:: command not found
  281. [ares ~] [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  282. bash: [ares: command not found
  283. [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  284. > [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  285. > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  286. bash: sed:: command not found
  287. [ares ~] [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
  288. > > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  289. bash: [ares: command not found
  290. [ares ~] sed: -e expression #1, char 6: unterminated `s' command
  291. bash: sed:: command not found
  292. [ares ~]
  293. [ares ~] http://ares.feralhosting.com:
  294. bash: http://ares.feralhosting.com:: No such file or directory
  295. [ares ~] [ares ~] pgrep -fu "$(whoami)" "emby"
  296. bash: [ares: command not found
  297. [ares ~] [ares ~] mkdir -p ~/bin && bash
  298. bash: [ares: command not found
  299. [ares ~] [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  300. bash: [ares: command not found
  301. [ares ~]
  302. [ares ~] --2019-05-22 15:42:18-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  303. bash: --2019-05-22: command not found
  304. [ares ~] Resolving github.com (github.com)... 140.82.118.3
  305. bash: syntax error near unexpected token `('
  306. [ares ~] Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  307. bash: syntax error near unexpected token `('
  308. [ares ~] HTTP request sent, awaiting response... 302 Found
  309. bash: HTTP: command not found
  310. [ares ~] Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154219Z&X-Amz-Expires=300&X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  311. [1] 23420
  312. [2] 23421
  313. bash: Location:: command not found
  314. bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
  315. [3] 23422
  316. bash: X-Amz-Date=20190522T154219Z: command not found
  317. [4] 23423
  318. bash: X-Amz-Expires=300: command not found
  319. [5] 23424
  320. bash: X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c: command not found
  321. [6] 23425
  322. bash: X-Amz-SignedHeaders=host: command not found
  323. [7] 23426
  324. [8] 23427
  325. bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
  326. bash: response-content-type=application%2Foctet-stream: command not found
  327. [1] Exit 127 Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256
  328. [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
  329. [3] Exit 127 X-Amz-Date=20190522T154219Z
  330. [4] Exit 127 X-Amz-Expires=300
  331. [5] Exit 127 X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c
  332. [6] Exit 127 X-Amz-SignedHeaders=host
  333. [7]- Done actor_id=0
  334. [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
  335. [ares ~] --2019-05-22 15:42:19-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154219Z&X-Amz-Expires=300&X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  336. [1] 23429
  337. bash: --2019-05-22: command not found
  338. [2] 23430
  339. bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
  340. [3] 23431
  341. bash: X-Amz-Date=20190522T154219Z: command not found
  342. [4] 23432
  343. bash: X-Amz-Expires=300: command not found
  344. [5] 23433
  345. bash: X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c: command not found
  346. [6] 23436
  347. bash: X-Amz-SignedHeaders=host: command not found
  348. [7] 23437
  349. [8] 23438
  350. bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
  351. bash: response-content-type=application%2Foctet-stream: command not found
  352. [1] Exit 127 --2019-05-22 15:42:19-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256
  353. [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
  354. [3] Exit 127 X-Amz-Date=20190522T154219Z
  355. [4] Exit 127 X-Amz-Expires=300
  356. [5] Exit 127 X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c
  357. [6] Exit 127 X-Amz-SignedHeaders=host
  358. [7]- Done actor_id=0
  359. [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
  360. [ares ~] Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.0.35
  361. bash: syntax error near unexpected token `('
  362. [ares ~] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.0.35|:443... connected.
  363. bash: syntax error near unexpected token `('
  364. [ares ~] HTTP request sent, awaiting response... 200 OK
  365. bash: HTTP: command not found
  366. [ares ~] Length: 61688298 (59M) [application/octet-stream]
  367. bash: syntax error near unexpected token `('
  368. [ares ~] Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
  369. bash: Saving: command not found
  370. [ares ~]
  371. /[ares ~] /media/sdk1/brian/e 100%[===================>] 58.83M 19.8MB/s in3.0s
  372. bash: /media/sdk1/brian/e: No such file or directory
  373. [ares ~]
  374. [ares ~] 2019-05-22 15:42:22 (19.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
  375. bash: syntax error near unexpected token `('
  376. [ares ~]
  377. [ares ~] [ares ~] d
  378. bash: [ares: command not found
  379. [ares ~] bash: d: command not found
  380. bash: bash:: command not found
  381. [ares ~] [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  382. bash: [ares: command not found
  383. [ares ~] [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  384. bash: [ares: command not found
  385. [ares ~] [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  386. bash: [ares: command not found
  387. [ares ~] [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  388. bash: [ares: command not found
  389. [ares ~] ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
  390. bash: ln:: command not found
  391. [ares ~] [ares ~] rm ~/emby-server-deb.deb
  392. bash: [ares: command not found
  393. [ares ~] [ares ~] mkdir -p ~/bin && bash
  394. bash: [ares: command not found
  395. [ares ~] [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  396. bash: [ares: command not found
  397. [ares ~] --2019-05-22 15:48:22-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  398. bash: --2019-05-22: command not found
  399. [ares ~] Resolving github.com (github.com)... 140.82.118.4
  400. bash: syntax error near unexpected token `('
  401. [ares ~] Connecting to github.com (github.com)|140.82.118.4|:443... connected.
  402. bash: syntax error near unexpected token `('
  403. [ares ~] HTTP request sent, awaiting response... 302 Found
  404. bash: HTTP: command not found
  405. [ares ~] Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154822Z&X-Amz-Expires=300&X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  406. [1] 23480
  407. bash: Location:: command not found
  408. [2] 23481
  409. bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
  410. [3] 23482
  411. bash: X-Amz-Date=20190522T154822Z: command not found
  412. [4] 23483
  413. bash: X-Amz-Expires=300: command not found
  414. [5] 23484
  415. [6] 23485
  416. bash: X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9: command not found
  417. bash: X-Amz-SignedHeaders=host: command not found
  418. [7] 23486
  419. [8] 23487
  420. bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
  421. bash: response-content-type=application%2Foctet-stream: command not found
  422. [1] Exit 127 Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256
  423. [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
  424. [3] Exit 127 X-Amz-Date=20190522T154822Z
  425. [4] Exit 127 X-Amz-Expires=300
  426. [5] Exit 127 X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9
  427. [6] Exit 127 X-Amz-SignedHeaders=host
  428. [7]- Done actor_id=0
  429. [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
  430. [ares ~] --2019-05-22 15:48:22-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T154822Z&X-Amz-Expires=300&X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  431. [1] 23489
  432. [2] 23490
  433. bash: --2019-05-22: command not found
  434. bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
  435. [3] 23491
  436. bash: X-Amz-Date=20190522T154822Z: command not found
  437. [4] 23492
  438. bash: X-Amz-Expires=300: command not found
  439. [5] 23493
  440. bash: X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9: command not found
  441. [6] 23494
  442. bash: X-Amz-SignedHeaders=host: command not found
  443. [7] 23495
  444. [8] 23496
  445. bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
  446. bash: response-content-type=application%2Foctet-stream: command not found
  447. [1] Exit 127 --2019-05-22 15:48:22-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256
  448. [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
  449. [3] Exit 127 X-Amz-Date=20190522T154822Z
  450. [4] Exit 127 X-Amz-Expires=300
  451. [5] Exit 127 X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9
  452. [6] Exit 127 X-Amz-SignedHeaders=host
  453. [7]- Done actor_id=0
  454. [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
  455. [ares ~] Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.133.163
  456. bash: syntax error near unexpected token `('
  457. [ares ~] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.133.163|:443... connected.
  458. bash: syntax error near unexpected token `('
  459. [ares ~] HTTP request sent, awaiting response... 200 OK
  460. bash: HTTP: command not found
  461. [ares ~] Length: 61688298 (59M) [application/octet-stream]
  462. bash: syntax error near unexpected token `('
  463. [ares ~] Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
  464. bash: Saving: command not found
  465. [ares ~]
  466. [ares ~] /media/sdk1/brian/e 100%[===================>] 58.83M 39.8MB/s in 1.5s
  467. bash: /media/sdk1/brian/e: No such file or directory
  468. [ares ~]
  469. [ares ~] 2019-05-22 15:48:24 (39.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
  470. bash: syntax error near unexpected token `('
  471. [ares ~]
  472. [ares ~] [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  473. bash: [ares: command not found
  474. [ares ~] [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  475. bash: [ares: command not found
  476. [ares ~] [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  477. bash: [ares: command not found
  478. [ares ~] [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  479. bash: [ares: command not found
  480. [ares ~] ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
  481. bash: ln:: command not found
  482. [ares ~] [ares ~] rm ~/emby-server-deb.deb
  483. bash: [ares: command not found
  484. [ares ~] [ares ~] emby
  485. bash: [ares: command not found
  486. [ares ~] bash: emby: command not found
  487. bash: bash:: command not found
  488. [ares ~] [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
  489. bash: [ares: command not found
  490. [ares ~] [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
  491. bash: [ares: command not found
  492. [ares ~] [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
  493. bash: [ares: command not found
  494. [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  495. > [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
  496. > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  497. bash: sed:: command not found
  498. [ares ~] [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  499. bash: [ares: command not found
  500. [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  501. > [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  502. > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  503. bash: sed:: command not found
  504. [ares ~] [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
  505. > > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  506. bash: [ares: command not found
  507. [ares ~] sed: -e expression #1, char 6: unterminated `s' command
  508. bash: sed:: command not found
  509. [ares ~]
  510. [ares ~] http://ares.feralhosting.com:
  511. bash: http://ares.feralhosting.com:: No such file or directory
  512. [ares ~] [ares ~] pgrep -fu "$(whoami)" "emby"
  513. bash: [ares: command not found
  514. [ares ~] [ares ~] pkill -fu "$(whoami)" 'emby'; sleep 3 && screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)<PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  515. bash: [ares: command not found
  516.  
  517. http://ares.feralhosting.com:45429
  518. [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
  519. >
  520. > http://ares.feralhosting.com:
  521. > [ares ~] http://ares.feralhosting.com:
  522. > bash: http://ares.feralhosting.com:: No such file or directory
  523. > [ares ~] emby
  524. > bash: emby: command not found
  525. > [ares ~]
  526. > [ares ~] http://ares.feralhosting.com:
  527. > bash: http://ares.feralhosting.com:: No such file or directory
  528. > [ares ~] [ares ~] http://ares.feralhosting.com:
  529. > bash: [ares: command not found
  530. > [ares ~] bash: http://ares.feralhosting.com:: No such file or directory
  531. > bash: bash:: command not found
  532. > [ares ~] [ares ~] emby
  533. > bash: [ares: command not found
  534. > [ares ~] bash: emby: command not found
  535. > bash: bash:: command not found
  536. > [ares ~]
  537. > ~/var
  538. > cd
  539. > ^C
  540. [ares ~] ~/var
  541. bash: /media/sdk1/brian/var: Is a directory
  542. [ares ~] bash: /media/sdk1/brian/var: Is a directory
  543. bash: bash:: command not found
  544. [ares ~] ~/var/lib
  545. bash: /media/sdk1/brian/var/lib: Is a directory
  546. [ares ~] bash: /media/sdk1/brian/var/lib: Is a directory
  547. bash: bash:: command not found
  548. [ares ~] ~/var/lib/emby
  549. bash: /media/sdk1/brian/var/lib/emby: Is a directory
  550. [ares ~]
  551. [ares ~] bash: /media/sdk1/brian/var/lib/emby: Is a directory
  552. bash: bash:: command not found
  553. [ares ~] ~/var/lib/emby/config
  554. bash: /media/sdk1/brian/var/lib/emby/config: Is a directory
  555. [ares ~]
  556. [ares ~] bash: /media/sdk1/brian/var/lib/emby/config: Is a directory
  557. bash: bash:: command not found
  558. [ares ~] ls ~/var/lib/emby/config
  559. system.xml
  560. [ares ~] system.xml
  561. bash: system.xml: command not found
  562. [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
  563. [ares ~] mkdir -p ~/bin && bash
  564. [ares ~] wget -O ~/emby-server-deb.deb $(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 5 | tail -n 1)
  565. --2019-05-22 16:13:08-- https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
  566. Resolving github.com (github.com)... 140.82.118.3
  567. Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  568. HTTP request sent, awaiting response... 302 Found
  569. Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T161308Z&X-Amz-Expires=300&X-Amz-Signature=d3ca30aa36939439adecfd2d0988035cca069a785c5fbc93a448935f6e960a87&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
  570. --2019-05-22 16:13:08-- https://github-production-release-asset-2e65be.s3.amazonaws.com/25282228/6d7a6300-6b4a-11e9-9664-7ddec931cdbe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190522T161308Z&X-Amz-Expires=300&X-Amz-Signature=d3ca30aa36939439adecfd2d0988035cca069a785c5fbc93a448935f6e960a87&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb&response-content-type=application%2Foctet-stream
  571. Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.98.67
  572. Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.98.67|:443... connected.
  573. HTTP request sent, awaiting response... 200 OK
  574. Length: 61688298 (59M) [application/octet-stream]
  575. Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
  576.  
  577. /media/sdk1/brian/e 100%[===================>] 58.83M 40.2MB/s in 1.5s
  578.  
  579. 2019-05-22 16:13:10 (40.2 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
  580.  
  581. [ares ~] dpkg -x ~/emby-server-deb.deb ~/
  582. [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
  583. [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
  584. [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  585. ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
  586. [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
  587. ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
  588. [ares ~] ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
  589. bash: ln:: command not found
  590. [ares ~] rm ~/emby-server-deb.deb
  591. [ares ~] emby
  592. bash: emby: command not found
  593. [ares ~] emby httpPort=$(shuf -i 10001-59001 -n 1)
  594. bash: emby: command not found
  595. [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
  596. [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
  597. [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
  598. [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
  599. [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  600. [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
  601. [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
  602. > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  603. sed: -e expression #1, char 6: unterminated `s' command
  604.  
  605. http://ares.feralhosting.com:
  606. [ares ~] [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
  607. > > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
  608. bash: [ares: command not found
  609. [ares ~] sed: -e expression #1, char 6: unterminated `s' command
  610. bash: sed:: command not found
  611. [ares ~]
  612. [ares ~] http://ares.feralhosting.com:
  613. bash: http://ares.feralhosting.com:: No such file or directory
  614. [ares ~] [ares ~]
  615. bash: [ares: command not found
  616. [ares ~] http://ares.feralhosting.com:45429
  617. bash: http://ares.feralhosting.com:45429: No such file or directory
  618. [ares ~]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement