|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||
2014年06月22日(日) 旧暦 [n年日記] [更新:"2014/06/23 09:24:48"]#1 [pkgsrc] devel/gitolite を使って見たい (管理側) ので覚えこの説明の中では gl-setup というのが不明。 pkg_info -D gitolite の表示では、以下の 5. が良く分らない gitolite-admin は、まだ用意していないはず
To use gitolite, you will need to perform the following steps.
1. Create a new user/group, for example, git/git.
On server,
# groupadd git
# useradd -m -g git git
2. login with new user git, create ssh public key, and copy public key
file to user git's home directory on server.
On server
$ mkdir ~/.ssh
$ chmod 700 ~/.ssh
On client
$ ssh-keygen -t rsa -f git
$ scp ~/git.pub gitserver:~/
On server
$ chmod 600 ~/git.pub
3. Setup gitolite.
On server,
$ gitolite setup -pk git.pub
And edit config file.
4. Setup ~/.ssh/config on client.
Add the following lines.
host gitserver
user git
hostname RealGitServerName
port 22
identityfile ~/.ssh/git
5. For administrative setting, please clone gitolite-admin repository.
On client,
$ git clone gitserver:gitolite-admin
( つっこみ )
|
最近の日記 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? 2025年10月13日 ・missing package 2025年10月04日 ・pkgin search pkgname segfaults 2025年08月16日 ・installboot (Although it’s too late) | ||