LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing software on 100 computers at once (https://www.linuxquestions.org/questions/linux-newbie-8/installing-software-on-100-computers-at-once-4175533119/)

validator456 02-05-2015 12:53 AM

Installing software on 100 computers at once
 
A real newbie question here:

Suppose you must install new software (let's say Microsoft Office) on 100 computers. Must you go from computer to computer to install this new software or is there a faster (centralized?) way to do this?

evo2 02-05-2015 01:44 AM

Hi,

in general there are many faster ways.

Evo2.

PS. This may be a bad example since MS Office does not exist natively on Linux.

eklavya 02-05-2015 02:25 AM

I hope 100 computers are not windows system because you took example of Ms office.
If all are Linux based systems, read ahead.

You can write a script for it. Start loop. Find all IP of 100 systems. Log into each system using ssh then install the package in each system using command line. End the loop
nmap is a program which helps you to detect all IPs of a LAN. Install nmap where you want to run the script.

It will ask password for each system. To solve this problem save your public key file in each system's .ssh directory as authorized_keys. Now you can log in without password.

OR

Be advance and install puppet. Puppet is a configuration management tool.
Or you can use other configuration management tools like puppet or similar one to do jobs like this.
It is always good to use new tools and technologies which are secure and reliable.

validator456 02-05-2015 05:13 AM

Yes, Microsoft Office wasn't a good example. But your answer, eklavya, is very informative. Thank you.


All times are GMT -5. The time now is 03:21 AM.