rhel7+apache+c cgi+动态域名实现web访问

1. 申请动态域名/安装no-ip客户端

  http://www.javashuo.com/article/p-heqyrvkq-gd.htmlhtml

2. yum安装httpd

  两种方法安装apacheapache

(1)yum install httpdvim

(2)采用源码安装ui

  http://www.javashuo.com/article/p-fqaksnfr-bh.html.net

3. 配置httpd.conf

  vim /etc/httpd/conf/httpd-confhtm

  具体内容参看之间的博客:http://www.javashuo.com/article/p-trxxjxzz-cy.htmlblog

4. 配置CGI信息

  http://www.javashuo.com/article/p-fqaksnfr-bh.htmlip

5. 配置路由器的端口映射

  https://jingyan.baidu.com/article/046a7b3e801606f9c27fa915.html路由