In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains how to install go language under centos 7 and centos8. Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's take you to learn "how to install go language under centos 7 and centos8"!
We download it from go Language website: https://golang.google.cn/dl/
Choose Linux
Upgrade Centos7 first
yum update -yyum install wget -ywget https://dl.google.com/go/go1.14.2.linux-amd64.tar.gztar zxvf go1.14.2.linux-amd64.tar.gzmv go /usr/local/go
Create a working directory
mkdir -p /root/work
Add environment variables
echo 'export PATH=$PATH:/usr/local/go/bin' >>/etc/profileecho 'export GOPATH=/root/work' >>/etc/profilemv /usr/bin/go /usr/bin/gooldln -s /usr/local/go/bin/go /usr/bin/go
Then the source makes it effective:
source /etc/profile
Then check the version:
Go version to this, I believe we have a deeper understanding of "how to install go language under centos 7 and centos8," may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.