LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-09-2014, 01:52 AM   #1
Aneesh.T .S
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Rep: Reputation: 0
Smile How to Install package in 15 Server at a time.


Hi Friends,

Nearly I had an interview with wipro technologies.

The interviewer asked one question about packages installation.

He has a package for Redhad server and he want to install this packages with in 15-20 server at a time.

So,How can we install this package with out going in front of the the server and need to install this package at a time on 15-20 system.


Friends,If you know answer kindly share with me.
 
Old 05-09-2014, 03:54 AM   #2
skimeer
Member
 
Registered: Jun 2007
Posts: 62
Blog Entries: 1

Rep: Reputation: 0
Well there are many ways,

1.If yum repo is enabled on all machines, simply copy your rpm in repo and call yum install <your rpm name> on each machine through ssh.
2.Copy .rpm file on each machine through SSH and execute rpm -ivh remotely.
 
Old 05-09-2014, 04:02 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Make use of an automated deployment solution like Puppet to make future deployments easier.
 
Old 05-10-2014, 10:25 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you have the correct host keys set up securely you could use any one of a number of distributed ssh scripts to issue one command to all the servers (there's also the classic "SSH in a for loop solution" ;-)). However, I second the use of Puppet or something similar for configuration management. There are also tools like Spacewalk that can push packages to remote machines from a central console.
 
Old 05-11-2014, 05:45 AM   #5
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
And traditional answer missing: Call to Redhad service, they will sell you RHN satellite.
 
Old 05-11-2014, 11:13 AM   #6
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Depends on the package I suppose. Are you building it from source? Are you instaling it from redhad repos? Is it an update? Is it oart of regular maintenance or a one time specific install? Puppet seems overkill for one package install.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install - No package mysql-server available danndp Red Hat 6 06-13-2011 11:02 AM
Specifying the install path of a Python package on linux server. ezhao Linux - General 2 06-24-2010 11:24 AM
install using package manager fails every time ServalSoft Mandriva 3 06-20-2009 05:38 AM
Ubuntu Server 9.10 freezes when trying to install a package and update:( Jamie Kugelmann Linux - Server 1 06-03-2009 06:35 AM
Package selections for Server Install (Mandrake & Fedora) Ollie46 Linux - Security 1 07-23-2004 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration