python系统默认版本2.7
1、VMware Workstation(12)
2、Centos7(NAT上网)
VM虚拟机下安装Centos7图文教程
注意:NAT上网本机无线网卡需要共享,设置方法(点击,解决问题”internet连接共享访问被启用时 出现了一个错误")
解决了问题。启动“windows firewall”问题解决。不用启动Internet Connection Sharing 服务(启动该服务方法)。
3、opencv-3-4
https://blog.csdn.net/wjbwjbwjbwjb/article/details/79111996
注意:系统内存2G及以上,否则安装不成功
4、apache(httpd)
安装
yum install httpd
启动
service httpd start 或 systemctl start httpd.service
设置开机启动
systemctl enable httpd.service
5、php7
https://blog.csdn.net/anzhen0429/article/details/79272893
6、tensorFlow(pip通过网络自动获取最新匹配版本)
6.1.先更新pip(pip通过网络自动获取最新匹配版本)
pip install --upgrade pip
6.2.安装tensorflow
pip install tensorflow
7、keras(pip通过网络自动获取最新匹配版本)
pip install keras
8、dlib(pip通过网络自动获取最新匹配版本)
pip install dlib
dlib安装时会停顿现象约5-10分钟(根据终端配置不同)。
注意:系统内存2G及以上,否则安装不成功
9、PIL
yum -y install python-devel
yum install libjpeg libjpeg-devel zlib zlib-devel freetype freetype-devel lcms lcms-devel
yum -y install python-imaging
VMware Workstation(12)
Centos7(NAT上网)
需要配置2G的内存,否则opencv-3-4编译空间不足,安装opencv-3-4不成功。
注意:系统内存2G及以上,否则opencv和dlib安装不成功
opencv-3-4
apache(httpd)
php7
tensorFlow
keras
dlib
[root@localhost ~]# pip list
Package Version
-------------------------------- ----------
absl-py 0.3.0
astor 0.7.1
backports.ssl-match-hostname 3.5.0.1
backports.weakref 1.0.post1
bleach 1.5.0
blivet 0.61.15.69
Brlapi 0.6.0
cffi 1.6.0
chardet 2.2.1
configobj 4.7.2
configshell-fb 1.1.23
coverage 3.6b3
cryptography 1.7.2
cupshelpers 1.0
decorator 3.4.0
di 0.3
dnspython 1.12.0
enum34 1.1.6
ethtool 0.8
firstboot 19.5
fros 1.0
funcsigs 1.0.2
futures 3.2.0
gast 0.2.0
grpcio 1.14.1
gssapi 1.2.0
h5py 2.8.0
html5lib 0.9999999
idna 2.4
iniparse 0.4
initial-setup 0.3.9.43
ipaclient 4.5.4
ipaddress 1.0.16
ipalib 4.5.4
ipaplatform 4.5.4
ipapython 4.5.4
IPy 0.75
javapackages 1.0.0
jwcrypto 0.4.2
Keras 2.2.2
Keras-Applications 1.0.4
Keras-Preprocessing 1.0.2
kitchen 1.1.1
kmod 0.1
langtable 0.0.31
lxml 3.2.1
Markdown 2.6.11
mock 2.0.0
netaddr 0.7.5
netifaces 0.10.4
nose 1.3.7
ntplib 0.3.2
numpy 1.14.5
pbr 4.2.0
perf 0.1
pip 18.0
ply 3.4
policycoreutils-default-encoding 0.1
protobuf 3.6.0
pyasn1 0.1.9
pyasn1-modules 0.0.8
pycparser 2.14
pycups 1.9.63
pycurl 7.19.0
pygobject 3.22.0
pygpgme 0.3
pyinotify 0.9.4
pykickstart 1.99.66.18
pyliblzma 0.5.3
pyOpenSSL 0.13.1
pyparsing 1.5.6
pyparted 3.9
pysmbc 1.0.13
python-augeas 0.5.0
python-dateutil 1.5
python-dmidecode 3.10.13
python-ldap 2.4.15
python-linux-procfs 0.4.9
python-meh 0.25.2
python-nss 0.16.0
python-yubico 1.2.3
pytz 2016.10
pyudev 0.15
pyusb 1.0.0b1
pyxattr 0.5.1
PyYAML 3.10
qrcode 5.0.1
requests 2.6.0
rtslib-fb 2.1.63
schedutils 0.4
scipy 1.1.0
seobject 0.1
sepolicy 1.1
setroubleshoot 1.1
setuptools 0.9.8
six 1.11.0
slip 0.4.0
slip.dbus 0.4.0
SSSDConfig 1.16.0
targetcli-fb 2.1.fb46
tensorboard 1.10.0
tensorflow 1.10.0
termcolor 1.1.0
urlgrabber 3.10
urllib3 1.10.2
urwid 1.1.1
Werkzeug 0.14.1
wheel 0.31.1
yum-langpacks 0.4.2
yum-metadata-parser 1.1.4
https://blog.csdn.net/yang5726685/article/details/78635388
https://blog.csdn.net/qq_36449541/article/details/78999581
python CentOS7 搭建Dlib+OpenCV
https://blog.csdn.net/u010793915/article/details/53908243
https://www.jianshu.com/p/fc774bb6d18f
https://blog.csdn.net/amds123/article/details/53268075
centos7修改文件写权限
CentOS7安装pip及PIL
CentOS7系统操作httpd服务 - 开机启动/重启/查看状态
CentOS-7
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso
opencv
https://opencv.org/opencv-3-4.html
opencv-3-4
https://codeload.github.com/opencv/opencv/tar.gz/3.4.0
https://download.csdn.net/download/qq_38327497/10190029
在Centos 7下搭建Apache + PHP运行环境
https://blog.csdn.net/huangjingqian/article/details/53925151
下载cmake-2.8.12.2.tar.gz
http://www.linuxfromscratch.org/blfs/view/7.5/general/cmake.html
http://blog.51cto.com/zhongyilin/1369361
centos7命令行中
wget http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz
1、解决CMake Error: The source directory "*" does not appear to contain CMakeLists.txt.
http://blog.51cto.com/zhongyilin/1369361
卸载
yum remove cmake* 把camke卸载 从官网上下载cmake编译安装
https://stackoverflow.com/questions/18615451/cmake-missing-modules-directory
#/bin/sh
cd /usr/local/src/
wget http://wwwNaNake.org/files/v2.8/cmake-2.8.12.2.tar.gz
tar zxvf cmake-2.8.12.2.tar.gz
cd cmake-2.8.12.2
./configure
Make
Make install