ftp mget 사용법

Computer/Linux Tips 2007. 3. 7. 21:28
보통 mget명령어를 쓰면 파일 하나씩 'y'를 눌러야 한다

이럴땐 prompt를 치면 interactive mode off상태로 변하면서

'y'를 치지 않고도 한번에 파일을 받을수있다.


*파일 보내기(mput), 가져오기(mget)
mget *  :  디렉토리를 제외한 나머지파일을 모두 가져온다.
mget -R BACKUP  : BACKUP이란 폴더 안에 존재하는 모든내용을 가져온다.
mget -R * : 역시 하위폴더까지 모두 가져온다.

mget *.html : 하위의 모든.html을 가지고 올경우
get -R *.html : 하위 디렉토리 하위의 것까지 가지고 올경우

  - mget(multiple get) , mput(multiple put)


#> mget   *   -> 여러파일 받을때
#> by   or  bye  or quit  ->나갈때

출처 : Tong - *^^* 푸르른날님의 리눅스통

Linux Network Emulator

Computer/Linux Tips 2007. 3. 6. 20:40

Netem이라는 linux kernel level packet emulator에 관한 것.

packet drop, delay, ... 등등을 간단하게 emulation 할 수 있다.

Kernel 2.6부터 사용가능

참고 사이트 : http://linux-net.osdl.org/index.php/Netem

 - TC 매뉴얼 

Linux 방화벽 설정하기 (IPtables)

Computer/Linux Tips 2007. 2. 24. 16:35
Fedora Core 5 기준

1. vi /etc/sysconfig/iptables 를 수행 후 편집



2. root에서 iptables 명령을 활용한다.



설정한 후,

/sbin/service iptables restart

를 수행하여 방화벽 재시작.

'Computer > Linux Tips' 카테고리의 다른 글

gcc로 윈도우즈 API 프로그램 만들기  (0) 2007.03.15
ftp mget 사용법  (0) 2007.03.07
Linux Network Emulator  (0) 2007.03.06
Cygwin에 ACE Library 설치하기  (0) 2007.02.24
Open Source Streaming Server Video Lan setting  (3) 2007.02.24

Cygwin에 ACE Library 설치하기

Computer/Linux Tips 2007. 2. 24. 14:29

Versions: Cygwin CYGWIN_NT-5.1
ACE 5.5.1
g++ 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

(cmake is available by cygwin project)

Before making ACE

  1. Get and decompress tar ball (e.g. /work/ACE_wrappers).
  2. Set an environment variable;
export $ACE_ROOT=/work/ACE_wrappers
  1. Create some symbolic links;
cd $ACE_ROOT/include/makeinclude
ln -s platform_cygwin32.GNU platform_macros.GNU
cd $ACE_ROOT/ace ln -s config-cywin32.h config.h

Setting include path

Compiling ACE generates many errors by default of cygwin. It is because the preprocessor of g++ on cygwin behaved in a strange way. It regards the lines "signal.h" or so on in /usr/include/*.h files as the same name files in ACE.

Solution: To avoid this errors, you should export an environment variable like:

export CPLUS_INCLUDE_PATH
=/usr/include:/usr/local/include:$CPLUS_INCLUDE_PATH

and

make

Then you can compile ACE without any errors. This issue is not declaired at the official homepage of ACE/TAO.

Local Installation

To install ACE to your cygwin,

 
cp -r $ACE_ROOT/ace /usr/local/include
cp $ACE_ROOT/lib/* /usr/local/lib

To tell your cygwin where is the ACE dynamic libraries,

 
export PATH=/usr/local/lib:$PATH"

cygwin cannot search the libraries without setting PATH variable properly. It's a specification of cygwin.


Additional step to test ACE:

cd $ACE_ROOT/tests
make
perl run_test.pl

'Computer > Linux Tips' 카테고리의 다른 글

gcc로 윈도우즈 API 프로그램 만들기  (0) 2007.03.15
ftp mget 사용법  (0) 2007.03.07
Linux Network Emulator  (0) 2007.03.06
Linux 방화벽 설정하기 (IPtables)  (0) 2007.02.24
Open Source Streaming Server Video Lan setting  (3) 2007.02.24

Open Source Streaming Server Video Lan setting

Computer/Linux Tips 2007. 2. 24. 12:17

Open source streaming server인 Video Lan Server를 Fedora Core 5 에 설치를 했다.

http://www.videolan.org/doc/
http://www.videolan.org/vlc/download-fedora.html
http://www.videolan.org/doc/streaming-howto/en/ch04.html#id294801
http://www.videolan.org/doc/vls-user-guide/en/ch02.html#id289076
http://www.videolan.org/vlc/streaming.html

다운로드와 기타 등등은 상기 사이트 참조,

Install 중 삽질

Error: Missing Dependency: mozilla >= 1.7.13 is needed by package vlc
Error: Missing Dependency: libgnutls.so.11(GNUTLS_REL_1_0_9) is needed by package vlc
Error: Missing Dependency: libdbus-1.so.1 is needed by package vlc
Error: Missing Dependency: libgnutls.so.11 is needed by package vlc

요런 에러가 나서,

http://forum.videolan.org/viewtopic.php?t=31880&highlight=libdbus1++needed+package+vlc
http://forum.videolan.org

위 사이트 들을 참조하여,

이렇게하니 해결됨.
 

'Computer > Linux Tips' 카테고리의 다른 글

gcc로 윈도우즈 API 프로그램 만들기  (0) 2007.03.15
ftp mget 사용법  (0) 2007.03.07
Linux Network Emulator  (0) 2007.03.06
Linux 방화벽 설정하기 (IPtables)  (0) 2007.02.24
Cygwin에 ACE Library 설치하기  (0) 2007.02.24