Installation

110 views
Skip to first unread message

sureshkumar nandakumar

unread,
May 20, 2013, 3:33:57 AM5/20/13
to salt-...@googlegroups.com
Hi,
 
I have tried to install saltstack in my RedHat Linux server but i am not able to install it. it is asking dependency python packages and python 2.7 version. but in my organization we have only python 2.4 version. we dont have high level version to be supported in my server. our Linux server 5 Update 5. please let me know how to get it install saltstack in my server. you suggestions are more help full to me. please advise.
 
The below mentioned packages are dependency for my installation:-

PyYAML

Python (abi) 2.7 version

Python-crypto

Python-zmq

Rpmlib(FileDigests)

Rpmlib(PayloadIsXz)

Emile `iMil' Heitor

unread,
May 20, 2013, 3:54:01 AM5/20/13
to salt-...@googlegroups.com

Hi,

> I have tried to install saltstack in my RedHat Linux server but i am not
> able to install it. it is asking dependency python packages and python 2.7
> version. but in my organization we have only python 2.4 version. we dont
> have high level version to be supported in my server. our Linux server 5
> Update 5. please let me know how to get it install saltstack in my server.
> you suggestions are more help full to me. please advise.

I'm not a RedHat guy at all, but couldn't you use virtualenv in that
scenario?

Some pointers:

- https://pypi.python.org/pypi/virtualenv
- https://pypi.python.org/pypi/virtualenvwrapper

Cheers,

------------------------------------------------------------------
Emile `iMil' Heitor .�. <imil@{home.imil.net,NetBSD.org,gcu.info}>
_
| http://imil.net | ASCII ribbon campaign ( )
| http://www.NetBSD.org | - against HTML email X
| http://gcu.info | & vCards / \

Clint Savage

unread,
May 20, 2013, 4:01:22 AM5/20/13
to salt-...@googlegroups.com
If you can use the EPEL repository[1], you can make it work with
python2.6. Salt doesn't support python 2.4.

Cheers,

herlo

1 - http://fedoraproject.org/wiki/EPEL
> --
> You received this message because you are subscribed to the Google Groups
> "Salt-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to salt-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

sureshkumar nandakumar

unread,
May 20, 2013, 7:48:24 AM5/20/13
to salt-...@googlegroups.com
Thanks for your reply Herlo. could you please share how to install saltstack using EPEL in RedHat Linux server. in our domain we have some restructions. suppose they can't allow to use EPEL, how should be the way to get this installed in my Linux server. please advise me.

Robert Hernandez

unread,
May 20, 2013, 11:08:10 AM5/20/13
to Salt-users
To install EPEL for Redhat 5 for i386:
 rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

or for x86_64:

 rpm -Uvh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Next I would install yum priorities to make sure you protect your base packages from being overwritten by things in epel (this is optional):
 http://wiki.centos.org/PackageManagement/Yum/Priorities

Then install salt-master from yum and get it from epel-testing repo to get the latest release of salt:
 yum --enablerepo=epel-testing install salt-master 

Source:
http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F


--

Les Mikesell

unread,
May 20, 2013, 11:25:02 AM5/20/13
to salt-users
On Mon, May 20, 2013 at 10:08 AM, Robert Hernandez
<hern...@mail.chapman.edu> wrote:
> To install EPEL for Redhat 5 for i386:
> rpm -Uvh
> http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
>
> or for x86_64:
>
> rpm -Uvh
> http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
>
> Next I would install yum priorities to make sure you protect your base
> packages from being overwritten by things in epel (this is optional):
> http://wiki.centos.org/PackageManagement/Yum/Priorities

Unlike many 3rd party repositories, EPEL has a policy of not
overwriting any base packages so it is moderately safe without
priorities. Or for more drastic control you can set 'enabled=0' in
the /etc/yum.repos.d/epel.repo file so it will only be used when you
explicitly add --enablerepo=epel on the yum command line. The
epel-testing section where new additions/updates go temporarily is
already like that.

Or, if you can't install the EPEL config at all, you can still
download the rpm packages from there and install them manually. But
without yum, you'll have to note the dependencies needed and download
all the necessary packages - and repeat as needed for updates.

--
Les Mikesell
lesmi...@gmail.com

Clint Savage

unread,
May 20, 2013, 11:33:46 AM5/20/13
to salt-...@googlegroups.com
Surshkumar,

The documentation covers this rather well.

