一 .linux上安装 python git redis nginx
一 Linux平台上 python git redis nginx 源码包安装
下载依赖库
yum -y install gcc gcc-c++ autoconf automake yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel yum -y install gcc automake autoconf libtool make
1. Python安装图解
https://www.cnblogs.com/Jimc/p/10218387.html
tar -zxvf Python-3.6.5.tgz 第三步解压python包 mkdir python3.6 第四步创建文件夹python3.6 cd Python-3.6.5 第五步进入到python源码包 [root@localhost Python-3.6.5]# ./configure --prefix=/usr/local/python3.6 第六步 make 第七步 make install 第八步 whereis python 查看linux 上的python 版本 或者在那里 第九步 cd /usr/bin/ 切换到这个目录下 第十步 mv python python2.6.bak 重命名linux中的python 备份 第十一步 ln -s /usr/local/python3.6/bin/python3.6 /usr/bin/python3 第十二步 创建软链接 打开 vim /usr/bin/yum 修改yum配置文件 因为在linux上安装了python 3版本(默认yum使用的是linux上的python2版本) 不能使用yum 所有要修改yum配置文件 [root@localhost bin]# vim /usr/bin/yum #!/usr/bin/python2.6.bak :wq
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051651624-656171450.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051706030-2085233915.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051742089-1875909937.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051809786-1264365220.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051823034-952969200.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051849239-830078443.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051917704-2139991718.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021051948628-169603896.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052002340-1053166831.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052015928-1420361626.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052038773-1138483901.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052054341-2035348640.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052104680-457649798.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052123110-1075137652.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052137697-526502640.png)
2. redis安装图解
https://www.cnblogs.com/teamemory/p/9482475.html
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052559692-1875592947.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052624140-38010987.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052632712-485086768.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052642414-337469953.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052706807-1309962255.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052719337-111306043.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052732022-227004084.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052745578-1117571829.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052801298-825419921.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052817776-1924559199.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052830228-385759138.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052852463-349619287.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052906883-1851864441.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052926139-941086095.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021052942221-697905537.png)
3 . git安装图解
https://www.cnblogs.com/qiutianyou/p/9501498.html
https://www.cnblogs.com/lhbryant/p/6928894.html
https://www.cnblogs.com/wulixia/p/11016684.html
4 . nginx安装图解
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021053452763-600651142.png)
![](https://img2018.cnblogs.com/blog/1760766/201910/1760766-20191021053510499-1033644972.png)
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步