LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2009, 10:16 AM   #16
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124

Quote:
Originally Posted by glore2002 View Post
Thanks to you all!
How do you download slackware 64 current?
I use Alien Bob's mirror-slackware-current.sh script found here.

It is properly commented, but you might want to read his Local Slackware mirror blog post.

With the script you can make ISO images for CD, DVD, or both.
 
Old 08-21-2009, 11:08 AM   #17
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Alien Bob provides a great script to mirror the Slackware current directory and create an ISO if desired. It's available here and is well worth downloading. His webiste here is full of useful stuff and deserves a bookmark if you are using Slackware.

Edit: Sorry for repeating Bruce's information - I missed his post (too busy looking at other stuff while posting).

Last edited by bgeddy; 08-21-2009 at 11:10 AM. Reason: Missed post
 
Old 08-21-2009, 11:15 AM   #18
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
And What if I use

$ wget -r http://ftp.belnet.be/packages/slackw...are64-current/
yes this works. You will then download the complete packages and the sources and other stuff which together in the case of the stable release are the complete contents of the DVD.

Since you will not need everything, look at your downloadspeed. Maybe it makes more sense not to download all the stuff.

Markus

Last edited by markush; 08-21-2009 at 11:16 AM.
 
Old 08-21-2009, 03:59 PM   #19
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by Bruce Hill View Post
I use Alien Bob's mirror-slackware-current.sh script found here.

It is properly commented, but you might want to read his Local Slackware mirror blog post.

With the script you can make ISO images for CD, DVD, or both.
Thanks for the script!
I've changed the parameter to create a DVD ISO instead of CD. What else do you change in the script?
 
Old 08-21-2009, 05:32 PM   #20
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by glore2002 View Post
Thanks for the script!
I've changed the parameter to create a DVD ISO instead of CD. What else do you change in the script?
Did you read his blog post that I linked?
Quote:
TIP: If you want to change the default values of the script, do not edit
the script itself. Instead run “mirror-slackware-current.sh -w” which will
create the file “mirror-slackware-current.conf” in the same directory as
“mirror-slackware-current.sh”. If you edit the variable values in “mirror-
slackware-current.conf” the script will use those.
That is what I have done, and now have the script rsync Slackware -current for our 32-bit
machines and Slackware64 -current for the 64-bit ones. The scripts run every night (here)
in a cronjob with these commands (also two others commented):
Code:
# Keep the Slackware patches up to date for the server
30 4 * * *      /usr/local/sbin/rsync_slackware_patches.sh -q -r 10.1

# Keep the Slackware-12.2 pathces up to date
00 3 * * *      /usr/local/sbin/rsync_slackware_patches-12.2.sh

# Keep the Slackware -current tree in sync:
00 2 * * *      /usr/local/sbin/mirror-slackware-current.sh -v

# Keep the Slackware64 -current tree in sync:
15 1 * * *      /usr/local/sbin/mirror-slackware64-current.sh -v
When the script runs with -v (verbose output) I read:
Quote:
Enabling verbose output....
#
# Checking version of 'http://www.slackware.com/~alien/tools/mirror-slackware-current.sh' ...
#
# You have the most recent version of this script
so I know if Alien Bob has updated the script. If so, I download the new version
to /usr/local/sbin/mirror-slackware-current.sh. This replaces the old one, but it
is not necessary to change the options, because they are now all set in the config
file -> /usr/local/sbin/mirror-slackware-current.conf