http://docs.saltstack.com/topics/installation/rhel.html

Additionally, instructions have been provided in this thread for
installing EPEL.

Cheers,

herlo

sureshkumar nandakumar

unread,
May 21, 2013, 1:51:04 AM5/21/13
to salt-...@googlegroups.com
Thanks for your advise & more usefull informations. in my Linux server doesn't have internet connectivity. even if use yum also, it can't download packages and install. i have to manually download all dependency packages and install by manually. i have downloaded salt master and salt minion rpm from EPEL , when i try to install master and minion i got errors that
 
warning: salt-master-0.14.1-1.el5.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 217521f6
error: Failed dependencies:
        /usr/bin/python2.6 is needed by salt-master-0.14.1-1.el5.noarch
        salt = 0.14.1-1.el5 is needed by salt-master-0.14.1-1.el5.noarch
i can't upgrade python 2.6, because my OS is not supporting. can you advise me with any other alternate solution? and if i install both master and minion rpm, and start the service, will it start or i want to do any other settings?
 

On Monday, May 20, 2013 1:03:57 PM UTC+5:30, sureshkumar nandakumar wrote:

Clint Savage

unread,
May 21, 2013, 2:05:49 AM5/21/13
to salt-...@googlegroups.com
it might be advantageous to make your own copy of the EPEL repository.
CentOS/RHEL 5 both support the ability to use different python
versions side-by-side.

Salt doesn't run on python 2.4 so you won't be able to use it without
installing python26 from the EPEL 5 repository.

Cheers,

herlo

Les Mikesell

unread,
May 21, 2013, 9:12:18 AM5/21/13
to salt-users
On Tue, May 21, 2013 at 12:51 AM, sureshkumar nandakumar
<suresh...@gmail.com> wrote:
> Thanks for your advise & more usefull informations. in my Linux server
> doesn't have internet connectivity. even if use yum also, it can't download
> packages and install. i have to manually download all dependency packages
> and install by manually. i have downloaded salt master and salt minion rpm
> from EPEL , when i try to install master and minion i got errors that
>
> warning: salt-master-0.14.1-1.el5.noarch.rpm: Header V4 DSA signature:
> NOKEY, key ID 217521f6
> error: Failed dependencies:
> /usr/bin/python2.6 is needed by salt-master-0.14.1-1.el5.noarch
> salt = 0.14.1-1.el5 is needed by salt-master-0.14.1-1.el5.noarch
> i can't upgrade python 2.6, because my OS is not supporting. can you advise
> me with any other alternate solution? and if i install both master and
> minion rpm, and start the service, will it start or i want to do any other
> settings?

Yum will work through a proxy - and it's not too hard to set up ssh
port-forwarding to a proxy if you can reach an internet connection at
all. If not, you could run the yum command on a different host that
does have internet connectivity but instead of answering 'y' to the
final interactive prompt, just note the list of packages it plans to
install, then download those rpms manually and copy them over to the
real target(s). You will see python26 in those packages.

--
Les Mikesell
lesmi...@gmail.com

sureshkumar nandakumar

unread,
May 22, 2013, 8:39:48 AM5/22/13
to salt-...@googlegroups.com
Hi
 
i have installed Salt stack master and minion. But not able to see Web page. I am trying to access via internet explorer using http://server ip:4505/ but not able to see the web page.

I have verified all configuration settings in /etc/init.d/master . It seems to be well. Can anyone please suggest me how to access Salt Master and Minion via WEBPAGE?


On Monday, May 20, 2013 1:03:57 PM UTC+5:30, sureshkumar nandakumar wrote:

sureshkumar nandakumar

unread,
May 28, 2013, 9:01:31 AM5/28/13
to salt-...@googlegroups.com
Hi

can anyone please advise me, i have to access salt stack via GUI, Is it possible or not? if it is possible please advise me how to get this done

 

 
 
On Monday, May 20, 2013 1:03:57 PM UTC+5:30, sureshkumar nandakumar wrote:

Corey Quinn

unread,
May 28, 2013, 9:34:30 AM5/28/13
to salt-...@googlegroups.com
That isn't what Salt does (at least at the present time). There's a salt-gui project, but last I checked that was early alpha at best.

Take a look at the tutorial on docs.saltstack.org, go through the examples. That's probably the best way to gain familiarity with Salt.

-- Corey

Reply all
Reply to author
Forward
0 new messages