Discover Centmin Mod today
Register Now

RamNode CentOS 7.0 Netinstall Guide for RamNode CKVM VPS server

Discussion in 'Virtual Private Server (VPS) hosting' started by eva2000, Jul 11, 2014.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    How to install CentOS 7 via Netinstall on Ramnode CKVM VPS

    Ramnode offers CentOS 7 netinstall option for their SSD KVM or SSD-Cached KVM VPSes which differs from the full CentOS 7.0 DVD install I outlined previously in that you specify the source repo mirror where you grab the actual files.

    [​IMG]

    I decided to try this on one my of Ramnode 512MB memory based CKVM VPS based in Seattle. I picked a close CentOS 7 mirror for the source repository in Washington http://centos.eecs.wsu.edu/7/os/x86_64/.

    Below is a screenshot guide to CentOS 7 netinstall via the Solus VM VNC Console. I did a custom CentOS 7 XFS partition giving swap partition an extra 1GB.

    [​IMG]

    [​IMG]


    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Code:
    cat /etc/redhat-release 
    CentOS Linux release 7.0.1406 (Core) 
    
    Code:
    free -m
                 total       used       free     shared    buffers     cached
    Mem:           490        306        183          4          1        167
    -/+ buffers/cache:        137        352
    Swap:         2055          0       2055
    
    Code:
    df -hT
    Filesystem                       Type      Size  Used Avail Use% Mounted on
    /dev/mapper/centos_cluster1-root xfs        48G  1.2G   47G   3% /
    devtmpfs                         devtmpfs  239M     0  239M   0% /dev
    tmpfs                            tmpfs     246M     0  246M   0% /dev/shm
    tmpfs                            tmpfs     246M  4.4M  241M   2% /run
    tmpfs                            tmpfs     246M     0  246M   0% /sys/fs/cgroup
    /dev/vda1                        xfs       497M   96M  401M  20% /boot
    
    Code:
    cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 13
    model name      : QEMU Virtual CPU version (cpu64-rhel6)
    stepping        : 3
    microcode       : 0x1
    cpu MHz         : 2599.998
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 1
    core id         : 0
    cpu cores       : 1
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 4
    wp              : yes
    flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm
    bogomips        : 5199.99
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 13
    model name      : QEMU Virtual CPU version (cpu64-rhel6)
    stepping        : 3
    microcode       : 0x1
    cpu MHz         : 2599.998
    cache size      : 4096 KB
    physical id     : 1
    siblings        : 1
    core id         : 0
    cpu cores       : 1
    apicid          : 1
    initial apicid  : 1
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 4
    wp              : yes
    flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm
    bogomips        : 5199.99
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Been working on next Centmin Mod 1.2.3-eva2000.08 beta 01 for CentOS 7 support and after 4 previous test install attempts, doing the 5th test on this RamNode 512MB CKVM VPS server :D

    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 ] 1
    --------------------------------------------------------
    
    Only 2 cpu threads so install time is a bit slower.

    Code:
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                   766
    cache hit (preprocessed)             303
    cache miss                          3432
    called for link                      232
    called for preprocessing             244
    compile failed                        54
    preprocessor error                    46
    bad compiler arguments                54
    unsupported source language           57
    autoconf compile/link                615
    unsupported compiler option           14
    no input file                        135
    files in cache                      7837
    cache size                         272.9 Mbytes
    max cache size                       2.0 Gbytes
    
    Total YUM Time: 266.329858848 seconds
    Total Centmin Mod Install Time: 1604.032095683 seconds
    Centmin Mod LEMP Web stack installed
    • CentOS 7.0 64bit netinstall
    • Nginx 1.7.3 + ngx_pagespeed 1.8.31-4 beta and additional Nginx modules listed here (more modules to be added soon)
    • PHP 5.4.30 (PHP-FPM) + APC 3.1.13 + igbinary
    • MariaDB 5.5.38 via official MariaDB YUM repo
    • Additional source compiled PHP Extensions: imagick 3.1.2, memcache 3.0.8, memcached 2.2.0, libmemcached 1.0.18
    • Memcached 1.4.20 server with Libevent 2.0.21
    • CSF Firewall 7.0.4
    • Siege 3.0.6 benchmark
    Nginx 1.7.3 compiled modules

    Idle memory usage after Centmin Mod LEMP web stack installation is ~151MB - not bad for 64bit install with all the above software etc :D

    Code:
    free -m
                 total       used       free     shared    buffers     cached
    Mem:           490        191        298         22          0         39
    -/+ buffers/cache:        151        338
    Swap:         2055         57       1998
    smem reported memory usage

    Code:
    smem -kpt
      PID User     Command                         Swap      USS      PSS      RSS
      546 avahi    avahi-daemon: chroot helpe    224.0K     4.0K     4.0K     4.0K
      440 root     /usr/sbin/lvmetad -f            3.1M     4.0K     5.0K    64.0K
      572 root     /sbin/iprupdate --daemon       96.0K    12.0K    12.0K    16.0K
      570 root     /sbin/iprinit --daemon         96.0K    16.0K    16.0K    20.0K
      582 root     /sbin/iprdump --daemon         80.0K    16.0K    16.0K    20.0K
      560 root     login -- root                 572.0K    28.0K    28.0K    32.0K
    10183 root     -bash                         328.0K    60.0K    60.0K    64.0K
    1285 root     /usr/sbin/sshd -D             716.0K   124.0K   127.0K   220.0K
      539 root     /usr/sbin/irqbalance --fore   108.0K   144.0K   163.0K   384.0K
      537 avahi    avahi-daemon: running [clus   188.0K   136.0K   166.0K   336.0K
    14828 nsd      /usr/local/sbin/nsd -c /etc        0    80.0K   196.0K   680.0K
      505 root     /sbin/auditd -n               328.0K   196.0K   201.0K   336.0K
      485 root     /usr/sbin/anacron -s               0   224.0K   227.0K   332.0K
    14831 nsd      /usr/local/sbin/nsd -c /etc        0   148.0K   248.0K   540.0K
    14857 root     /bin/sh /usr/bin/mysqld_saf        0   324.0K   349.0K   624.0K
    14830 nsd      /usr/local/sbin/nsd -c /etc        0   296.0K   388.0K   708.0K
    1156 root     /sbin/dhclient -d -sf /usr/    11.7M   420.0K   421.0K   476.0K
      454 root     /usr/lib/systemd/systemd-ud   464.0K   408.0K   422.0K   688.0K
      552 root     /usr/sbin/crond -n            272.0K   424.0K   439.0K   704.0K
      541 root     /usr/lib/systemd/systemd-lo   180.0K   416.0K   465.0K   844.0K
    29278 nobody   /usr/local/bin/memcached -d        0   644.0K   656.0K   884.0K
      725 polkitd  /usr/lib/polkit-1/polkitd -     6.1M   500.0K   692.0K     1.0M
    21490 root     /usr/bin/python -Es /usr/sb     9.7M   612.0K   706.0K   980.0K
      542 dbus     /bin/dbus-daemon --system -   240.0K   724.0K   748.0K  1004.0K
      538 root     /usr/sbin/rsyslogd -n         668.0K   532.0K   972.0K     1.5M
    10237 root     sshd: root@pts/1              708.0K   904.0K   977.0K     1.4M
    30280 root     /usr/libexec/postfix/master        0     1.1M     1.1M     1.4M
    30281 postfix  pickup -l -t unix -u               0     1.0M     1.1M     1.6M
    30282 postfix  qmgr -l -t unix -u                 0     1.0M     1.2M     1.7M
    14844 root     nginx: master process /usr/        0   436.0K     1.2M     2.0M
      534 root     /usr/bin/python -Es /usr/sb    12.9M     1.5M     1.7M     2.2M
      653 root     /usr/sbin/NetworkManager --     3.1M     1.7M     1.9M     2.4M
      432 root     /usr/lib/systemd/systemd-jo   168.0K     1.6M     2.0M     2.7M
    16511 root     -bash                              0     2.1M     2.3M     2.9M
    14845 nginx    nginx: worker process              0     1.9M     2.7M     3.7M
    15994 root     /usr/sbin/haveged -w 1024 -        0     3.2M     3.3M     3.7M
    30982 root     php-fpm: master process (/u        0     4.5M     4.5M     4.8M
        1 root     /usr/lib/systemd/systemd --   628.0K     5.1M     5.2M     5.7M
    16755 root     python /usr/bin/smem -kpt          0     6.3M     6.6M     7.4M
    31455 root     lfd - sleepin                      0    13.2M    13.3M    13.6M
    15909 mysql    /usr/sbin/mysqld --basedir=        0    23.2M    23.4M    23.9M
    -------------------------------------------------------------------------------
       41 9                                       52.5M    75.2M    79.9M    93.5M 
    Post Centmin Mod .08 beta 01 install check list
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.9
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2011 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.7.3
    built by gcc 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
    TLS SNI support enabled
    configure arguments: --with-cc-opt='-I/svr-setup/staticlibssl/include -I/usr/include' --with-ld-opt='-L/svr-setup/staticlibssl/lib -Wl,-rpath -lssl -lcrypto -ldl -lz' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_flv_module --with-http_realip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --with-openssl=../openssl-1.0.1h --with-libatomic --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.8.31.4-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.30 (cli) (built: Jul 10 2014 17:02:40)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-common-5.5.38-1.el6.x86_64
    MariaDB-devel-5.5.38-1.el6.x86_64
    MariaDB-compat-5.5.38-1.el6.x86_64
    MariaDB-client-5.5.38-1.el6.x86_64
    MariaDB-shared-5.5.38-1.el6.x86_64
    MariaDB-server-5.5.38-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.04 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.0.6
    
    Copyright (C) 2014 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    
    --------------------------------------------------------
    Check ngx_pagespeed Control Script:
    http://centminmod.com/nginx_ngx_pagespeed.html
    --------------------------------------------------------
    Detected 7.0
    pscontrol handler
    pscontrol edit
    pscontrol on
    pscontrol off
    pscontrol statson
    pscontrol statsoff
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check NSD Bind Version:
    --------------------------------------------------------
    NSD version 3.2.17
    Written by NLnet Labs.
    
    Copyright (C) 2001-2011 NLnet Labs.  This is free software.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.keystealth.org
    * epel: mirrors.cat.pdx.edu
    * extras: mirrors.syringanetworks.net
    * rpmforge: repoforge.eecs.wsu.edu
    * updates: mirror.supremebytes.com
    81 packages excluded due to repository priority protections
    repo id             repo name                                        status
    base/7.0/x86_64     CentOS-7.0 - Base                                6,551+1,914
    epel/x86_64         Extra Packages for Enterprise Linux 7 - x86_64     4,197+507
    extras/7.0/x86_64   CentOS-7.0 - Extras                                       30
    mariadb             MariaDB                                                  7+2
    rpmforge            RHEL 7.0 - RPMforge.net - dag                         177+46
    updates/7.0/x86_64  CentOS-7.0 - Updates                                  250+76
    repolist: 11,212
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ServeBear benchmarks http://serverbear.com/benchmark/2014/07/10/8fyL25HHfKKZaJjb

    Code:
    System Specs
    RAM    490 MB
    HDD    49 GB
    CPU Model    QEMU Virtual CPU version (cpu64-rhel6)
    CPU Cores    2
    CPU Speed    2599 MHz
    CPU Cache    4096 KB
    
    UnixBench
    UnixBench (w/ all processors)    1576.1
    UnixBench (w/ one processor)    949.5
    
    Code:
    ========================================================================
       BYTE UNIX Benchmarks (Version 5.1.3)
    
       System: ******************
       OS: GNU/Linux -- 3.10.0-123.el7.x86_64 -- #1 SMP Mon Jun 30 12:09:22 UTC 2014
       Machine: x86_64 (x86_64)
       Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
       CPU 0: QEMU Virtual CPU version (cpu64-rhel6) (5200.0 bogomips)
              x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
       CPU 1: QEMU Virtual CPU version (cpu64-rhel6) (5200.0 bogomips)
              x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
       17:43:36 up  1:35,  2 users,  load average: 0.16, 0.06, 0.26; runlevel 3
    
    ------------------------------------------------------------------------
    Benchmark Run: Thu Jul 10 2014 17:43:36 - 18:11:46
    2 CPUs in system; running 1 parallel copy of tests
    
    Dhrystone 2 using register variables       27740444.1 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     3845.9 MWIPS (9.9 s, 7 samples)
    Execl Throughput                               1771.5 lps   (29.9 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks        375047.5 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks          241567.3 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks        664418.5 KBps  (30.0 s, 2 samples)
    Pipe Throughput                             1373185.7 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 239779.7 lps   (10.0 s, 7 samples)
    Process Creation                               5408.2 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   3766.2 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                    846.5 lpm   (60.1 s, 2 samples)
    System Call Overhead                        2085679.0 lps   (10.0 s, 7 samples)
    
    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   27740444.1   2377.1
    Double-Precision Whetstone                       55.0       3845.9    699.3
    Execl Throughput                                 43.0       1771.5    412.0
    File Copy 1024 bufsize 2000 maxblocks          3960.0     375047.5    947.1
    File Copy 256 bufsize 500 maxblocks            1655.0     241567.3   1459.6
    File Copy 4096 bufsize 8000 maxblocks          5800.0     664418.5   1145.5
    Pipe Throughput                               12440.0    1373185.7   1103.8
    Pipe-based Context Switching                   4000.0     239779.7    599.4
    Process Creation                                126.0       5408.2    429.2
    Shell Scripts (1 concurrent)                     42.4       3766.2    888.2
    Shell Scripts (8 concurrent)                      6.0        846.5   1410.9
    System Call Overhead                          15000.0    2085679.0   1390.5
                                                                       ========
    System Benchmarks Index Score                                         949.5
    
    ------------------------------------------------------------------------
    Benchmark Run: Thu Jul 10 2014 18:11:46 - 18:39:57
    2 CPUs in system; running 2 parallel copies of tests
    
    Dhrystone 2 using register variables       55227797.9 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     7671.7 MWIPS (9.8 s, 7 samples)
    Execl Throughput                               3840.5 lps   (29.9 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks        593610.4 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks          324179.7 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks        789928.9 KBps  (30.0 s, 2 samples)
    Pipe Throughput                             2617188.0 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 467828.3 lps   (10.0 s, 7 samples)
    Process Creation                              12385.5 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   5224.9 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                    992.0 lpm   (60.1 s, 2 samples)
    System Call Overhead                        3033131.1 lps   (10.0 s, 7 samples)
    
    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   55227797.9   4732.5
    Double-Precision Whetstone                       55.0       7671.7   1394.9
    Execl Throughput                                 43.0       3840.5    893.1
    File Copy 1024 bufsize 2000 maxblocks          3960.0     593610.4   1499.0
    File Copy 256 bufsize 500 maxblocks            1655.0     324179.7   1958.8
    File Copy 4096 bufsize 8000 maxblocks          5800.0     789928.9   1361.9
    Pipe Throughput                               12440.0    2617188.0   2103.8
    Pipe-based Context Switching                   4000.0     467828.3   1169.6
    Process Creation                                126.0      12385.5    983.0
    Shell Scripts (1 concurrent)                     42.4       5224.9   1232.3
    Shell Scripts (8 concurrent)                      6.0        992.0   1653.3
    System Call Overhead                          15000.0    3033131.1   2022.1
                                                                       ========
    System Benchmarks Index Score                                        1576.1
    Code:
    I/O Pings
    ioping -c 10
    request=1 time=0.2 ms
    request=2 time=0.8 ms
    request=3 time=0.6 ms
    request=4 time=0.3 ms
    request=5 time=1.5 ms
    request=6 time=0.7 ms
    request=7 time=0.7 ms
    request=8 time=0.4 ms
    request=9 time=0.3 ms
    request=10 time=0.4 ms
    
    10 requests completed in 9007.7 ms, 1676 iops, 6.5 mb/s
    Code:
    I/O Seek Test (No Cache)
    ioping -RD
    1752 iops, 6.8 mb/s
    min/avg/max/mdev = 0.1/0.6/16.7/0.9 ms
    
    I/O Reads - Sequential
    ioping -RL
    618 iops, 154.6 mb/s
    min/avg/max/mdev = 0.4/1.6/110.0/3.0 ms
    
    I/O Reads - Cached
    ioping -RC
    212568 iops, 830.3 mb/s
    min/avg/max/mdev = 0.0/0.0/2.0/0.0 ms
    Code:
    DD
    dd if=/dev/zero of=sb-io-test bs=1M count=1k conv=fdatasync
    1.29943 s, 826 MB/s
    
    dd if=/dev/zero of=sb-io-test bs=64k count=16k conv=fdatasync
    4.98498 s, 215 MB/s
    
    dd if=/dev/zero of=sb-io-test bs=1M count=1k oflag=dsync
    5.50086 s, 195 MB/s
    
    dd if=/dev/zero of=sb-io-test bs=64k count=16k oflag=dsync
    16.8426 s, 63.8 MB/s
    Code:
    FIO
    Read IOPS    33491.0
    Read Bandwidth    133.9 MB/second
    Write IOPS    22328.0
    Write Bandwidth    89.3 MB/second
    Code:
    Download Speed (100MB File)
    Location    Rate
    Cachefly     55.2 MB/s
    Linode, Atlanta, GA, USA     1.82 MB/s
    Linode, Dallas, TX, USA     2.01 MB/s
    Linode, Tokyo, JP     1.20 MB/s
    Linode, London, UK     1.11 MB/s
    OVH, Paris, France     1.21 MB/s
    SmartDC, Rotterdam, Netherlands     1.50 MB/s
    Hetzner, Nuernberg, Germany     3.02 MB/s
    iiNet, Perth, WA, Australia     1.96 MB/s
    MammothVPS, Sydney, Australia     363 KB/s
    Leaseweb, Haarlem, NL     8.77 MB/s
    Leaseweb, Manassas, VA, USA     16.8 MB/s
    Softlayer, Singapore     9.38 MB/s
    Softlayer, Seattle, WA, USA     27.9 MB/s
    Softlayer, San Jose, CA, USA     19.8 MB/s
    Softlayer, Washington, DC, USA     8.04 MB/s
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Trying Centmin Mod .08 beta centmin.sh menu option 5 to upgrade PHP from default 5.4.30 to 5.5.14 and selected yes to Zend Opcache install prompt :)

    Code:
    ./centmin.sh
    
    --------------------------------------------------------
    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 ] 5
    --------------------------------------------------------
    Custom configure CSF settings...set
    
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
    [y/n]: n
    PHP Upgrade - Would you like to continue? [y/n] y
    
    Install which version of PHP? (version i.e. 5.4.30): 5.5.14
    Do you want to update to latest php-fpm.conf ? It will overwrite your existing php-fpm.conf [y/n]: y
    Does this server have less than <=2048MB of memory installed ? [y/n]: y
    
    -----------------------------------------------------------------------------------------
    Detected PHP 5.5 branch.
    You can compile Zend OPcache (Zend Optimizer Plus+) support
    as an alternative to using APC Cache or Xcache cache.
    But Zend OPcache only provides PHP opcode cache and
    DOESN'T do data caching, so if you web apps such as Wordpress,
    Drupal or vBulletin require data caching to APC or Xcache,
    it won't work with Zend OPcache.
    
    -----------------------------------------------------------------------------------------
    Do you want to use Zend OPcache [y/n] ? y
    Completed fine :)

    Code:
    PHP 5.5.14 (cli) (built: Jul 11 2014 02:19:16)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
        with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
    Last set of lines near PHP 5.5.14 upgrade completion

    Code:
    Backing up existing php-fpm.conf at /usr/local/etc/php-fpm.conf-oldversion_110714-021631
    If you have made an custom changes to /usr/local/etc/php-fpm.conf, you will find
    they still exist in backup at /usr/local/etc/php-fpm.conf-oldversion_110714-021631
    -rw-r--r--. 1 root root 1.8K Jul 11 02:02 php-fpm.conf-oldversion_110714-015131
    -rw-r--r--. 1 root root 1.8K Jul 11 02:02 php-fpm.conf
    -rw-r--r--. 1 root root  22K Jul 11 02:19 php-fpm.conf.default
    -rw-r--r--. 1 root root 1.8K Jul 11 02:20 php-fpm.conf-oldversion_110714-021631
    
    Backing up existing php.conf at /usr/local/nginx/conf/php.conf-oldversion_110714-021631
    If you have made an custom changes to /usr/local/nginx/conf/php.conf, you will find
    they still exist in backup at /usr/local/nginx/conf/php.conf-oldversion_110714-021631
    -rw-r--r--. 1 root root 2.1K Jul 11 02:02 php.conf-oldversion_110714-015131
    -rw-r--r--. 1 root root 2.1K Jul 11 02:02 php.conf
    -rw-r--r--. 1 root root 2.1K Jul 11 02:20 php.conf-oldversion_110714-021631
    
    y
    
    Copying php-fpm-min.conf /usr/local/etc/php-fpm.conf
    
    will need to reinstall memcached extensions if needed
    systemctl restart php-fpm.service
    Job for php-fpm.service failed. See 'systemctl status php-fpm.service' and 'journalctl -xn' for details.
    *************************************************
    
    Fri Jul 11 02:20:12 UTC 2014
    Success: PHP was installed properly
    
    *************************************************
    
    -------------------------------------------------------
    Password protected hostname.domainname.com/46849_opcache.php
    -------------------------------------------------------
    Username: opadmin
    Password: g669CokhuQ+qpVloMo6pUQ==
    -------------------------------------------------------
    
    ***************************************************
    * PHP upgraded and auto reinstalled PHP extensions
    ***************************************************
    
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                  2354
    cache hit (preprocessed)             379
    cache miss                          5200
    called for link                      264
    called for preprocessing             355
    compile failed                        70
    preprocessor error                    82
    bad compiler arguments                69
    unsupported source language           57
    autoconf compile/link               1282
    unsupported compiler option           15
    no input file                        167
    files in cache                     11369
    cache size                         457.9 Mbytes
    max cache size                       2.0 Gbytes
    Centmin Mod .08 beta 01 still has bugs to fix for PHP 5.5 upgrade - seems Imagick, Memcache/Memcached/igbinary PHP extensions didn't auto reinstall, so would need to run centmin.sh menu options 10 and 15 to reinstall Memcache/Memcached/igbinary and Imagick PHP extensions.

    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
    --------------------------------------------------------
    Check for php extensions
    *************************************************
    * Installing imagick PHP Extension
    *************************************************
    Seems some issues with menu option 10 for Memcached reinstall that need to check out too. Okay problem wasn't with menu option 10, but with the way I setup .08 centos 7 beta 01 to map service servicename restart to systemctl restart servicename. It doesn't register with PHP-FPM to reload and make the PHP extensions available.

    Issuing proper service php-fpm restart, registers all the PHP extensions properly.

    centminmod_php5514_phpinfo01.png

    Full list of installed and compiled PHP modules

    Code:
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
     
    Last edited: Jul 11, 2014
  6. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Still playing with this CentOS 7.0 CKVM VPS with Centmin Mod .08 beta01 installed. Memory usage looks good for 64bit OS and the following Centmin Mod web stack
    install smem http://www.selenic.com/smem/ for these stats

    Code:
    free -m
                 total       used       free     shared    buffers     cached
    Mem:           489        106        383          8          0         22
    -/+ buffers/cache:         83        405
    Swap:         2055        167       1888
    Code:
    smem -kpt
      PID User     Command                         Swap      USS      PSS      RSS
      440 root     /usr/sbin/lvmetad -f          284.0K     4.0K     4.0K     8.0K
      455 root     /usr/lib/systemd/systemd-ud   532.0K     4.0K     4.0K     8.0K
      560 root     /sbin/agetty --noclear tty1   124.0K     4.0K     4.0K     8.0K
    1110 root     /sbin/dhclient -H cluster1     12.1M     4.0K     4.0K     8.0K
    1307 nsd      /usr/local/sbin/nsd -c /etc   576.0K     4.0K     4.0K     8.0K
    8145 root     /bin/sh /usr/bin/mysqld_saf   328.0K     4.0K     4.0K     8.0K
    10477 root     nginx: master process /usr/     1.9M     4.0K     6.0K    12.0K
    1302 nsd      /usr/local/sbin/nsd -c /etc   344.0K    24.0K    36.0K    60.0K
    9348 mysql    /usr/sbin/mysqld --basedir=    34.9M    96.0K    98.0K   128.0K
    1216 root     /usr/sbin/sshd -D             728.0K   108.0K   109.0K   136.0K
    23748 root     php-fpm: master process (/u     5.9M   112.0K   113.0K   140.0K
    1751 root     /usr/libexec/postfix/master   952.0K   128.0K   132.0K   200.0K
    1308 nsd      /usr/local/sbin/nsd -c /etc   484.0K   124.0K   138.0K   180.0K
    10165 nobody   /usr/local/bin/memcached -d   500.0K   140.0K   141.0K   176.0K
      552 root     /usr/sbin/crond -n            520.0K   124.0K   150.0K   352.0K
      534 root     /usr/sbin/irqbalance --fore   116.0K   140.0K   169.0K   376.0K
      501 root     /sbin/auditd -n               336.0K   188.0K   198.0K   328.0K
    1777 postfix  qmgr -l -t unix -u            924.0K   196.0K   201.0K   272.0K
      561 ntp      /usr/sbin/ntpd -u ntp:ntp -   480.0K   304.0K   333.0K   540.0K
      547 root     /usr/lib/systemd/systemd-lo   184.0K   320.0K   404.0K   752.0K
      550 dbus     /bin/dbus-daemon --system -   192.0K   544.0K   552.0K   676.0K
      541 root     /usr/sbin/haveged -w 1024 -     2.4M   668.0K   668.0K   680.0K
      535 root     /usr/bin/python -Es /usr/sb     9.7M   580.0K   670.0K   868.0K
    1114 polkitd  /usr/lib/polkit-1/polkitd -     7.2M   792.0K   827.0K   980.0K
    10479 nginx    nginx: worker process           6.8M   728.0K   931.0K     1.2M
      528 root     /usr/bin/python -Es /usr/sb    13.6M   944.0K     1.1M     1.6M
      432 root     /usr/lib/systemd/systemd-jo   164.0K   556.0K     1.2M     2.1M
    32306 root     sshd: root@pts/1               52.0K     1.4M     1.4M     1.5M
      533 root     /usr/sbin/rsyslogd -n         352.0K   796.0K     1.4M     2.2M
    1752 root     -bash                              0     1.9M     1.9M     2.1M
        1 root     /usr/lib/systemd/systemd --   220.0K     2.2M     2.4M     2.8M
    10481 nginx    nginx: worker process           6.9M     2.8M     3.0M     3.5M
    27375 postfix  pickup -l -t unix -u               0     3.0M     3.3M     3.8M
    17306 root     lfd - sleepin                   9.2M     4.1M     4.2M     4.4M
    28800 root     python /usr/bin/smem -kpt          0     6.6M     7.0M     7.8M
    -------------------------------------------------------------------------------
       35 9                                      118.9M    29.6M    32.7M    39.5M 
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI, was just doing some yum updates for a CentOS 7.0 512MB VPS and ran out of memory with 0 swap assigned. So added a 2GB Swap file to the VPS and tried yum updates again and saw swap used was up to 480MB. So it does seem true that for CentOS 7.0 you need a minimum of 1GB of memory to get by given that the yum update easily consumed 512MB + 480MB = 992MB of memory.

    So be aware if you want to use CentOS 7.0 either a minimum of 1GB of memory is required or at least 512MB of memory + ample swap disk allocation is required !

    these were the YUM updated packages involved.

    Code:
     tail -80 /var/log/yum.log | grep 'Oct 02'
    Oct 02 04:34:52 Updated: nss-util-3.16.2-2.el7_0.x86_64
    Oct 02 04:34:52 Updated: systemd-libs-208-11.el7_0.2.x86_64
    Oct 02 04:34:52 Updated: mesa-libglapi-9.2.5-6.20131218.el7_0.x86_64
    Oct 02 04:34:52 Updated: centos-release-7-0.1406.el7.centos.2.5.x86_64
    Oct 02 04:34:54 Updated: systemd-208-11.el7_0.2.x86_64
    Oct 02 04:34:54 Updated: libgudev1-208-11.el7_0.2.x86_64
    Oct 02 04:34:55 Updated: initscripts-9.49.17-1.el7_0.1.x86_64
    Oct 02 04:34:55 Updated: 12:dhcp-libs-4.2.5-27.el7.centos.1.x86_64
    Oct 02 04:34:55 Updated: policycoreutils-2.2.5-11.el7_0.1.x86_64
    Oct 02 04:34:55 Updated: nss-softokn-freebl-3.16.2-2.el7_0.x86_64
    Oct 02 04:34:56 Updated: nss-softokn-3.16.2-2.el7_0.x86_64
    Oct 02 04:34:56 Updated: nss-3.16.2-7.el7_0.x86_64
    Oct 02 04:34:56 Updated: nss-sysinit-3.16.2-7.el7_0.x86_64
    Oct 02 04:34:56 Updated: 1:NetworkManager-glib-0.9.9.1-26.git20140326.4dba720.el7_0.x86_64
    Oct 02 04:47:42 Updated: MariaDB-common-10.0.14-1.el6.x86_64
    Oct 02 04:47:42 Updated: MariaDB-compat-10.0.14-1.el6.x86_64
    Oct 02 04:47:45 Updated: MariaDB-client-10.0.14-1.el6.x86_64
    Oct 02 04:47:45 Updated: 12:dhcp-common-4.2.5-27.el7.centos.1.x86_64
    Oct 02 04:47:45 Updated: 12:dhclient-4.2.5-27.el7.centos.1.x86_64
    Oct 02 04:47:45 Updated: kernel-tools-libs-3.10.0-123.8.1.el7.x86_64
    Oct 02 04:47:45 Updated: systemd-sysv-208-11.el7_0.2.x86_64
    Oct 02 04:47:45 Updated: 1:NetworkManager-0.9.9.1-26.git20140326.4dba720.el7_0.x86_64
    Oct 02 04:47:46 Updated: mesa-libgbm-9.2.5-6.20131218.el7_0.x86_64
    Oct 02 04:47:49 Updated: linux-firmware-20140804-0.1.git6bce2b0.el7_0.noarch
    Oct 02 04:47:56 Installed: kernel-3.10.0-123.8.1.el7.x86_64
    Oct 02 04:47:56 Updated: mesa-libEGL-9.2.5-6.20131218.el7_0.x86_64
    Oct 02 04:47:56 Updated: 1:NetworkManager-tui-0.9.9.1-26.git20140326.4dba720.el7_0.x86_64
    Oct 02 04:47:56 Updated: kernel-tools-3.10.0-123.8.1.el7.x86_64
    Oct 02 04:48:07 Updated: MariaDB-server-10.0.14-1.el6.x86_64
    Oct 02 04:48:09 Updated: MariaDB-devel-10.0.14-1.el6.x86_64
    Oct 02 04:48:09 Updated: MariaDB-shared-10.0.14-1.el6.x86_64
    Oct 02 04:48:10 Updated: kernel-headers-3.10.0-123.8.1.el7.x86_64
    Oct 02 04:48:10 Updated: iwl6000g2b-firmware-17.168.5.2-35.el7_0.noarch
    Oct 02 04:48:10 Updated: 1:iwl1000-firmware-39.31.5.1-35.el7_0.noarch
    Oct 02 04:48:10 Updated: iwl100-firmware-39.31.5.1-35.el7_0.noarch
    Oct 02 04:48:10 Updated: iwl5150-firmware-8.24.2.2-35.el7_0.noarch
    Oct 02 04:48:10 Updated: iwl2000-firmware-18.168.6.1-35.el7_0.noarch
    Oct 02 04:48:10 Updated: iwl3945-firmware-15.32.2.9-35.el7_0.noarch
    Oct 02 04:48:10 Updated: epel-release-7-2.noarch
    Oct 02 04:48:10 Updated: iwl135-firmware-18.168.6.1-35.el7_0.noarch
    Oct 02 04:48:10 Updated: libertas-sd8686-firmware-20140804-0.1.git6bce2b0.el7_0.noarch
    Oct 02 04:48:10 Updated: iwl7260-firmware-22.0.7.0-35.el7_0.noarch
    Oct 02 04:48:10 Updated: iwl4965-firmware-228.61.2.24-35.el7_0.noarch
    Oct 02 04:48:28 Installed: kernel-devel-3.10.0-123.8.1.el7.x86_64
    Oct 02 04:48:28 Updated: mesa-libGL-9.2.5-6.20131218.el7_0.x86_64
    Oct 02 04:48:29 Updated: iwl6050-firmware-41.28.5.1-35.el7_0.noarch
    Oct 02 04:48:29 Updated: iwl2030-firmware-18.168.6.1-35.el7_0.noarch
    Oct 02 04:48:29 Updated: nss-tools-3.16.2-7.el7_0.x86_64
    Oct 02 04:48:29 Updated: iwl6000g2a-firmware-17.168.5.3-35.el7_0.noarch
    Oct 02 04:48:29 Updated: libertas-sd8787-firmware-20140804-0.1.git6bce2b0.el7_0.noarch
    Oct 02 04:48:29 Updated: 2:libertas-usb8388-firmware-20140804-0.1.git6bce2b0.el7_0.noarch
    Oct 02 04:48:30 Updated: tzdata-2014g-1.el7.noarch
    Oct 02 04:49:37 Updated: selinux-policy-targeted-3.12.1-153.el7_0.11.noarch
    Oct 02 04:49:38 Updated: iwl105-firmware-18.168.6.1-35.el7_0.noarch
    Oct 02 04:49:39 Updated: ca-certificates-2014.1.98-70.0.el7_0.noarch
    Oct 02 04:49:39 Updated: iwl5000-firmware-8.83.5.1_1-35.el7_0.noarch
    Oct 02 04:49:39 Updated: iwl6000-firmware-9.221.4.1-35.el7_0.noarch
    Oct 02 04:49:40 Updated: iwl3160-firmware-22.0.7.0-35.el7_0.noarch
    Oct 02 04:49:40 Updated: kexec-tools-2.0.4-32.el7.centos.4.x86_64
     
Thread Status:
Not open for further replies.