To answer your question "What else do you change in the script?" On my server there
are two scripts which are symlinked and individually placed in my crontab. One is for
Slackware -current, and the other for Slackware64 -current. Here's what I have now.
Note I used egrep to just display the uncommented lines in those files:
Code:
mingdao@paul:~$ egrep -v "(^#|^ *$)" /usr/local/sbin/mirror-slackware-current.conf
BUILDER="Bruce Hill, Jr. <email munged>"
SLACKROOTDIR="/backup2/ftp/pub/Linux/Slackware"
RELEASE=${RELEASE:-"current"}
SLACKRELEASE="slackware-${RELEASE}"
RSYNCURLROOT="rsync.osuosl.org::slackware/"
RSYNCURL=""
EXTOPTS=""
DEBUG=1
VERBOSE="-v"
ISO="DVD"
ISOONLY="no"
FORCE="no"
ONLYDIFF=0
PREREMOVE=1
EXCLUDES=""
EXCLUDES=""
EXCLUDEFILE=
BWLIMIT=0
CHECKVER="yes"
BOOTLOADSIZE=32
Code:
mingdao@paul:~$ egrep -v "(^#|^ *$)" /usr/local/sbin/mirror-slackware64-current.conf
RSYNC="/usr/bin/rsync"
MKISOFS="/usr/bin/mkisofs"
MD5SUM="/usr/bin/md5sum"
BUILDER="Eric Hameleers <email munged>"
SLACKROOTDIR="/backup2/ftp/pub/Linux/Slackware"
ARCH="x86_64"
RELEASE="current"
RSYNCURLROOT="rsync.osuosl.org::slackware/"
RSYNCURL=""
EXTOPTS=""
DEBUG=1
VERBOSE="-q"
ISO="DVD"
ISOONLY="no"
FORCE="no"
ONLYDIFF=0
PREREMOVE=0
EXCLUDES="--exclude pasture"
EXCLUDEFILE=""
BWLIMIT=0
CHECKVER="no"
BOOTLOADSIZE=4
My options change at different times. For instance, when Slackware-13.0
comes out I will rsync it but exclude all directories except ./patches.

Also, after Slackware-13.0 is released, when the new -current starts up
again, I will exclude everything except ./slackware because that is all
that I use during -current testing phase. Since we are (hopefully) close
to a stable release of Slackware-13.0, presently I am keeping the entire
tree in sync. That way when 13.0 is released, I can run alpha_geek's slidgo
scripts and just update/change my -current mirror to 13.0.

The command rsync is better than wget IMO in many ways, but particularly
for this use because rsync checks the files on source against destination,
which keeps you from having corrupt source when you finish.
 
Old 08-21-2009, 07:45 PM   #21
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Thank you Bruce!

I've read your link and modified the .conf file. I will keep on reading your post to see what else can I modify.

Thanks again for such a valuable help.
 
Old 08-21-2009, 07:58 PM   #22
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
After you create the file mirror-slackware-current.conf you can look
at it and Eric has commented it very well. And if you need more help
after looking at the comments, post a thread in the Slackware forum.

Someone will probably be able to help you right away, and if not, when
Eric is available he checks the forum and will more than likely notice
a thread with his script and reply.
 
Old 08-21-2009, 09:11 PM   #23
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Thumbs up

Quote:
Originally Posted by Bruce Hill View Post
After you create the file mirror-slackware-current.conf you can look
at it and Eric has commented it very well. And if you need more help
after looking at the comments, post a thread in the Slackware forum.

Someone will probably be able to help you right away, and if not, when
Eric is available he checks the forum and will more than likely notice
a thread with his script and reply.
Well, What else can I say? Thanks & thanks! I've already burnt my first Slackware64-current DVD. Now I have to see if it boots but it surely will.

I saw that one of your crontab scripts is to download Slackware patches. I would really appreciate if you could show me a copy of that script which I find very useful too.

This thumb up is for you!

Best regards,
 
Old 08-21-2009, 09:42 PM   #24
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by glore2002 View Post
Well, What else can I say? Thanks & thanks! I've already burnt my first Slackware64-current DVD. Now I have to see if it boots but it surely will.

I saw that one of your crontab scripts is to download Slackware patches. I would really appreciate if you could show me a copy of that script which I find very useful too.
Alien's tools is full of good scripts, including rsync_slackware_patches.sh
Quote:
Originally Posted by glore2002 View Post
This thumb up is for you!

Best regards,
Just giving back to the community. Eric has helped me w/Slackware for ~5 years now.

Last edited by Bruce Hill; 08-21-2009 at 09:45 PM. Reason: give credit where credit is due
 
Old 08-22-2009, 02:30 AM   #25
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by Bruce Hill View Post
After you create the file mirror-slackware-current.conf you can look
at it and Eric has commented it very well. And if you need more help
after looking at the comments, post a thread in the Slackware forum.

