Want more timely Centmin Mod News Updates?
Become a Member

Install svr-setup directory

Discussion in 'Centmin Mod Insights' started by Matt, May 28, 2014.

  1. Matt

    Matt Moderator Staff Member

    689
    319
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +442
    Local Time:
    7:04 PM
    1.7.1
    MariaDB 10
    Is it OK to remove the older files from this directory, as it's currently using 3.3GB
    Code:
    [root@host /]# du -sh svr-setup/
    3.3G    svr-setup/
    and the / partition on my server is only 20GB, so want to keep on top of the usage.

    Code:
    [root@host svr-setup]# du -sh *
    11M    APC-3.1.13
    468K    APC-3.1.13.tgz
    4.0K    centalt-release-6-1.noarch.rpm
    2.6M    csf
    572K    csf.tgz
    16K    epel-release-6-8.noarch.rpm
    4.0K    fpm-build
    256K    headers-more-nginx-module-0.25
    28K    headers-more-v0.25.tar.gz
    144K    igbinary-igbinary-1.1.2-dev.tar.gz
    3.8M    igbinary-igbinary-8351efe
    7.0M    imagick-3.1.2
    100K    imagick-3.1.2.tgz
    5.9M    lbzip2-2.2
    612K    lbzip2-2.2.tar.gz
    19M    libevent-2.0.21-stable
    836K    libevent-2.0.21-stable.tar.gz
    182M    libmemcached-1.0.16
    1000K    libmemcached-1.0.16.tar.gz
    196M    libmemcached-1.0.18
    1020K    libmemcached-1.0.18.tar.gz
    760K    madler-pigz-79c846e
    2.2M    mcperf-0.1.1
    232K    mcperf-0.1.1.tar.gz
    4.4M    memcache-3.0.7
    60K    memcache-3.0.7.tgz
    4.7M    memcache-3.0.8
    76K    memcache-3.0.8.tgz
    4.6M    memcached-1.4.17
    324K    memcached-1.4.17.tar.gz
    5.0M    memcached-1.4.20
    336K    memcached-1.4.20.tar.gz
    3.6M    memcached-2.1.0
    40K    memcached-2.1.0.tgz
    4.2M    memcached-2.2.0
    76K    memcached-2.2.0.tgz
    4.0K    msglogs
    44M    nginx-1.5.10
    784K    nginx-1.5.10.tar.gz
    44M    nginx-1.5.11
    788K    nginx-1.5.11.tar.gz
    44M    nginx-1.5.12
    788K    nginx-1.5.12.tar.gz
    44M    nginx-1.5.13
    792K    nginx-1.5.13.tar.gz
    44M    nginx-1.5.8
    776K    nginx-1.5.8.tar.gz
    46M    nginx-1.7.0
    792K    nginx-1.7.0.tar.gz
    46M    nginx-1.7.1
    800K    nginx-1.7.1.tar.gz
    20K    nginx-accesskey-2.0.3
    4.0K    Nginx-accesskey-2.0.3.tar.gz
    32K    nginx-dav-ext-module-0.0.2
    8.0K    nginx-dav-ext-module-0.0.2.tar.gz
    32K    nginx-dav-ext-module-0.0.3
    8.0K    nginx-dav-ext-module-0.0.3.tar.gz
    32K    nginx-http-concat-master
    8.0K    nginx-http-concat-master.tar.gz
    84K    ngx_cache_purge-2.1
    12K    ngx_cache_purge-2.1.tar.gz
    16K    ngx-fancyindex-0.3.1.tar.gz
    80K    ngx-fancyindex-ngx-fancyindex
    502M    ngx_pagespeed-release-1.7.30.1-beta
    589M    ngx_pagespeed-release-1.8.31.2-beta
    9.7M    nsd-3.2.16
    904K    nsd-3.2.16.tar.gz
    83M    openssl-1.0.1e
    4.3M    openssl-1.0.1e.tar.gz
    84M    openssl-1.0.1g
    4.4M    openssl-1.0.1g.tar.gz
    20M    p7zip_9.20.1
    11M    p7zip_9.20.1_src_all.tar
    24K    package.xml
    332K    pbzip2-1.1.6
    60K    pbzip2-1.1.6.tar.gz
    12M    pcre-8.34
    1.9M    pcre-8.34.tar.gz
    12M    pcre-8.35
    2.0M    pcre-8.35.tar.gz
    8.0K    percona-release-0.0-1.x86_64.rpm
    156K    pflogsumm-1.1.5
    48K    pflogsumm-1.1.5.tar.gz
    389M    php-5.5.11
    17M    php-5.5.11.tar.gz
    393M    php-5.5.12
    17M    php-5.5.12.tar.gz
    385M    php-5.5.9
    17M    php-5.5.9.tar.gz
    60K    php-.tar.gz
    92K    pigz-2.3.tar.gz
    96K    release-1.7.30.1-beta.tar.gz
    16K    rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
    4.0K    securedtmp.log
    4.8M    siege-3.0.5
    488K    siege-3.0.5.tar.gz
    4.8M    siege-3.0.6
    492K    siege-3.0.6.tar.gz
    5.4M    sproxy-1.02
    536K    sproxy-latest.tar.gz
    4.0K    varnish-release-3.0-1.el6.noarch.rpm
    544K    zendopcache-7.0.2
    92K    zendopcache-7.0.2.tgz
    [root@host svr-setup]#

     
  2. eva2000

    eva2000 Administrator Staff Member

    29,702
    6,707
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,009
    Local Time:
    4:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah everything in /svr-setup if deleted will have latest versions re-downloaded if not available in /svr-setup :)

    Probably have to look at coding something to auto removing older versions for ngx_pagespeed, nginx and php-fpm at least when it comes time to upgrade eventually.
     
    • Like Like x 2
  3. Matt

    Matt Moderator Staff Member

    689
    319
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +442
    Local Time:
    7:04 PM
    1.7.1
    MariaDB 10
    That would be good if something could be added to remove anything older than the current version being installed.
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,702
    6,707
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,009
    Local Time:
    4:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    Well I started work on .07 beta21 branch to at least properly fix the $DIR_TMP variable throughout the code see https://github.com/centminmod/centminmod/commits/123.07beta21

    That way you can also edit the main DIR_TMP variable in centmin.sh and change the download directory to a partition with more free space too.
     
    • Like Like x 2
  5. eva2000

    eva2000 Administrator Staff Member

    29,702
    6,707
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,009
    Local Time:
    4:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: May 28, 2014
  6. Matt

    Matt Moderator Staff Member

    689
    319
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +442
    Local Time:
    7:04 PM
    1.7.1
    MariaDB 10
    This is great. Means I can point it to /tmp which has 16GB free.
     
    • Like Like x 1
  7. Liam W

    Liam W Member

    57
    16
    8
    Jun 26, 2014
    Barrow-in-Furness, Cumbria, England
    Ratings:
    +20
    Local Time:
    7:04 PM
    nginx/1.9.11
    10.1.11
    Sorry to bump an old thread, but did you get an auto clearing script created?

    I emptied out /svr-setup and my disk usage dropped from 60% to 34%...

    Liam
     
  8. pritam sinha

    pritam sinha New Member

    12
    2
    3
    Oct 23, 2015
    Ratings:
    +2
    Local Time:
    11:34 PM
    1.9
    5.5
    Please mention all the files/directories which can be deleted?
    I am on OVH ssd 2Gb RAM which gives only 10GB space.
    After installing centminmod only 1.8GB is remaining. :(
     
  9. eva2000

    eva2000 Administrator Staff Member

    29,702
    6,707
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,009
    Local Time:
    4:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    Official site and download/install page at centminmod.com/download.html has list of minimum AND recommended requirements:

    SELINUX must be disabled. Minimum system requirements are 256MB memory (128MB with variable tweak) for CentOS 6.x and 1GB memory for CentOS 7.x 64bit and 12GB disk space for OpenVZ VPS virtualization & 20GB for KVM and Xen virtualisation. Recommended memory & disk requirements are double the mininum for CentOS 6/7 respectively at CentOS 6.x 512MB memory and CentOS 7.x 64bit at 2GB memory and disk space of 24GB for OpenVZ and 40GB for KVM/Xen virtualisation. Disk usage footprint for CentOS OS + Centmin Mod LEMP initial install is approximately between 7.5GB and 9.5GB.

    So you need to upgrade to more disk space.
     
    Last edited: Oct 23, 2015
  10. pritam sinha

    pritam sinha New Member

    12
    2
    3
    Oct 23, 2015
    Ratings:
    +2
    Local Time:
    11:34 PM
    1.9
    5.5
    :( I guess will have to surely upgrade.