Category Archives: 未分類

Python安装常见问题(1):zipimport.ZipImportError: can’t decompress data – 架构师之路 – CSDN博客

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/u014749862/article/details/54430022
在CentOS以及其他的Linux系统中遇到安装包安装错误的原因,大多数都是因为缺少依赖包导致的,所以对于错误:zipimport.ZipImportError: can’t decompress data,是因为缺少zlib 的相关工具包导致的,知道了问题所在,那么我们只需要安装相关依赖包即可,
1、打开终端,输入一下命令安装zlib相关依赖包:

yum -y install zlib*
1
2、进入 python安装包,修改Module路径的setup文件:
Modules/Setup.dist (或者 Modules/Setup) 文件

vim modules/setup
1
找到一下一行代码,去掉注释:

#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
去掉注释
zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
1
2
3
另外,在这里说明一下,对于在安装Python安装的过程中遇到这个问题,安装完上面的依赖包后,’
即可重新进入终端,进入python的安装包路径下执行:
1
2
make && make install
1
重新编译安装即可,
————————————————
版权声明:本文为CSDN博主「海与熔岩」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u014749862/article/details/54430022

Python安装常见问题(1):zipimport.ZipImportError: can’t decompress data – 架构师之路 – CSDN博客

enable telnet from the FortiGate CLI,

1. Enable login on FortiAP

To enable telnet from the FortiGate CLI, please run the following commands :

config wireless-controller wtp
edit FAP220Bxxxxxxxxxxx (Serial number of FortiAP)
set login-enable enable
end

2. Telnet to FortiAP

exec telnet x.x.x.x <- IP of AP.

3. Save Config / Factory Reset the FortiAP

cfg -c (save the configuration)
cfg -x  (Factory reset the FortiAP)

cfg -e (list all configuation on screen)

FortiAP CLI

http://help.fortinet.com/fos50hlp/54/Content/FortiOS/fortigate-wireless-54/reference-fortiap-cli.htm