Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Installation salt-minion on RHEL5     - Realization of Linux operating system illegal IP censorship (Linux)

- socket busy poll of Linux kernel 3.11 to avoid sleep switch (Linux)

- How to upgrade to Oracle 11g Oracle 12c (Database)

- Linux security settings Notes (Linux)

- Node.js Getting the basics: Helloworld! (Linux)

- Programmer editor Vim (Linux)

- The easiest 11g Active DataGuard (ADG) to establish the configuration process (Database)

- Oracle 11g contraction table space error ORA-03297: file contains used data beyondrequested RESIZE value (Database)

- Ubuntu 14.04 to install Blender 2.71 (Linux)

- Binary tree to the next node (Programming)

- Modular JavaScript (Programming)

- Understanding the type in C ++ bitset (Programming)

- Linux awk text analysis tool (Linux)

- Redis data types Introduction (Database)

- Security measures under Unix multi-user operating system (Linux)

- PSUADE installation under Linux (Linux)

- Shell command line operation (Linux)

- Spring-depth understanding of the various annotations (Programming)

- Oracle delete table space prompted ORA-00604 and ORA-38301 (Database)

- How to choose the first programming language based on the life you want (Programming)

 
         
  Installation salt-minion on RHEL5
     
  Add Date : 2017-01-08      
         
         
         
  This article applies to rhel5.4, 6.4, 7. only el5.4 example.

1-line installation is very simple:

# Wget --no-check-certificate -O install_salt.sh https://bootstrap.saltstack.com
# Sh install_salt.sh -I

Above applies to el5, el6, el7 versions. Can be found in the following /etc/yum.repos.d/ pile repo, save a few below:

epel.repo
epel-testing.repo
saltstack-salt-el5-epel-5.repo

2 are mainly described below Offline installation:
Here is the main server can not go outside the network, so you want to use rpm package installation. Offline installation package rpm.

The first is to install downloadonly plug-in:

# Yum install yum-downloadonly
Then copy the files to the repo 1 /etc/yum.repos.d/ the following:

epel.repo
epel-testing.repo
saltstack-salt-el5-epel-5.repo

Download the installation package:

# Yum install -y --downloadonly --downloaddir = / root / salt salt-minion
In / root / salt obtained under a full offline installation package. Copy these packages to other rhel5.4 machine, you can use rpm installation.

# Rpm -ivh * .rpm
# Service salt-minion status | restart | stop

Appendix 1: epel.repo

[Root @ el5-test salt] # cat /etc/yum.repos.d/epel.repo
[Epel]
name = Extra Packages for Enterprise Linux 5 - $ basearch
mirrorlist = http:? //mirrors.Fedoraproject.org/mirrorlist repo = epel-5 & arch = $ basearch
failovermethod = priority
enabled = 1
gpgcheck = 0
# Gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-EPEL

[Epel-debuginfo]
name = Extra Packages for Enterprise Linux 5 - $ basearch - Debug
mirrorlist = http:? //mirrors.fedoraproject.org/mirrorlist repo = epel-debug-5 & arch = $ basearch
failovermethod = priority
enabled = 0
# Gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-EPEL
gpgcheck = 0

[Epel-source]
name = Extra Packages for Enterprise Linux 5 - $ basearch - Source
mirrorlist = http:? //mirrors.fedoraproject.org/mirrorlist repo = epel-source-5 & arch = $ basearch
failovermethod = priority
enabled = 0
# Gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-EPEL
gpgcheck = 0

Appendix 2: epel-testing.repo

[Root @ el5-test salt] # cat /etc/yum.repos.d/epel-testing.repo
[Epel-testing]
name = Extra Packages for Enterprise Linux 5 - Testing - $ basearch
# Baseurl = http: //download.fedoraproject.org/pub/epel/testing/5/$basearch
mirrorlist = http: //mirrors.fedoraproject.org/mirrorlist repo = testing-epel5 & arch = $ basearch?
failovermethod = priority
enabled = 0
gpgcheck = 0
# Gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-EPEL

[Epel-testing-debuginfo]
name = Extra Packages for Enterprise Linux 5 - Testing - $ basearch - Debug
# Baseurl = http: //download.fedoraproject.org/pub/epel/testing/5/$basearch/debug
mirrorlist = http: //mirrors.fedoraproject.org/mirrorlist repo = testing-debug-epel5 & arch = $ basearch?
failovermethod = priority
enabled = 0
# Gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-EPEL
gpgcheck = 0

[Epel-testing-source]
name = Extra Packages for Enterprise Linux 5 - Testing - $ basearch - Source
# Baseurl = http: //download.fedoraproject.org/pub/epel/testing/5/SRPMS
mirrorlist = http: //mirrors.fedoraproject.org/mirrorlist repo = testing-source-epel5 & arch = $ basearch?
failovermethod = priority
enabled = 0
# Gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-EPEL
gpgcheck = 0

Appendix 3: saltstack-salt-el5-epel-5.repo

[Root @ el5-test salt] # cat /etc/yum.repos.d/saltstack-salt-el5-epel-5.repo
[Saltstack-salt-el5]
name = Copr repo for salt-el5 owned by saltstack
baseurl = https: //copr-be.cloud.fedoraproject.org/results/saltstack/salt-el5/epel-5-$basearch/
skip_if_unavailable = True
gpgcheck = 1
gpgkey = https: //copr-be.cloud.fedoraproject.org/results/saltstack/salt-el5/pubkey.gpg
enabled = 1
     
         
         
         
  More:      
 
- Root of AVL Tree- achieve balanced search trees AVL tree (Programming)
- Developing a Web server yourself (Server)
- struts2 completely the wrong way to capture 404 (Programming)
- CentOS 6.4 compiler installed MySQL 5.6.14 (Database)
- The FreeBSD zfs: failed with error 6 Error Resolution (Linux)
- Boost - Memory Management - smart pointers (Programming)
- Linux NIC driver and version information (Linux)
- Linux network monitoring strategy (Linux)
- MySQL Tutorial: Philosophical Reflections on the unauthenticated user (Database)
- PHP CURL get cookies simulated login (Database)
- ntop monitoring software configuration and installation (Linux)
- Linux environment Duplex (multi-machine) automatic mutual backup scheme (Linux)
- Linux Beginner Guide: Installing packages on Ubuntu and Fedora (Linux)
- Linux Mint 17 set up the Ruby environment (Linux)
- How to install Git on CentOS 7 (Linux)
- How to use systemd timer (Linux)
- OpenSUSE installation on CentOS6 (GUI) (Linux)
- How to prevent page five invisible killer (Linux)
- Oracle 11g partition maintenance (two) - Coalescing Partitions (Database)
- Simple to install Tor browser to Ubuntu 14.04 and Linux Mint 17 (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.