2006-06-25

 

xFTP 설치

'
1. 설치 파일 : 2006_xFile_Server_Daemon.tgz

2. 설치 리눅스 버전 : 와우 리눅스 ( Redhat 7.1 )

3. 설치 과정

-1. configure 권한 변경 : 766

-2. make 시 에러남

[root@localhost base]# make
cd . && autoconf
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
make: *** [configure] Error 2

2006-06-18

 

php 업로드시 버그 문제

'
http://hubgo.com/bbs/view.php?id=apache&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=15

2006-06-09

 

LDAP sso 작업

'
1) /ldif 폴더 Detail

/ldif = ldif 파일
/schema = 스키마 파일
slapd.conf = ldap 구동 설정 파일

2) ldap sso install 작업

-1. ldap 초기 base TEST

-2. proftpd + ldap install

-3. apache install

-4. php + ldap install

-5. samba + ldap install

 

apache optimize

'
웹페이지를 긁어가는 robot을 막는법

http://kltp.kldp.org/stories.php?story=00/03/30/9547848&topic=14

아파치 서버 정보 숨기기
http://kltp.kldp.org/stories.php?story=00/11/26/9049953&topic=14


Apache Web 서버에서 한글 파일 사용하기
http://kltp.kldp.org/stories.php?story=01/01/29/5413242&topic=14

웹소스긁는거 막기
http://kltp.kldp.org/stories.php?story=00/11/05/9738644&topic=14

고성능 웹 사이트 설계 기법
http://kltp.kldp.org/stories.php?story=00/06/27/9629580&topic=14

CodeRed 아파치로그파일 지우기
http://kltp.kldp.org/stories.php?story=01/08/19/6262177&topic=14

apache 에서 '사이트 공사중' 표시하기
http://kltp.kldp.org/stories.php?story=02/01/28/4142946&topic=14

CODE RED 공격 로그에 남기지 말기. --;
http://kltp.kldp.org/stories.php?story=01/08/06/7451865&topic=14

무단 링크 방지하기
http://kltp.kldp.org/stories.php?story=01/08/13/7105857&topic=14

[MySQL] WEB Server와 DB 서버 분리해서 운영하기
http://kltp.kldp.org/stories.php?story=02/09/09/9559946&topic=14

IP 주소 접속을 도메인 주소로 바꾸기
http://kltp.kldp.org/stories.php?story=02/02/14/3712876&topic=14

아파치 인증사용으로 특정디렉토리에 암호걸기
http://kltp.kldp.org/stories.php?story=02/03/21/7907473&topic=14

웹로그분석기 설치기 - Awstats
http://kltp.kldp.org/stories.php?story=04/03/03/9000812&topic=14


Apache 에서 DoS 공격 막기 (1.3.x 2.x 모두)
http://kltp.kldp.org/stories.php?story=03/08/29/0942915&topic=14

주소앞에 www 자동으로 붙이기
http://kltp.kldp.org/stories.php?story=03/05/24/7331390&topic=14



2006-06-08

 

xFile-ftp list

'
퍼미션을 보라.. 퍼미션이 키포인트 이다.
[root@localhost x]# ll
합계 2420
-rw-r--r-- 1 root root 2790 6월 8 21:22 Make.rules
-rw-rw-rw- 1 root root 2560 3월 21 23:04 Make.rules.in
-rw-r--r-- 1 root root 5073 6월 8 21:22 Makefile
-rw-rw-rw- 1 root root 5135 3월 21 23:04 Makefile.in
-rw-rw-rw- 1 root root 2953 3월 21 23:15 acconfig.h
-rw-rw-rw- 1 root root 230111 11월 1 2004 aclocal.m4
drwxr-xr-x 2 root root 4096 6월 8 21:21 autom4te.cache
-rwxr--r-- 1 root root 40486 3월 21 23:15 config.guess
-rw-r--r-- 1 root root 21135 6월 8 21:22 config.h
-rw-rw-rw- 1 root root 19906 3월 21 23:15 config.h.in
-rw-r--r-- 1 root root 244210 6월 8 21:22 config.log
-rwxr-xr-x 1 root root 56327 6월 8 21:22 config.status
-rwxr-xr-x 1 root root 29806 1월 18 2004 config.sub
-rwxr-xr-x 1 root root 1140466 6월 8 21:21 configure
-rw-rw-rw- 1 root root 52949 3월 21 23:17 configure.in
drw-rw-rw- 4 root root 4096 6월 8 21:10 contrib
drw-rw-rw- 2 root root 4096 6월 8 21:22 include
-rwxr-xr-x 1 root root 5585 10월 18 1998 install-sh
drw-rw-rw- 4 root root 4096 6월 8 21:22 lib
-rwxr-xr-x 1 root root 213315 6월 8 21:21 libtool
-rw-rw-rw- 1 root root 183394 11월 14 2004 ltmain.sh
drw-rw-rw- 2 root root 4096 6월 8 21:22 modules
drw-rw-rw- 2 root root 4096 6월 8 21:10 sample-configurations
drw-rw-rw- 2 root root 4096 6월 8 21:22 src
-rw-r--r-- 1 root root 10 6월 8 21:22 stamp-h
-rw-rw-rw- 1 root root 0 8월 2 2000 stamp-h.in
drw-rw-rw- 2 root root 4096 6월 8 21:22 utils
-rw-rw-rw- 1 root root 7358 3월 21 23:17 xfiled.spec

 

