קוד: |
sudo API_KEY='xxxxxxxxxxxxxxxxxxxxxxx' sh ./install.sh
--- This script will install the NGINX Amplify Agent package --- 1. Checking admin user ... root, ok. 2. Checking API key ... using xxxxxxxxxxxxxxxxxxxx 3. Checking if uuid should be stored in the config ... False 4. Checking Python ... found python 2.7 5. Checking OS compatibility ... raspbian is currently unsupported, apologies! |
קוד: |
curl -fs http://nginx.org/keys/nginx_signing.key | apt-key add -
O |
קוד: |
codename=`lsb_release -cs` && \
> os=`lsb_release -is | tr '[:upper:]' '[:lower:]'` && \ > echo "deb http://packages.amplify.nginx.com/${os}/ ${codename} amplify-agent" > \ > /etc/apt/sources.list.d/nginx-amplify.list cat /etc/apt/sources.list.d/nginx-amplify.list deb http://packages.amplify.nginx.com/raspbian/ stretch amplify-agent |
קוד: |
apt-get update
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Ign:3 http://packages.amplify.nginx.com/raspbian stretch InRelease Ign:4 http://packages.amplify.nginx.com/raspbian stretch Release Ign:5 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent armhf Packages Ign:6 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent all Packages Ign:7 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en Ign:8 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en_GB Ign:5 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent armhf Packages Ign:6 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent all Packages Ign:7 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en Ign:8 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en_GB Ign:5 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent armhf Packages Ign:6 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent all Packages Ign:7 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en Ign:8 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en_GB Ign:5 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent armhf Packages Ign:6 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent all Packages Ign:7 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en Ign:8 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en_GB Ign:5 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent armhf Packages Ign:6 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent all Packages Ign:7 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en Ign:8 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en_GB Err:5 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent armhf Packages 404 Not Found Ign:6 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent all Packages Ign:7 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en Ign:8 http://packages.amplify.nginx.com/raspbian stretch/amplify-agent Translation-en_GB Reading package lists... Done W: The repository 'http://packages.amplify.nginx.com/raspbian stretch Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://packages.amplify.nginx.com/raspbian/dists/stretch/amplify-agent/binary-armhf/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. root@raspberrypi:/home/pi# apt-get install nginx-amplify-agent |
קוד: |
apt-get install nginx-amplify-agent
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package nginx-amplify-agent |
ציטוט: |
מן הסתם מערכת ההפעלה צריכה להיות debian במקום raspbian ואז זה אמור לעבוד. |
ציטוט: |
ניסית לבנות אותה? |
קוד: |
Please select your OS: nginx_amplify.sh
1. FreeBSD 10, 11 2. SLES 12 3. Alpine 3.7 4. Fedora 24, 26 5. Other ==> 5 Before continuing with this installation script, please make sure that the following extra packages are installed on your system: git, python 2.6 or 2.7, python-dev, wget and gcc. Please install them manually if needed. Continue (y/n)? y Checking if python 2.6 or 2.7 exists ... yes Checking if git exists ... yes Checking if wget exists ... yes Checking if curl exists ... yes Checking if gcc exists ... yes Checking if python-dev exists ... yes Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pip Using cached https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl Installing collected packages: pip Successfully installed pip-10.0.1 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting setuptools Downloading https://files.pythonhosted.org/packages/20/d7/04a0b689d3035143e2ff288f4b9ee4bf6ed80585cc121c90bfd85a1a8c2e/setuptools-39.0.1-py2.py3-none-any.whl (569kB) 100% |████████████████████████████████| 573kB 2.6MB/s Installing collected packages: setuptools Successfully installed setuptools-39.0.1 Cloning into 'nginx-amplify-agent'... remote: Counting objects: 3594, done. remote: Compressing objects: 100% (162/162), done. remote: Total 3594 (delta 27), reused 107 (delta 19), pack-reused 3409 Receiving objects: 100% (3594/3594), 1.16 MiB | 148.00 KiB/s, done. Resolving deltas: 100% (1941/1941), done. Could not open requirements file: [Errno 2] No such file or directory: 'packages/requirements' |
קוד: |
~/.local/bin/pip install --upgrade --target=amplify --no-compile -r packages/requirements |
Anonymous : | ||
יש מה לעשות? איזה רעיון להתקנת nginx amplify על raspbian? |
ציטוט: |
הפקודה להתחיל את הסוכן היא 3 שורות אתה כתבת רק את הראשונה |
קוד: |
sudo -u www-data python2.7 /usr/bin/nginx-amplify-agent.py start --config=/etc/amplify-agent/agent.conf --pid=/var/run/amplify-agent/amplify-agent.pid
Could not connect to cloud via url https://receiver.amplify.nginx.com:443/1.3 It seems like we have little problems connecting to cloud. Apologies and bear with us. We will try to establish a connection once again in a minute. |
Anonymous : | ||||||
לצפריר: לאחר ששיניתי ל debian בקובץ בצעתי update ויש skipping:
הנה אישור לשינוי בקובץ:
ועדיין לא ניתן להריץ את הסוכן:
|
קוד: |
Could not connect to cloud via url https://receiver.amplify.nginx.com:443/1.3
|