ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 아파치
    SysAdmin/WAS 2014. 11. 22. 17:17

    centos-release-5-11

    2.6.18


    Apache/2.2.3 or httpd-2.2.3


    $ yum list httpd


    > 아파치 버전 확인

    # httpd -v

    or $ rpm -qa httpd

    or $ yum list installed httpd


    >

    # yum -y install httpd* ## yum install httpd


    # service httpd status

    # service httpd start ## /etc/rc.d/init.d/httpd start c.f. service apache2 restart


    # chkconfig httpd on


    /etc/httpd/conf/httpd.conf

    DocumentRoot

    /var/www/html/

    /etc/httpd/conf.d/welcome.conf

    /var/www/error/noindex.html ## 인덱스 페이지가 없을 때 보이는 페이지



    참조 사이트:

    http://jmnote.com/wiki/%EC%95%84%ED%8C%8C%EC%B9%98_%EB%B2%84%EC%A0%84_%ED%99%95%EC%9D%B8

    http://jmnote.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_%EC%95%84%ED%8C%8C%EC%B9%98_%EC%84%A4%EC%B9%98_(yum)

    http://wnstjqdl.tistory.com/9


Designed by Tistory.