Join the community today
Become a Member

Featured CentOS 7.x How to help test .08 CentOS 7 Betas with Github code ?

Discussion in 'Beta release code' started by eva2000, Jul 11, 2014.

  1. Andy

    Andy Active Member

    543
    89
    28
    Aug 6, 2014
    Ratings:
    +133
    Local Time:
    6:15 PM
    Code:
    yum --enablerepo=axivo install elasticsearch --disableplugin=priorities
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: centos.mirror.constant.com
     * epel: epel.mirror.constant.com
     * extras: centos.mirror.constant.com
     * rpmforge: repoforge.mirror.constant.com
     * updates: centos.mirror.constant.com
    No package elasticsearch available.
    Error: Nothing to do


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Doh forgot that Axivo YUM repo doesn't have a Elasticsearch package for CentOS 7 yet only for CentOS 6 ! Might want to ask Floren in the thread at Axivo - Axivo Yum Repo Updates | Centmin Mod Community or on his forums.

    CentOS 6.5 Axivo YUM repo does
    Code:
    yum --enablerepo=axivo list elasticsearch --disableplugin=priorities -q
    Available Packages
    elasticsearch.x86_64   1.3.2-1.el6        axivo
    CentOS 7 Axivo YUM repo is limited to following packages right now until Floren adds the rest
    Code:
    yum list available --disablerepo=* --enablerepo=axivo --disableplugin=priorities
    Loaded plugins: fastestmirror
    axivo                                                                                                                                  | 3.4 kB  00:00:00    
    axivo/7/x86_64/primary_db                                                                                                              |  18 kB  00:00:00    
    Loading mirror speeds from cached hostfile
    Available Packages
    GeoIP.x86_64                                                                          1.6.2-1.el7                                                        axivo
    GeoIP-devel.x86_64                                                                    1.6.2-1.el7                                                        axivo
    GeoIP-update.noarch                                                                   1.6.2-1.el7                                                        axivo
    glusterfs.x86_64                                                                      3.5.2-1.el7                                                        axivo
    glusterfs-api.x86_64                                                                  3.5.2-1.el7                                                        axivo
    glusterfs-api-devel.x86_64                                                            3.5.2-1.el7                                                        axivo
    glusterfs-cli.x86_64                                                                  3.5.2-1.el7                                                        axivo
    glusterfs-devel.x86_64                                                                3.5.2-1.el7                                                        axivo
    glusterfs-extra-xlators.x86_64                                                        3.5.2-1.el7                                                        axivo
    glusterfs-fuse.x86_64                                                                 3.5.2-1.el7                                                        axivo
    glusterfs-geo-replication.x86_64                                                      3.5.2-1.el7                                                        axivo
    glusterfs-libs.x86_64                                                                 3.5.2-1.el7                                                        axivo
    glusterfs-rdma.x86_64                                                                 3.5.2-1.el7                                                        axivo
    glusterfs-regression-tests.x86_64                                                     3.5.2-1.el7                                                        axivo
    glusterfs-resource-agents.noarch                                                      3.5.2-1.el7                                                        axivo
    glusterfs-server.x86_64                                                               3.5.2-1.el7                                                        axivo
    jemalloc.x86_64                                                                       3.6.0-1.el7                                                        axivo
    jemalloc-devel.x86_64                                                                 3.6.0-1.el7                                                        axivo
    openssl.x86_64                                                                        1:1.0.1i-2.el7                                                     axivo
    openssl-devel.x86_64                                                                  1:1.0.1i-2.el7                                                     axivo
    openssl-libs.x86_64                                                                   1:1.0.1i-2.el7                                                     axivo
    openssl-perl.x86_64                                                                   1:1.0.1i-2.el7                                                     axivo
    openssl-static.x86_64                                                                 1:1.0.1i-2.el7                                                     axivo
    pcre.x86_64                                                                           8.35-1.el7                                                         axivo
    pcre-devel.x86_64                                                                     8.35-1.el7                                                         axivo
    pcre-static.x86_64                                                                    8.35-1.el7                                                         axivo
    pcre-tools.x86_64                                                                     8.35-1.el7                                                         axivo
     
    Last edited: Sep 21, 2014
  3. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    For all tests, FYI, this /tmp routine change has just been committed to latest .08 beta01 - should only be of concern to low memory servers <2GB as the change provides for a more optimal size /tmp disk free space than previous /tmp routine.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Next step for .08 beta is looking to replace the lost optional but useful packages which were available with the old CentALT YUM repository which was broken with 404 errors. Looks like Remi YUM repo might be a good candidate as it has latest libmemcached 1.0.18 (which Centmin Mod currently source compiles), redis 2.8.7 and even newer ImageMagick 6.8.9, and libevent 2.0.21 (which Centmin Mod currently source compiles). Remi also has libwebp which is a requirement for Facebook HHVM which CentOS doesn't provide.

    FYI, libmemcached 1.0.18 source compiles accounts for ~120-150 seconds of total Centmin Mod install times, so if can switch that to YUM rpm package, Centmin Mod .08 beta01 install times should be faster.

    Work to do :D

    Updated: committed latest changes to .08 beta01 for Remi YUM repo support, also fixed Percona YUM repo bugs as they changed the YUM repo download location and file name as well as the filename of the *.repo file itself. Percona fixes have been back ported to .07 stable too.

    Commits
    For those curious about the list of changes between Centmin Mod .07 stable vs .08 centos7 beta01

    Looks good so far ImageMagick 6.8.9 via Remi YUM repo instead of 6.5.4 defaults and libmemcached 1.0.18 via Remi YUM repo instead of source compile - shaved ~100 seconds off Centmin Mod install times :)

    Code:
     yum list installed ImageMagick* libmemcached-last -q
    Installed Packages
    ImageMagick-last.x86_64                                                             6.8.9.7-2.el6.remi                                                   @remi
    ImageMagick-last-c++.x86_64                                                         6.8.9.7-2.el6.remi                                                   @remi
    ImageMagick-last-c++-devel.x86_64                                                   6.8.9.7-2.el6.remi                                                   @remi
    ImageMagick-last-devel.x86_64                                                       6.8.9.7-2.el6.remi                                                   @remi
    ImageMagick-last-libs.x86_64                                                        6.8.9.7-2.el6.remi                                                   @remi
    libmemcached-last.x86_64                                                            1.0.18-2.el6.remi                                                    @remi
    remi_imagemagick_689_phpinfo.png

    remi_libmemcached_phpinfo.png

    For those curious what YUM packages are available in Remi YUM repo

    Code:
    yum --disablerepo=* --enablerepo=remi list available --disableplugin=priorities --disableexcludes=main
    Loaded plugins: downloadonly, fastestmirror
    Loading mirror speeds from cached hostfile
    * remi: remi.conetix.com.au
    Available Packages
    ImageMagick-last-djvu.x86_64                                                        6.8.9.7-2.el6.remi                                                    remi
    ImageMagick-last-doc.x86_64                                                         6.8.9.7-2.el6.remi                                                    remi
    ImageMagick-last-perl.x86_64                                                        6.8.9.7-2.el6.remi                                                    remi
    apc-panel.noarch                                                                    3.1.15-0.4.20130912.el6.remi.5.4                                      remi
    apcu-panel.noarch                                                                   4.0.6-1.el6.remi.5.4                                                  remi
    ckeditor.noarch                                                                     4.3.2-1.el6.remi                                                      remi
    ckeditor-samples.noarch                                                             4.3.2-1.el6.remi                                                      remi
    cmph.x86_64                                                                         2.0-1.el6.remi                                                        remi
    cmph-devel.x86_64                                                                   2.0-1.el6.remi                                                        remi
    compat-mysql51.x86_64                                                               5.1.54-1.el6.remi                                                     remi
    compat-mysql51-devel.x86_64                                                         5.1.54-1.el6.remi                                                     remi
    cups-pdf.x86_64                                                                     2.5.1-1.el6.remi                                                      remi
    diffmark.x86_64                                                                     0.10-1.el6.remi                                                       remi
    diffmark-devel.x86_64                                                               0.10-1.el6.remi                                                       remi
    fastlz.x86_64                                                                       0.1.0-0.1.20070619svnrev12.el6.remi                                   remi
    fastlz-devel.x86_64                                                                 0.1.0-0.1.20070619svnrev12.el6.remi                                   remi
    firefox.x86_64                                                                      26.0-2.el6.remi                                                       remi
    fusioninventory-agent.noarch                                                        2.1.14-2.el6.remi                                                     remi
    fusioninventory-agent-yum-plugin.noarch                                             2.1.14-2.el6.remi                                                     remi
    gd-last.x86_64                                                                      2.1.0-3.el6.remi                                                      remi
    gd-last-devel.x86_64                                                                2.1.0-3.el6.remi                                                      remi
    gd-last-progs.x86_64                                                                2.1.0-3.el6.remi                                                      remi
    glpi.noarch                                                                         0.84.7-1.el6.remi                                                     remi
    glpi-appliances.noarch                                                              1.9.1-1.el6.remi                                                      remi
    glpi-behaviors.noarch                                                               0.84.2-1.el6.remi                                                     remi
    glpi-data-injection.noarch                                                          2.3.1-1.el6.remi                                                      remi
    glpi-dumpentity.noarch                                                              1.3.1-1.el6.remi                                                      remi
    glpi-fusioninventory.noarch                                                         1:0.84.0.3.3-1.el6.remi                                               remi
    glpi-loadentity.noarch                                                              1.3.1-1.el6.remi                                                      remi
    glpi-mass-ocs-import.noarch                                                         1.6.1-3.el6.remi                                                      remi
    glpi-ocsinventoryng.noarch                                                          1.0.3-1.el6.remi                                                      remi
    glpi-pdf.noarch                                                                     0.84.2-1.el6.remi                                                     remi
    glpi-reports.noarch                                                                 1.7.2-1.el6.remi                                                      remi
    glpi-webservices.noarch                                                             1.4.2-1.el6.remi                                                      remi
    gmusicbrowser.noarch                                                                1.1.13-1.el6.remi                                                     remi
    icu-last.x86_64                                                                     50.1.2-10.el6.remi                                                    remi
    libcouchbase.x86_64                                                                 2.4.1-1.el6.remi                                                      remi
    libcouchbase-devel.x86_64                                                           2.4.1-1.el6.remi                                                      remi
    libcouchbase-tools.x86_64                                                           2.4.1-1.el6.remi                                                      remi
    libdvdcss.x86_64                                                                    1.2.13-1.el6.remi                                                     remi
    libdvdcss-devel.x86_64                                                              1.2.13-1.el6.remi                                                     remi
    libevent-last-devel.x86_64                                                          2.0.21-4.el6.remi                                                     remi
    libevent-last-doc.noarch                                                            2.0.21-4.el6.remi                                                     remi
    libharu.x86_64                                                                      2.2.1-1.el6.remi                                                      remi
    libharu-devel.x86_64                                                                2.2.1-1.el6.remi                                                      remi
    libicu-last.x86_64                                                                  50.1.2-10.el6.remi                                                    remi
    libicu-last-devel.x86_64                                                            50.1.2-10.el6.remi                                                    remi
    libicu-last-doc.noarch                                                              50.1.2-10.el6.remi                                                    remi
    libircclient.x86_64                                                                 1.7-1.el6.remi                                                        remi
    libircclient-devel.x86_64                                                           1.7-1.el6.remi                                                        remi
    librabbitmq.x86_64                                                                  0.5.2-1.el6.remi                                                      remi
    librabbitmq-devel.x86_64                                                            0.5.2-1.el6.remi                                                      remi
    librabbitmq-tools.x86_64                                                            0.5.2-1.el6.remi                                                      remi
    libvpx-utils.x86_64                                                                 1.3.0-0.el6.remi                                                      remi
    libwebp-java.x86_64                                                                 0.3.1-2.el6.remi                                                      remi
    libwebp-tools.x86_64                                                                0.3.1-2.el6.remi                                                      remi
    libxmp.x86_64                                                                       4.2.8-1.el6.remi                                                      remi
    libxmp-devel.x86_64                                                                 4.2.8-1.el6.remi                                                      remi
    memcached.x86_64                                                                    1.4.20-1.el6.remi                                                     remi
    memcached-devel.x86_64                                                              1.4.20-1.el6.remi                                                     remi
    mydumper.x86_64                                                                     0.2.3-1.el6.remi                                                      remi
    ocsinventory.noarch                                                                 2.1.2-3.el6.remi                                                      remi
    ocsinventory-agent.noarch                                                           2.0.5-1.el6.remi                                                      remi
    ocsinventory-agent.x86_64                                                           2.1.1-1.el6.remi                                                      remi
    ocsinventory-ipdiscover.x86_64                                                      2.0.5-1.el6.remi                                                      remi
    ocsinventory-reports.noarch                                                         2.1.2-3.el6.remi                                                      remi
    ocsinventory-server.noarch                                                          2.1.2-3.el6.remi                                                      remi
    pdflib-lite.x86_64                                                                  7.0.5-1.el6.remi                                                      remi
    pdflib-lite-devel.x86_64                                                            7.0.5-1.el6.remi                                                      remi
    pdflib-lite-perl.x86_64                                                             7.0.5-1.el6.remi                                                      remi
    pdflib-lite-python.x86_64                                                           7.0.5-1.el6.remi                                                      remi
    perl-Apache-DBI.noarch                                                              1.11-1.el6.remi                                                       remi
    perl-Authen-Simple.noarch                                                           0.4-5.el6                                                             remi
    perl-FusionInventory-Agent-Task-ESX.noarch                                          1.1.3-1.el6.remi                                                      remi
    perl-FusionInventory-Agent-Task-NetDiscovery.noarch                                 1.5-2.el6.remi                                                        remi
    perl-FusionInventory-Agent-Task-OcsDeploy.noarch                                    1.1.0-1.el6.remi                                                      remi
    perl-FusionInventory-Agent-Task-SNMPQuery.noarch                                    1.3-1.el6.remi                                                        remi
    perl-HTTP-Server-Simple-Authen.noarch                                               0.04-1.el6.remi                                                       remi
    perl-Net-CUPS.x86_64                                                                0.61-4.el6.remi                                                       remi
    perl-Net-NBName.noarch                                                              0.26-2.el6.remi                                                       remi
    perl-Net-Netmask.noarch                                                             1.9015-4.el6.remi                                                     remi
    perl-Net-SSLGlue.noarch                                                             1.01-1.el6.remi                                                       remi
    perl-Ocsinventory-Agent.noarch                                                      2.1.1-1.el6.remi                                                      remi
    perl-POE-Component-Client-DNS.noarch                                                1.051-1.el6.remi                                                      remi
    perl-POE-Component-Client-HTTP.noarch                                               0.895-1.el6.remi                                                      remi
    perl-POE-Component-Client-Keepalive.noarch                                          0.2620-1.el6.remi                                                     remi
    perl-POE-Component-Client-Ping.noarch                                               1.171-1.el6.remi                                                      remi
    perl-Parallel-ForkManager.noarch                                                    0.7.5-1.el6.remi                                                      remi
    perl-Proc-Daemon.noarch                                                             0.14-1.el6.remi                                                       remi
    perl-Test-POE-Server-TCP.noarch                                                     1.14-1.el6.remi                                                       remi
    prototype.noarch                                                                    1.7.1.0-1.el6.remi                                                    remi
    prototype-httpd.noarch                                                              1.7.1.0-1.el6.remi                                                    remi
    qelectrotech.x86_64                                                                 0.30-1.el6.remi                                                       remi
    qelectrotech-symbols.noarch                                                         0.30-1.el6.remi                                                       remi
    redis.x86_64                                                                        2.8.17-1.el6.remi                                                     remi
    roundcubemail.noarch                                                                1.0.2-1.el6.remi                                                      remi
    scriptaculous.noarch                                                                1.9.0-1.el6.remi                                                      remi
    scriptaculous-httpd.noarch                                                          1.9.0-1.el6.remi                                                      remi
    sqlite2.x86_64                                                                      2.8.17-5.el6.remi                                                     remi
    sqlite2-devel.x86_64                                                                2.8.17-5.el6.remi                                                     remi
    sqlite2-tcl.x86_64                                                                  2.8.17-5.el6.remi                                                     remi
    ssdeep.x86_64                                                                       2.11-1.el6.remi                                                       remi
    ssdeep-devel.x86_64                                                                 2.11-1.el6.remi                                                       remi
    ssdeep-libs.x86_64                                                                  2.11-1.el6.remi                                                       remi
    syntaxhighlighter.noarch                                                            3.0.83-1.el6.remi                                                     remi
    syntaxhighlighter-httpd.noarch                                                      3.0.83-1.el6.remi                                                     remi
    termbox.x86_64                                                                      1.1.0-0.1.20140912git7cdd648.el6.remi                                 remi
    termbox-devel.x86_64                                                                1.1.0-0.1.20140912git7cdd648.el6.remi                                 remi
    thunderbird.x86_64                                                                  24.2.0-1.el6.remi                                                     remi
    thunderbird-enigmail.x86_64                                                         1.6-2.el6.remi                                                        remi
    thunderbird-lightning.x86_64                                                        1.0-0.52.rc2.el6.remi                                                 remi
    unbound.x86_64                                                                      1.4.12-3.el6.remi                                                     remi
    unbound-devel.x86_64                                                                1.4.12-3.el6.remi                                                     remi
    unbound-libs.x86_64                                                                 1.4.12-3.el6.remi                                                     remi
    unbound-munin.x86_64                                                                1.4.12-3.el6.remi                                                     remi
    unbound-python.x86_64                                                               1.4.12-3.el6.remi                                                     remi
    xcache-admin.noarch                                                                 3.1.1-1.el6.remi.5.4                                                  remi
    xhprof.noarch                                                                       0.9.4-2.el6.remi.5.4                                                  remi
    xulrunner-last.x86_64                                                               26.0-2.el6.remi                                                       remi
    xulrunner-last-devel.x86_64                                                         26.0-2.el6.remi                                                       remi
    
     
    Last edited: Sep 24, 2014
  5. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    For existing Centmin Mod .08 beta users who wish to take advantage of Remi YUM repo support and upgrading system ImageMagicK from 6.5.4 to 6.8.9. You can do that via the below manual steps which will involve a ImagicK PHP extension recompile.

    1. Add Remi YUM repo to your server. Which to install depends on your OS.

    If you use CentOS 6.x
    Code:
    cd /svr-setup
    wget http://remi.conetix.com.au/enterprise/remi-release-6.rpm
    rpm -iv remi-release-6.rpm
    
    If you use CentOS 7.x
    Code:
    cd /svr-setup
    wget http://remi.conetix.com.au/enterprise/remi-release-7.rpm
    rpm -iv remi-release-7.rpm
    
    2. Manually setup YUM priories for Remi repo file at /etc/yum.repos.d/remi.repo

    You'll need to edit /etc/yum.repos.d/remi.repo and add the following 2 lines to the first [remi] instance

    Code:
    priority=9
    exclude=php* mysql*
    
    so it changes from
    Code:
    [remi]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    to
    Code:
    [remi]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    priority=9
    exclude=php* mysql*
    
    3. Remove older ImageMagicK version and install 6.8.9

    Code:
    yum -y install lcms2-devel libwebp libwebp-devel OpenEXR-devel ilmbase-devel libGLU-devel libGL-devel mesa-libGL mesa-libGL-devel libXxf86vm libXxf86vm-devel --enablerepo=remi
    
    yum -y remove ImageMagick
    
    yum -y install ImageMagick-last ImageMagick-last-devel ImageMagick-last-c++ ImageMagick-last-c++-devel --enablerepo=remi --disableplugin=priorities
    
    4. Now run centmin.sh and select menu option 15 to recompile / reinstall ImagicK PHP extension

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu        
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ] 15
    
    Then check under PHPINFO page you have imagick PHP extesnion list ImageMagicK 6.8.9

    or use command line in SSH session and type

    Code:
    php --ri imagick
    
    output would be for ImageMagick version = ImageMagick 6.8.9-7
    Code:
    php --ri imagick
    
    imagick
    
    imagick module => enabled
    imagick module version => 3.2.0RC1
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
    ImageMagick version => ImageMagick 6.8.9-7 Q16 x86_64 2014-09-19 http://www.imagemagick.org
    ImageMagick copyright => Copyright (C) 1999-2014 ImageMagick Studio LLC
    ImageMagick release date => 2014-09-19
    ImageMagick number of supported formats:  => 210
    ImageMagick supported formats => 3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, JNG, JNX, JPEG, JPG, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.progress_monitor => 0 => 0
     
    Last edited: Sep 24, 2014
  6. Andy

    Andy Active Member

    543
    89
    28
    Aug 6, 2014
    Ratings:
    +133
    Local Time:
    6:15 PM
    I got error following this on centos 7
    Code:
    php --ri imagick
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so' - libMagickWand.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
    Extension 'imagick' not present.
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @Andy, you caught me before i corrected the guide, it's menu option 15 not 5 for Imagick PHP extension recompile not PHP recompile heh
     
  8. Andy

    Andy Active Member

    543
    89
    28
    Aug 6, 2014
    Ratings:
    +133
    Local Time:
    6:15 PM
    You got me recompile PHP for no reason? Next time, better not something worse :)

    I got it to work, btw. Thanks
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hehe.. slip of the tongue (keys) :D
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Last edited: Sep 23, 2014
  11. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Messing around with an experimental 123.08geoip branch build which enables Nginx GeoIP module support by default + installs GeoIP PHP extension by default. You can see differences between this 123.08centos7beta01 vs 123.08geoip branch here. This is in response to discussions at Nginx - GeoIP Thread | Centmin Mod Community Just testing first and if all works will merge into the 123.08centos7beta01 branch :)

    Code:
    php --ri geoip      
    
    geoip
    
    geoip support => enabled
    geoip extension version => 1.1.1-dev
    geoip library version => 1005000
    
    Directive => Local Value => Master Value
    geoip.custom_directory => no value => no value
    Code:
    php --ini
    Configuration File (php.ini) Path: /usr/local/lib
    Loaded Configuration File:         /usr/local/lib/php.ini
    Scan for additional .ini files in: /etc/centminmod/php.d
    Additional .ini files parsed:      /etc/centminmod/php.d/apc.ini,
    /etc/centminmod/php.d/geoip.ini,
    /etc/centminmod/php.d/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini
     
    Last edited: Sep 24, 2014
  12. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    interesting issue, Remi YUM repo for CentOS 7 (added to latest Centmin Mod .08 beta) doesn't have all the YUM packages Centmin Mod .08 beta needs, libmemcached is missing
    Code:
    Available Packages
    ImageMagick-last-djvu.x86_64                                               6.8.9.7-1.el7.remi                                                                 remi
    ImageMagick-last-doc.x86_64                                                6.8.9.7-1.el7.remi                                                                 remi
    ImageMagick-last-perl.x86_64                                               6.8.9.7-1.el7.remi                                                                 remi
    apcu-panel.noarch                                                          4.0.6-1.el7.remi.5.4                                                               remi
    cmph.x86_64                                                                2.0-1.el7.remi                                                                     remi
    cmph-devel.x86_64                                                          2.0-1.el7.remi                                                                     remi
    fastlz.x86_64                                                              0.1.0-0.1.20070619svnrev12.el7.remi                                                remi
    fastlz-devel.x86_64                                                        0.1.0-0.1.20070619svnrev12.el7.remi                                                remi
    gd-last.x86_64                                                             2.1.0-3.el7.remi                                                                   remi
    gd-last-devel.x86_64                                                       2.1.0-3.el7.remi                                                                   remi
    gd-last-progs.x86_64                                                       2.1.0-3.el7.remi                                                                   remi
    glpi.noarch                                                                0.84.7-1.el7.remi                                                                  remi
    glpi-appliances.noarch                                                     1.9.1-1.el7.remi                                                                   remi
    glpi-behaviors.noarch                                                      0.84.2-1.el7.remi                                                                  remi
    glpi-data-injection.noarch                                                 2.3.1-1.el7.remi                                                                   remi
    glpi-fusioninventory.noarch                                                1:0.84.0.3.3-1.el7.remi                                                            remi
    glpi-ocsinventoryng.noarch                                                 1.0.3-1.el7.remi                                                                   remi
    glpi-pdf.noarch                                                            0.84.2-1.el7.remi                                                                  remi
    glpi-reports.noarch                                                        1.7.2-1.el7.remi                                                                   remi
    glpi-webservices.noarch                                                    1.4.2-1.el7.remi                                                                   remi
    gmusicbrowser.noarch                                                       1.1.13-1.el7.remi                                                                  remi
    libcouchbase.x86_64                                                        2.4.1-1.el7.remi                                                                   remi
    libcouchbase-devel.x86_64                                                  2.4.1-1.el7.remi                                                                   remi
    libcouchbase-tools.x86_64                                                  2.4.1-1.el7.remi                                                                   remi
    libdvdcss.x86_64                                                           1.3.0-1.el7.remi                                                                   remi
    libdvdcss-devel.x86_64                                                     1.3.0-1.el7.remi                                                                   remi
    libharu.x86_64                                                             2.2.1-2.el7.remi                                                                   remi
    libharu-devel.x86_64                                                       2.2.1-2.el7.remi                                                                   remi
    libircclient.x86_64                                                        1.7-1.el7.remi                                                                     remi
    libircclient-devel.x86_64                                                  1.7-1.el7.remi                                                                     remi
    librabbitmq.x86_64                                                         0.5.2-1.el7.remi                                                                   remi
    librabbitmq-devel.x86_64                                                   0.5.2-1.el7.remi                                                                   remi
    librabbitmq-tools.x86_64                                                   0.5.2-1.el7.remi                                                                   remi
    memcached.x86_64                                                           1.4.20-1.el7.remi                                                                  remi
    memcached-devel.x86_64                                                     1.4.20-1.el7.remi                                                                  remi
    ocsinventory.noarch                                                        2.1.2-3.el7.remi                                                                   remi
    ocsinventory-agent.x86_64                                                  2.1.1-1.el7.remi                                                                   remi
    ocsinventory-reports.noarch                                                2.1.2-3.el7.remi                                                                   remi
    ocsinventory-server.noarch                                                 2.1.2-3.el7.remi                                                                   remi
    pdflib-lite.x86_64                                                         7.0.5-4.el7.remi                                                                   remi
    pdflib-lite-devel.x86_64                                                   7.0.5-4.el7.remi                                                                   remi
    pdflib-lite-perl.x86_64                                                    7.0.5-4.el7.remi                                                                   remi
    pdflib-lite-python.x86_64                                                  7.0.5-4.el7.remi                                                                   remi
    perl-Ocsinventory-Agent.noarch                                             2.1.1-1.el7.remi                                                                   remi
    phar-gui.noarch                                                            1.0-0.2.20140417gitedbd631.el7.remi                                                remi
    redis.x86_64                                                               2.8.17-2.el7.remi                                                                  remi
    roundcubemail.noarch                                                       1.0.2-1.el7.remi                                                                   remi
    ssdeep.x86_64                                                              2.11-1.el7.remi                                                                    remi
    ssdeep-devel.x86_64                                                        2.11-1.el7.remi                                                                    remi
    ssdeep-libs.x86_64                                                         2.11-1.el7.remi                                                                    remi
    termbox.x86_64                                                             1.1.0-0.1.20140912git7cdd648.el7.remi                                              remi
    termbox-devel.x86_64                                                       1.1.0-0.1.20140912git7cdd648.el7.remi                                              remi
    waf.noarch                                                                 1.7.16-1.el7.remi                                                                  remi
    xcache-admin.noarch                                                        3.1.1-1.el7.remi.5.4                                                               remi
    xhprof.noarch                                                              0.9.4-4.el7.remi.5.4                                                               remi
    For CentOS 7.0 it has it's own libmemcached version in base repo instead
    Code:
    yum list available -q | grep libmemcached                                         
    libmemcached.x86_64                      1.0.16-3.el7                   base 
    libmemcached-devel.x86_64                1.0.16-3.el7                   base    
    Fixed in commit at update inc/memcached_install.inc for CentOS 7 support · 7064515 · centminmod/centminmod · GitHub

    Code:
    php --ri memcached
    
    memcached
    
    memcached support => enabled
    Version => 2.2.0
    libmemcached version => 1.0.16
    SASL support => yes
    Session support => yes
    igbinary support => yes
    json support => yes
    msgpack support => no
    
    Directive => Local Value => Master Value
    memcached.sess_locking => 1 => 1
    memcached.sess_consistent_hash => 0 => 0
    memcached.sess_binary => 0 => 0
    memcached.sess_lock_wait => 150000 => 150000
    memcached.sess_lock_max_wait => 0 => 0
    memcached.sess_lock_expire => 0 => 0
    memcached.sess_prefix => memc.sess.key. => memc.sess.key.
    memcached.sess_number_of_replicas => 0 => 0
    memcached.sess_randomize_replica_read => 0 => 0
    memcached.sess_remove_failed => 0 => 0
    memcached.sess_connect_timeout => 3000 => 3000
    memcached.sess_sasl_username => no value => no value
    memcached.sess_sasl_password => no value => no value
    memcached.compression_type => fastlz => fastlz
    memcached.compression_factor => 1.3 => 1.3
    memcached.compression_threshold => 2000 => 2000
    memcached.serializer => igbinary => igbinary
    memcached.use_sasl => 0 => 0
    memcached.store_retry_count => 2 => 2
     
    Last edited: Sep 24, 2014
  13. churchill

    churchill New Member

    23
    6
    3
    Sep 25, 2014
    Ratings:
    +6
    Local Time:
    1:15 AM
    if i now install centminmod op centos 7 it will not install php (yesterday it worked fine)
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  15. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @churchill thanks for the log - I have made additional notes at How to troubleshoot Centmin Mod initial install issues | Centmin Mod Community to highlight need to remove passwords from initial install log as well before sharing in public :)

    As to your PHP problem is related to
    Code:
    checking for U8T_DECOMPOSE...
    configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
    make: *** Geen doelen opgegeven en geen makefile gevonden.  Gestopt.
    
    real    0m0.002s
    user    0m0.001s
    sys    0m0.001s
    make: *** Er is geen regel om doel 'install' te maken.  Gestopt.
    
    real    0m0.002s
    user    0m0.002s
    sys    0m0.000s
    [1;33;40m----------------------------------------------------------------------------------
    (B[mPHP was not installed properly
    [1;33;40m----------------------------------------------------------------------------------
    I believed I fix that error months ago with missing YUM package for CentOS 7, via YUM package uw-imap-devel

    does that exist on your server ? it's provided by Epel YUM repo in CentOS 7 while CentOS 6 has it's equivalent in base core packages -
    libc-client-devel
    .
    Code:
    yum -q list uw-imap-devel
    Installed Packages
    uw-imap-devel.x86_64                                                             2007f-4.el7.1                                                             @epel
    but looks like according to your install log even Epel YUM download failed so I'll need to check if they updated the version download or changed urls or if it was temporarily downtime for Epel
    Code:
    *************************************************
    [1;32;40m* CentOS 7.x detected installing EPEL Repo
    (B[m*************************************************
    Error: epel-release-7-1.noarch.rpm not found !!! Download now......
    http://epel.mirror.constant.com/7/x86_64/e/epel-release-7-1.noarch.rpm:
    2014-09-25 03:17:17 Fout 404: Not Found.
    [1;32;40mError: epel-release-7-1.noarch.rpm download failed.
    EDIT: yup they updated version numbers, will need to see about adding a check for that !

    Code:
    http://epel.mirror.constant.com/7/x86_64/e/epel-release-7-2.noarch.rpm
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  17. churchill

    churchill New Member

    23
    6
    3
    Sep 25, 2014
    Ratings:
    +6
    Local Time:
    1:15 AM
    thank you very much!! i'm going to do a clean install
     
  18. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You're welcome. The feedback and bug reports are much appreciated - helps improve Centmin Mod.

    Looking into ways of changing at least the EPEL release rpm download from static fixed url to using the EPEL's own mirror system to dynamically download the right file everytime.

    i.e.
    Code:
    lynx -dump http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html | grep 'rpm' | awk -F " " '{print $2}'
    http://mirrors.kernel.org/fedora-epel/7/x86_64/e/epel-release-7-2.noarch.rpm
    
    Code:
    lynx -dump http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html | grep 'rpm' | awk -F " " '{print $2}'
    http://mirror.cs.pitt.edu/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
    
    Code:
    lynx -dump http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html | grep 'rpm' | awk -F " " '{print $2}'
    http://mirror.pnl.gov/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
    
    Something like
    Code:
    # dynamic mirror check for EPEL
    if [[ "$(uname -m)" = 'x86_64' ]]; then
    CENTOSSEVENEPEL_MIRRORFULLURL=$(lynx -dump -listonly http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html | grep 'rpm' | awk -F " " '{print $2}')
    CENTOSSEVENEPEL_MIRRORURL=$(echo ${CENTOSSEVENEPEL_MIRRORFULLURL%/*}/)
    CENTOSSEVENEPEL_MIRRORURLFILE=$(echo ${CENTOSSEVENEPEL_MIRRORFULLURL##*/})
    CENTOSSEVENEPELFILE="$CENTOSSEVENEPEL_MIRRORURLFILE"
    CENTOSSEVENEPEL="$CENTOSSEVENEPEL_MIRRORFULLURL"
    fi
    edit: added commit for this now Commits · centminmod/centminmod · GitHub so provided EPEL doesn't change the url at download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html, should be able to get the latest EPEL release rpm download

    just tested new .08 beta01 install and working fine for dynamic check and use of EPEL mirror system :)

    Code:
    *************************************************
    ^[[1;32;40m* CentOS 7.x detected installing EPEL Repo
    ^[(B^[[m*************************************************
    Error: epel-release-7-2.noarch.rpm not found !!! Download now......
    2014-09-25 14:24:48 URL:http://fedora.mirror.serversaustralia.com.au/epel/7/x86_64/e/epel-release-7-2.noarch.rpm [13104/13104] -> "epel-release-7-2.noarch.rp$
    ^[[1;33;40mDownload done.
    ^[(B^[[msetting yum priorities for epel.repo
    [epel]
    name=Extra Packages for Enterprise Linux 7 - $basearch
    #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
     
    Last edited: Sep 25, 2014
  19. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated addons/maldet.sh from .08 beta Maldet - Linux Malware Detect Addon (discussion).

    FYI, how maldet.sh is used explained here.

    Code:
    /usr/local/maldetect/maldet -r /home/nginx/domains/?/public 
    Linux Malware Detect v1.4.2
                (C) 2002-2013, R-fx Networks <proj@r-fx.org>
                (C) 2013, Ryan MacDonald <ryan@r-fx.org>
    inotifywait (C) 2007, Rohan McGovern <rohan@mcgovern.id.au>
    This program may be freely redistributed under the terms of the GNU GPL v2
    
    maldet(16277): {scan} signatures loaded: 11788 (9895 MD5 / 1893 HEX)
    maldet(16277): {scan} building file list for /home/nginx/domains/*/public of new/modified files from last 7 days, this might take awhile...
    maldet(16277): {scan} file list completed, found 112 files...
    maldet(16277): {scan} found ClamAV clamscan binary, using as scanner engine...
    maldet(16277): {scan} scan of /home/nginx/domains/*/public (112 files) in progress...
    
    maldet(16277): {scan} scan completed on /home/nginx/domains/*/public: files 112, malware hits 0, cleaned hits 0
    maldet(16277): {scan} scan report saved, to view run: maldet --report 092614-0045.16277
    Code:
    malware detect scan report for myhostname:
    SCAN ID: 092614-0045.16277
    TIME: Sep 26 00:45:48 +0000
    PATH: /home/nginx/domains/*/public
    RANGE: 7 days
    TOTAL FILES: 112
    TOTAL HITS: 0
    TOTAL CLEANED: 0
    
    ===============================================
    Linux Malware Detect v1.4.2 < proj@rfxn.com >
     
    Last edited: Sep 26, 2014
  20. eva2000

    eva2000 Administrator Staff Member

    54,394
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+