Manual Install
Disclaimer
This guide is intended for advanced users who are familiar with the command line and system administration.
Installation
If you are unable to install Massa Station using the methods described in the Installation section, or simply prefer to install it manually, you can follow these steps:
- Download the latest version of the Massa Station binary for your operating system from here.caution
Make sure to download the binary for your operating system and architecture.
For example, if you are using Windows 10 on a 64-bit machine, you should download themassastation_windows_amd64
file.
On Apple Silicon (M1, M2...) Macs, you should download themassastation_darwin_arm64
file, while Intel Macs should download themassastation_darwin_amd64
file. - Put the downloaded binary in a directory of your choice.
- On MacOS and Linux:
3.1. create the Massa Station data directory:3.2. Add executable permissions to the binary:mkdir -m 777 -p /usr/local/share/massastation
3.3. Move the binary tochmod +x massastation_$OS_$ARCH
/usr/local/bin
:mv massastation_$OS_$ARCH /usr/local/bin/massastation
- Run the binary to start Massa Station.
- Open your browser and navigate to
http://localhost/
to access Massa Station.
This method of installation will not install the necessary dependencies for Massa Station to function correctly and so,
features such as HTTPS support and accessing .massa
domains will not work.
Handle station.massa
redirection
If you want to access Massa Station by typing station.massa
in your browser's address bar, you will need to configure your system to redirect
requests to station.massa
to localhost
.
You can make this change by editing the 'hosts' file on your computer, regardless of whether you're using Windows, MacOS, or Linux:
- Open the 'hosts' file, which is located at:
- Windows:
C:\Windows\System32\drivers\etc\hosts
- MacOS and Linux:
/etc/hosts
- Windows:
- Add
127.0.0.1 station.massa
at the end of the file. - Save and close the file.
Add HTTPS support
Massa Station will automatically generate a self-signed certificate for HTTPS support when it is first run, but to do it, it requires some dependencies to be installed on your system.
Windows
- Download a Windows version of the Mar Tools
- Extract the contents of the archive to a directory named
mar-tools
in the same directory as themassastation.exe
binary. - Run the
massastation.exe
binary to start Massa Station.
MacOS
- Install Homebrew.
- Install the
nss
package using Homebrew:brew install nss
- Create the certificate directory:
mkdir -m 777 -p /etc/massastation/certs
- Run the
massastation
binary in repair mode withsudo
:sudo ./massastation --repair
- Run the
massastation
binary to start Massa Station.
Linux
- Install the
nss
package using your package manager. - Create the certificate directory:
mkdir -m 777 -p /etc/massastation/certs
- Run the
massastation
binary to start Massa Station.