친구가 찾아본 희한한 플러그인 -ㅁ-
써봐야지 +_+!


기본 원리는 카메라 2개의 시차를 조절해서
입체이미지를 렌더링 해주는 자동화 플러그인

[링크 : http://www.noeol.de/s3d/] << 플러그인 다운로드
[링크 : http://www.youtube.com/watch?v=HFhKxocDqnA] << 사용방법 

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

blender 2.78 network render  (0) 2016.11.16
Blender stereoscopic Add-on 설치  (2) 2011.09.19
Blender 2.5x 계열 UI 정리  (0) 2011.09.06
blender - armature  (0) 2011.05.02
blender 에서 수치로 개체 조작하기  (0) 2011.04.30
Posted by 구차니
UI가 바뀌어서 헤매다가 어제 다시 만져보고 이제야 감 잡았으~

기존의 버전에서 하단에 있던 메뉴들은 좌측으로 옮겨졌고
"Edit Mode" 에서는 Subdivide 등이 왼쪽에 존재한다 -_-


환경설정(페이지 구성)은 "Save User Settings"로 바뀌었고


렌더링 결과가 기존에는 새로운 창에 떳었는데 이제는 Editor Type에 "UV/Image Editor"로 추가되었다.

 

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

Blender stereoscopic Add-on 설치  (2) 2011.09.19
blender 2.5용 Stereoscopic plugin  (0) 2011.09.07
blender - armature  (0) 2011.05.02
blender 에서 수치로 개체 조작하기  (0) 2011.04.30
Blender 2.57 released!  (2) 2011.04.20
Posted by 구차니
139, 445번만 포워딩 하면 되는거 같은데 흐음.. 맞나?

/etc/services에 보면
아래와 같이 137~139번 까이 netbios 관련이고 139는 세션이니까 필요할 것 같긴한데...

netbios-ns      137/tcp                         # NETBIOS Name Service
netbios-ns      137/udp
netbios-dgm     138/tcp                         # NETBIOS Datagram Service
netbios-dgm     138/udp
netbios-ssn     139/tcp                         # NETBIOS session service
netbios-ssn     139/udp
microsoft-ds    445/tcp                         # Microsoft Naked CIFS
microsoft-ds    445/udp 

[링크 : http://www.blisstonia.com/eolson/notes/smboverssh.php]

'프로그램 사용 > SMB(Samba)' 카테고리의 다른 글

삼바 - nfs - 삼바 공유하기  (0) 2012.12.07
samba에 갑작스러운 "엑세스 거부"  (0) 2011.11.23
삼바 프린터 드라이버 경로 설정하기  (0) 2011.05.06
samba on Ubuntu 10.04 LTS  (0) 2010.11.11
cifsd  (0) 2010.03.18
Posted by 구차니
SVN repository를 GIT에 담아가서 svn에 여러번 commit후
나중에 통합을 한다는 이야기를 들었는데
[링크 : http://allofsoftware.net/entry/왜-하나만-써야-하는가]

stackoverlfow에는 이렇게 하면 된다는데 흐음.. 조금더 조사를 해봐야할듯.
git svn clone -rN svn://some/repo 

[링크 : http://stackoverflow.com/.../how-to-git-svn-clone-the-last-n-revisions-from-a-subversion-repository

[링크 : http://www.kernel.org/pub/software/scm/git/docs/git-svn.html

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

svn 명령어  (0) 2011.10.16
rabbitVCS - 리눅스용 svn client  (0) 2011.10.15
TortoiseSVN doc 비교  (0) 2011.07.29
svn pam  (0) 2011.06.24
혼자서도 잘쓰는 tortoiseSVN  (0) 2011.06.20
Posted by 구차니
프로그램 사용/nfs2011. 8. 4. 17:58
---
삼바 공유된 경로를
nfs통해서 원격으로 끌어온 뒤
다시 samba로 공유하려고 할 경우 엄청난 딜레이 후에 실패하는 문제가 발생한다.

원인은 파일 공유 lock 때문인데
samba 설정보다는 nfs 쪽 lock 관련 문제이기 때문에
nfs mount시에 설정해야 해결이 된다.

2012/12/11 - [프로그램 사용/nfs] - nfs mount 시 옵션들
---


[링크 : http://book.opensourceproject.org.cn/sysadmin/samba/definitive/opensource/8885final/lib0074.html]
[링크 : http://utcc.utoronto.ca/~cks/space/blog/linux/NFSSambaLockingII]
[링크 : http://oreilly.com/catalog/samba/chapter/book/ch05_05.html

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

showmount  (0) 2012.06.08
ubuntu nfs 지원  (4) 2012.06.06
cp: `./filename'의 소유자 검출 실패: Operation not permitted  (0) 2011.08.03
NFS를 외부에서 접속하기 (공유기를 거쳐)  (0) 2011.07.29
nfs 보안  (2) 2011.06.24
Posted by 구차니
프로그램 사용/nfs2011. 8. 3. 14:50
NFS로 마운트 하고 나서 보기에는 문제가 없어 보이지만
실제로 파일을 복사해 넣으려고 하면 위와 같은 에러가 발생한다.

sudo cp 를 해도 여전히 문제가 해결되지 않는데 이는 NFS의 권한 문제 때문이다. 

cat /etc/exports
/home (rw)
 

라고만 nfs를 공유할 경우,
기본값으로 root_squash  옵션이 들어가며, 이런 이유로 rw가 들어가더라도 권한이 맞지 않아 파일을 생성할 수 없게 된다. 
(anonymous 권한으로 설정이 되는데, 이러한 이유로 nobody:nogroup 권한으로 파일이 생성되며, other 권한이 rw- 일 경우 제한적으로 파일이 생성되기도 한다. 물론 디렉토리 권한한 기본 퍼미션 마스크를 따르기 때문에 하위 디렉토리 부터는 안될수도 있다)

User ID Mapping

nfsd bases its access control to files on the server machine on the uid and gid provided in each NFS RPC request. The normal behavior a user would expect is that she can access her files on the server just as she would on a normal file system. This requires that the same uids and gids are used on the client and the server machine. This is not always true, nor is it always desirable.
Very often, it is not desirable that the root user on a client machine is also treated as root when accessing files on the NFS server. To this end, uid 0 is normally mapped to a different id: the so-called anonymous or nobody uid. This mode of operation (called 'root squashing') is the default, and can be turned off with no_root_squash.

By default, exportfs chooses a uid and gid of 65534 for squashed access. These values can also be overridden by the anonuid and anongid options. Finally, you can map all user requests to the anonymous uid by specifying the all_squash option.

Here's the complete list of mapping options:

root_squash
Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not apply to any other uids that might be equally sensitive, such as user bin.
no_root_squash
Turn off root squashing. This option is mainly useful for diskless clients.
all_squash
Map all uids and gids to the anonymous user. Useful for NFS-exported public FTP directories, news spool directories, etc. The opposite option is no_all_squash, which is the default setting.
anonuid and anongid
These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user. As an example, consider the export entry for /home/joe in the example section below, which maps all requests to uid 150 (which is supposedly that of user joe). 

[링크 : http://linux.die.net/man/5/exports 

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

ubuntu nfs 지원  (4) 2012.06.06
conflict of nfs file lock and samba  (0) 2011.08.04
NFS를 외부에서 접속하기 (공유기를 거쳐)  (0) 2011.07.29
nfs 보안  (2) 2011.06.24
NFS 왜 안될까?  (0) 2010.02.17
Posted by 구차니
프로그램 사용/nfs2011. 7. 29. 11:51
NFS는 보안상의 문제가 있어서 되도록이면 외부접속은 하지 않는게 정석이지만,
꼭 해야 한다면 다음의 절차를 거치면 된다.


1. mountd 서비스 포트 고정
/etc/services 에 mountd를 특정포트로 고정한다.
[링크 : http://mindwing.kr/141]

2. 공유기에서 포트 포워딩
rpcinfo -p 에서 나오는 portmapper 와 nfs 그리고 mountd 포트를 포워딩 해준다.
(111번 그리고 2049번 위에서 설정한 mountd 포트를 포워딩하면 된다)
$ rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  58095  status
    100024    1   tcp  49200  status
    100021    1   udp  44937  nlockmgr
    100021    3   udp  44937  nlockmgr
    100021    4   udp  44937  nlockmgr
    100021    1   tcp  50652  nlockmgr
    100021    3   tcp  50652  nlockmgr
    100021    4   tcp  50652  nlockmgr
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100005    1   udp  36811  mountd
    100005    1   tcp  33175  mountd
    100005    2   udp  36811  mountd
    100005    2   tcp  33175  mountd
    100005    3   udp  36811  mountd
    100005    3   tcp  33175  mountd

3. exports 설정
/etc/exports 에 nfs로 마운트할 아이피를 포함하여 작성한다.
  1 # /etc/exports: the access control list for filesystems which may be exported
  2 #               to NFS clients.  See exports(5).
  3 #
  4 # Example for NFSv2 and NFSv3:
  5 # /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
  6 #
  7 # Example for NFSv4:
  8 # /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
  9 # /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
 10 #
 11
 12 /home/samba/sharedDocs  123.123.123.123(rw,root_squash) 
추가적으로 /etc/hosts.allow /etc/hosts.deny도 하라지만 귀차니즘 -_-


원격지에서 mount시에는 아래와 같이 입력을 하면되며
만약 tcp로 고정하고 싶으면 -o tcp를 추가하면 된다.
# mount -t nfs -o tcp 111.111.111.111:/home/samba/sharedDocs mountpath

만약 123.123.123.123 아이피가 아닌 다른 컴퓨터에서 접속하면 다음과 같이 나온다.
# mount -t nfs 111.111.111.111:/home/samba/sharedDocs tt
mount: RPC: Unable to receive; errno = Connection refused

그나저나.. TCP로 접속해놔도 생각보다 랙이 심하네 공유기를 거쳐서인가?

2009/09/01 - [Linux/Ubuntu] - ubuntu nfs 서버 설치하기
2009/05/12 - [프로그램 사용/u-boot] - nfs를 udp가 아닌 tcp로 연결하도록 설정하기
2010/02/04 - [Linux/Ubuntu] - ubuntu에 NFS 서버 설치


Posted by 구차니
Word 2007의 기능인지 모르겠지만 이전 버전과 비교시 비교가 된다!
쫄지말고 Diff 눌러보자!




 

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

rabbitVCS - 리눅스용 svn client  (0) 2011.10.15
git-svn 을 이용해서 svn 을 복제가능하다고?  (0) 2011.08.14
svn pam  (0) 2011.06.24
혼자서도 잘쓰는 tortoiseSVN  (0) 2011.06.20
SVN relocate / switch  (0) 2011.05.11
Posted by 구차니



ajxplorer를 쓰다보면 대충 30분 정도 지나면 자동으로 로그아웃 되는데..
솔찍히 이정도 시간이면 내부망이어도 1기가 겨우 올리는 정도라 대략 좌절을 하게 된다.
(올리다가 세션 종료되면 파일 올리던거 무효됨)

ajaxplorer의 conf.php에서
AJXP_CLIENT_TIMEOUT_TIME을 0으로 적어주거나

php.ini 에서
session.gc_maxlifetime 을 늘려주거나 하는 식으로 변경하면 될 듯
  
 ajaxplorer/server/conf/conf.php
268 /***********************************************/
269 /* CLIENT SESSION OPTIONS
270 /*********************************************/
271 // The length of the client session in SECONDS. By default, it's copying
272 // the server session length. In most PHP installation, it will be 1440, ie 24minutes.
273 // You can set this value to 0, this will make the client session "infinite" by
274 // pinging the server at regular occasions (thus keeping the PHP session alive).
275 // This is not a recommanded setting for evident security reasons.
276 //define("AJXP_CLIENT_TIMEOUT_TIME", intval(ini_get("session.gc_maxlifetime")));
277 define("AJXP_CLIENT_TIMEOUT_TIME", intval(ini_get("session.gc_maxlifetime")));
278 // The number of MINUTES before the session expiration
279 // where the client issues a warning.
280 define("AJXP_CLIENT_TIMEOUT_WARN_BEFORE", 3); 

 /etc/php5/apache2/php.ini
1500 ; After this number of seconds, stored data will be seen as 'garbage' and
1501 ; cleaned up by the garbage collection process.
1502 ; http://php.net/session.gc-maxlifetime
1503 session.gc_maxlifetime = 1440
1504
1505 ; NOTE: If you are using the subdirectory option for storing session files
1506 ;       (see session.save_path above), then garbage collection does *not*
1507 ;       happen automatically.  You will need to do your own garbage
1508 ;       collection through a shell script, cron entry, or some other method.
1509 ;       For example, the following script would is the equivalent of
1510 ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1511 ;          cd /path/to/sessions; find -cmin +24 | xargs rm
1512
1513 ; PHP 4.2 and less have an undocumented feature/bug that allows you to
1514 ; to initialize a session variable in the global scope, even when register_globals
1515 ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
1516 ; You can disable the feature and the warning separately. At this time,
1517 ; the warning is only displayed, if bug_compat_42 is enabled. This feature
1518 ; introduces some serious security problems if not handled correctly. It's
1519 ; recommended that you do not use this feature on production servers. But you
1520 ; should enable this on development servers and enable the warning as well. If you
1521 ; do not enable the feature on development servers, you won't be warned when it's
1522 ; used and debugging errors caused by this can be difficult to track down.
1523 ; Default Value: On
1524 ; Development Value: On
1525 ; Production Value: Off
1526 ; http://php.net/session.bug-compat-42 

[링크 : http://www.lge.co.kr//brand/nethard/support/NethardQnaDetailCmd.laf?brand=NETHARD]
Posted by 구차니


아래의 안전 모드 : 설정을 클릭하여 사용하지 않음으로 바꾸면 동영상을 볼 수 있다.
(19금이라던가 여러가지 sensorship 관련 제한을 필터링 해주는 옵션인듯)


[링크 : http://blog.naver.com/hahaj1/20109681239]
Posted by 구차니