Someone will probably be able to help you right away, and if not, when
Eric is available he checks the forum and will more than likely notice
a thread with his script and reply.
Doesn't mirror-slackware-current *always* create ISO(s) if the ChangeLog is different than the one in your HD?
 
Old 08-22-2009, 04:56 PM   #26
Stroker
Member
 
Registered: Dec 2006
Location: The Nature Coast
Distribution: Slackware 01001101
Posts: 83

Rep: Reputation: 18
Quote:
Originally Posted by Bruce Hill View Post
That way when 13.0 is released, I can run alpha_geek's slidgo scripts and just update/change my -current mirror to 13.0
Hello Bruce, would you expand on this process please(including what/where is slidgo)? I am considering being a tester and I'm trying to work out an efficient way to manage the versions I plan to maintain/rotate, i.e., production, new stable release, and current.

Does anyone one know of documentation/HOWTO on this topic?

Thanks.
 
Old 08-22-2009, 05:12 PM   #27
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by sahko View Post
Doesn't mirror-slackware-current *always* create ISO(s) if the ChangeLog is different than the one in your HD?
Code:
mingdao@paul:~$ less /usr/local/sbin/mirror-slackware-current.sh
<snip>
# Set ISO="DVD" if you want a single DVD instead of two CD ISO's.
# Set ISO="CDROM" if you want three CD ISO's instead of a single DVD.
# Set ISO="ALL" if you want two CD ISO's as well as a single DVD ISO.
# You can set the ISO variable using the '-o <iso_type>' switch too.
ISO="DVD"
<snip>
        echo "  -o <iso_type> The type of ISO that you want to generate."
        echo "                iso_type can be one of:"
        echo "                CDROM: produce 3 CDROM images (KDE on CD3);"
        echo "                DVD  : produce a single DVD image;"
        echo "                ALL  : produce CDROM and DVD images;"
        echo "                NONE : produce no images at all (just sync)."
        echo "                The default iso_type is ${ISO}."
If you don't want an ISO image:
ISO="NONE"

I thought that was mentioned in the section above. Perhaps if you
leave it blank, i.e. ISO="" you get no ISO image, also. Will have
to ask Alien Bob when he gets back off vacation. Or, try it.
 
Old 08-22-2009, 05:21 PM   #28
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by Stroker View Post
Hello Bruce, would you expand on this process please(including what/where is slidgo)? I am considering being a tester and I'm trying to work out an efficient way to manage the versions I plan to maintain/rotate, i.e., production, new stable release, and current.

Does anyone one know of documentation/HOWTO on this topic?

Thanks.
You'll have to wait until Slackware-13.0 is actually released for Erik
to update sligdo, but here is alphageek.dyndns.org : linux : sligdo
You can read and get prepared by following that guide.

I tried Google -- it found sligdo, also.
 
Old 08-22-2009, 06:13 PM   #29
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by Bruce Hill View Post
Code:
mingdao@paul:~$ less /usr/local/sbin/mirror-slackware-current.sh
<snip>
# Set ISO="DVD" if you want a single DVD instead of two CD ISO's.
# Set ISO="CDROM" if you want three CD ISO's instead of a single DVD.
# Set ISO="ALL" if you want two CD ISO's as well as a single DVD ISO.
# You can set the ISO variable using the '-o <iso_type>' switch too.
ISO="DVD"
<snip>
        echo "  -o <iso_type> The type of ISO that you want to generate."
        echo "                iso_type can be one of:"
        echo "                CDROM: produce 3 CDROM images (KDE on CD3);"
        echo "                DVD  : produce a single DVD image;"
        echo "                ALL  : produce CDROM and DVD images;"
        echo "                NONE : produce no images at all (just sync)."
        echo "                The default iso_type is ${ISO}."
If you don't want an ISO image:
ISO="NONE"

I thought that was mentioned in the section above. Perhaps if you
leave it blank, i.e. ISO="" you get no ISO image, also. Will have
to ask Alien Bob when he gets back off vacation. Or, try it.
Although i have read the script many times, i somehow always missed the NONE part. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The steps likely required for upgrading Slackware to Slackware64. Shingoshi Slackware 49 08-29-2009 07:28 AM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM


All times are GMT -5. The time now is 10:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration