본문 바로가기 메뉴 바로가기

Jacob Baek's home

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Jacob Baek's home

검색하기 폼
  • all (215)
    • private (3)
      • diary (0)
      • graduateschool (3)
      • important thing (0)
      • my project (0)
      • study (0)
    • Cloud (91)
      • Private Cloud (35)
      • Public Cloud (5)
      • Cloud Native (17)
      • Architecture&Tech (2)
      • Kubernetes (32)
    • Security (16)
      • programming (0)
      • Architecture&Tech (3)
      • System&Tools (5)
      • Cloud Native (7)
    • DevOps (27)
      • System&Tools (27)
      • Architecture&Tech (0)
    • Network (6)
      • System&Tools (5)
      • Architecture&Tech (1)
    • Storage (5)
      • Architecture&Tech (1)
      • System&Tools (4)
    • os (26)
      • Linux (24)
      • Windows (2)
      • Embedded&Mobile&Etcs (0)
    • programming (17)
      • python (1)
      • c/c++ (1)
      • Java (1)
      • kernel (0)
      • Scripts (5)
      • devtools (2)
      • protocol (1)
      • common (1)
      • sw engineering (1)
      • Web Programming (0)
      • etc (4)
    • Server (16)
      • SystemMGAuto (0)
      • WebServer (6)
      • VirtualServer (1)
      • EtcServer (9)
    • quailty assurance (4)
      • System & Tools (3)
      • Theory (1)
    • ITtech (2)
    • database (0)
    • language (0)
    • Trips (0)
    • music (0)
    • etc (2)
  • 방명록

find localip (1)
print local ip address and hostname using php on httpd

APACHEapache web server에 php를 이용하여 local ip 주소 및 hostname을 출력하는 방법환경은 CentOS 7에 apache httpd 2.4.6, php 5.4.16 기반으로 진행했다. 우선 apache httpd web server를 설치한다. yum install httpd 이후 local ip address와 hostname을 출력하도록 해주는 php를 설치한다. yum install php -y 위 command를 이용해 설치를 하게 되면 httpd/conf.d/php.conf 가 자동으로 생성된다.해당 파일에 아래와 같은 설정이 추가되어 있는지 확인한다. SetHandler application/x-httpd-php 위와 같은 설정이 자동으로 uncomment 되..

Server/WebServer 2017. 4. 17. 10:50
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • Cyuu
TAG
  • vmware openstack
  • socket
  • Terraform
  • kubernetes
  • kata container
  • openstack backup
  • aquasecurity
  • jenkins
  • kubernetes install
  • boundary ssh
  • azure policy
  • open policy agent
  • openstacksdk
  • K3S
  • wsl2
  • Helm Chart
  • minikube
  • OpenStack
  • minio
  • mattermost
  • hashicorp boundary
  • ceph
  • nginx-ingress
  • metallb
  • GateKeeper
  • macvlan
  • Jenkinsfile
  • crashloopbackoff
  • ansible
  • DevSecOps
more
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바