You could add the sysctl line to the system or in the /etc/init.d/
You could add the sysctl line to the system or in the /etc/init.d/
{
"Version":"2012-10-17",
"Statement":[
{
"Action":[
"s3:*"
],
"Effect":"Allow",
"Principal":{
"AWS":[
"arn:aws:iam::ACCOUNT_ID:user/USERNAME_A",
"arn:aws:iam::ACCOUNT_ID:user/USERNAME_B",
"arn:aws:iam::ACCOUNT_ID:user/USERNAME_C",
"arn:aws:iam::ACCOUNT_ID:role/ROLE_A",
"arn:aws:iam::ACCOUNT_ID:role/ROLE_B",
"arn:aws:iam::ACCOUNT_ID:role/ROLE_C"
]
},
"Resource":[
"arn:aws:s3:::BUCKET_NAME",
"arn:aws:s3:::BUCKET_NAME/*"
]
}
]
}
Epel’s yum install does not cut it anymore at time of writing installing node.js causes a mass of 404s and file not found.
current best approach :
Including Red Hat® Enterprise Linux® / RHEL, CentOS and Fedora.
Node.js is available from the NodeSource Enterprise Linux and Fedora binary distributions repository. Support for this repository, along with its scripts, can be found on GitHub at nodesource/distributions.
Note that the Node.js packages for EL 5 (RHEL5 and CentOS 5) depend on the EPEL repository being available. The setup script will check and provide instructions if it is not installed.
Run as root on RHEL, CentOS or Fedora, for Node.js v4 LTS Argon:
curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -
Alternatively for Node.js v5:
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
Alternatively for Node.js 0.10:
curl --silent --location https://rpm.nodesource.com/setup | bash -
Then install, as root:
yum -y install nodejs
Optional: install build tools
To compile and install native addons from npm you may also need to install build tools:
yum install gcc-c++ make # or: yum groupinstall 'Development Tools'
Available architectures:
Supported Red Hat® Enterprise Linux® versions:
Supported CentOS versions:
Supported CloudLinux versions:
Supported Fedora versions:
Other distributions known to be supported:
nJoy 😉