Nicapedia Desarrollo web Current: Como instalar Go o Goland en cPanel Como instalar Go o Goland en cPanel Esta guía sirve para instalar el runtime de Golang o Go en cPanelGuía paso a pasoA través de SSH ejecuta el siguiente comando: wget https://go.dev/dl/go1.21.1.linux-386.tar.gz BASH Descomprimimos el fichero ejecutando: tar -xvf go1.21.1.linux-386.tar.gz BASH Comprobamos que funcione creando el archivo hello_world.go: nano hello_world.go BASH y colocando el siguiente contenido: package main import "fmt" func main() { fmt.Println("hello world") } BASH Ahora tendremos que añadirle permisos de ejecución al archivo hello_world.go que acabamos de crear: chmod +x hello_world.go BASH Lo ejecutamos: go run hello_world.go BASH Si todo ha salido bien la respuesta debería ser "hello world"Artículos relacionados Content by label There is no content with the specified labels ×