Creating a local CentOS repository

Discussion in 'HOWTO-Related Questions' started by hmlx, Aug 20, 2008.

  1. hmlx

    hmlx New Member

    Hi all, is there anyway that I can create a local CentOS Repositoy on a Windows 2003 server? Or does it have to be a Linux server?
    Hector.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Theoretically it should be possible because all you need is a webserver on your Windows system. But I'm not sure about the directory structure...
     
  3. jakev383

    jakev383 New Member

    You would need a CentOS machine to create the repos file, but as Falko said it can in theory be on any web server.
    In the newer Cent/Fedora distros, you basically put the RPMs in a directory, then run "createrepo" on it and you're done. createrepo will create the necessary files, and then you would just move them to your IIS machine.
     
  4. topdog

    topdog Active Member

    You can rsync one of the online repos so u will not need the createrepo tool in that case.
     

Share This Page