新centos7安装软件

 

yum install

lrzsz 上传与下载文件
tree  显示树形目录结构

python2-pip  python2的包管理工具


python36      python3.6版本
python36-pip  python3.6对应的pip

gcc
gcc-c++

nginx
tomcat

nodejs
npm

docker

redis
mongodb
mongodb-server

 

 

安装mysql5.5:

yum源(在页面最下方):

https://dev.mysql.com/downloads/repo/yum/

操作说明:

https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/

首先下载好对应的yum源:mysql80-community-release-el7-3.noarch.rpm

然后执行命令(为yum添加仓库):
> rpm -Uvh mysql80-community-release-el7-3.noarch.rpm


查看添加的mysql仓库:
> yum repolist all | grep mysql

由于我要安装MySQL5.5,因此要禁用比5.5高的版本源,只启用5.5
> yum-config-manager --disable mysql80-community
> yum-config-manager --disable mysql57-community
> yum-config-manager --disable mysql56-community
> yum-config-manager --enable mysql55-community
或者修改/etc/yum.repos.d/mysql-community.repo 文件也可以,将相应版本的enabled改为0.


最后就可以进行安装了
> yum install mysql-community-server

启动
> systemctl start mysqld.service

 

新centos7安装软件_第1张图片

 

python3的相关包:


jupyter
django

requests
beautifulsoup4
scrapy



django-scrapy 
scrapy-chrome 
Scrapy-Httpproxy
scrapy-splash








 

 

安装scrpipapy:

 

可能出现如下错误:

src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

 

可能需要安装如下软件:

yum install libffi-devel openssl-devel openldap-devel


!!!注意,注意python版本
yum install python-devel 
或者
yum install python36-devel 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(linux)