LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12.2 or Slackware64 (https://www.linuxquestions.org/questions/slackware-14/slackware-12-2-or-slackware64-749146/)

Bruce Hill 08-21-2009 10:16 AM

Quote:

Originally Posted by glore2002 (Post 3652184)
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.

bgeddy 08-21-2009 11:08 AM

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).

markush 08-21-2009 11:15 AM

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

glore2002 08-21-2009 03:59 PM

Quote:

Originally Posted by Bruce Hill (Post 3652511)
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?

Bruce Hill 08-21-2009 05:32 PM

Quote:

Originally Posted by glore2002 (Post 3652914)
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.

glore2002 08-21-2009 07:45 PM

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.

Bruce Hill 08-21-2009 07:58 PM

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.

glore2002 08-21-2009 09:11 PM

Quote:

Originally Posted by Bruce Hill (Post 3653085)
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,

Bruce Hill 08-21-2009 09:42 PM

Quote:

Originally Posted by glore2002 (Post 3653142)
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 (Post 3653142)
This thumb up is for you!

Best regards,

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

sahko 08-22-2009 02:30 AM

Quote:

Originally Posted by Bruce Hill (Post 3653085)
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?

Stroker 08-22-2009 04:56 PM

Quote:

Originally Posted by Bruce Hill (Post 3652993)
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.

Bruce Hill 08-22-2009 05:12 PM

Quote:

Originally Posted by sahko (Post 3653290)
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. ;)

Bruce Hill 08-22-2009 05:21 PM

Quote:

Originally Posted by Stroker (Post 3653925)
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. ;)

sahko 08-22-2009 06:13 PM

Quote:

Originally Posted by Bruce Hill (Post 3653942)
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


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