|
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 ( つっこみ )
|
最近の日記 2024年04月29日 ・dkim 2024年03月10日 ・停電 (瞬電) 2024年03月03日 ・the second try on bare-metal ・useradd 2024年02月29日 ・opendkim and senmail 2024年01月24日 ・chat/iam 0.0.8 | ||