Создаем центральный Git сервер на Windows XP | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 83% translated in draft. Almost done, let's finish it!
If you do not want to register an account, you can sign in with OpenID.
HOWTO_CentralServerWindowsXP | ||
TortoiseGit + msysgit + CopSSH + WindowsXP as server | TortoiseGit + msysgit + CopSSH + WindowsXP как сервер | |
Introduction¶ | ||
This guide will show you how to set up a centralized Git repository, which offers an option similar to a conventional subversion work-flow, with a centralized server. | Этот справочник покажет тебе как установить центральный Git репозиторий, который предлагает возможности похожие на SVN с центральным сервером. | |
This is not a difficult process; it is only a long sequence of simple steps. | Это не сложный процесс, это просто длинная последовательность простых шагов. | |
Software Requirements¶ | ||
Software requirements are the following: | ||
* msysgit 1.7.0.2 (Client and Server) | ||
* CopSSH 3.0.3 (Server only) | ||
* TortoiseGit 1.4.4.0 (Client only) | ||
The 32bit versions of the software packages are linked. If installing for x64 on the server, substitute installation packages (and paths) appropriately. The x64 versions have not been tested on the server, and only the versions mentioned here have been tested; ymmv. | 32 битная версия пакета ПО скомпонована. Если устанавливается для x64 на сервер, заменяется установочный пакет (и путь) соответственно. x64 версия не была протестирована на сервере, и только упомянутые версии были протестированы; ваши показатели могут быть другими. | |
On The Server¶ | ||
1. Install msysgit 1.7.0.2 | ||
* Choose plink, not OpenSSH | ||
* Choose Git only on windows path (middle option) | * Выберите "запускать Git из коммандной строки Windows" (средняя опция). | |
2. Install CopSSH 3.0.3 on the server machine | ||
* Use default options during installation | *используй стандартные настройки во время инсталляции | |
* By default, CopSSH installs to C:\Program Files\ICW\ | * Стандартно CopSSH устанавливается в "C:\Program Files\ICW" | |
3. Modify CopSSH configuration: | ||
* In C:\Program Files\ICW\etc\sshd_config, make sure the following is uncommented and set to "no": | * Убедитесь, что в C:\Program Files\ICW\etc\sshd_config данные вещи не закомментированы и установлены в "no". | |
PasswordAuthentication no | ||
4. On server, in Windows: | ||
* Control Panel > User Accounts > Create new account | * Панель Управления > Учётные записи пользователей > Создать новую запись | |
* Create an account for each user to whom you wish to allow SSH access. | * Создайте учётную запись для каждого пользователя, которому вы хотите предоставить доступ к SSH. | |
* It is fine for these accounts to be "Limited", or non-Administrators. | * Данные аккаунты рекомендуется делать "Ограниченными", или не администраторскими. | |
5. Activate these new user accounts in CopSSH: | ||
* Start > Programs > Copssh > "Activate a user" | * Пуск > Все программы > Copssh > "Активировать пользователя"/"Activate a user" | |
* Choose user account, leave other options as default (/bin/bash, etc.) | * Выберите учётную запись, установите остальные опции по стандарту(/bin /bash, и т.д.) | |
* Type a passphrase. You must remember this passphrase: it is associated with the private key of the user being activated. | * Введите пароль. Мы должны запомнить этот пароль: именно он связан с личным ключом для активации пользователя. | |
* Finish. | ||
6. In C:\Program Files\ICW\home, there is a subfolder for each user account: | 6. В C:\Program Files\ICW\home находяться подпапки для каждой учётной записи: | |
* Inside each subfolder, send the <user>.key and <user>.key.pub files to the user, along with the pass phrase selected in (5) FOR THAT USER. They will need this information. | * В каждой подпапке, находятся файлы <user>.key и <user>.key.pub, которые следует отправить пользователю, вместе с каждым паролем, для данного пользователя. Им потребуется эта информацияю |
