User:Humitos/YumRepository: Difference between revisions

Humitos (talk | contribs)
Created page with "= Create our own yum repository = This will allow us to download just once the package needed to develop on our XO platform. = Steps on the server = sudo yum install nginx..."
 
Humitos (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
I did this by going to each XO (1.5 -i686- and 1.75 -ARM- in my case) and running:
I did this by going to each XO (1.5 -i686- and 1.75 -ARM- in my case) and running:


  sudo yum install --assumeyes --nogpg yumdownloader
  sudo yum install --assumeyes --nogpg yum-utils


Download all the packages that you consider necessary here:
Download all the packages that you consider necessary here:
Line 37: Line 37:
= Create a yum configuration file =
= Create a yum configuration file =


Copy this into a file called: ''/etc/yum.repos.d/local.repo''
Copy this into a file called: ''/etc/yum.repos.d/local.repo'' (in the XOs)


  [SugarRepo]
  [SugarRepo]
Line 50: Line 50:
= References =
= References =


* http://ramblings.narrabilis.com/creating-a-yum-repository-repo-and-creating-a-yum-group-to-install-kickstart
* http://ramblings.narrabilis.com/creating-a-yum-repository-repo-and-creating-a-yum-group-to-install-kickstart
 
Scripts
 
* http://git.sugarlabs.org/humitos/olpc/blobs/master/scripts/yum/install_local_repo.sh
* http://git.sugarlabs.org/humitos/olpc/blobs/master/scripts/yum/update_local_repo.sh