한번 오랫만에 시간이 나서 마음먹고 해보려는데

에러! ㅠㅠ

다음번에 재시도를 해봐야지..


$ distcc-pump --startup

/usr/bin/distcc-pump: error: pump mode requested, but distcc hosts list does not contain any hosts with ',cpp' option


$ distcc-pump make -j8 CC=ditscc

__________Using distcc-pump from /usr/bin

/usr/bin/distcc-pump: error: pump mode requested, but distcc hosts list does not contain any hosts with ',cpp' option 


어디서 저 옵션이 들어가나 뒤져보니 목록에 옵션으로 넣는거였네..

conf 파일에는 불가능하려나? zeroconf로 받아온다거나?


DISTCC_HOSTS=",cpp" 

[링크: https://wiki.archlinux.org/index.php/Distcc]


+ 2016-09-26

[링크 : https://forums.gentoo.org/...?sid=0b18b85927db5c54fa1bff47ee829527]

Posted by 구차니

공백이 있어서 \를 해주었는데 안되서

괄호까지 동원하니 해결.... 머지?



$ scp file.txt user@ip_address:"/file path/"

$ scp file.txt user@ip_address:"/file\ path/"


[링크 : http://an-compsci.blogspot.com/2009/05/scp-ambiguous-target.html]

'프로그램 사용 > ssh scp sftp' 카테고리의 다른 글

reverse SSH  (0) 2018.05.14
rpi vpn client  (0) 2018.05.11
sshpass를 이용한 scp 암호 자동 입력  (0) 2016.09.19
ssh X11 forwarding 속도 향상  (0) 2015.09.24
sshd server key 경로  (0) 2015.01.06
Posted by 구차니

expect 같은건 웬지 복잡해 보여서

단순하게 커맨드 라인에서 처리가능한 녀석으로 sshpass 테스트


sshpass -p "password" scp -r user@example.com:/some/remote/path /some/local/path 


[링크 : http://stackoverflow.com/questions/50096/how-to-pass-password-to-scp]

[링크 : https://linux.die.net/man/1/sshpass]



물론 우분투에서는 sshpass 패키지를 별도로 설치해 주어야 한다.

Posted by 구차니

시놀로지 사용중 

시놀로지에 접속해서 svn과 svn+ssh의 경로 차이점 테스트


svn:// 의 경우에는 저장소 경로만 입력

svn+ssh:// 의 경우에는 저장소가 위치한 절대경로 부터 저장소 경로 까지 입력


$ svn list svn://localhost/project

$ svn list svn+ssh://localhost/volume1/svn/project 


외부에서 접속시 포트가 22번이 아니면 아래와 같이 에러가 발생한다.

$ svn list svn+ssh://minimonk@svn.minimonk.net:2222/volume1/svn/project

svn: E210002: Unable to connect to a repository at URL 'svn+ssh://minimonk@svn.minimonk.net:2222/volume1/svn/project'

svn: E210002: SSH 접속 문제를 더 잘 디버깅하기 위해서는, 서브버전 환경설정 파일의 [tunnels] 섹션에서 ssh의 -q 옵션을 제거 하세요.

svn: E210002: 네트워크 접속이 예기치 않게 종료되었습니다


개인별로 설정시에는 아래 경로의 파일에서 포트를 지정해 주면되는데.. 

매번 다른 서버 접속시에는 수동으로 해주어야 하나?

$ vi ~/.subversion/config

[tunnels]

ssh = ssh -p 2222 

아무튼 저렇게 설정하고 나면 다음과 같이 평범(?)하게 접속이 가능하다.

$ svn list svn+ssh://minimonk@svn.minimonk.net/volume1/svn/project 


[링크 : http://unix.stackexchange.com/.../how-to-configure-svn-ssh-with-ssh-on-non-standard-port]

'프로그램 사용 > Version Control' 카테고리의 다른 글

svn add를 취소하기  (0) 2016.11.04
synology svn+ssh 퍼미션 문제  (0) 2016.10.09
tortoiseSVN에서 svn+ssh 사용하기  (0) 2016.07.31
svn+ssh 실패 -_-  (0) 2016.07.29
svn list 에러 generic failure  (0) 2016.06.23
Posted by 구차니

distcc --show-hosts 실패했는데 zeroconf를 켜니 되네..



$ sudo vi /etc/default/distcc

STARTDISTCC="true"

ALLOWEDNETS="127.0.0.1 192.168.1.0/24"

LISTENER=""

ZEROCONF="true"


$ distcc --show-hosts


$ make mrproper

 

$ make -j16 ARCH=arm CC="distcc /opt/arm-2009q1/bin/arm-none-linux-gnueabi-gcc" CROSS_COMPILE="/opt/arm-2009q1/bin/arm-none-linux-gnueabi-" ti_dm365_defconfig

 

$ distcc-pump make -j16 ARCH=arm CC="distcc /opt/arm-2009q1/bin/arm-none-linux-gnueabi-gcc" CROSS_COMPILE="/opt/arm-2009q1/bin/arm-none-linux-gnueabi-" uImage 


[링크 : http://samarthparikh.blogspot.com/2012/10/install-distcc-and-make-linux-kernel.html]


$ make -j8 CC=distcc

[링크 : http://linuxdeveloper.blogspot.com/2012/03/distributed-kernel-compilation-in.html]




$ sudo apt-cache search distcc-pump

distcc-pump - pump mode for distcc a distributed compiler client and server



+
For example:
              eval `distcc-pump --startup`
              make -j80
              distcc-pump --shutdown


EXAMPLE
       distcc-pump make -j20



QUICKSTART FOR DISTCC-PUMP MODE

       Proceed  as  above, but in Step 3, specify that the remote hosts are to

       carry the burden of preprocessing and that  the  files  sent  over  the

       network should be compressed:


              $   export   DISTCC_HOSTS='--randomize   localhost   red,cpp,lzo

              green,cpp,lzo blue,cpp,lzo'


       The --randomize option enforces a uniform  usage  of  compile  servers.

       While you will get some benefit from distcc's pump mode with only a few

       servers, you get increasing benefit with more server CPUs  (up  to  the

       hundreds!).   Wrap your build inside the pump command, here assuming 10

       servers:


              $ pump make -j20 CC=distcc

[링크 : http://manpages.ubuntu.com/manpages/precise/man1/distcc.1.html]

'프로그램 사용 > distcc & ccache' 카테고리의 다른 글

distcc kernel compile 재시도..  (0) 2016.09.28
distcc-pump error  (0) 2016.09.25
distcc 로 valgrind-3.6.1 컴파일 실패?  (0) 2014.12.12
distcc 작동모드  (0) 2014.12.09
ccache & distcc  (0) 2014.12.08
Posted by 구차니

패키지 설치하고 wins 추가하면 끝 ㄷ ㄷ ㄷ

이렇게 쉬운걸 안하고 왜 살았지? ㅠㅠ


$  sudo apt-get install libnss-winbind

$  sudo vi /etc/nsswitch.conf 

hosts:          files mdns4_minimal [NOTFOUND=return] dns wins



[링크 : http://askubuntu.com/questions/507649/ubuntu-can-not-ping-host-name-but-can-ping-ip]


+

2016.12.20

14.04 이후부터 추가된 패키지 인 듯

[링크 : http://packages.ubuntu.com/search?keywords=libnss-winbind]

Posted by 구차니

scale을 - 방향으로 해서 flip을 하네 ㄷㄷㄷ

맨날 rotate로 돌리는 것만 생각했는데...



[링크 : https://www.youtube.com/watch?v=fpLVVpNRC2s]

'프로그램 사용 > sketchup' 카테고리의 다른 글

sketchup stl exporter  (0) 2017.02.28
스케치업 도면 작업(출력?)  (0) 2016.11.18
sketchup 여러번 복사하기  (0) 2016.08.31
스케치업 자격증  (0) 2014.02.28
스케치업 / export to DWG  (0) 2014.02.04
Posted by 구차니

결론은 이거 하려면 svg로 그려서 써야 한다는...

core parts에 PCB 뷰에 "rectangular PCB - Resizable" 을 드래그 해서 pcb  넣고

하단의 인스펙터에서

"이미지파일 불러오기"로 적용하면 될 듯 한데...

inkscape 깔기도 귀찮다..



[링크 : http://fritzing.org/pcb-custom-shape/]

Posted by 구차니

6x - 6번 반복(뒤로)

6/ - 6번 반복(안으로 나누어서)


회전하면서 x / 을 쓰면 원형으로 배치된다.


[링크 : https://www.youtube.com/watch?v=I7jE2XpCnkg]

'프로그램 사용 > sketchup' 카테고리의 다른 글

스케치업 도면 작업(출력?)  (0) 2016.11.18
sketchup flip 하기  (0) 2016.08.31
스케치업 자격증  (0) 2014.02.28
스케치업 / export to DWG  (0) 2014.02.04
스케치업 튜토리얼  (0) 2014.02.04
Posted by 구차니

흐음.. 지금할건 아니지만

라즈베리 매번 빵판으로 쑈하는것도 귀찮고

만능보드 땜질하는것도 귀찮아서

fritzing 통해서 보드 만들고 떠볼려는데


견적을 눌러보니 대충 50x40mm 로 4장 최소 하니 6만원 ㄷㄷㄷ

seeed studio 통하면 싸다는데 끄응... 그래도 부담스러운 가격이네...


[링크 : http://pashiran.tistory.com/466]

[링크 : http://blog.daum.net/unininu/7165284]

'프로그램 사용 > fritzing' 카테고리의 다른 글

fritzing 부품이 안 읽혀 올때(우분투)  (0) 2019.05.17
frtzing - 사각형이 아닌 pcb 사용하기  (0) 2016.08.31
fritzing 오...  (0) 2016.08.20
fritzing과의 다른 프로그램 비교  (0) 2016.08.18
fritzing  (0) 2014.02.20
Posted by 구차니