본문 바로가기

전체 글186

CentOS iptables 80번 포트 해제 1. CentOS 다운로드 - http://centos.org 2. CentOS 설치 (설치내용 생략) 3. yum 을 통한 apm 설치 (CentOS는 기본적으로 apm이 탑재되어있음. 기존 apm을 삭제시키지 않고 yum install 명령으로 설치할 경우 update를 자동으로 함) yum install httpd php mysql mysql-server php-mysql system-config-httpd 4. 설치후 아래 명령을 입력하면 아파치 웹서버가 실행됨 service httpd start 5. 외부에서 접근할 수 있도록 80포트 해제 iptables -I INPUT -p tcp --dport 80 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/rc.d/.. 2011. 3. 7.
CentOS yum으로 APM 간편 설치 CentOS는 RedHat Enterprise의 클론 리눅스다. 무료로 RHEL의 검증되고 안정된 서버를 구축할 수 있다는 장점을 가지고 있다. 서버용으로 설치한다고는 해도 설치과정은 GUI로 할 수 있으니 파티션 잡는 것만 잘 넘어간다면 어려운 것은 없으니 언급하지 않겠다. 기회가 되면 이것도 한번 다뤄보는 것도 좋을 듯 싶기도 하고.. 참고로 좀 안다 싶은 사람들을 위한 것이 아닌 본인처럼 완전 개초보를 위한 글이므로 이 글을 읽는 사람 중에 이건 아니다 싶은 사람은 미련 없이 "GET OFF!!"하기 바란다. 사실 APM설치에 대해 인터넷에서 검색해보면 굉장히 많은 자료가 나오고 그 자료 마다 컴파일 하는데 있어서의 방법 등에 있어서 상당히 다른 방법을 제시하는 경우가 많다. 그들을 무시 하는 것은.. 2011. 3. 7.
Editplus Svn 설정 svn update C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe /command:update /path:"$(FileDir)" /notempfile /closeonend:1 svn commit C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe commit /command:commit /path:"$(FilePath)"/logmsg:"TFT COMMIT HSK" /notempfile /closeonend:0 2011. 2. 28.
From MySQL to jQuery, via PHP, XML & Ajax Back in the early part of this year I posted an article around how to get MySQL data out of the database and into a web page via jQuery and Ajax. The tutorial was okay, but I made some rookie mistakes – specifically around the creation of XML data with PHP – This time, I hope to rectify that! So this article will focus on getting data from a database using PHP, converting that to an XML document.. 2011. 2. 26.