Alces Metalware currently supports the following platforms/distributions:
- Enterprise Linux 6 distributions: RHEL, CentOS, Scientific Linux (
el6) - Enterprise Linux 7 distributions: RHEL, CentOS, Scientific Linux (
el7)
The install scripts handle the installation of all required packages from your distribution and will install on a minimal base. For Enterprise Linux distributions installation of the @core and @base package groups is sufficient.
Metalware is a system-level package and must be installed by the root user.
-
Become root.
sudo -s
-
Set the
alces_OSenvironment variable to match the distribution on which you are installing. Currently supported options areel6andel7:export alces_OS=el7 -
Invoke installation by piping output from
curltobash:curl -sL http://git.io/metalware-installer | /bin/bashIf you want to you can download the script first. You might want to do this if you want to inspect what it's going to do, or if you're nervous about it being truncated during download:
curl -sL http://git.io/metalware-installer > /tmp/bootstrap.sh less /tmp/bootstrap.sh bash /tmp/bootstrap.sh -
After installation, you can logout and login again in order to set up the appropriate shell configuration, or you can source the shell configuration manually:
source /etc/profile.d/alces-metalware.sh
Additional environment variables may be set to influence the installation process.
Set the alces_SOURCE variable to indicate that you want to build from upstream source code rather than installing prebuilt binaries for your distribution. Choose fresh to download and build components from upstream sources, or dist to use prebuilt binaries downloaded on Amazon S3.
export alces_SOURCE=fresh
curl -sL http://git.io/metalware-installer | /bin/bashSet the alces_SRC_DIR variable to point to an existing clone of the repository. If a clone isn't available in the path you specify the path will be used to house the downloaded code rather than the default /tmp/metalware.XXXXXX temporary directory.
cd /usr/src
git clone https://github.com/alces-software/metalware
export alces_SRC_DIR=/usr/src/metalware
/usr/src/metalware/scripts/bootstrapSet the alces_SOURCE_BRANCH variable with the name of the branch you wish to build. Defaults to master. e.g.:
export alces_SOURCE_BRANCH=0.1.0
curl -sL http://git.io/metalware-installer | /bin/bash