CentOS7,linux下nginx的安装过程——1.安装pcre与nginx——源码
[root@localhost ~]# whoami
root
[root@localhost ~]# cat/etc/redhat-release
-bash: cat/etc/redhat-release: 没有那个文件或目录
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@localhost ~]# uname -r
3.10.0-123.el7.x86_64
[root@localhost ~]# uname -m
x86_64
[root@localhost ~]# yum install pcre pcre-devel -y
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
软件包 pcre-8.32-17.el7.x86_64 已安装并且是最新版本
软件包 pcre-devel-8.32-17.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@localhost ~]# rqm -qa pcre pcre-devel -y
-bash: rqm: 未找到命令
[root@localhost ~]# rpm -qa pcre pcre-devel -y
rpm: -y: 未知的选项
[root@localhost ~]# rpm -qa pcre pcre-devel
pcre-8.32-17.el7.x86_64
pcre-devel-8.32-17.el7.x86_64
[root@localhost ~]# cd /home/root
-bash: cd: /home/root: 没有那个文件或目录
[root@localhost ~]# cd /home
[root@localhost home]# ls
x1141603665
[root@localhost home]# mdkir holybear/
-bash: mdkir: 未找到命令
[root@localhost home]# mkdir holybear/
[root@localhost home]# ls
holybear x1141603665
[root@localhost home]# cd /home/holybear/
[root@localhost holybear]# mkdir tools
[root@localhost holybear]# cd tools/
[root@localhost tools]# wget -q http://nginx.org/download/nginx-1.6.3.tar.gz
[root@localhost tools]# ls
nginx-1.6.3.tar.gz
[root@localhost tools]# ls-lh
-bash: ls-lh: 未找到命令
[root@localhost tools]# ls -lh
总用量 788K
-rw-r–r– 1 root root 787K 4月 8 2015 nginx-1.6.3.tar.gz
[root@localhost tools]# tar xf nginx-1.6.3.tar.gz
[root@localhost tools]# cd nginx-1.6.3
[root@localhost nginx-1.6.3]# ls
auto CHANGES.ru configure html man src
CHANGES conf contrib LICENSE README
- linux/centos下安装nginx(rpm安装和源码安装)
- CentOS源码安装搭建LNMP全过程(包括nginx,mysql,php,svn)
- linux/centos下安装nginx(rpm安装和源码安装)详细步骤
- linux应用之nginx的源码安装及配置(centos)
- CentOS源码安装搭建LNMP全过程(包括nginx,mysql,php,svn)
- Linux(CentOS) - 源码编译安装Nginx
- (转)Linux源码安装过程中选项—prefix的作用
- Linux 下 二进制源码包安装mysql 详细过程
- Linux源码安装过程中选项—prefix的作用
- Linux源码安装过程中选项—prefix的作用
- Linux下源码编译MySQL 5.5 与安装过程全记录
- Linux(centOS)手动安装Apache+MySQL+PHP+Memcached+Nginx原创无错版
- Linux环境下安装Nginx+Pcre+OpenSSL
- CentOS 5.4下的Memcache安装(Linux+Nginx+PHP+Memcached)
- Nginx+Tomcat+pcre 安装过程和出现的问题以及解决方案
- 网站运维架构设计及安装过程(linux+nginx+php-fpm+pgsql+memcached+varnish+mysql)
- 让CentOS(RedHat)Linux支持NTFS读写操作-安装全过程
- Linux 下 二进制源码包安装mysql 详细过程
- Red Hat Linux 9下的Mysql5.0.19+Apache 2.2.0 + PHP 5.1.2+GD库源码编译安装过程