The problem was permissions at:
[root@homebase /]# ls -ls /media/
total 4
4 drwx------ 6 root root 4096 2010-11-01 09:52 d4ae05a3-c60f-489d-8159-e16c9a271f0b
I changed that from 700 to 755 and now everything works. I kind of thought that symlink permissions were inherited for the current path, not the 'real' path. Well now I know...
Running a repo offof Amahi
Re: Running a repo offof Amahi
Awesome. Glad the wiki helped you. If there was anything I missed, would you please add it. I wanna add the capability for install packages too, just have not gotten to it yet. They can be pulled the same way.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Running a repo offof Amahi
I made some changes, but I am not experienced with editing a wiki and had some problems for you to clean up.
First I could NOT change the index.html to:
<html>
<UL>
<LI><A HREF="f12">f12</A>
</UL>
</html>
The wiki processed the <UL> </UL> stuff.
And I tried to put a double indent for the line after the:
find . -type d | xargs chmod 755
But it put a double bullet as well.
So I left you some work.
First I could NOT change the index.html to:
<html>
<UL>
<LI><A HREF="f12">f12</A>
</UL>
</html>
The wiki processed the <UL> </UL> stuff.
And I tried to put a double indent for the line after the:
find . -type d | xargs chmod 755
But it put a double bullet as well.
So I left you some work.
Re: Running a repo offof Amahi
Thanks. Changes made.
Not sure if I understand the additional about tree. Can that be explained differently? Maybe give an example.
Not sure if I understand the additional about tree. Can that be explained differently? Maybe give an example.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Running a repo offof Amahi
Let's say you have downloaded the ISO CDs for Centos 5.5 (all 7 of them) and you used Nautilus Archive Viewer to extract the contents of the ISO into the directory:Thanks. Changes made.
Not sure if I understand the additional about tree. Can that be explained differently? Maybe give an example.
/meda/usbstuff/repos/centos/os/i386
All of the subdirectories under i386 will not be accessible and if you viewed the URL you will only see the files in i386 and none of the directories (like CentOS and repodata) because of permissions. But just CD to the i386 directory and run the
find . -type d | xargs chmod 755
command and everything works.
Also if your symlink is to something like /home/user/repos/Trixbox and even Trixbox has the work permissions, change to that directory and run the find command. That fine command (pun intended) runs down the repo tree and fixes all the directory permissions so the repo works!
Got burned on this back with Centos 5.1 when I set up my first repo and the Centos support crew gave me this little fixit command.
Re: Running a repo offof Amahi
I just successfully built a Centos 5.5 server off my new repo!
So the general part of your repo web app is good. It will be a bit before I get a FC12 full repo up and running....
Meanwhile you cover createrepo on the wiki. When I ran a FC12 update repo last year, I did NOT need createrepo to set it up. RSYNC got everything I needed. I have only used createrepo when I build my own specialize repo with my own rpms.
So the general part of your repo web app is good. It will be a bit before I get a FC12 full repo up and running....
Meanwhile you cover createrepo on the wiki. When I ran a FC12 update repo last year, I did NOT need createrepo to set it up. RSYNC got everything I needed. I have only used createrepo when I build my own specialize repo with my own rpms.
Re: Running a repo offof Amahi
Great news. I only included the createrepo line as the tutorials I followed included it. Probably can't hurt to do it even if its not needed.
If I get a chance to test this setup again, I will try it without that line. I have scripts done to do all the work, just have not posted them yet. I need to test them one more time to make sure it all works correctly.
If I get a chance to test this setup again, I will try it without that line. I have scripts done to do all the work, just have not posted them yet. I need to test them one more time to make sure it all works correctly.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Running a repo offof Amahi
I am looking at your crontab for getting the FC12 updates and I have a couple questions. You have:
0 1 * * * rsync -avrt rsync://mirrors.kernel.org/fedora/updates/12/i386/ --exclude=debug
Where is the destination? Shouldn't
/var/hda/files/yum/f12/i386/updates
be at the end of this command? And in the script that I use to use, my rsync options are auv. I end the --exclude=debug with a \
--exclude=debug/
I also have:
--delete --exclude=drpms/
So my crontab would be:
0 1 * * * rsync -auv rsync://mirrors.kernel.org/fedora/updates/12/i386/ --delete --exclude=debug/ --exclude=drpms/
/var/hda/files/yum/f12/i386/updates
0 1 * * * rsync -avrt rsync://mirrors.kernel.org/fedora/updates/12/i386/ --exclude=debug
Where is the destination? Shouldn't
/var/hda/files/yum/f12/i386/updates
be at the end of this command? And in the script that I use to use, my rsync options are auv. I end the --exclude=debug with a \
--exclude=debug/
I also have:
--delete --exclude=drpms/
So my crontab would be:
0 1 * * * rsync -auv rsync://mirrors.kernel.org/fedora/updates/12/i386/ --delete --exclude=debug/ --exclude=drpms/
/var/hda/files/yum/f12/i386/updates
Re: Running a repo offof Amahi
It must have gotten dropped inadvertently. My script had it, but guess copy and paste failed me LOL
Thanks for pointing that out. I did not see the extra parameters you use in the examples I followed, but will gladly add them to the wiki. It might make the downloads a bit smaller too.
Not sure if the / after debug matters. I tried it both ways in the past with the same result, but might not hurt to include it.
I will update the wiki accordingly.
Thanks for pointing that out. I did not see the extra parameters you use in the examples I followed, but will gladly add them to the wiki. It might make the downloads a bit smaller too.
Not sure if the / after debug matters. I tried it both ways in the past with the same result, but might not hurt to include it.
I will update the wiki accordingly.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Running a repo offof Amahi
I learned them the hard way. By doing and asking on both the Centos and Fedora lists.I did not see the extra parameters you use in the examples I followed, but will gladly add them to the wiki. It might make the downloads a bit smaller too.
--delete can get really important. I had a time when things got rather messed up as I was NOT deleting old stuff. You don't know this until you get burned. I don't recall the difference between our options, but I recall choosing u over rt; perhaps after ploughing the rsync man pages.
Who is online
Users browsing this forum: No registered users and 23 guests