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的頁面.