사이드바 영역으로 건너뛰기

emacs 터미널 모드

emacs -nw
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

scp

scp 사용법


scp는 자신의 컴퓨터에서 원격의 컴퓨터로 또는 원격의 컴퓨터에서 자신의 컴퓨터로 간단하게
파일을 전송할 수 있는 프로그램이다.
다음은 현재 디렉토리에 있는 sshd.txt 라는 파일을 IP가 192.168.1.154 인 컴퓨터에 root 라는 계정으로
접속하여 /usr/local/src/ 디렉토리 밑에 복사해 넣는 명령이다.

[root@in4nux root]# scp ./sshd.txt root@192.168.1.154:/usr/local/src/ 

다음은 IP가 192.168.1.154 인 컴퓨터에 root 라는 계정으로 접속하여 /usr/local/src/ 디렉토리 밑에 있는
sshd.txt 라는 이름의 파일을 자신의 컴퓨터로 현재 위치한 디렉토리에 복사하는 명령이다.

[root@in4nux root]# scp root@192.168.1.154:/usr/local/src/sshd.txt ./ 

ssh를 이용한 원격 파일 복사 - 보안
글쓴이 : 임은재 (2000년 11월 24일 오전 09:15) 읽은수:499
scp는 ssh 클라이언트 패키지에 따라옵니다.
예를 들어, 복사하려는 파일명이 'dumb' 라고 하고
접속하려는 원격 서버의 주소는 www.foobar.com,
당신의 쉘 계정은 babo 라고 한다면, dumb 파일을 www.foobar.com 의

babo 계정 홈 디렉토리에 복사하기:
scp dumb babo@www.foobar.com :. www.foobar.com 의 babo 계정 홈 디렉토리에 있는 dumb 파일을 로컬로 복사하기:
scp babo@www.foobar.com:dumb .간단하죠? 만약 ~/.ssh/config 파일에 다음과 같이 www.foobar.com 의
계정을 설정해 놓았다면,
Host *fbc HostName www.foobar.com User babo ForwardAgent yes
다음과 같이 더 간단하게 할수 있습니다.
scp dumb fbc:.또한 scp 는 -r 옵션도 가지고 있는데 이것은 디렉토리를 통채로 복사 할때 유용합니다.
예를 들어 test/ 디렉토리안의 모든 파일과 하위 디렉토리를 서버 계정의 www 디렉토리 안에
복사 하려면 다음과 같이 합니다.
scp -r test/ babo@www.foobar.com::www/

포트 옵션 : -P

 
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

Virtual box 설치 방법

http://kldp.org/node/82148
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

우분투 zbxe 설치 과정

1.

http://www.zeroboard.com/?mid=study_server&category=1508060&page=1&document_srl=16858990

2.

http://www.zeroboard.com/?mid=study_server&category=1508060&page=1&document_srl=16859070
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

apache2 실행 에러1

우분투 아파치 실행시 아래와 같은 메시지가 출력될 경우 환경파일에 `ServerName localhost` 를 추가 해줘야 합니다.

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

/etc/apache2/apache2.conf 파일 마지막 줄체 아래 내용을 추가 해줍니다.

ServerName localhost
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

GDB

GNU debugger
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

mesa, openGL

리눅스에서 3D로 무언가를 보고 싶을 때있어야 하는
library 같은데,,

잘 설치가 안되는구먼;;

에효..
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

cups-pdf

If you are using OpenOffice it is very easy to create documents there is an option in the File menu ‘Export as PDF’.For other applications, you will need to do the following procedure

We need to install cups-pdf this software is designed to produce PDF files in a heterogeneous network by providing a PDF printer on the central fileserver. It is available under the GPL and is packaged for many different distributions or can be built directly out of the source files.

Install cups-pdf

sudo apt-get install cups-pdf

You need to chnage the following file permissions

sudo chmod +s /usr/lib/cups/backend/cups-pdf

Configure CUPS for the PDF printer.

- Select SYSTEM > ADMINISTRATION > PRINTERS > NEW PRINTER
- Select LOCAL PRINTER
- Use detected printer: PDF PRINTER
- Select Print Driver:
- Manufacturer: Generic
- Model: Postscript Color Printer
- Name: postscript-color-printer-rev3b
- Click APPLY

When printing from any application, select the newly created postscript-color-printer-rev3b printer to generate PDF files.

Output files are stored in your home directory under /PDF subirectory.

To change the default location of the PDF output

Edit the /etc/cups/cups-pdf.conf file

gksudo gedit /etc/cups/cups-pdf.conf

look for

Out ${HOME}/PDF

and change to something like below

Out ${HOME}/my_print_to_pdf_folder

and restart

sudo /etc/init.d/cupsys restart

 

source : Ubuntu greek

진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

auto-apt

./configure할 때 에러 나는걸 자동적으로 처리 해주는 패키지가 auto-apt란 프로그램인데 그걸 한번 써보시죠
아래 두 라인을 먼저 실행시켜서 auto-apt설치 하시고

Code:
sudo apt-get -y install auto-apt;
sudo auto-apt update && sudo auto-apt updatedb && sudo auto-apt update-local;


파이어폭스 소스 있는 폴더 가서 ./configure하는 대신 아래 명령어를 실행시키세요
Code:
auto-apt run ./configure


컴터가 configure돌리다가 필요한건 알아서 설치할겁니다.
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크

우분투의 X윈도우를 터미널창에서 끄고 시작하는 명령어

1. 우분투의 X윈도우를 터미널창에서 끄고 시작하는 명령어

sudo /etc/init.d/gdm [명령]

시작   : start
중지   : stop
재시작 : restart

2. 우분투를 켰을때 X윈도우를 자동으로 실행하지 않고 터미널로 시작되도록 설정하는 명령어

sudo update-rc.d -f gdm remove

다시 X윈도우를 자동으로 뛰우게 하고 싶으면 아래의 명령어를 입력한다.

sudp update-rc.d gdm defaults


출처 : 제로님의 블로그 글
진보블로그 공감 버튼트위터로 리트윗하기페이스북에 공유하기딜리셔스에 북마크