nginx官网:http://nginx.org/download/ 这里使用的是nginx-1.8.0.tar.gz进行安装 首先安装GCC编辑器: 执行下面命令即可,前提: 必须在有网的情况下进行 yum -y install pcre* openssl* gcc gcc-c++ make 执行 ...
分类:
系统相关 时间:
2020-12-01 11:48:07
阅读次数:
8
1准备工作安装好Linux操作系统,这里选择的是Linux7:[root@localehost~]#cat/etc/redhat-releaseRedHatEnterpriseLinuxServerrelease7.6(Maipo)关闭防火墙和Selinux:[root@localehost~]#systemctlstopfirewalld[root@localehost~]#systemctld
分类:
系统相关 时间:
2020-12-01 11:45:15
阅读次数:
10
简介:实战演练php服务的搭建 PHP是一种脚本语言,常用于做动态网站的。 源码编译安装: 安装依赖组件: yum -y install gcc gcc-c++ bzip2 bzip2-devel bzip2-libs python-devel ncurses ncurses- devel open ...
分类:
Web程序 时间:
2020-11-30 16:11:16
阅读次数:
15
1.由于rabbitmq是基于erlang语言开发的,所以必须先安装erlang。 安装依赖 yum -y install gcc glibc-devel make ncurses-devel openssl-devel xmlto perl wget gtk2-devel binutils-dev ...
分类:
其他好文 时间:
2020-11-30 16:03:52
阅读次数:
5
1.卸载python(防止未卸载干净) rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps #强制删除已安装程序及其关联 whereis python|xargs rm -frv #删除所有残余文件 #xargs,允许你对输出执行其他某些命 ...
分类:
其他好文 时间:
2020-11-27 11:39:37
阅读次数:
9
在CentOS容器内执行 yum install passwd openssl openssh-server -y # Ubuntu把yum改成apt-get ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N '' ssh-ke ...
分类:
系统相关 时间:
2020-11-27 11:39:01
阅读次数:
15
第一步:安装 crontab ,命令 yum -y install vixie-cron 扩展:service crond start //启动服务 service crond stop //关闭服务 service crond restart //重启服务 service crond reload ...
分类:
系统相关 时间:
2020-11-27 11:08:43
阅读次数:
11
1. 安装Nginx $ vim /etc/yum.repos.d/nginx.repo [nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 en ...
分类:
其他好文 时间:
2020-11-26 14:41:22
阅读次数:
5
1,环境安装 ## #编译环境 yum groupinstall -y "Development Tools" ##cat cpu_load #以下为代码 #include <iostream> #include <pthread.h> #include <time.h> #include <mat ...
分类:
系统相关 时间:
2020-11-26 14:19:38
阅读次数:
10
##源码安装Python3 ###一、安装Python3需要的依赖包 [root@localhost ~]# yum install -y gcc make wget openssl openssl-devel readline readline-devel zlib* libffi-devel 注 ...
分类:
编程语言 时间:
2020-11-26 14:09:24
阅读次数:
5