UPD 트래픽 시험을 하려고 보니 linux서버에 tftp 서버를 설치하면 되겠더군요.
그래서 Fedora core 5에 tftp-server와 client를 아래처럼 설치....
1. tftp server, client 설치(Fedora 5에)
a. rpm -ivh tftp-server-0.41-1.2.1.i386.rpm
b. rpm -ivh tftp-0.41-1.2.1.i386.rpm
2. server configuration
a./etc/xinetd.d/tftp 파일을 아래처럼 설정
- server_args부분의 -c 옵션 안줬더니 put이 잘 안되더군요.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
3. tftp서버, 클라이언트 사용하기
a. 서버 실행시키기
: service xinet.d restart
: ps -ef |grep tftp 로 잘 실행되었는지 확인
b. linux 클라이언트에서 파일 주고 받기
- tftp -v 192.168.x.x(tftp서버) 실행
- put 또는 get 명령으로 파일 주고 받기
c. 윈도우용 tftp 서버, 클라이언트 프로그램
1. Installation
ㄱ. DVD를 가지고 installation을 했다.
ㄴ. CD1을 이용해서 Network installation을 했더니 에러가 난다.
a. https://bugzilla.redhat.com/show_bug.cgi?id=517171
b. Possibleworkarounds include:
* Boot and install from CD
* Boot and install from DVD
* Boot from PXE, install from network
2. install 후 설치한 것들
ㄱ. yum -y updata
ㄴ. yum으로 설치한 것들
a. vsftpd, wireshark, wireshark-gnome, bind, bind-utils, dhcp, vlc
: vlc를 이용해 VOD 서버 설정은 여기를 참조
ㄷ. telnet server
a. 아래 2개 package를 설치한다.
- rpm -ivh xinetd-2.3.14-21.fc10.i386.rpm
- rpm -ivh telnet-server-0.17-42.fc9.i386.rpm
b. xinetd를 재시동 하면 telnet server가 실행된다.
- service xinetd restart # xinetd를 재시동해서 telnet-server를 살린다.
c. 아래처럼 명령을 수행하면 재부팅 해도 telnet server가 구동된다.
- chkconfig telnet on #재부팅 해도 telnet server가 살도록 설정 d. 설치 파일들(yum으로는 설치가 안되더라)
Fedora core 5를 설치하고 yum이 안된다.
아마 주소가 바뀌었나 보다.
아래 URL 참고하여 바꿔준다.
http://freekang.tistory.com/47?srchid=BR1http%3A%2F%2Ffreekang.tistory.com%2F47
파일 설정은 /etc/yum.conf에 URL 주소를 적어주거나
/etc/yum.repo.conf 디렉토리 안에 있는 각각 파일에 설정해 주어도 된다.
ex) fedora-core.repo : baseurl=http://fedora.hostway.co.kr/3/i386/os/
fedora-updates.repo : baseurl=http://fedora.hostway.co.kr/updates/3/i386/
사용하지 않는 repo들은 enabled=0으로 설정해 둔다.
--------------------------------------------------------
#######################
# yum korea mirro site #
#######################
vi /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name = Fedora Core 5 base
baseurl=http://ftp.sayclub.co.kr/pub/fedora/linux/core/5/i386/os/
[updates]
name = Fedora Core 5 base
baseurl=http://ftp.sayclub.co.kr/pub/fedora/linux/core/updates/5/i386
[updates-released]
name = Fedora Core 5 base
baseurl=http://ftp.sayclub.co.kr/pub/fedora/linux/core/updates/5/i386
[extra]
name = Fedora Core 5 base
baseurl=http://ftp.sayclub.co.kr/pub/fedora/linux/extras/5/i386/
# fedora 버젼에 맞게 바꿔준후 yum restart.
/etc/rc.d/init.d/yum restart
##### 다른 mirror list
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name = Fedora Core 5 base
baseurl=http://ftp.kaist.ac.kr/pub/fedora/linux/core/5/i386/os/
[updates]
name = Fedora Core 5 base
baseurl=http://ftp.kaist.ac.kr/pub/fedora/linux/core/updates/5/i386
[updates-released]name = Fedora Core 5 base
baseurl=http://ftp.kaist.ac.kr/pub/fedora/linux/core/updates/5/i386
[extra]name = Fedora Core 5 base
baseurl=http://ftp.kaist.ac.kr/pub/fedora/linux/extras/5/i386/