./config.sh: line 85: ./bin/Agent.Listener: cannot execute binary file Answer Update: The build agent does not support x64 based ARM (aarch64, arm64). More details please take a look at this similar issue: ARM agent fails to configure The agent is based on .NET Core 2.1. You can run this agent on several Linux distributions. We support the following subset of .NET
Tag: amazon-ec2
use cat <> to insert actual strings and escape logic
I am writing a script to automatically create SWAP on an AWS ephemeral volume. Part of that process requires the script to ‘sense’ which nvme to apply swap to since AWS Linux can reorder the nvme names at stop/start. I am using Terraform to run a ‘start-up’ script which does a ton of stuff to the instance. One of them
PHP Code Is Not Executed For PHP 7.2 On Aws Ec2 Instance
I am trying to install php on aws ec2 instance. Since php 7.2 is not available, I used following commands to enable few repos as suggested in this Link sudo yum install epel-release sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum install yum-utils Then I enabled a remi repo to run using sudo yum-config-manager –enable remi-php72 Then I ran sudo yum install
Upgrade to php 7 and apache 2.4 from php 5.3 and apache 2.2 in Amazon EC2
I have a legacy system in which Apache 2.2.34 (linux) is installed along with php 5.3.29 (CLI). I just want to upgrade my apache to 2.4.x so that I will be able to use php 7. I have tried searching for the same but majority of sites provide solution for CentOS or Ubuntu. I’m new to Linux so I’m a
Can’t see console.log() in Linux terminal
I’m running node.js on my Linux EC2 Instance but I’m not able to see logs when I refresh my homepage. How do I get the logs? edit: running through pm2 Answer You have to use to see the all latest logs
I ran a npm run build, placed it on nodejs express.static, pm2 start app but Cannot GET ‘/’
I wanted to host 2 node app on one Linux box from AWS EC2. Where I can run a dev environment and staging environment. I noticed that I will have to use different ports on both of the apps but this is not the problem that I am facing. Using the staging side which has always worked on the previous
Export Curl information to file using sed
I am trying to get a dns address using curl and I would like to use that dsn address to replace a word in a .js file. So the .js file contains a word “hostname” and I would like to replace that with the dns address fetched from curl so what I am trying to do is this. sed ‘s/hostname/curl
Could not run Ec2-server on port 80
I could run the server on port 8000 but when i try to use 80 with python manage.py runserver myip:80 I get: You don’t have permission to access that port. If I use sudo python manage.py runserver myip:80 I get: If I write python in the console I get version 3.5.5 and my env is activated. EDIT: Using sudo python3
Getting error as “initializing endpoint: java.net.BindException: Address already in use /127.0.0.1:8080” while installing JBoss AS7
Here I’ve installed JBoss AS 7.1 in AWS ec-2 linux instance. Please help before marking it as duplicate as many SO questions are already available but nothing helped me here. The server is running successfully It’s only accessible for http://localhost:8080 and from the other machines, here I want to access with instance public IP Yes the server log says But
Doing git clone with bash script, could not read Password for repository
I’m trying to deploy Amazon EC2 instance through CloudFormation and I’m trying to clone a repository with a bash script with cfn-init. However, when I deploy the EC2 instance, I can see from cloud-init-output.log that the git clone fails, and this is the error: How can I input the password with the bash script correctly? I’ve tried the yes found