From Mageia wiki
Jump to: navigation, search
Line 40: Line 40:
 
</pre>
 
</pre>
  
On Alamut, check that transmission-daemon is running, and if not (it dies sometimes) start it (as root) with:
+
On Alamut, check that transmission-daemon is running, and if not (it dies sometimes) start it (as root) and load the torrents:
 
<pre>
 
<pre>
 
# transmission-daemon
 
# transmission-daemon
 +
 +
To load the torrents (on alamut and rabbit), go to dir with the *.torrents files and do:
 +
# for file in *.torrent;do transmission-remote -a $file;done
 
</pre>
 
</pre>
  
 
On Rabbit, check that transmission-daemon is running, and if not (it dies sometimes) start it (as tmb) with:
 
On Rabbit, check that transmission-daemon is running, and if not (it dies sometimes) start it (as tmb) with:
 
<pre>
 
<pre>
# transmission-daemon
+
# su - tmb
</pre>
+
$ transmission-daemon
  
 
To load the torrents (on alamut and rabbit), go to dir with the *.torrents files and do:
 
To load the torrents (on alamut and rabbit), go to dir with the *.torrents files and do:
<pre>
+
$ for file in *.torrent;do transmission-remote -a $file;done
# for file in *.torrent;do transmission-remote -a $file;done
+
$ exit
 
</pre>
 
</pre>
  
 
And that is all needed, the the torrents will self-register with the trackers so it will be available to all.<br/>
 
And that is all needed, the the torrents will self-register with the trackers so it will be available to all.<br/>
 
(not including terasaur, as that is connected to my personal google account, so I'll take care of that one for now)
 
(not including terasaur, as that is connected to my personal google account, so I'll take care of that one for now)

Revision as of 12:54, 23 March 2014

This is info regarding publishing isos:


Signing ISOs

Signature of ISOs is done on rabbit, using the account "releasekey", and the script /usr/local/bin/sign_checksums. Make sure the directories containing the ISOs are owned by group releasekey, and group can write in the directory. Then run the script sign_checksums on the directories :

rabbit# su - releasekey
rabbit$ for dir in /home/bcd/public_html/isos/mageia4-v2/Mageia-4.1-*
        do sign_checksums $dir
        done
rabbit$ exit

Creating torrents:

# pushd /home/bcd/public_html/isos/mageia4-v2/
# rm -f *Live*/*.{full,leaves,names}
# /home/tmb/create_torrent.sh
# md torrent
# mv *.torrent torrent/

Preparing for publishing, use rsync to copy files to:
rabbit:/torrent/Active
alamut:/torrent/Active
valstar:/distrib/tmp/newisos/mageia4-v2

Check that the permissions on valstar are 755 for dirs and 644 for files or mirrors will get rsync problems!

Publishing isos:

On Valstar:

# mv /distrib/tmp/newisos/mageia4-v2 /distrib/mirror/iso/4.1

On Alamut, check that transmission-daemon is running, and if not (it dies sometimes) start it (as root) and load the torrents:

# transmission-daemon

To load the torrents (on alamut and rabbit), go to dir with the *.torrents files and do:
# for file in *.torrent;do transmission-remote -a $file;done

On Rabbit, check that transmission-daemon is running, and if not (it dies sometimes) start it (as tmb) with:

# su - tmb
$ transmission-daemon

To load the torrents (on alamut and rabbit), go to dir with the *.torrents files and do:
$ for file in *.torrent;do transmission-remote -a $file;done
$ exit

And that is all needed, the the torrents will self-register with the trackers so it will be available to all.
(not including terasaur, as that is connected to my personal google account, so I'll take care of that one for now)