Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login as: brian
- brian@ares.feralhosting.com's password:
- Linux ares 4.19.0-0.bpo.1-amd64 #1 SMP Debian 4.19.12-1~bpo9+1 (2018-12-30) x86_64
- __ _ _ _ _
- / _| | | | | | (_)
- | |_ ___ _ __ __ _| | |__ ___ ___| |_ _ _ __ __ _ ___ ___ _ __ ___
- | _/ _ \ '__/ _` | | '_ \ / _ \/ __| __| | '_ \ / _` | / __/ _ \| '_ ` _ \
- | || __/ | | (_| | | | | | (_) \__ \ |_| | | | | (_| || (_| (_) | | | | | |
- |_| \___|_| \__,_|_|_| |_|\___/|___/\__|_|_| |_|\__, (_)___\___/|_| |_| |_|
- __/ |
- |___/
- Last login: Sat May 18 20:50:03 2019 from 82.27.71.229
- [ares ~]
- [ares ~] mkdir -p ~/bin && bash
- [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)
- --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
- Resolving github.com (github.com)... 140.82.118.3
- Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- 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]
- --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
- Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.104.91
- Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.104.91|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 61688298 (59M) [application/octet-stream]
- Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
- /media/sdk1/brian/e 100%[===================>] 58.83M 40.5MB/s in 1.5s
- 2019-05-22 15:37:49 (40.5 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
- [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- [ares ~] rm ~/emby-server-deb.deb
- [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
- > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
- sed: -e expression #1, char 6: unterminated `s' command
- http://ares.feralhosting.com:
- [ares ~] pgrep -fu "$(whoami)" "emby"
- [ares ~] mkdir -p ~/bin && bash
- [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)
- --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
- Resolving github.com (github.com)... 140.82.118.3
- Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- 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]
- --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
- Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.0.35
- Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.0.35|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 61688298 (59M) [application/octet-stream]
- Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
- /media/sdk1/brian/e 100%[===================>] 58.83M 19.8MB/s in 3.0s
- 2019-05-22 15:42:22 (19.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
- [ares ~] d
- bash: d: command not found
- [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
- [ares ~] rm ~/emby-server-deb.deb
- [ares ~] mkdir -p ~/bin && bash
- [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)
- --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
- Resolving github.com (github.com)... 140.82.118.4
- Connecting to github.com (github.com)|140.82.118.4|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- 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]
- --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
- Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.133.163
- Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.133.163|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 61688298 (59M) [application/octet-stream]
- Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
- /media/sdk1/brian/e 100%[===================>] 58.83M 39.8MB/s in 1.5s
- 2019-05-22 15:48:24 (39.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
- [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
- [ares ~] rm ~/emby-server-deb.deb
- [ares ~] emby
- bash: emby: command not found
- [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
- > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
- sed: -e expression #1, char 6: unterminated `s' command
- http://ares.feralhosting.com:
- [ares ~] pgrep -fu "$(whoami)" "emby"
- [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)"
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- http://ares.feralhosting.com:
- [ares ~] http://ares.feralhosting.com:
- bash: http://ares.feralhosting.com:: No such file or directory
- [ares ~] emby
- bash: emby: command not found
- [ares ~]
- [ares ~] http://ares.feralhosting.com:
- bash: http://ares.feralhosting.com:: No such file or directory
- [ares ~] [ares ~] http://ares.feralhosting.com:
- bash: [ares: command not found
- [ares ~] bash: http://ares.feralhosting.com:: No such file or directory
- bash: bash:: command not found
- [ares ~] [ares ~] emby
- bash: [ares: command not found
- [ares ~] bash: emby: command not found
- bash: bash:: command not found
- [ares ~] Last login: Sat May 18 20:50:03 2019 from 82.27.71.229
- bash: Last: command not found
- [ares ~]
- Resolving github.com (github.com)... 140.82.118.3
- Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- 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]
- --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
- [ares ~] [ares ~]
- bash: [ares: command not found
- [ares ~] [ares ~] mkdir -p ~/bin && bash
- bash: [ares: command not found
- [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)
- [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- [ares ~] rm ~/emby-server-deb.deb
- [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
- > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
- sed: -e expression #1, char 6: unterminated `s' command
- http://ares.feralhosting.com:
- [ares ~] pgrep -fu "$(whoami)" "emby"
- [ares ~] mkdir -p ~/bin && bash
- [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)
- --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
- Resolving github.com (github.com)... 140.82.118.3
- Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/25bash: [ares: command not found
- [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
- bash: --2019-05-22: command not found
- [ares ~] Resolving github.com (github.com)... 140.82.118.3
- bash: syntax error near unexpected token `('
- [ares ~] Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- bash: syntax error near unexpected token `('
- 167[ares ~] HTTP request sent, awaiting response... 302 Found
- bash: HTTP: command not found
- [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]
- [1] 23357
- bash: Location:: command not found
- [2] 23358
- bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
- [3] 23359
- bash: X-Amz-Date=20190522T153747Z: command not found
- [4] 23360
- bash: X-Amz-Expires=300: command not found
- [5] 23361
- bash: X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4: command not found
- [6] 23362
- bash: X-Amz-SignedHeaders=host: command not found
- [7] 23363
- [8] 23364
- bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
- bash: response-content-type=application%2Foctet-stream: command not found
- [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
- [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
- [3] Exit 127 X-Amz-Date=20190522T153747Z
- [4] Exit 127 X-Amz-Expires=300
- [5] Exit 127 X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4
- [6] Exit 127 X-Amz-SignedHeaders=host
- [7]- Done actor_id=0
- [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
- [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
- [1] 23366
- bash: --2019-05-22: command not found
- [2] 23367
- bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
- [3] 23368
- bash: X-Amz-Date=20190522T153747Z: command not found
- [4] 23369
- bash: X-Amz-Expires=300: command not found
- [5] 23370
- bash: X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4: command not found
- [6] 23371
- bash: X-Amz-SignedHeaders=host: command not found
- [7] 23372
- [8] 23373
- bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
- bash: response-content-type=application%2Foctet-stream: command not found
- [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
- [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
- [3] Exit 127 X-Amz-Date=20190522T153747Z
- [4] Exit 127 X-Amz-Expires=300
- [5] Exit 127 X-Amz-Signature=dfac41cbb860a2747f216859d3e8c14159413c9ae12a70d2b9c596c7b58897e4
- [6] Exit 127 X-Amz-SignedHeaders=host
- [7]- Done actor_id=0
- [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
- [ares ~] Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.104.91
- bash: syntax error near unexpected token `('
- [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.
- bash: syntax error near unexpected token `('
- [ares ~] HTTP request sent, awaiting response... 200 OK
- bash: HTTP: command not found
- [ares ~] Length: 61688298 (59M) [application/octet-stream]
- bash: syntax error near unexpected token `('
- [ares ~] Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
- bash: Saving: command not found
- [ares ~]
- [ares ~] /media/sdk1/brian/e 100%[===================>] 58.83M 40.5MB/s in 1.5s
- bash: /media/sdk1/brian/e: No such file or directory
- [ares ~]
- [ares ~] 2019-05-22 15:37:49 (40.5 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
- bash: syntax error near unexpected token `('
- [ares ~]
- [ares ~] [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- bash: [ares: command not found
- [ares ~] [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- bash: [ares: command not found
- [ares ~] [ares ~] rm ~/emby-server-deb.deb
- bash: [ares: command not found
- [ares ~] [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
- bash: [ares: command not found
- [ares ~] [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
- bash: [ares: command not found
- [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- > [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
- > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- bash: sed:: command not found
- [ares ~] [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- bash: [ares: command not found
- [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- > [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- bash: sed:: command not found
- [ares ~] [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
- > > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
- bash: [ares: command not found
- [ares ~] sed: -e expression #1, char 6: unterminated `s' command
- bash: sed:: command not found
- [ares ~]
- [ares ~] http://ares.feralhosting.com:
- bash: http://ares.feralhosting.com:: No such file or directory
- [ares ~] [ares ~] pgrep -fu "$(whoami)" "emby"
- bash: [ares: command not found
- [ares ~] [ares ~] mkdir -p ~/bin && bash
- bash: [ares: command not found
- [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)
- bash: [ares: command not found
- [ares ~]
- [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
- bash: --2019-05-22: command not found
- [ares ~] Resolving github.com (github.com)... 140.82.118.3
- bash: syntax error near unexpected token `('
- [ares ~] Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- bash: syntax error near unexpected token `('
- [ares ~] HTTP request sent, awaiting response... 302 Found
- bash: HTTP: command not found
- [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]
- [1] 23420
- [2] 23421
- bash: Location:: command not found
- bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
- [3] 23422
- bash: X-Amz-Date=20190522T154219Z: command not found
- [4] 23423
- bash: X-Amz-Expires=300: command not found
- [5] 23424
- bash: X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c: command not found
- [6] 23425
- bash: X-Amz-SignedHeaders=host: command not found
- [7] 23426
- [8] 23427
- bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
- bash: response-content-type=application%2Foctet-stream: command not found
- [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
- [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
- [3] Exit 127 X-Amz-Date=20190522T154219Z
- [4] Exit 127 X-Amz-Expires=300
- [5] Exit 127 X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c
- [6] Exit 127 X-Amz-SignedHeaders=host
- [7]- Done actor_id=0
- [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
- [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
- [1] 23429
- bash: --2019-05-22: command not found
- [2] 23430
- bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
- [3] 23431
- bash: X-Amz-Date=20190522T154219Z: command not found
- [4] 23432
- bash: X-Amz-Expires=300: command not found
- [5] 23433
- bash: X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c: command not found
- [6] 23436
- bash: X-Amz-SignedHeaders=host: command not found
- [7] 23437
- [8] 23438
- bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
- bash: response-content-type=application%2Foctet-stream: command not found
- [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
- [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
- [3] Exit 127 X-Amz-Date=20190522T154219Z
- [4] Exit 127 X-Amz-Expires=300
- [5] Exit 127 X-Amz-Signature=328871f5892850012b1034def478167022bfbd64420c4e751ffe883023f5654c
- [6] Exit 127 X-Amz-SignedHeaders=host
- [7]- Done actor_id=0
- [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
- [ares ~] Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.0.35
- bash: syntax error near unexpected token `('
- [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.
- bash: syntax error near unexpected token `('
- [ares ~] HTTP request sent, awaiting response... 200 OK
- bash: HTTP: command not found
- [ares ~] Length: 61688298 (59M) [application/octet-stream]
- bash: syntax error near unexpected token `('
- [ares ~] Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
- bash: Saving: command not found
- [ares ~]
- /[ares ~] /media/sdk1/brian/e 100%[===================>] 58.83M 19.8MB/s in3.0s
- bash: /media/sdk1/brian/e: No such file or directory
- [ares ~]
- [ares ~] 2019-05-22 15:42:22 (19.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
- bash: syntax error near unexpected token `('
- [ares ~]
- [ares ~] [ares ~] d
- bash: [ares: command not found
- [ares ~] bash: d: command not found
- bash: bash:: command not found
- [ares ~] [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- bash: [ares: command not found
- [ares ~] [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- bash: [ares: command not found
- [ares ~] ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
- bash: ln:: command not found
- [ares ~] [ares ~] rm ~/emby-server-deb.deb
- bash: [ares: command not found
- [ares ~] [ares ~] mkdir -p ~/bin && bash
- bash: [ares: command not found
- [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)
- bash: [ares: command not found
- [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
- bash: --2019-05-22: command not found
- [ares ~] Resolving github.com (github.com)... 140.82.118.4
- bash: syntax error near unexpected token `('
- [ares ~] Connecting to github.com (github.com)|140.82.118.4|:443... connected.
- bash: syntax error near unexpected token `('
- [ares ~] HTTP request sent, awaiting response... 302 Found
- bash: HTTP: command not found
- [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]
- [1] 23480
- bash: Location:: command not found
- [2] 23481
- bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
- [3] 23482
- bash: X-Amz-Date=20190522T154822Z: command not found
- [4] 23483
- bash: X-Amz-Expires=300: command not found
- [5] 23484
- [6] 23485
- bash: X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9: command not found
- bash: X-Amz-SignedHeaders=host: command not found
- [7] 23486
- [8] 23487
- bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
- bash: response-content-type=application%2Foctet-stream: command not found
- [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
- [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
- [3] Exit 127 X-Amz-Date=20190522T154822Z
- [4] Exit 127 X-Amz-Expires=300
- [5] Exit 127 X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9
- [6] Exit 127 X-Amz-SignedHeaders=host
- [7]- Done actor_id=0
- [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
- [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
- [1] 23489
- [2] 23490
- bash: --2019-05-22: command not found
- bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request: command not found
- [3] 23491
- bash: X-Amz-Date=20190522T154822Z: command not found
- [4] 23492
- bash: X-Amz-Expires=300: command not found
- [5] 23493
- bash: X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9: command not found
- [6] 23494
- bash: X-Amz-SignedHeaders=host: command not found
- [7] 23495
- [8] 23496
- bash: response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb: command not found
- bash: response-content-type=application%2Foctet-stream: command not found
- [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
- [2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190522%2Fus-east-1%2Fs3%2Faws4_request
- [3] Exit 127 X-Amz-Date=20190522T154822Z
- [4] Exit 127 X-Amz-Expires=300
- [5] Exit 127 X-Amz-Signature=4763dad1b36f903d4c11cccb5f87df111184cd20958a52a624fea66afec9b2d9
- [6] Exit 127 X-Amz-SignedHeaders=host
- [7]- Done actor_id=0
- [8]+ Exit 127 response-content-disposition=attachment%3B%20filename%3Demby-server-deb_4.1.1.0_amd64.deb
- [ares ~] Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.133.163
- bash: syntax error near unexpected token `('
- [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.
- bash: syntax error near unexpected token `('
- [ares ~] HTTP request sent, awaiting response... 200 OK
- bash: HTTP: command not found
- [ares ~] Length: 61688298 (59M) [application/octet-stream]
- bash: syntax error near unexpected token `('
- [ares ~] Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
- bash: Saving: command not found
- [ares ~]
- [ares ~] /media/sdk1/brian/e 100%[===================>] 58.83M 39.8MB/s in 1.5s
- bash: /media/sdk1/brian/e: No such file or directory
- [ares ~]
- [ares ~] 2019-05-22 15:48:24 (39.8 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
- bash: syntax error near unexpected token `('
- [ares ~]
- [ares ~] [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- bash: [ares: command not found
- [ares ~] [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- bash: [ares: command not found
- [ares ~] ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
- bash: ln:: command not found
- [ares ~] [ares ~] rm ~/emby-server-deb.deb
- bash: [ares: command not found
- [ares ~] [ares ~] emby
- bash: [ares: command not found
- [ares ~] bash: emby: command not found
- bash: bash:: command not found
- [ares ~] [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
- bash: [ares: command not found
- [ares ~] [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
- bash: [ares: command not found
- [ares ~] [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
- bash: [ares: command not found
- [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- > [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
- > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- bash: sed:: command not found
- [ares ~] [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- bash: [ares: command not found
- [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- > [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- > sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- bash: sed:: command not found
- [ares ~] [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
- > > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
- bash: [ares: command not found
- [ares ~] sed: -e expression #1, char 6: unterminated `s' command
- bash: sed:: command not found
- [ares ~]
- [ares ~] http://ares.feralhosting.com:
- bash: http://ares.feralhosting.com:: No such file or directory
- [ares ~] [ares ~] pgrep -fu "$(whoami)" "emby"
- bash: [ares: command not found
- [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)"
- bash: [ares: command not found
- http://ares.feralhosting.com:45429
- [ares ~] sed: can't read /media/sdk1/brian/var/lib/emby/config/system.xml: No such file or directory
- >
- > http://ares.feralhosting.com:
- > [ares ~] http://ares.feralhosting.com:
- > bash: http://ares.feralhosting.com:: No such file or directory
- > [ares ~] emby
- > bash: emby: command not found
- > [ares ~]
- > [ares ~] http://ares.feralhosting.com:
- > bash: http://ares.feralhosting.com:: No such file or directory
- > [ares ~] [ares ~] http://ares.feralhosting.com:
- > bash: [ares: command not found
- > [ares ~] bash: http://ares.feralhosting.com:: No such file or directory
- > bash: bash:: command not found
- > [ares ~] [ares ~] emby
- > bash: [ares: command not found
- > [ares ~] bash: emby: command not found
- > bash: bash:: command not found
- > [ares ~]
- > ~/var
- > cd
- > ^C
- [ares ~] ~/var
- bash: /media/sdk1/brian/var: Is a directory
- [ares ~] bash: /media/sdk1/brian/var: Is a directory
- bash: bash:: command not found
- [ares ~] ~/var/lib
- bash: /media/sdk1/brian/var/lib: Is a directory
- [ares ~] bash: /media/sdk1/brian/var/lib: Is a directory
- bash: bash:: command not found
- [ares ~] ~/var/lib/emby
- bash: /media/sdk1/brian/var/lib/emby: Is a directory
- [ares ~]
- [ares ~] bash: /media/sdk1/brian/var/lib/emby: Is a directory
- bash: bash:: command not found
- [ares ~] ~/var/lib/emby/config
- bash: /media/sdk1/brian/var/lib/emby/config: Is a directory
- [ares ~]
- [ares ~] bash: /media/sdk1/brian/var/lib/emby/config: Is a directory
- bash: bash:: command not found
- [ares ~] ls ~/var/lib/emby/config
- system.xml
- [ares ~] system.xml
- bash: system.xml: command not found
- [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
- [ares ~] mkdir -p ~/bin && bash
- [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)
- --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
- Resolving github.com (github.com)... 140.82.118.3
- Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- 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]
- --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
- Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.98.67
- Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.98.67|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 61688298 (59M) [application/octet-stream]
- Saving to: ‘/media/sdk1/brian/emby-server-deb.deb’
- /media/sdk1/brian/e 100%[===================>] 58.83M 40.2MB/s in 1.5s
- 2019-05-22 16:13:10 (40.2 MB/s) - ‘/media/sdk1/brian/emby-server-deb.deb’ saved [61688298/61688298]
- [ares ~] dpkg -x ~/emby-server-deb.deb ~/
- [ares ~] sed -i "s|APP_DIR=/|APP_DIR=$HOME/|" ~/opt/emby-server/bin/emby-server
- [ares ~] sed -i "s|EMBY_DATA=/var|EMBY_DATA=$HOME/var|" ~/opt/emby-server/bin/emby-server
- [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
- [ares ~] ln -s ~/opt/emby-server/bin/emby-server ~/bin/emby
- ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
- [ares ~] ln: failed to create symbolic link '/media/sdk1/brian/bin/emby': File exists
- bash: ln:: command not found
- [ares ~] rm ~/emby-server-deb.deb
- [ares ~] emby
- bash: emby: command not found
- [ares ~] emby httpPort=$(shuf -i 10001-59001 -n 1)
- bash: emby: command not found
- [ares ~] httpPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] httpsPort=$(shuf -i 10001-59001 -n 1)
- [ares ~] sed -i "s|<PublicPort>.*<|<PublicPort>$httpPort<|g" ~/var/lib/emby/config/system.xml
- [ares ~] sed -i "s|<HttpServerPortNumber>.*<|<HttpServerPortNumber>$httpPort<|g" ~/var/lib/emby/config/system.xml
- [ares ~] sed -i "s|<PublicHttpsPort>.*<|<PublicHttpsPort>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- [ares ~] sed -i "s|<HttpsPortNumber>.*<|<HttpsPortNumber>$httpsPort<|g" ~/var/lib/emby/config/system.xml
- [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
- > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
- sed: -e expression #1, char 6: unterminated `s' command
- http://ares.feralhosting.com:
- [ares ~] [ares ~] screen -dmS emby emby && echo -e "\nhttp://$(hostname -f):$(sed -rn 's|(.*)
- > > <PublicPort>(.*)<\/PublicPort>|\2|p' ~/var/lib/emby/config/system.xml)"
- bash: [ares: command not found
- [ares ~] sed: -e expression #1, char 6: unterminated `s' command
- bash: sed:: command not found
- [ares ~]
- [ares ~] http://ares.feralhosting.com:
- bash: http://ares.feralhosting.com:: No such file or directory
- [ares ~] [ares ~]
- bash: [ares: command not found
- [ares ~] http://ares.feralhosting.com:45429
- bash: http://ares.feralhosting.com:45429: No such file or directory
- [ares ~]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement