WebDAV를 이용한 outlook 2007 일정 공유

출처 : UbuntuForums.org
http://ubuntuforums.org/showthread.php?t=119228

HOW-TO: Set up a Remote Calendar using WebDAV for use with Mozilla Sunbird

This tutorial works on Ubuntu and should work on Kubuntu as well as Xubuntu. However, we'll do all the text editing in nano (a console-based text editor) since it should be installed on all *buntus. For nano, after editing a file, to close it push CNTRL+X and it will ask you if you want to save and just respond accordingly.


Getting Sunbird:
Mozilla Sunbird is still in development so it may contains bugs, crash, or lost calendar data. You can download the latest version here:
http://www.mozilla.org/projects/cale.../download.html

The nice thing about it is that there is NO compiling needed. Just put the folder wherever you want and run the 'sunbird' file inside the folder... or better yet make a nice icon pointing to the 'sunbird' file on your desktop or panel.


Getting a way to access the server:
If one of the following apply to you, skip this section:
Quote:
1. You already have a hostname you can use to access the server you will be setting up.
2. You are only going to use this server on your local network and your computer has a static IP (your computer always gets the same IP).
3. You don't have a hostname and don't want one and you are assigned a static IP from your ISP.
If you want to share your calendars/files over the internet, then you need a "permanent" way to get to your server since a dynamic IP from your ISP can change. To get a hostname and setup a script on your computer to update the hostname everytime your ISP changes your IP follow the tutorial here:
http://ubuntuguide.org/wiki/Dapper#H...DynDNS_service

If you are going to be only sharing your calendars/files over your local network, you need an IP assigned to you that is not always changing. To do this, log into the router on your LAN and tell it to assign the server you will be using the same IP (called assigning a Static IP).


Installing the Apache Server:
To install the Apache Server, open up a Terminal (Applications > Accessories > Terminal) or whatever way works for your desktop:

Code:
sudo apt-get install apache2
Now, you have the option of changing the port your Apache Server runs on. By default it runs on port 80, which is fine if there is only one computer. But if you setup a router to forward all traffic for port 80 to one computer on your network... the internet on your other computers will go bye-bye. To change the port:

Code:
sudo nano /etc/apache2/ports.conf
In the file add the following line, where "port" is whatever port you would like to use (e.g. Listen 9999) and then exit (CNTRL+X) and save:

Code:
Listen port
NOTE: Make sure to forward traffic on this port to your server if you have a router!!!


Enabling the WebDAV modules:
To enable the WebDAV modules, open up a Terminal (Applications > Accessories > Terminal) or whatever way works for your desktop:

Code:
sudo a2enmoddav (enter)sudo a2enmoddav_fs (enter)

Setting up the WebDAV folder and the user:
This will make a WebDAV folder at: /var/www/davhome

To create the folder, open up a Terminal (Applications > Accessories > Terminal) or whatever way works for your desktop:

Code:
mkdir /var/www/davhomechgrp www-data /var/www/davhomechmod 775 /var/www/davhome
Next to create the user, input the following command changing the last "username" part of the command to the username you would like to use (obviously make a note of the username and password you create):
Code:
htpasswd -c /var/www/davhome/.DAVlogin username

Tell Apache where the folder is and to use it:
To tell Apache to use WebDAV, open up a Terminal (Applications > Accessories > Terminal) or whatever way works for your desktop:

