AWS Greengrass Core on Nvidia Jetson TX2 Requirements
I try to install AWS Greengrass Core v1.3 (instruction https://docs.aws.amazon.com/greengrass/latest/developerguide/module1.html#setup-filter.other)
After running the dependencies check, here is the result:
==========================Checking script dependencies==============================
The device has all commands required for the script to run.
========================Dependency check report for GGC v1.3=========================
System configuration:
Kernel architecture: aarch64
Init process: /lib/systemd/systemd
Kernel version: 4.4
C library: Ubuntu GLIBC 2.23-0ubuntu10
C library version: 2.23
Directory /var/run: Present
/dev/stdin: Found
/dev/stdout: Found
/dev/stderr: Found
--------------------------------Kernel configuration--------------------------------
Kernel config file: /proc/config.gz
Namespace configs:
CONFIG_IPC_NS: Enabled
CONFIG_UTS_NS: Enabled
CONFIG_USER_NS: Not enabled
CONFIG_PID_NS: Enabled
Cgroup configs:
CONFIG_CGROUP_DEVICE: Not enabled
CONFIG_CGROUPS: Enabled
CONFIG_MEMCG: Not enabled
Other required configs:
CONFIG_POSIX_MQUEUE: Not enabled
CONFIG_OVERLAY_FS: Not enabled
CONFIG_HAVE_ARCH_SECCOMP_FILTER: Enabled
CONFIG_SECCOMP_FILTER: Enabled
CONFIG_KEYS: Not enabled
CONFIG_SECCOMP: Enabled
------------------------------------Cgroups check-----------------------------------
Cgroups mount directory: /sys/fs/cgroup
Devices cgroup: Not enabled
Memory cgroup: Not enabled
----------------------------Commands and software packages--------------------------
SQLite version: 3.11.0
Python version: 2.7.12
NodeJS 6.10: Not found
Java 8: Not found
OpenSSL version: 1.0.2
wget: Present
realpath: Present
tar: Present
readlink: Present
basename: Present
dirname: Present
pidof: Present
df: Present
grep: Present
umount: Present
---------------------------------Platform security----------------------------------
Hardlinks_protection: Enabled
Symlinks protection: Enabled
-----------------------------------User and group-----------------------------------
ggc_user: Present
ggc_group: Present
------------------------------------Results-----------------------------------------
Note:
1. It looks like the kernel uses 'systemd' as the init process. Be sure to set the
'useSystemd' field in the file 'config.json' to 'yes' when configuring Greengrass core.
Missing optional dependencies:
1. The 'devices' cgroup is not enabled on the device.
Greengrass lambdas with Local Resource Access(LRA) configurations will not be allowed
to open device files.
2. Could not find the binary 'nodejs6.10'.
If NodeJS 6.10 or later is installed on the device, name the binary 'nodejs6.10' and
add its parent directory to the PATH environment variable. NodeJS 6.10 or later is
required to execute NodeJS lambdas on Greengrass core.
3. Could not find the binary 'java8'.
If Java 8 or later is installed on the device name the binary 'java8' and add its
parent directory to the PATH environment variable. Java 8 or later is required to
execute Java lambdas on Greengrass core.
Missing required dependencies:
1. The kernel is missing the following required configs:
CONFIG_USER_NS
CONFIG_CGROUP_DEVICE
CONFIG_MEMCG
CONFIG_POSIX_MQUEUE
CONFIG_OVERLAY_FS
CONFIG_KEYS
2. The 'memory' cgroup is not enabled on the device.
Greengrass will fail to set the memory limit of user lambdas.
----------------------------------Exit status---------------------------------------
Either the script failed to verify all dependencies or the device is missing one or
more of the required dependencies for Greengrass version 1.3.
Refer to the 'Errors' and 'Missing required dependencies' sections under 'Results'
for details.
The kernel is missing the following required configs:
CONFIG_USER_NS
CONFIG_CGROUP_DEVICE
CONFIG_MEMCG
CONFIG_POSIX_MQUEUE
CONFIG_OVERLAY_FS
CONFIG_KEYS
How do I enable these kernel configurations? Thanks.