xFile-ftp error

'
make[1]: Entering directory `/root/xftp/x/modules'
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_core.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_xfer.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_auth_unix.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_auth_file.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_auth.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_ls.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_log.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_site.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_delay.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_auth_pam.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_delay.o mod_auth_pam.o mod_cap.o
/bin/sh: ./glue.sh: 허가 거부됨
make[1]: *** [module_glue.c] 오류 126
make[1]: Leaving directory `/root/xftp/x/modules'
make: *** [modules] 오류 2

[root@localhost x]#

2006-06-07

 

httpd.conf

'
http:/localhost/admin 하면 안들어 가고 http://localhost/admin/ 하면 들어가지는 것 해결법

httpd.conf 에서

Servername localhost > Severname 192.168.0.1 (서버IP) 로 변경 해봄

 

apache install

'
apache install

#!/bin/sh
./configure

--prefix=/usr/local/apache

--activate-module=src/modules/php4/libphp4.a # php 모듈 추가 및 연동함

--enable-rule=SHARED_CORE # i do not know

--enable-module=so # DSO 처럼 모듈을 올리기 위한 옵션 >

http://httpd.apache.org/docs/1.3/mod/mod_so.html

--enable-shared=mime_magic

--enable-shared=digest

--enable-shared=auth_digest

--enable-shared=info

--enable-shared=rewrite

--enable-shared=proxy

--enable-shared=log_agent

--enable-shared=log_referer

--enable-shared=usertrack

--enable-shared=vhost_alias &&

----------------------------

--enable-rule=NAME enable a particular Rule named 'NAME'

--disable-rule=NAME disable a particular(특별한) Rule named 'NAME'

[CYGWIN_WINSOCK=no DEV_RANDOM=default EXPAT=defa]
[IRIXN32=yes IRIXNIS=no PARANOID=no ]
[SHARED_CHAIN=default SHARED_CORE=default(V) SOCKS4]
[SOCKS5=no WANTHSREGEX=default ]

--enable-module=NAME enable a particular Module named 'NAME'

--disable-module=NAME disable a particular Module named 'NAME'

[access=yes actions=yes alias=yes ]
[asis=yes auth=yes auth_anon=no ]
[auth_db=no auth_dbm=no auth_digest=no(V) ]
[autoindex=yes cern_meta=no cgi=yes ]
[digest=no(V) dir=yes env=yes ]
[example=no expires=no headers=no ]
[imap=yes include=yes info=no(V) ]
[log_agent=no(V) log_config=yes log_referer=no(V) ]
[mime=yes mime_magic=no(V) mmap_static=no ]
[negotiation=yes proxy=no(V) rewrite=no(V) ]
[setenvif=yes so=no speling=no ]
[status=yes unique_id=no userdir=yes ]
[usertrack=no(V) vhost_alias=no(V) ]

--enable-shared=NAME enable build of Module named 'NAME' as a DSO

--disable-shared=NAME disable build of Module named 'NAME' as a DSO

--------------------------------

--enable-shared=apache_ssl

http://www.apache-ssl.or.kr/ : apache + ssl 사이트

==================================

php install

#!/bin/sh
./configure

--with-apache=../apache_1.3.27 # apache directory

--with-config-file-path=/usr/local/apache/conf # apache conf directory

--enable-track-vars

--enable-magic-quotes

--enable-ucd-snmp-hack

--enable-sysvsem

--enable-sysvshm

--enable-calendar

--enable-ftp &&

-------------------

--with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.5)

--with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install dir.

--with-ldap[=DIR] Include LDAP support.

---------------------

--with-apache[=DIR] Build Apache 1.x module. DIR is the top-level Apache
build directory, defaults to /usr/local/apache.

--with-config-file-path=PATH
Sets the path in which to look for php.ini,
defaults to PREFIX/lib

--enable-sysvsem Enable System V semaphore(신호로 알리다) support.
--enable-sysvshm Enable the System V shared memory support.
--enable-ftp Enable FTP support
--enable-magic-quotes Enable magic quotes by default.
--enable-ucd-snmp-hack Enable UCD SNMP hack

http://cafe.naver.com/q69.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=9183
: SNMP hack 관련 자료

http://kin.naver.com/db/detail.php?d1id=1&dir_id=10111&eid=t5lgfdBiF2fudP+Z4q+VspWmP26rw/v6
: php option 들 설명한 곳

 

xFfile

'
xFile Studuy ~~!!! Fighting~!!!

This page is powered by Blogger. Isn't yours?