'프로그램 사용'에 해당되는 글 2190건

  1. 2011.06.24 svn pam
  2. 2011.06.24 nfs 보안 2
  3. 2011.06.23 VLC 외부코덱 연결하기 제약사항
  4. 2011.06.21 webcalendar 한글문제
  5. 2011.06.21 putty를 이용한 vnc 터널링 1
  6. 2011.06.20 혼자서도 잘쓰는 tortoiseSVN
  7. 2011.06.17 bochs 느려! 4
  8. 2011.06.15 ajaxplorer 3.2.4 released + update/upgrade
  9. 2011.06.14 fckeditor plugin for squirrelMail
  10. 2011.06.14 upgrade mediawiki
현재 딱히 좋은 방법이 없어서
/etc/shadow에 직접 연결했는데 음..
생각해보니 DAV도 이용하고 적절하게 된듯?

Setup PAM for authentication

However, our SVN can be access by everyone, that is to say everyone can check out and commit, so we need to configure apache’s authentication for SVN. We plan to use PAM so that UNIX system user can access SVN use their username and password.

First enable auth_pam and auth_sys_group modules for apache2:

$ sudo a2enmod auth_pam
$ sudo a2enmod auth_sys_group

If we use shadow password in our system, we need to add www-data to the shadow group so that apache can read (not write!) the password of system user:

$ sudo adduser www-data shadow

Then edit our /etc/apache2/sites-available/ssl file and it should contain the following lines (the lines in red are newly added):

    DAV svn
    SVNPath /home/svn
 
    AuthType Basic
    AuthName “Subversion Repository”
    # this line is needed if your system use shadow password
    AuthUserFile /etc/shadow
    require group src

Restart the apache and everyone in the src group can access SVN repository.