Code:
sudo nano /etc/apache2/mods-enabled/dav_fs.conf
Thanks to henriquemaia for the suggesting to edit this file instead of /etc/apache2/httpd.conf
Paste the following into the file (make sure the Terminal window is selected and use the Paste command in the Edit menu (not CNTRL+V - nano won't recognize it):

Change "username" (two instances) to the username you created above. Also, the DAVMinTimeout is optional... it just sets the how long Apache should lock the file after it is accessed... I don't use it and haven't had a problem, but then again I only have one computer accessing the calendar at any time.

Code:
DAVLockDB /tmp/DAVLock#DAVMinTimeout 600<Location /davhome/>        Dav On        AuthType Basic        AuthName username        AuthUserFile /var/www/davhome/.DAVlogin        <LimitExcept OPTIONS>                Require user username        </LimitExcept></Location>
Hopefully you didn't exit and save yet because you have some more options. With the way the file is setup above you will be prompted for a username/password everytime you read or save a file using WebDAV.

If you don't want to be asked a password when you read a file change the first LimitExcept line to:

Code:
<LimitExcept GET OPTIONS>
If you don't want to be asked a password when you save a file (write) change the first LimitExcept line to:

Code:
<LimitExcept PUT OPTIONS>
If you don't want to be asked a password when reading or writing (not recommended unless you want to make the calendar completely public) change the first LimitExcept line to:

Code:
<LimitExcept GET PUT OPTIONS>
Okay, now you can exit and save.


Restart Apache
This step is very important so that Apache recognizes the changes you made!

Open up a Terminal (Applications > Accessories > Terminal) or whatever way works for your desktop:

Code:
sudo /etc/init.d/apache2 restart

The address to the server:
Now you can either create a new calendar in Sunbird and tell it to put it on your server or publish an existing local calendar to the WebDAV folder. Just go to the calendar tab in Sunbird and right-click in the list of calendars or right-click on an existing calendar in the list.

The address format you would enter for the remote calendar is as follows:

Code:
http://server_ip_or_hostname:port_if_not_80/davhome/filename_for_calendar.ics

Other Items to Note:

If you place an exisiting calendar file directly in /var/www/davhome, you should change the group and the rights on this file as follows:
Code:
sudo chgrp www-data /var/www/davhome/filename_for_calendar.icssudo chmod 644 /var/www/davhome/filename_for_calendar.ics
Thanks to bnj for this information.

If Sunbird does NOT create a new .ics file, do the following and point Sunbird to that file as if it is an existing calendar:
Code:
sudo touch /var/www/davhome/filename_for_calendar.icssudo chgrp www-data /var/www/davhome/filename_for_calendar.icssudo chmod 644 /var/www/davhome/filename_for_calendar.ics
Thanks to NobodySpecial for this information.

If I left anything out let me know and I'll add it, but that should be it.
__________________
(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

by 섹시미루 | 2008/01/11 17:48 | Ubuntu | 트랙백

i30 실내모습



밤에 운전할 맛이 난다. 단, 센터페시아 중앙의 파란색 창 빼곤....-_-;

by 섹시미루 | 2008/01/02 22:39 | Life Story | 트랙백

태지야...또 돈 떨어졌구나?

리마스터링 한정판 15주년 기념 앨범

친구에게 들어나 보자고 굽신굽신, 사정사정해서 겨우 아이튠스 라이브러리로 리핑

...한 시간만에 휴지통으로 들어가다...


태지야...또 돈떨어졌나보구나?


일본에서 너 하고 싶은 음악만 줄창 하다가 돈떨어지면 와서 콘서트하고 다시 들어가고...

이젠 그냥 쉽게 돈벌려고 한거라고밖에 여겨지지 않네.



서태지란 이름은 그냥 내 기억속 고등학생때의 추억으로 끝내야겠다.

뭐 또 돈떨어지면 오겠지...이번에는 한 2년쯤 버티려나?

by 섹시미루 | 2007/12/03 23:34 | Life Story | 트랙백

타임머신



타임머신을 이용하기 위하여 외장하드를 하나 구매했다. (500GB)

타임머신에 대한 간략한 설명은..귀찮아서 애플 홈페이지를 링크한다.

http://www.apple.com/kr/macosx/features/timemachine.html

그리하여 지금 열심히 백업중인데, 내 하드에 무려 1,024,893개의 파일과 컨텐츠가 존재했었나보다..-_-;;

지금은 졸렵고 귀찮아서 다음에 자세히 설명하련다.


by 섹시미루 | 2007/11/28 00:07 | Macbook | 트랙백

맥에서 카드결재하는 것에 대한 단상

방금 Parallels를 구매했다. ($79.99)

마음에 드는 소프트웨어는 꼭 사고 있는데 패러럴은 베타라는 꼬리표때문에 매번 구매를 망설이고
어둠의 자식만을 쓰고 있다가 이번달 재정이 살짝 피고 있어서 결국 구매하고 말았다.

한국 총판도 있지만, 오히려 미국 사이트에서 구매하는 것이 빠르고 가격도 싸서 직접 구매를 했는데...

결재 시스템에 지금 입이 딱 벌어지고 있다. =_=

우리나라는 VISA 안심클릭을 띄울때마다 키보드보안이니, 무슨 보안이니 하면서 액티브엑스만 줄창 깔고 시작하는데
같은 방식을 사용하고 있는 미국사이트...맥에서도 구매하는데 별 문제 없다.

물론 결재할때 한국과 마찬가지로 VISA안심클릭 창이 뜨더라 (결재도중 한글로 나와서 깜짝 놀랐다)

보아하니 자바를 사용한 보안 알고리즘 같았는데, 왜 우리나라는 익스플로러에서만 쓸 수 있는 ActiveX를 고집하는지 원..

이러다가 또 MS한테 공갈협박 받아야 정신차리려나...아니 저번에 당하고도 아직 정부 홈페이지도 고쳐지지 않았으니
정부에서 정신차리는건 그다지 기대하지 말아야겠다.

안타깝고도 개탄스러울 뿐이다....

by 섹시미루 | 2007/11/26 22:36 | Macbook | 트랙백

Leopard에서 Root계정 활성화

경고 : root계정을 사용하지 않을것을 강력하게 권고한다. 한마디로 OS를 아무 거리낌없이 통제할 수 있는(변경은 당연) 엄청난 권한이다. 정말 자신이 root계정으로 뭘 하려 하는지 심각하게 고민해보고 실행하길 바란다.

Application(응용프로그램)->Utility(유틸리티)->Directory Utility(디렉토리 유틸리티)를 실행한 후

좌측 하단의 자물쇠를 열고..

메뉴바에서 편집-->Root계정 활성화...를 선택하면 된다.

다시한번 경고하는데, 정말 root계정으로 뭘 하려는지 심각하게 고민하고, 별 할일도 없이 그냥 막강파워를 느끼고 싶어서, 혹은 호기심에 계정을 활성화하려 한다면 적극 말린다.

by 섹시미루 | 2007/11/22 00:23 | 트랙백

MAC OS X 10.5 Leopard

구입한지는 일주일이 넘었건만, 정신이 요즘 없어서 신고식도 못했다.

타이거를 주로 쓰다가 레퍼드로 넘어오니깐 알게모르게 많은 기능이 바뀌어서 (자사 홍보문구로는 300개가 넘는 기능이 추가되었다고 한다) 덕분에 이것저것 소소하게 적응하느라 정신이 없다.
밑에도 잠깐 언급했지만 주로 쓰던 프로그램들의 변화가 적잖이 당황스럽고, 또한 추가된 기능들을 하나둘씩 둘러보는 것만으로도 벅찬 OS다. 너무 많이 추가되서 비명을 지르고 싶을 지경이니..(이 비명이 좋은쪽인지 나쁜쪽인지는 그때그때 다르다)












다음에 시간나면 하나하나 변화된 레퍼드를 소개해보겠다.

(제일 맘에 드는 기능은 역시 타임머신이다. +_+)

by 섹시미루 | 2007/11/20 01:07 | Macbook | 트랙백

Leopard의 automator호환성이 떨어진다 (간단한 예제 포함)

나름 automator를 이용하여 이 블로그에 게시할 사진들을 자동 resizing시키고 있었다

그런데 타이거에서 잘 동작하던 작업흐름이 레퍼드로 갈아타면서 전혀 동작하질 않는다 -_-;

결국 다시 automator작업흐름을 생성하는 수고를...;;



위와 같은 작업흐름을 생성하고, 파일 메뉴에서 '플러그인으로 저장'을 선택하자

이후 자신이 원하는 그림에서 오른쪽버튼을 클릭하고 automator를 선택하면 방금 저장했던 automator 작업흐름이 나온다

클릭하면 자동 리사이즈와 함께 color profile도 적용된다.



다행히 타이거때의 automator와는 달리 한글로 나와있어서 작업흐름을 생성하는데 좀더 편하게 할 수 있다는 장점이 생겼다

by 섹시미루 | 2007/11/20 00:47 | Macbook | 트랙백

어우 썅... Interface builder 3.0 palette window

레퍼드로 갈아타고 오랜만에 코코아 프로그래밍에 손대고 있는데...

xcode 2.x대와는 다르게 interface builder의 palette window가 Library로 나와있다

이 메뉴 찾는데 20분 소비했네...어우 썅!!




by 섹시미루 | 2007/11/19 23:42 | Macbook | 트랙백

하드링크와 cp의 차이, 그리고 심볼릭 링크

cp

cp file1 file2

file1을 file2라는 이름으로 복사를 한다. 물론 두 파일 사이즈는 같다.



Hard-Link

ln file1 file2

file1을 file2라는 복사본을 둔다. 물론 두 파일 사이즈는 같다.


그럼 차이점은?

cp명령을 사용했을 경우, file2를 수정한다고 file1이 바뀌지 않는다. 즉 두 파일은 독립적인 파일이다.
하지만 Hard-link를 했을 경우는 file2를 수정하면 자동적으로 file1도 수정이 된다.


Simbolic-link

ln -s file1 file2

file1을 가리키는 file2라는 파일을 생성한다. file2는 file1의 경로만을 가리키기 때문에 두 파일 사이즈는 동일할 수 없다.
그렇다면 file2를 수정하는 경우는? 물론 file1이 수정된다.


다 아는 이야기...

by 섹시미루 | 2007/10/02 15:05 | Ubuntu | 트랙백

◀ 이전 페이지          다음 페이지 ▶