大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
1.解压go安装包:tar -xvf go1.11.1.linux-amd64.tar.gz -C /usr/local/
专注于为中小企业提供网站设计、网站建设服务,电脑端+手机端+微信端的三站合一,更高效的管理,为中小企业和田免费做网站提供优质的服务。我们立足成都,凝聚了一批互联网行业人才,有力地推动了上千企业的稳健成长,帮助中小企业通过网站建设实现规模扩充和转变。export GOROOT=/usr/local/go
export GOPATH=/app/apps
export GOBIN=$GOROOT/bin
export PATH=$PATH:$GOBIN:$GOPATH/bin
go version
go version go1.11.1 linux/amd64
bee环境验证
bee version
______
| ___ \
| |_/ / ___ ___
| ___ \ / _ \ / _ \
| |_/ /| __/| __/
\____/ \___| \___| v1.10.0
?..? Beego : Beego is not installed. Please do consider installing it first: https://github.com/astaxie/beego
?..? GoVersion : go1.11.1
?..? GOOS : linux
?..? GOARCH : amd64
?..? NumCPU : 4
?..? GOPATH : /app/apps
?..? GOROOT : /usr/local/go
?..? Compiler : gc
?..? Date : Wednesday, 5 Dec 2018
]# bee new webad
______
| ___ \
| |_/ / ___ ___
| ___ \ / _ \ / _ \
| |_/ /| __/| __/
\____/ \___| \___| v1.10.0
2018/12/05 11:02:27 INFO ??0001 Creating application...
create /app/apps/src/webad/
create /app/apps/src/webad/conf/
create /app/apps/src/webad/controllers/
create /app/apps/src/webad/models/
create /app/apps/src/webad/routers/
create /app/apps/src/webad/tests/
create /app/apps/src/webad/static/
create /app/apps/src/webad/static/js/
create /app/apps/src/webad/static/css/
create /app/apps/src/webad/static/img/
create /app/apps/src/webad/views/
create /app/apps/src/webad/conf/app.conf
create /app/apps/src/webad/controllers/default.go
create /app/apps/src/webad/views/index.tpl
create /app/apps/src/webad/routers/router.go
create /app/apps/src/webad/tests/default_test.go
create /app/apps/src/webad/main.go
2018/12/05 11:02:27 SUCCESS ??0002 New application successfully created!
webad]# bee run
______
| ___ \
| |_/ / ___ ___
| ___ \ / _ \ / _ \
| |_/ /| __/| __/
\____/ \___| \___| v1.10.0
2018/12/05 11:10:00 INFO ??0001 Using 'webad' as 'appname'
2018/12/05 11:10:00 INFO ??0002 Initializing watcher...
github.com/astaxie/beego/config
github.com/astaxie/beego/utils
github.com/astaxie/beego/vendor/gopkg.in/yaml.v2
github.com/astaxie/beego/logs
github.com/astaxie/beego/session
github.com/astaxie/beego/grace
github.com/astaxie/beego/toolbox
github.com/astaxie/beego/vendor/golang.org/x/crypto/acme
github.com/astaxie/beego/vendor/golang.org/x/crypto/acme/autocert
github.com/astaxie/beego/context
github.com/astaxie/beego/context/param
github.com/astaxie/beego
webad/controllers
webad/routers
webad
2018/12/05 11:10:03 SUCCESS ??0003 Built Successfully!
2018/12/05 11:10:03 INFO ??0004 Restarting 'webad'...
2018/12/05 11:10:03 SUCCESS ??0005 './webad' is running...
2018/12/05 11:10:03.937 [I] [asm_amd64.s:1333] http server Running on http://:6789
- 访问页面
![](/file/tupian/20230130/237022.jpg?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
创新互联www.cdcxhl.cn,专业提供香港、美国云服务器,动态BGP最优骨干路由自动选择,持续稳定高效的网络助力业务部署。公司持有工信部办法的idc、isp许可证, 机房独有T级流量清洗系统配攻击溯源,准确进行流量调度,确保服务器高可用性。佳节活动现已开启,新人活动云服务器买多久送多久。