V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Yingc  ›  全部回复第 3 页 / 共 4 页
回复总数  65
1  2  3  4  
2015-07-17 18:30:59 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
@FifiLyu 已经加载上了
2015-07-17 15:32:29 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
原来是要先创建目录、文件。
2015-07-17 15:31:53 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
@FifiLyu
root@sf:~# sudo mkdir /etc/http_whitelist
root@sf:~# sudo touch /etc/http_whitelist/host /etc/http_whitelist/network
root@sf:~# sudo apt-get install linux-headers-'uname -r'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-uname -r
root@sf:~# cd module-http-whitelist
root@sf:~/module-http-whitelist# sudo insmod http_whitelist.ko
root@sf:~/module-http-whitelist# lsmod
Module Size Used by
http_whitelist 12997 0
2015-07-17 15:31:03 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
2015-07-17 12:24:52 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
@FifiLyu 感觉你这个方便点,我尝试sudo apt-get install linux-headers-$(uname -r)后,虽然能编译但还是有错误,出来的东西无法加载,你是怎么安装这个的。
2015-07-17 11:30:35 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
debian下,无法安装 kernel-devel
2015-07-17 11:00:42 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
make -C /lib/modules/3.2.0-4-686-pae/build/ M=/root/module-http-whitelist modules
make: *** /lib/modules/3.2.0-4-686-pae/build/: No such file or directory. Stop.
make: *** [all] Error 2
2015-07-17 10:53:42 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
@FifiLyu 我的系统市Debian7无法编译文件
2015-07-17 10:04:25 +08:00
回复了 Yingc 创建的主题 NGINX 实在无果,求段 Nginx 过滤网址白名单配置
@FifiLyu 感谢
1  2  3  4  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2088 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 01:41 · PVG 09:41 · LAX 18:41 · JFK 21:41
Developed with CodeLauncher
♥ Do have faith in what you're doing.