使用yum install openssl-devel报错: 没有已启用的仓库。求解答
直接安装一个nginx的yum源文件。
一、安装 gzip
(1) 解压缩:zhutulang@ubuntu:~$ tar zxvf zlib-1.2.8.tar.gz -C /usr/local/development
(2) 安装:zhutulang@ubuntu:~$ cd /usr/local/development/zlib-1.2.8
zhutulang@ubuntu:/usr/local/development/zlib-1.2.8$ ./configure
zhutulang@ubuntu:/usr/local/development/zlib-1.2.8$ make
zhutulang@ubuntu:/usr/local/development/zlib-1.2.8$ sudo make install
二、安装 pcre
(1) 安装依赖包: zhutulang@ubuntu:~$ sudo apt-get install build-essential
(2) 解压缩 : zhutulang@ubuntu:~$ tar zxvf pcre-8.36.tar.gz -C /usr/local/development
(3) 安装 prce-devel: zhutulang@ubuntu:~$ yum install prce-devel
(4) 安装 pcre: zhutulang@ubuntu:~$ cd /usr/local/development/pcre-8.36
zhutulang@ubuntu:/usr/local/development/pcre-8.36$ ./configure