安装要求 (AEN 4.2.0)#
硬件要求¶
AEN服务器—至少:
- 2+GB RAM.
- 2+CPU cores.
- 20GB storage.
AEN网关—至少:
- 2 GB RAM.
- 2 CPU cores.
AEN计算(N台机器)——配置以满足项目的需求。至少:
- 2GB RAM.
- 2 CPU cores.
- 20 GB.
注意:我们建议将 ``/opt/wakari`` 和 ``/projects`` 放在同一个文件系统上。如果项目和 conda 环境目录位于不同的文件系统上,则计算节点上需要更多的磁盘空间,并且性能会更差。
软件需求¶
- RHEL/CentOS on all nodes. Versions from 6.5 through 7.4 are supported. Other operating systems are supported. However, this document assumes RHEL or CentOS.
- Linux home directories—Jupyter looks in $HOME for profiles and extensions.
- Ability to install in AEN directory
/opt/wakari
with at least 10 GB of storage. - Ability to install in Projects directory
/projects
with at least 20 GB of storage. Size depends on number and size of projects.
Linux 系统账户¶
一些Linux系统账户(UIDs)在安装过程中被添加到系统中。
如果您的组织需要特殊操作,以下列表可供参考:
mongod (RHEL) 或 mongodb (Ubuntu/Debian)—由 RPM 或 deb 包创建。
elasticsearch—由RPM或deb包创建。
nginx—由RPM或deb包创建。
AEN_SRVC_ACCT—在安装AEN期间创建,默认值为wakari。
ANON_USER—计算节点上的一个账户,例如“public”或“anonymous”。
注意:如果未找到ANON_USER,AEN_SRVC_ACCT将尝试创建它。 如果失败,项目将无法启动。
ACL目录需要文件系统挂载时支持Posix ACL(Posix.1e)。
注意:您可以通过运行
mount
和tune2fs -l /path/to/filesystem | grep options
来从命令行验证ACL。
软件先决条件¶
AEN服务器:
- Mongo—Equal to or higher than version 2.6.8 and lower than version 3.0.
- NGINX—Equal to or higher than version 1.6.2.
- Elasticsearch—Equal to or higher than version 1.7.2.
- Oracle JRE version 7 or 8.
- bzip2.
AEN 网关:
- bzip2.
AEN 计算:
git
bzip2
bash 或 zsh
X窗口系统
注意:如果您不想安装整个X Window系统,您必须安装以下软件包以获得R绘图支持:
sudo yum install -y libXrender libXext libXdmcp libSM libICE libXt \ dejavu-sans-fonts dejavu-serif-fonts dejavu-fonts-common \ fontpackages-filesystem
安全要求¶
- Root or sudo access.
- SELinux in permissive or disabled mode.
使用root或sudo权限编辑以下文件:
/etc/sysconfig/selinux
编辑以下内容:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
注意:您必须重新启动才能使更改生效。
使用 getenforce
验证更改。