prosper님께서 g4 "버전 업데이트 따라잡기" 라는것을 만드셨기에 저의 작업방법도 한번 올려봅니다.
prosper님의 작업방법은 링크1을 참고하십시오
* 버전 업데이트 하시기 전에 필히 변경된 부분과 DB는 백업하시기를 권장합니다.
사용중인 버전을 public_html(개인계정의 웹디렉토리) 이라 가정
압축을 풀 디렉토리는 public_html(개인계정의 웹디렉토리)/gnuboard4라 가정
test@localhost:~/public_html$ ls gnuboard4.00.19.tgz
기존에 설치된 내역 출력하여 설치할 gnuboard4.00.19.tgz이 있는지 확인
test@localhost:~/public_html$ mv gnuboard4 gnuboard4.00.18
(필요시 선택적용) 이전버전의 압축풀린 디렉토리를 버전 이름으로 변경하여 보관
test@localhost:~/public_html$ rm -rf gnuboard4
(필요시 선택적용) 이전버전의 압축풀린 디렉토리를 모두 제거
test@localhost:~/public_html$ tar xvfz gnuboard4.00.19.tgz
새로 받은 gnuboard4.00.19.tgz 파일을의 압축을 풀어서 gnuboard4 디렉토리 생성
================밑으로는 변경된파일을 적용시키는것입니다.================
================다음은 4.00.19 패치내역 적용시키는것입니다.==============
test@localhost:~/public_html$ cp gnuboard4/HISTORY .
test@localhost:~/public_html$ cp gnuboard4/bbs/poll_update.php bbs
test@localhost:~/public_html$ cp gnuboard4/bbs/register_form_update.php bbs
test@localhost:~/public_html$ cp gnuboard4/lib/common.lib.php lib
test@localhost:~/public_html$ cp gnuboard4/skin/member/basic/register_form.skin.php skin/member/basic
== 만약 4.00.18 처럼 디렉토리의 모든 내용이 바뀌는것이 있을경우 cp 명령에 -r 옵션 사용
test@localhost:~/public_html$ cp -r gnuboard4/adm/menu/* adm/menu
== 만약 새버전에 적용된 기본스킨을 모두 적용할경우
test@localhost:~/public_html$ cp -r gnuboard4/skin/* skin
또한 기존의 버전과 디비가 틀려지는 경우 반드시 슈퍼관리자로 로그인 후
웹에서 다이렉트로 adm/upgrade.php를 실행하셔야 합니다.
(4.00.19버전에서는 해당 사항 없음)
prosper님의 작업방법은 링크1을 참고하십시오
* 버전 업데이트 하시기 전에 필히 변경된 부분과 DB는 백업하시기를 권장합니다.
사용중인 버전을 public_html(개인계정의 웹디렉토리) 이라 가정
압축을 풀 디렉토리는 public_html(개인계정의 웹디렉토리)/gnuboard4라 가정
test@localhost:~/public_html$ ls gnuboard4.00.19.tgz
기존에 설치된 내역 출력하여 설치할 gnuboard4.00.19.tgz이 있는지 확인
test@localhost:~/public_html$ mv gnuboard4 gnuboard4.00.18
(필요시 선택적용) 이전버전의 압축풀린 디렉토리를 버전 이름으로 변경하여 보관
test@localhost:~/public_html$ rm -rf gnuboard4
(필요시 선택적용) 이전버전의 압축풀린 디렉토리를 모두 제거
test@localhost:~/public_html$ tar xvfz gnuboard4.00.19.tgz
새로 받은 gnuboard4.00.19.tgz 파일을의 압축을 풀어서 gnuboard4 디렉토리 생성
================밑으로는 변경된파일을 적용시키는것입니다.================
================다음은 4.00.19 패치내역 적용시키는것입니다.==============
test@localhost:~/public_html$ cp gnuboard4/HISTORY .
test@localhost:~/public_html$ cp gnuboard4/bbs/poll_update.php bbs
test@localhost:~/public_html$ cp gnuboard4/bbs/register_form_update.php bbs
test@localhost:~/public_html$ cp gnuboard4/lib/common.lib.php lib
test@localhost:~/public_html$ cp gnuboard4/skin/member/basic/register_form.skin.php skin/member/basic
== 만약 4.00.18 처럼 디렉토리의 모든 내용이 바뀌는것이 있을경우 cp 명령에 -r 옵션 사용
test@localhost:~/public_html$ cp -r gnuboard4/adm/menu/* adm/menu
== 만약 새버전에 적용된 기본스킨을 모두 적용할경우
test@localhost:~/public_html$ cp -r gnuboard4/skin/* skin
또한 기존의 버전과 디비가 틀려지는 경우 반드시 슈퍼관리자로 로그인 후
웹에서 다이렉트로 adm/upgrade.php를 실행하셔야 합니다.
(4.00.19버전에서는 해당 사항 없음)
댓글 7개
ftp보다 위의 방법이 더 빠릅니다.
외냐면 윈도우에서 압축풀고 ftp로 올리는 시간이면 서버에서는 작업 완료후 점검까지 끝난 상황이 될겁니다.ㅋㅋㅋ
ftp로 파일 업로드후 압축풀기..
telnet_그누설치디렉토리 $ tar xvfz gnuboard4.tgz
telnet_그누설치디렉토리 $ cp -r gnuboard4/* . <= 전체를 업데이트 할경우
몇몇디렉토리만 할경우
telnet_그누설치디렉토리 $ cp -r gnuboard4/bbs/* bbs
telnet_그누설치디렉토리 $ cp -r gnuboard4/adm/* adm
그리고 압축디렉토리 제거
telnet_그누설치디렉토리 $ rm -rf gnuboard4
외냐면 윈도우에서 압축풀고 ftp로 올리는 시간이면 서버에서는 작업 완료후 점검까지 끝난 상황이 될겁니다.ㅋㅋㅋ
ftp로 파일 업로드후 압축풀기..
telnet_그누설치디렉토리 $ tar xvfz gnuboard4.tgz
telnet_그누설치디렉토리 $ cp -r gnuboard4/* . <= 전체를 업데이트 할경우
몇몇디렉토리만 할경우
telnet_그누설치디렉토리 $ cp -r gnuboard4/bbs/* bbs
telnet_그누설치디렉토리 $ cp -r gnuboard4/adm/* adm
그리고 압축디렉토리 제거
telnet_그누설치디렉토리 $ rm -rf gnuboard4
게시글 목록
| 번호 | 제목 |
|---|---|
| 620 | |
| 605 | |
| 594 | |
| 590 | |
| 589 | |
| 578 | |
| 563 | |
| 551 | |
| 550 | |
| 542 | |
| 536 | |
| 531 | |
| 529 | |
| 522 | |
| 511 | |
| 497 | |
| 471 | |
| 467 | |
| 466 | |
| 479 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기