[링크 : http://inming.net/?p=86]
 

Posted by 구차니
프로그램 사용/nfs2011. 6. 24. 21:47
Target 보드용 RootFS를 사용하기 위해 NFS를 사용하다 보니
확실히 NFS는 개발용으로는 좋으나 원격지에 대해서 물려쓰기에는 상당히 보안이 취약하다는 생각이 든다.
최소한 접속할 IP 대역을 제한해놓는다던가 하는 시스템적인 구현이 필요해 보인다.

sNFS와 같은 SSH를 통한 NFS등도 존재는 하지만
구조적인 보안취약성은 해결하기 힘들듯...

[링크 : http://www.sans.org/reading_room/whitepapers/linux/nfs-security-trusted-untrusted-environments_1956]
[링크 : http://www.lug.or.kr/docs/LINUX/others/00-01-5.htm]
[링크 : http://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-sg-ko-4/s1-server-nfs.html]
[링크 : http://165.132.13.12/document/service_info/security/guide/document/unix/unix_nfs.html]
Posted by 구차니
프로그램 사용/VLC2011. 6. 23. 10:37
DMO 를 plugin 식으로 하는 것 외에는 별다른 방법이 없다고 한다.
(특정업체의 코덱을 설치해도 VLC에서는 외부 코덱을 끌어올수 없으므로 플레이 불가)

[링크 : http://forum.videolan.org/viewtopic.php?f=14&t=56789]
[링크 : http://forum.videolan.org/viewtopic.php?f=7&t=53304]


DMO는 Directx Media Object 의 약자인듯?
[링크 : http://telnet.or.kr/directx/htm/dmowrapperfilter.htm
Posted by 구차니
webcalendar의 경우 한글 출력에 문제가 있고 기본 버전에 포함된 한글 메시지들이 많이 부족하다 -_-
(조만간 번역할 듯한 기분이 들어....) 


아무튼 한글이 깨지는 문제는
▶ 월단위 달력에서 왼쪽의 "주차" 표시가 깨짐
인데, 이문제는 translation/Korean.txt 파일에서
 
charset: EUC-KR 
부분을

charset: UTF-8
로 바꾸고 파일 자체를 UTF-8로 저장을 해주면된다.

기본내장된 파일의 인코딩은 ANSI로 되어있고, 한글은 EUC-KR로 되어있어
UTF-8로 설정한 터미널에서 vi로 보면 글씨가 죄다 깨져보인다.



크롬의 경우 세션이 남아서 그런지, 열어놓은채로 파일을 변경하면 와장창 깨진다. -_- 
크롬이라면 종료후 다시 실행해서 페이지를 열어보면 정상대로 출력된다. 

번역중 (1.2.3 버전)

 

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

webcalendar  (0) 2011.04.06
open source web calendar / scheduler  (0) 2011.01.04
Posted by 구차니
프로그램 사용/Putty2011. 6. 21. 09:06
맨날 헷갈리는데.. 이넘의 Local / Remote 개념이란 -_-

아무튼, 아래와 같이 putty에서 Local 로 설정을 하고
Local의 5900번 포트를 localhost의 5900번(여기서 localhost는 putty가 실행한 pc)
그리고 Add를 누르면 게임끝~!


vnc에서는 이제 귀차니즘 100% 발동하여 localhost만 쳐주면 된다.


Posted by 구차니
tortoiseSVN은 원래 Client 프로그램이지만
File system 레벨로 구성하면 로컬 하드에 저장소를 구축하여 사용할 수 있다.
(물론 이 경우 사용자 이름으로 윈도우 로그인 이름이 저장된다)

Step 1. 일단 귀찮으니 D 드라이브의 루트에 repos 라는 폴더 생성!


Step 2. repos 폴더를 선택해서 "TortoiseSVN -> Create repository here"를 실행한다.

 
Step 3. 머 생성되었다는 간단한 메시지

 
Step 4. 심심하니 한번 구경을 해보려면 바탕화면이나 탐색기의 빈공간에서 "TortoiseSVN -> Repo-browser"를 실행

 
Step 5. file:/// (/이 세번 들어감!) d:/ 이런식으로 리눅스 스타일로 적어줌

 
Step 6. 아직 넣은게 없으니 깨끗한 저장소

 
Step 7. 정식대로 쓰려면 빈공간에서 "SVN Checkout"을 실행하고

 
Step 8. URL에 아까 repo-browser에서 사용했던 것처럼 file:///d:/repos 를 입력한다.

 

Step 9. 아직 파일은 없으니 단순하게 check out만 하고 폴더가 생긴다.



그 이후에는 이 폴더 안에 파일을 넣고
TortoiseSVN 메뉴에서 Add를 하거나 Delete를 하거나 Rename 등의 작업을 하고


저장소에 정식으로 올려넣으려면 Commit을 하면된다. 

 

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

TortoiseSVN doc 비교  (0) 2011.07.29
svn pam  (0) 2011.06.24
SVN relocate / switch  (0) 2011.05.11
svnadmin dump / load를 이용한 저장소 합치기  (2) 2011.05.09
SVN 저장소 합치기 - merging SVN repositories  (0) 2011.01.08
Posted by 구차니
회사에서 빈둥대다 문득 가상머신을 돌려보고 싶어서 데굴데굴 덱데굴
vmware를 공짜로 쓰는법도 있지만(vmware player를 이용)

bochs(보쉬)라는 걸 예전에 들어봐서 한번 실행을 해보았는데 역시 느리다 -_-

실행화면은 다음과 같고, 샘플(?)로 다운 받은 redhat이 Xwindow는 포함되지 않은 녀석이라
그래픽까지 지원을 하는지는 파악을 하지 못했다.



아무튼 bochs를 다운로드 받고 실행하면 아래와 같이
썰렁(!)한 메뉴가 나타나고 CPU나 Disk 를 설정을 해주어야 하는데
Disk는 디스크 이미지를 생성하는데 막혀서 일단 잠시 포기하고, 만들어져있는 샘플을 다운로드! 

 


CPU 옵션에서는 IPS 라고 초당 명령어 사용속도를 지정할수 있는데
기본값은 4,000,000 = 4MIPS 이다.


아무튼 이걸 올려주면 좀 나은지는 모르겠지만,
2000MIPS(2000000000 까지 올려줘도 기어다는 지라.. 마음을 비우고 VMware와 같은 녀석들을 쓰는게 나을지도 모르겠다.

[링크 : http://bochs.sourceforge.net/]
[링크 : http://sourceforge.net/projects/bochs/]

2010/08/15 - [프로그램 사용] - bochs - IA32 emulation 

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

virtual box IDE 에뮬레이션  (0) 2016.10.11
bochs - IA32 emulation  (0) 2010.08.15
Posted by 구차니
3.2.3의 버그가 왕창 수정되었다고 하는데 실질적인 변경점은 모르겠다
(그래봤자 여전히 한글 디렉토리 / 파일 명은 깨지는구만 -_-)

[링크 : http://www.ajaxplorer.info/wordpress/releases/ajaxplorer-3-2-4/]


업그레이드는 아래와 같이
server/users/
server/logs/
server/conf/repo.ser
server/conf/conf.php
2개의 디렉토리와 2개의 파일을 복사해주면 해결이 된다.

What are the standard upgrade instructions?

In standard installation (no specific customization except configuration), your specific configuration data can be found in server/conf/ and server/users. On this base, the upgrade should be quite straightforward :

- Download and install AjaXplorer inside a new folder
Copy the whole content of the old server/users/ folder inside the new server/users/
Do the same with the old server/logs/ folder content
- If you had not made any changes to server/conf/conf.php, this step is not necessary. Otherwise, open the old and new server/conf/conf.php and compare them. Copy your changes to the new file.
- Copy the file server/conf/repo.ser inside the new server/conf/ folder.
- If the files accessed by your repositories where inside the ajaxplorer installation (which is not recommended), you have to copy them to the new location, and you’ll have to re-check the PATH parameter of your repositories. [A tip : working on a remote server, if you don't have an ssh access, use AjaXplorer to make this move, as it can be quite long if you have to use ftp...]
- Access your new install. You may see the diagnostic page, as the the diagnostic results are generated at install. Go forward and you should be able to login with the previous users rights and repositories.
If you had specific plugins that need external downloads, do not forget to update them (CKEditor distribution, OpenLayer distribution).
 
[링크 : http://www.ajaxplorer.info/wordpress/documentation-3/chapter-faq/]

Posted by 구차니
회사에서 사용중인 웹 메일 호스팅 가격을 연장하려고 가격을 뽑아보니 대략 좌절 -_-
그런 이유로 공개되어 있는 웹 메일이 생각이 나서 fckeditor를 지원안하나? 검색을 해보니
당연히(!) plugin 형태로 지원을 하고 있다.

[링크 : http://squirrelmail.org/plugin_view.php?id=209]
[링크 : http://squirrelmail.org]

'프로그램 사용 > ckeditor(웹에디터)' 카테고리의 다른 글

ckeditor full과 standard 그리고 옵션 설정  (0) 2019.04.03
ckeditor 모드별 모양  (0) 2019.03.08
ckeditor file upload with node.js  (0) 2019.03.07
ckeditor / fckeditor?  (0) 2014.07.16
ckeditor 사용하기  (0) 2013.02.22
Posted by 구차니
프로그램 사용/wiki2011. 6. 14. 22:41
위키 엔진은 어떻게 업그레이드 해야하나 ? 고민을 하다가 검색을 해보니
(db 덤프하고 사진들 다 백업하고 쇼해야 하나 -ㅁ-!)

Command line
From the command line, or an SSH shell or similar, change to the maintenance directory and execute the update script:
$ php update.php

[링크 : http://www.mediawiki.org/wiki/Manual:Upgrading]
[링크 : http://www.mediawiki.org/wiki/Manual:Update.php] 

매우매우 단순한 방법으로 update.php 를 제공한다!
Posted by 구차니