GoAdmio Command Line: minio with /go/minio

/go/minio installs MinIO, a self-hosted object storage server that speaks the Amazon S3 API, and runs it as a systemd service. It: Objects are stored in /backup/s3. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# MinIO on port 3333 for a hostname that points to this server
/go/minio -h storage.example.com

Options

Option Default Notes
-u <username> admin MinIO root user. At least 5 characters.
-p <password> Random 16-character alphanumeric MinIO root password. At least 8 characters. See Security.
-h <hostname> Reverse DNS of the server’s public IPv4 address Used for the API address, the certificate, and virtual-host-style bucket URLs. Pass it explicitly if the server has no reverse DNS.
-s y Off Serve the API on port 443 and stop the web server. Any value other than y means off.

Examples

# Default install on port 3333, random password
/go/minio -h storage.example.com

# Chosen root login
/go/minio -h storage.example.com -u storageadmin -p 'S3cureP@ssw0rd'

# Serve on port 443 (stops Apache or Nginx, so use only on a dedicated server)
/go/minio -h storage.example.com -s y

# Open the ports in the firewall afterwards
/go/allow 3333
/go/allow 3334

# Create a bucket after installing
/go/bucket --help

Output

The command prints plain text, not JSON. The details are printed before the certificate is requested, so they appear even if SSL setup fails later.

API: https://storage.example.com:3333
Username: admin
Password: <password>

MinIO Config File: /usr/local/goadmio/minio/minio.conf
To restart MinIO Run: systemctl restart minio

Outcome What you get
Installed The five lines above.
Username too short Error: Username must be at least 5 characters, exit code 1. Nothing is installed.
Password too short Error: Password must be at least 8 characters, exit code 1. Nothing is installed.
Unknown option The usage line, then the install continues.

Ports

Mode API port Console port URL shown
Default 3333 3334 https://<hostname>:3333
-s y 443 3334 https://<hostname>

The web console always runs on port 3334. The command does not open firewall ports; use allow.

Security

[!WARNING]
The password is stored in plain text in several places: the command output, /usr/local/goadmio/minio/minio.conf, /usr/local/goadmio/minio/minio.sh, and the command log. If you pass -p, it is also visible in the process list and shell history, and it is written to /var/log/go/minio.log with the rest of the command line. Prefer the random default.

See the full reference at /go/minio and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *