repository - Distributing and Updating Software Applications to Linux envaranment -


currently i'm manually distributing , updating 2 applications on 50 computers running centos 6.5 , ubuntu 14.04. each time new version available either of applications,i have copy files , update in computers manually.its time consuming , frustrating.

to avoid manual process on 50 computers,i maintain central server contain latest version of applications , whenever need install or update type command in client pc use in centos , ubuntu install software

in ubuntu

sudo apt-get install vlc 

and in cent os

sudo yum install vlc 

one of programs written in java , other written in python

i google , can't find , useful source how this. 1 alrady done or knows how achive please help.

you need create packages make happen.

ubuntu uses debian package format, can use debian's new maintainer's guide, canonical tutorial on how create debian package. makes assumption you're going upload package debian, in case isn't true, means need skip sections of document.

for rpm, there isn't such document afaik, there book 'max rpm' (which unfortunately outdated), , fedora has augmented guidelines , best practices they've put on wiki. since rhel created forking fedora , stabilizing that, , since centos based on rhel, goes fedora goes centos, too.

these methods create packages manually, best way , result in least problems afterwards. however, take time. if don't want spend time, there few options generate packages automate part or of job you. personally, however, i'm not fan of these methods , therefore wouldn't recommend them.

finally, option not create packages, use config management system puppet automate deployment. it's available in ubuntu , epel.

edit notice may asking creating repository instead. that's different thing. there several tools that; @ core, run createrepo rpm packages, or dpkg-scanpackages debian packages. can yourself, or investigate time in tool reprepro or aptly or such.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -