Update README.md
This commit is contained in:
28
README.md
28
README.md
@@ -4,6 +4,34 @@
|
||||
```
|
||||
chmod +x install_mailhog_as_service.sh
|
||||
./install_mailhog_as_service.sh
|
||||
|
||||
Foutmelding in Ubuntu 22.04: "note: module requires Go 1.20"
|
||||
|
||||
Workaround:
|
||||
|
||||
- Download gewenste versie van Go:
|
||||
wget -c https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
|
||||
|
||||
- Ga naar de map waar het bestand staat en pak het uit:
|
||||
sudo tar -C /usr/local/ -xzf go1.22.0.linux-amd64.tar.gz
|
||||
|
||||
- Set PATH Environment Variable
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
- Voeg onderstaande code toe aan .profile om het definitief te maken:
|
||||
# set PATH so it includes /usr/local/go/bin if it exists
|
||||
if [ -d "/usr/local/go/bin" ] ; then
|
||||
PATH="/usr/local/go/bin:$PATH"
|
||||
fi
|
||||
|
||||
- reload .profile (let op: mét punt!)
|
||||
. ~/.profile
|
||||
|
||||
- Controleer welke versie van Go actief is:
|
||||
go version
|
||||
|
||||
- Installeer nu Mailhog met het installatie script
|
||||
|
||||
```
|
||||
|
||||
## Na de installatie
|
||||
|
||||
Reference in New Issue
Block a user