Changed installation guide (#40)

- Added a notice about install the software using prebuilt binary packages.
- Added a notice about installing the software using my Ansible role.
This commit is contained in:
Marc 2022-07-08 16:44:00 +00:00 committed by GitHub
parent 86763bd3aa
commit f09f2df2e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,19 @@ Works with mobile versions too.
## Installation ## Installation
### Install using prebuilt binaries
1. Download the appropriate binary file from the [releases](https://github.com/librespeed/speedtest-go/releases/) page.
2. Unzip the archive.
3. Make changes to the configuration.
4. Run the binary.
5. Optional: Setup a systemd service file.
### Use Ansible for automatic installation
You can use an Ansible role for installing speedtest-go easily. You can find the role on the [Ansible galaxy](https://galaxy.ansible.com/flymia/ansible_speedtest_go). There is a [separate repository](https://github.com/flymia/ansible-speedtest_go) for documentation about the Ansible role.
### Compile from source
You need Go 1.16+ to compile the binary. If you have an older version of Go and don't want to install the tarball You need Go 1.16+ to compile the binary. If you have an older version of Go and don't want to install the tarball
manually, you can install newer version of Go into your `GOPATH`: manually, you can install newer version of Go into your `GOPATH`:
@ -152,4 +165,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/lgpl>. along with this program. If not, see <https://www.gnu.org/licenses/lgpl>.