Install AIStor on Ubuntu Server
This procedure downloads and installs the AIStor Server onto baremetal hosts running Ubuntu Server Linux.
Review the Hardware and System Requirements to ensure your target infrastructure meets our guidance. You can also open a SUBNET to request an architecture review or assistance during deployment.
AIStor strongly recommends using only Long-Term Support (LTS) Ubuntu releases in the LTS standard security maintenance lifecycle with LTS Kernels in the 5.x or 6.x release series.
Procedure
Repeat these steps for each node in the deployment.
-
Download the AIStor Server
.deb
package.AIStor provides a
.deb
package for theAMD64
andARM64
architectures. Download the package that reflects the host system’s architecture:You can validate the installation by running
minio --version
.The DEB package creates a new
systemd
unit file for the AIStor Server. Runsystemctl status minio
to validate the installation of thesystemd
file. -
Retrieve your License File.
Log into SUBNET and select the License button in the Deployments view.
The Account License modal
Create the
/opt/minio
directory if it does not exist. Download the file to/opt/minio/minio.license
and set the ownership tominio-user
:sudo mkdir /opt/minio sudo touch /opt/minio/minio.license sudo chown -R minio-user:minio-user /opt/minio
Edit the
minio.license
file and replace its contents with the license string from the previous step. -
Create the environment file
The RPM installs an environment file to
/etc/default/minio
automatically. Review the contents of the file and modify as directed based on your preferred topology:For distributed deployments, all nodes must have matching
/etc/default/minio
environment files. Use a utility such asshasum -a 256 /etc/default/minio
on each node to verify an exact match across all nodes. -
Ensure AIStor has ownership of associated folders and drives.
The
minio.service
file runs as theminio-user
user and group by default. This user must have read/write/access permissions to all files, folders, and drive paths provided to the server process. The RPM installation creates the user and group by default.Use the
chown
andchmod
commands to ensure theminio-user
user and group have the necessary ownership and access permissions. For example:chown -R minio-user:minio-user /opt/minio/ # Change this to reflect the series of volumes specified # to the MINIO_VOLUMES environment variable # # This assumes you have already mounted the drives at the given path chown -R minio-user:minio-user /mnt/drive-{1..4}
Repeat this step for each node in the deployment.
-
Enable and start the AIStor deployment.
Use
systemctl enable minio.service
andsystemctl start minio
to enable and start the server process respectively.You can track the status of the startup using
journalctl -u minio
on each node.On successful startup, each
minio
process emits output to the log resembling the following:MinIO Enterprise AIStor Server Copyright: 2015-2024 MinIO, Inc. Version: RELEASE.YYYY-MM-DDTHH-SS-mmZ (go1.22.4 linux/amd64) API: https://minio-1.example.net:9000 https://203.0.113.10:9000 https://127.0.0.1:9000 RootUser: minioadmin RootPass: minioadmin WebUI: https://minio-1.example.net:9001 https://203.0.113.10:9001 https://127.0.0.1:9001 RootUser: minioadmin RootPass: minioadmin CLI: https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart $ mc alias set 'myminio' 'https://minio-1.example.net:9000' 'minioadmin' 'minioadmin' Docs: https://min.io/docs/minio/linux/index.html Status: 4 Online, 0 Offline.
The AIStorminio
service does not automatically start on host reboot. You must usesystemctl enable minio.service
to start the process as part of the host boot. -
Connect to the Deployment
You can connect to the deployment using the built-in AIStor Server console in a browser, by using the MinIO
mc
commandline tool, or by using an S3-compatible SDK: