View Poll Results: Do you like use update.script ?

Voters
341. You may not vote on this poll
  • yes, all time

    240 70.38%
  • no, some time

    45 13.20%
  • some time

    56 16.42%
Page 1 of 48 12311 ... LastLast
Results 1 to 20 of 941

Thread: [tools] update.script

  1. #1
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    Hello,
    update script not part from directadmin.com
    **** USE IT YOUR OWN RISKS ****

    *****
    *****
    *****

    GNU GENERAL PUBLIC LICENSE
    Version 2, June 1991
    Copyright (C) 2006,2007 Free Software Foundation, Inc.
    51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    Everyone is permitted to copy and distribute verbatim copies
    of this license document, but changing it is not allowed.
    Update script made by Wael Isa
    H188, R4008, Arad 240, Kingdom of Bahrain
    https://www.wael.name
    Version: 1.8.4
    Release Date: 1 / 9 / 2006

    *****
    *****
    *****

    If you find update script useful, please consider to make a donation to support this freeware.
    Please keep in mind that donations are welcome, but in no way required to use and distribute update.script.

    You can support update.script by PayPal

    update.script Version: 1.8.4
    update script tested in this OS 32bit and 64bit.
    • RedHat Linux
    • RedHat Fedora
    • RedHat Enterprise
    • CentOS

      and update to
      • OpenSSL (You need to build ssh, apache, php, etc after upgrade)
      • OpenSSH (First update OpenSSL then install Webmin control panel to fix openssh if down or error in update.)
      • ClamAV
      • MRTG
      • SpamAssassin
      • ImageMagick
      • GraphicsMagick
      • Webmin control panel (You need to open one port 10000 in your firewall)


    Just download/chmod
    Code:
    mkdir /usr/local/updatescript
    cd /usr/local/updatescript
    wget --no-check-certificate https://github.com/waelisa/update-script-for-DirectAdmin/raw/master/update.script
    chmod 755 update.script
    Run this to read how to use.
    Code:
    ./update.script
    Run this to update update.script
    Code:
    ./update.script UPDATEME
    Run this to see release date and version
    Code:
    ./update.script DATE
    Run this to clean update script folder
    Code:
    ./update.script CLEAN
    Note:-
    1- Run this to clean or update update script before you use
    2- Select best mirror for your server mirror.conf , if you want new mirror.conf file just delete old one in update script folder.


    *****
    *****
    *****

    ClamAV
    Code:
    nano -w /etc/exim.conf
    before
    Code:
    primary_hostname =
    add
    Code:
    av_scanner = clamd:127.0.0.1 3310
    after
    Code:
    check_message:
    add
    Code:
    deny message = This message contains malformed MIME ($demime_reason)
    demime = *
    condition = ${if >{$demime_errorlevel}{2}{1}{0}}
    deny message = This message contains a virus or other harmful content ($malware_name)
    demime = *
    malware = *
    deny message = This message contains an attachment of a type which we do not accept (.$found_extension)
    demime = bat:com:pif:prf:scr:vbs
    warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
    save then restart exim
    Code:
    /sbin/service exim restart

    *****
    *****
    *****

    ImageMagick
    Install ImageMagick then run add this to your php configure file
    Code:
    --with-imagick=/usr/local \
    after
    Code:
    --with-freetype-dir=/usr/local/lib \
    save then run
    Code:
    ./build php n
    *****
    *****
    *****

    GraphicsMagick
    Install GraphicsMagick then run add this to your php configure file
    Code:
    --with-gmagick=/usr/local \
    after
    Code:
    --with-freetype-dir=/usr/local/lib \
    save then run
    Code:
    ./build php n
    *****
    *****
    *****


    Thanks for smtalk, SeLLeRoNe and ReN

    *****
    *****
    *****

    Best Regards,
    Wael Isa
    Last edited by @how@; 09-23-2017 at 04:32 AM. Reason: https://github.com/waelisa/update-script-for-DirectAdmin

  2. #2
    Join Date
    Oct 2006
    Location
    Allen, TX
    Posts
    228
    Wael thanks for this wonderful script, yet how about keeping the version number of each release installed? This way running a command would let us know what needs to be updated. This could save a lot of time.

  3. #3
    Join Date
    Jan 2006
    Location
    Netherlands
    Posts
    125
    I cant seem to download the script it says
    Code:
    [root@tehl33tbox updatescript]# wget http://tools.supernamechange.com/updatescript
    --10:39:35--  http://tools.supernamechange.com/updatescript
               => `updatescript'
    Resolving tools.supernamechange.com... 72.55.156.182
    Connecting to tools.supernamechange.com|72.55.156.182|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    10:39:37 ERROR 404: Not Found.
    Wael is your server down?

    Thanks for bringing it back btw

    *edit * link should be http://tools.supernamechange.com/update.script and not http://tools.supernamechange.com/updatescript
    Last edited by HanSieT; 11-24-2007 at 01:47 AM. Reason: Edit
    Hans (at) Tind.nl
    van der Toorn Internetdiensten
    Did i help? maybe u would like to Donate to me

  4. #4
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    main post updated now.
    thanks.

    Wael

  5. #5
    Join Date
    Mar 2006
    Posts
    69
    Thanks @how@ for all of your hard work mate. It has been a script that has helped me a lot.

    I was wondering where freetype went to?
    ServerTweak Networks, LLC >> ServerTweak.com
    Experience the fastest network and superior servers, feel the power of ServerTweak!
    Fremont, CA DataCenter | Dedicated Servers | Colocation | Cross Connects HE.net | 1/4 - Full Cab Sales

  6. #6
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    yes, updated again.

    Wael

  7. #7
    Join Date
    Feb 2006
    Posts
    7
    AVG link is dead. can you check it?

  8. #8
    Join Date
    Dec 2005
    Location
    Denver, CO
    Posts
    66
    I love this however I'm terrified to do the openssh and/or openssl upgrades remotely. last time I did this over ssh it failed and i was locked out. and when i tried to update over KVMoIP, I kept over-running the buffer (and I used screen but the process would hang after I disconnected).

    Soooo...anyone tried the SSL or SSH update or have any pointers for me? I'm on all brand new hardware but like I said, scary to try this update (for me at least, call me a *ussy lol)

  9. #9
    Join Date
    Oct 2006
    Location
    Allen, TX
    Posts
    228
    I've never had any problems, yet there's only a first time. I also keep webmin in case of a fail in ssh so I can login though there to fix things.

  10. #10
    Join Date
    Dec 2005
    Location
    Denver, CO
    Posts
    66
    I am having one problem:

    awk '{ print ($1+1) }' cnumber.h > cnumber.temp
    rm -f cnumber.h; mv cnumber.temp cnumber.h
    gcc version.c
    rm -f exim
    gcc -o exim
    rfc2047.o: In function `rfc2047_decode2':
    rfc2047.c.text+0x3fe): undefined reference to `libiconv_open'
    rfc2047.c.text+0x4fc): undefined reference to `libiconv'
    rfc2047.c.text+0x5d7): undefined reference to `libiconv_close'
    collect2: ld returned 1 exit status
    make[1]: *** [exim] Error 1
    make[1]: Leaving directory `/usr/local/updatescript/exim-4.68/build-Linux-x86_64'
    make: *** [go] Error 2

    Installation directory is /usr/sbin


    *** /usr/local/updatescript/exim-4.68/build-Linux-x86_64/exim does not exist or is empty
    *** Have you built Exim successfully?
    *** Exim installation failed ***
    make: *** [install] Error 1
    cp: cannot stat `/usr/sbin/exim-4.68-1': No such file or directory
    chmod: cannot access `/usr/sbin/exim': No such file or directory
    Shutting down exim:
    Starting exim: /etc/init.d/exim: line 30: /usr/sbin/exim: No such file or directory



    Exim update done
    and now exim won't start. If I do a "service exim status" I get

    exim dead but subsys locked
    Any ideas? \usr\sbin\exim does not exist. Even a "locate exim" doesn't show a file named exim anywhere.

  11. #11
    Join Date
    Dec 2005
    Location
    Denver, CO
    Posts
    66
    nevermind:

    http://www.directadmin.com/forum/showthread.php?t=21291

    sorry for the spam on this thread. This is an excellent script! well done!

  12. #12
    Join Date
    Jul 2006
    Posts
    52
    how I can enable LibClamAV support for PHP settings?

  13. #13
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    AVG updated & add Control panel Webmin


    Wael

  14. #14
    Join Date
    Dec 2005
    Posts
    78
    Does it work with dovecot?

  15. #15
    Join Date
    May 2005
    Posts
    50
    Hi Wael

    I updated from MODsecurity 1.9.4 to MODsecurity 1.9.5 and found that a few scripts was blocked.

    MODsecurity 1.9.4 worked okay.
    I guess the best thing to do, is to go back to MODsecurity 1.9.4 and therefore I hope that you have a copy of that version.

    Thanks for a good script and any help

  16. #16
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    try to use other rules, just run this
    ./update.script CLEAN
    ./update.script
    use L,M or H

    Wael

  17. #17
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    208
    xxx:/usr/local/updatescript# ./update.script UPDATEME ./update.script: line 1012: syntax error: unexpected end of file
    Your script stopped working?
    This fault happens with every command

  18. #18
    Join Date
    Oct 2006
    Location
    Allen, TX
    Posts
    228
    DutchTSE try to reinstall it.

    Code:
    cd /usr/local/updatescript
    wget http://tools.supernamechange.com/update.script
    chmod 755 update.script

  19. #19
    Join Date
    May 2005
    Posts
    50
    Thanks for a very quick reply Wael

    Remember: You are way over my league.

    I am sorry, but the information must be fed by spoon.
    ./update.script CLEAN
    ./update.script

    use L,M or H ???

    The two rules that are available after download is apache2.conf and mini.conf.

    What I did was to firstly update MODsecurity to 1.9.5
    I saw that some scripts was blocked, so I downloaded the MODsecurity Rules again. Still the same. I compared the new mini.conf with the past version and could not see any changes.

    So, I assumed that it was MODsecurity 1.9.5 it selves and an lib.so, lib.a etc that is the reason for this.

    Regards
    Oddis

  20. #20
    Join Date
    Nov 2006
    Location
    Leek, NL
    Posts
    87
    Same error as DutchTSE :
    ./update.script: line 1012: syntax error: unexpected end of file

    Something broke the script...
    Keep on learning....

    Using CentOS 7 on VDS with DirectAdmin.

Page 1 of 48 12311 ... LastLast

Similar Threads

  1. Update script not working
    By Daskew78 in forum System-Level Technical Discussion
    Replies: 2
    Last Post: 10-29-2010, 06:31 PM
  2. Custom script after update
    By AxlF in forum CustomBuild
    Replies: 1
    Last Post: 07-13-2010, 01:06 PM
  3. Update error update script cannot find Python
    By HageHosting in forum DirectAdmin Version Updates
    Replies: 9
    Last Post: 11-24-2009, 06:10 AM
  4. All-in-1 update script
    By MadHag in forum DirectAdmin General Discussion
    Replies: 2
    Last Post: 09-14-2008, 10:25 AM
  5. wat about weal's update script?
    By snaaps in forum DirectAdmin General Discussion
    Replies: 14
    Last Post: 12-02-2007, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •