1.7 Шаг 3: Установка Samba

1.7 Шаг 3: Установка Samba

To install Samba, run the following command in your samba-master directory:

Для установки Samba запустите следующую команду из папки samba-master: Eng.

  $ make install

Note that this must be run as a user who has permission to write to the install directory, which defaults to /usr/local/samba. See Step 2: Compile Samba for instructions on how to change the install directory.

Для успешного выполнения команды у пользователя запустившего его должны быть права на запись в директорию установки, по умолчанию это /usr/local/samba. О том как изменить директорию установки программы смотрите 1.6 Шаг 2: Компиляция Samba. Eng.

For the rest of this HOWTO we will assume that you have installed Samba in the default location. All future Samba commands will stem from the /usr/local/samba/sbin and /usr/local/samba/bin directories.

В последующих разделах этого руководства мы будем считать что вы установили Samba в директорию по умолчанию. Значит все команды будут запускаться из папок /usr/local/samba/sbin и /usr/local/samba/bin. Eng.

Please review the Release Notes for the version you have installed, it may contain important information not yet reflected in this HOWTO.

Внимательно ознакомьтесь с Release Notes для устанавливаемой версии, там может содержаться информация, еще не отраженная в данном руководстве. Eng.

1.7.1 Обновление

If you are upgrading from a previous release of Samba 4.x, be sure to review all the Release Notes for the new version, as well as the notes for all the interim versions.

При обновлении с предыдущего релиза Samba 4.x ознакомьтесь с Release Notes для новой версии, а также с замечаниями ко всем промежуточным версиям. Eng.

To upgrade to the latest Samba 4.x version from a previous Samba 4.x release, you must first download the latest tarball, git tree, or use rsync. If using git, you may either do a full download of the latest git tree as described in the Downloading via git section, or you may upgrade your current git tree as described in the Updating via git section. Once you have obtained the latest version, simply run the following commands.

Чтобы обновиться до последней версии Samba 4.x с предыдущей версии Samba 4.x сначала загрузите последний tarball, дерево git, или используйте rsync. При использовании git загрузите все дерево git, как описано в 1.5.2 Загрузка через git, или обновите текущее дерево git, как описано в 1.5.2.1 Обновление через git. После получения последней версии выполните следующие команды. Eng.

 $ cd samba-master
 $ ./configure --enable-debug --enable-selftest
 $ make
 $ make install

For more information on the commands above and their associated options, please refer to Step 2

Для получение дополнительной информации о командах выше и связанных с ними опциях смотрите 1.6 Шаг 2: Компиляция Samba. Eng.