V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  234747005  ›  全部回复第 6 页 / 共 6 页
回复总数  111
1  2  3  4  5  6  
2016-11-07 14:32:57 +08:00
回复了 GjriFeu 创建的主题 程序员 求推荐几个开源的轻量级的日志系统 QAQ
goaccess
2016-11-03 09:48:20 +08:00
回复了 samaria 创建的主题 Linux shell 脚本问题:处理 Apache 日志文件
为什么不考虑用 goaccess
2016-09-01 12:02:43 +08:00
回复了 hopewinn 创建的主题 NGINX 困扰几个月的反向代理,大神快进来。。。
server {
listen 80;
server_name 代理域名;
charset UFT-8;
#access_log logs/日志.access.log off;
location / {
proxy_pass http://源 URL;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

}
}
2016-08-23 18:03:49 +08:00
回复了 suriv520 创建的主题 程序员 撸了个 Rancher Docker Container 的 SSH 客户端
正好需要,觉得 rancher 还是不错的,没有你说的那么差,只不过是商店里面的东西太少了,而且还有很多 run 不起来。
2016-08-15 13:24:35 +08:00
回复了 macroideal 创建的主题 PHP 网站被黑有什么方法可以很快找出问题所在?
先从日志入手把不速之客的脚印找出。
@luckyning 上面的错误我发现是我的 go 语言环境变量问题,设置好环境变量之后,执行
go get ./... 有新的错误。
package stathat.com/c/consistent: unrecognized import path "stathat.com/c/consistent"

./control build
sender/ring.go:4:2: cannot find package "stathat.com/c/consistent" in any of:
/root/go/src/stathat.com/c/consistent (from $GOROOT)
/root/gopath/src/stathat.com/c/consistent (from $GOPATH)
2016-08-12 14:34:23 +08:00
回复了 yamada 创建的主题 NGINX nginx 反代为什么入流量远大于出流量?
用 iftop 看一下,是什么 IP 的流量大,而且 nginx1 是马前卒,又要接收 anget 的又要接收 upstream 的,所以流量比较大也正常吧。
@luckyning
系统用的是阿里云的 centos 6.5 64 位,刚装好系统就,
yum update -y
yum install -y mysql-server redis git go
然后开始执行,
在安装 web 的时候,执行到这步,报错。
怎么样可以联系到你呢?我很想用这个 urlooker
mkdir -p $GOPATH/src/github.com/urlooker
cd $GOPATH/src/github.com/urlooker
git clone https://github.com/URLooker/web.git
cd web
go get ./...
package github.com/urlooker/web/api: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/cron: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/g: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/http: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/http/cookie: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/sender: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/store: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/model: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/utils: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/toolkits/file: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/gorilla/mux: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/toolkits/str: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/toolkits/web: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/http/errors: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/http/param: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/http/render: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/codegangsta/negroni: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/handler: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/http/middleware: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/gorilla/securecookie: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/gorilla/context: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/unrolled/render: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/http/helper: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/go-xorm/xorm: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/toolkits/container/list: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/urlooker/web/backend: cannot download, $GOPATH not set. For more details see: go help gopath
package stathat.com/c/consistent: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/go-sql-driver/mysql: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/astaxie/beego/httplib: cannot download, $GOPATH not set. For more details see: go help gopath
package github.com/miekg/dns: cannot download, $GOPATH not set. For more details see: go help gopath
@luckyning 测试过了,新的 schema.sql 顺利导入,没有错误。
泡普洱茶
不行啊,执行导入 schema.sql 数据库报错
mysql -u root -p < schema.sql
ERROR 1046 (3D000) at line 3: No database selected
然后再执行一次。
ERROR 1007 (HY000) at line 1: Can't create database 'urlooker'; database exists
1  2  3  4  5  6  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5393 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 07:26 · PVG 15:26 · LAX 23:26 · JFK 02:26
Developed with CodeLauncher
♥ Do have faith in what you're doing.