[eGovFramework] VisualSVN 설치

J·2024년 12월 2일
post-thumbnail

Mac에서는 VisualSVN Server를 설치할 수 없으며, SVN 클라이언트를 통해 Windows의 VisualSVN Server에 연결하거나, Mac에서 자체적으로 SVN 서버를 설정해 사용하면 됩니다. VisualSVN Server는 Windows 환경에서만 필요하므로 Mac 사용자라면 다른 대안을 사용하는 것이 좋습니다.

설치되었는지 먼저 확인

svn --version

Homebrew 사용하여 VisualSVN 설치하기

Homebrew 설치

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# 버전확인
brew --version

svn 설치

brew install subversion

# 버전확인
svn --version

에러

Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences.

=> Command Line Tools(CLT) 버전이 너무 오래되어 Homebrew 설치 과정에서 오류가 발생.

해결

CLT를 최신 버전으로 업데이트해야 함.

# 오래된 버전의 CLT 삭제
sudo rm -rf /Library/Developer/CommandLineTools

# Command Line Tools 재설치
xcode-select --install

# 설치 확인
xcode-select -p

# 다시 설치 명령
brew install subversion

SVN 서버 접근

svn checkout http://<서버 주소>/<저장소 이름> <로컬 디렉토리>

SVN 서버 실행

svnserve -d -r <저장소 경로>
profile
나야

0개의 댓글