はじめに
svnリポジトリの作成方法を記録として残しておきます。
実行環境
- CentOS Linux release 7.5.1804 (Core)
リポジトリの作成
svnadmin create /path/to/SvnRepos/MyProject
リポジトリの設定
cd /path/to/SvnRepos/MyProject/conf
svnserve.conf
# 以下をコメントアウトを外して有効にする
anon-access = none
auth-access = write
password-db = passwd
[users]
# harry = harryssecret
# sally = sallyssecret
# ユーザとパスワードを設定する
MyUser = MyUserPasswd
Svnserveの起動
systemctl start svnserve
Svnserveを使うとTCP/IP接続でリポジトリにアクセスできます。
ポートの開放
firewall-cmd --add-port=3690/tcp --zone=public --permanent
firewall-cmd --reload