{"author_name":"Thoames1212","author_url":"https://blog.hatena.ne.jp/Thoames1212/","height":"190","published":"2017-09-15 10:19:28","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthoames.hatenadiary.jp%2Fentry%2F2017%2F09%2F15%2F101928\" title=\"\u3010Go\u5165\u9580\u3011\u3055\u304f\u3089VPS\uff08CentOS\uff09\u306bGo\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u3002 - \u3068\u30fc\u307e\u3059\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3068\u30fc\u307e\u3059\u30e1\u30e2","url":"https://thoames.hatenadiary.jp/entry/2017/09/15/101928","categories":["Go","\u3055\u304f\u3089VPS","CentOS","Golang"],"provider_name":"Hatena Blog","blog_url":"https://thoames.hatenadiary.jp/","type":"rich","description":"\uff11\uff09yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ yum install epel-release $ yum install golang \uff12\uff09\u74b0\u5883\u5909\u6570\u300cGOPATH\u300d\u306e\u8a2d\u5b9a Go\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u305f\u308a \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306e\u8d77\u70b9\u306b\u306a\u308b GOPATH\u3092\u8a2d\u5b9a\u3059\u308b\u3002 $ cd ~ $ vi .bash_profile # .bash_profile export GOPATH=$HOME/go $ source .bash_profile \uff13\uff09\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4f5c\u6210 app.go\u3092\u4f5c\u6210\u3002 $ cd ~/go $ mkdir hello $ cd hello $ vim app.go package mai\u2026","image_url":null,"version":"1.0","width":"100%","provider_url":"https://hatena.blog","title":"\u3010Go\u5165\u9580\u3011\u3055\u304f\u3089VPS\uff08CentOS\uff09\u306bGo\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u3002"}