ARCH LINUX

INSTALLATION/安装

Salt (stable) is currently available via the Arch Linux Official repositories. There are currently -git packages available in the Arch User repositories (AUR) as well.

Salt(稳定版本),目前通过Arch Linux官方仓库是可用的。在Arch User 仓库上目前的git包也是可用的。

---------------------------------------------------------------------------------------------------------------------

STABLE RELEASE / 稳定版本

Install Salt stable releases from the Arch Linux Official repositories as follows:

pacman -S salt-zmq

从Arch Linux 官方仓库安装Salt 稳定版本的方法如下:

pacman -S salt-zmq

----------------------------------------------------------------------------------------------------------------------------------------------

To install Salt stable releases using the RAET protocol, use the following:

pacman -S salt-raet

安装Salt稳定版本同时用RAET协议的方法如下:

pacman -S salt-raet

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Note

transports

Unlike other linux distributions, please be aware that Arch Linux's package manager pacman defaults to RAET as the Salt transport. If you want to use ZeroMQ instead, make sure to enter the associated number for the salt-zmq repository when prompted.

注意

传输

与其他的Linux发行版不同,请知晓Arch Linux的包管理器pacman默认以RAET作为Salt的传输方式。如果想用ZeroMQ替代,在提示的时候确保输入salt-zmq仓库相关的数字即可。


-----------------------------------------------------------------------------------------------------------------------------------------------------------------

TRACKING DEVELOP 

To install the bleeding edge version of Salt (may include bugs!), use the -git package. Installing the -git package as follows:

wget https://aur.archlinux.org/packages/sa/salt-git/salt-git.tar.gz
tar xf salt-git.tar.gzcd salt-git/
makepkg -is

追踪开发

用 -git package安装有风险的新功能的Salt版本(可能包含很多bug)。安装-git package的方法如下:

wget https://aur.archlinux.org/packages/sa/salt-git/salt-git.tar.gz
tar xf salt-git.tar.gzcd salt-git/
makepkg -is

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Note

yaourt

If a tool such as Yaourt is used, the dependencies will be gathered and built automatically.

The command to install salt using the yaourt tool is:

yaourt salt-git

注意

yaourt

如果用Yaourt这个工具,那么其依赖关系将会被收集在一起并且自动构建。

用yaourt安装salt的命令如下:

yaourt salt-git

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

POST-INSTALLATION TASKS/安装后的工作

systemd

Activate the Salt Master and/or Minion via systemctl as follows:

systemctl enable salt-master.service
systemctl enable salt-minion.service

systemd

通过systemctl启动Salt Master和Minion的方法如下:

systemctl enable salt-master.service
systemctl enable salt-minion.service

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Start the Master

Once you've completed all of these steps you're ready to start your Salt Master. You should be able to start your Salt Master now using the command seen here:

systemctl start salt-master

Now go to the Configuring Salt page.

启动MASTER

只要你完成了这些步骤,就可以启动Salt Master. 现在用下面的命令可以启动Salt Master:

systemctl start salt-master

现在去配置Salt的页面.