# 给军哥的lnmpa安装mod_expires

- Link: https://yjyj.net/learn/centos/2526.html
- Published: 2013-04-22T01:26:51+08:00
- Author: 小 虾

ssh里执行：

    ```decode:true
    /usr/local/apache/bin/apxs -i -a -c /root/lnmp0.9-full/httpd-2.2.22/modules/metadata/mod_expires.c
    ```

仅针对lnmp0.9-full版本 其他版本请自己按照格式修改路径

📚 【[CentOS 学习](https://yjyj.net/category/learn/centos)】专栏延伸阅读与热门精选（
[全站文章归档](https://yjyj.net/archive)）：

 * [centos 5.x下安装git](https://yjyj.net/learn/centos/2514.html)
 * [修改 .htaccess 实现 301 重定向](https://yjyj.net/learn/centos/2040.html)
 * [军哥LNMP升级LNMPA后502错误的解决方法](https://yjyj.net/learn/centos/2886.html)
 * [升级一下iptables](https://yjyj.net/learn/centos/3208.html)
 * 热门必读[css布局实例](https://yjyj.net/learn/3901.html)
 * 热门必读[程序员漫游指南](https://yjyj.net/what/5830.html)
