centos6.5环境下安装python2.7 解压python源码包 tar -xf Python-2.7.6.tar.xz 进入软件包目录 cd Python-2.7.6 添加配置项 ./configure --prefix=/usr/local/python27 编译 make 报错 Python build finished, but the necessary bits to build these modules were not found: _bsddb …
由于开发的python web 扫描器需要在python2.7.5以及需要MYSQLdb这个库的支持,在此做一个记录,避免更换到新环境时的学习成本. 一.安装MYSQL 1.yum install mysql-server mysql-devel mysql (必须能联网) 2.启动mysql: /etc/init.d/mysqld start 3.以root账户登录mysql(初始密码为空):mysql -u root 4.设置root账户口令: use mysql set p…