Welcome to Centmin Mod Community
Become a Member

Vultr How to install Centmin Mod on Vultr.com Guide

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

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

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:42 AM
    Nginx 1.13.x
    MariaDB 5.5
    Being new to Vultr.com myself, thought I'd write up a step by step Centmin Mod .07 stable install guide on Vultr.com. A dedicated discussion thread for this guide is located at https://community.centminmod.com/th...entmin-mod-on-vultr-com-guide-discussion.694/.

    Important Notice: Centmin Mod currently might not work properly if you haven't setup a swap file prior to Centmin Mod install on Vultr VPSes OR it could be related to their Los Angeles region having networking issues see https://community.centminmod.com/th...centmin-mod-on-vultr-com-guide.643/#post-2926. You're mileage my vary.

    Will update the guide as I go so check back frequently or subscribe / watch this thread :)

    Administration Side

    For security within Vultr login control panel, I enable 2 factor authentication but for it to work you need to install Authy.com on your phone otherwise you do not get the verification codes.
    Virtual ISO / My ISO

    Very neat feature that I like better than DigitalOcean, is ability to upload your own Linux distro ISO files from a remote URL. It makes using Oracle Linux 6.5 64bit much easier (which is supported by Centmin Mod since .06 release :) )

    myiso_oraclelinux_00.png myiso_oraclelinux_01.png

    Thus allowing you to deploy a new server via custom ISO image

    deploy_03.png

    Deployment

    Deploy by choosing Server Type, Location, OS 32bit or 64bit and OS flavour or custom ISO image, and finally the KVM plan size.

    deploy_00.png

    Startup Scripts

    You can even use startup scripts which run on first KVM VPS startup. Perfect for Centmin Mod .07's new CLI command line installer mode !

    So something like this should work, going to try it soon.

    Code:
    #!/bin/bash
    curl -sL http://centminmod.com/installer.sh | bash
    mystartup_scripts_00.png

    mystartup_scripts_01.png

    For Centmin Mod install

    mystartup_scripts_02.png mystartup_scripts_03.png
     

    Attached Files:

    Last edited: Jul 5, 2014
  2. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:42 AM
    Nginx 1.13.x
    MariaDB 5.5
    Deploying first Vultr 768MB KVM VPS in Los Angeles region using CentOS 6.5 64bit.

    Logging into KVM VPS

    Code:
    [root@vultr ~]# cat /etc/redhat-release
    CentOS release 6.5 (Final)
    Code:
    [root@vultr ~]# free -ml
                 total       used       free     shared    buffers     cached
    Mem:           742         80        662          0          4         29
    Low:           742         80        662
    High:            0          0          0
    -/+ buffers/cache:         46        696
    Swap:            0          0          0
    Code:
    [root@vultr ~]# df -hT
    Filesystem     Type   Size  Used Avail Use% Mounted on
    /dev/vda1      ext4    15G  1.8G   13G  13% /
    tmpfs          tmpfs  372M     0  372M   0% /dev/shm
    Code:
    [root@vultr ~]# cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 60
    model name      : Vultr Virtual CPU 2
    stepping        : 1
    cpu MHz         : 3392.158
    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     : 13
    wp              : yes
    flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc up rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm xsaveopt fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm
    bogomips        : 6784.31
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management:
    One reason I chose Vultr and Los Angeles region is it's close proximity to this forum's Linode Xen VPS with very low ping times of 9.432ms average :)
    Code:
    ping -c4 community.centminmod.com
    PING community.centminmod.com (173.230.147.144) 56(84) bytes of data.
    64 bytes from li157-144.members.linode.com (173.230.147.144): icmp_seq=1 ttl=57 time=9.35 ms
    64 bytes from li157-144.members.linode.com (173.230.147.144): icmp_seq=2 ttl=57 time=9.56 ms
    64 bytes from li157-144.members.linode.com (173.230.147.144): icmp_seq=3 ttl=57 time=9.39 ms
    64 bytes from li157-144.members.linode.com (173.230.147.144): icmp_seq=4 ttl=57 time=9.41 ms
    
    --- community.centminmod.com ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3014ms
    rtt min/avg/max/mdev = 9.357/9.432/9.560/0.123 ms
    Download speed

    Code:
    wget -O /dev/null http://cachefly.cachefly.net/100mb.test
    --2014-06-30 22:16:32--  http://cachefly.cachefly.net/100mb.test
    Resolving cachefly.cachefly.net... 205.234.175.175
    Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 104857600 (100M) [application/octet-stream]
    Saving to: “/dev/null”
    
    100%[===================================================================================================================>] 104,857,600 70.7M/s   in 1.4s   
    
    2014-06-30 22:16:33 (70.7 MB/s) - “/dev/null” saved [104857600/104857600]
    Speedtest.net results

    from LA

    [​IMG]

    deploy_ordered_00.png deploy_ordered_01.png
    deploy_ordered_02.png
     
    Last edited: Jul 1, 2014
  3. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:42 AM
    Nginx 1.13.x
    MariaDB 5.5
    Pre-Install Steps

    Before installing Centmin Mod on Vultr VPS, it's best to setup a swap disk as there isn't any swap configured for the VPSes. I setup a 2GB swap file.
    Code:
    dd if=/dev/zero of=/swapfile bs=1024 count=2048k
    ls -lah /swapfile
    mkswap /swapfile
    swapon /swapfile
    chown root:root /swapfile
    chmod 0600 /swapfile
    swapon -s
    echo "/swapfile          swap            swap    defaults        0 0" >> /etc/fstab
    mount -a
    after with swap set to 2GB
    Code:
    free -ml
                 total       used       free     shared    buffers     cached
    Mem:           742        649         92          0          1        343
    Low:           742        649         92
    High:            0          0          0
    -/+ buffers/cache:        304        437
    Swap:         2047          0       2047

    Centmin Mod .07 install


    Installed via CLI installer.sh method with install time logged at just under 19 minutes at 1109 seconds of which 341+ seconds was YUM related:
    Code:
    curl -sL http://centminmod.com/installer.sh | bash
    Code:
    Total YUM Time: 341.186647532 seconds
    Total Centmin Mod Install Time: 1109.135566366 seconds
    Post Install Check List that is outputted at end of install

    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.6
    
    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.2
    built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (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: Jun 30 2014 10:39:01)
    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-shared-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-server-5.5.38-1.el6.x86_64
    MariaDB-devel-5.5.38-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.03 (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
    --------------------------------------------------------
    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: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: linux.mirrors.es.net
    * epel: epel.mirror.freedomvoice.com
    * extras: mirror.hmc.edu
    * rpmforge: mirror.hmc.edu
    * updates: mirror.atlanticmetro.net
    1560 packages excluded due to repository priority protections
    repo id        repo name                                             status
    base           CentOS-6 - Base                                       4,859+1,508
    epel           Extra Packages for Enterprise Linux 6 - x86_64        8,383+2,579
    extras         CentOS-6 - Extras                                              14
    mariadb        MariaDB                                                       8+1
    rpmforge       RHEL 6 - RPMforge.net - dag                           3,205+1,510
    updates        CentOS-6 - Updates                                        802+301
    repolist: 17,271
    Default PHP Info out of the box

    Code:
    [root@vultr ~]# 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/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini
    
    Code:
    [root@vultr ~]# php --ri apc
    
    apc
    
    APC Support => enabled
    Version => 3.1.13
    APC Debugging => Disabled
    MMAP Support => Enabled
    MMAP File Mask =>
    Locking type => pthread mutex Locks
    Serialization Support => php, igbinary
    Revision => $Revision: 327136 $
    Build Date => Jun 30 2014 10:39:34
    
    Directive => Local Value => Master Value
    apc.enabled => On => On
    apc.shm_segments => 1 => 1
    apc.shm_size => 32M => 32M
    apc.shm_strings_buffer => 4M => 4M
    apc.include_once_override => Off => Off
    apc.num_files_hint => 4096 => 4096
    apc.user_entries_hint => 4096 => 4096
    apc.gc_ttl => 3600 => 3600
    apc.ttl => 7200 => 7200
    apc.user_ttl => 7200 => 7200
    apc.mmap_file_mask => no value => no value
    apc.filters => no value => no value
    apc.cache_by_default => On => On
    apc.file_update_protection => 2 => 2
    apc.enable_cli => On => On
    apc.max_file_size => 1M => 1M
    apc.stat => On => On
    apc.canonicalize => On => On
    apc.stat_ctime => Off => Off
    apc.write_lock => On => On
    apc.slam_defense => Off => Off
    apc.report_autofilter => Off => Off
    apc.rfc1867 => Off => Off
    apc.rfc1867_prefix => upload_ => upload_
    apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
    apc.rfc1867_freq => 0 => 0
    apc.rfc1867_ttl => 3600 => 3600
    apc.coredump_unmap => Off => Off
    apc.preload_path => no value => no value
    apc.file_md5 => Off => Off
    apc.use_request_time => On => On
    apc.lazy_functions => Off => Off
    apc.lazy_classes => Off => Off
    apc.serializer => igbinary => igbinary
    
    Code:
    [root@vultr ~]# php --ri igbinary
    
    igbinary
    
    igbinary support => enabled
    igbinary version => 1.1.2-dev
    igbinary APC serializer ABI => 0
    igbinary session support => yes
    
    Directive => Local Value => Master Value
    igbinary.compact_strings => On => On
    
    Code:
    [root@vultr ~]# php --ri imagick
    
    imagick
    
    imagick module => enabled
    imagick module version => 3.1.2
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
    ImageMagick version => ImageMagick 6.5.4-7 2014-02-10 Q16 OpenMP http://www.imagemagick.org
    ImageMagick copyright => Copyright (C) 1999-2009 ImageMagick Studio LLC
    ImageMagick release date => 2014-02-10
    ImageMagick number of supported formats:  => 199
    ImageMagick supported formats => A, AI, ART, ARW, AVI, AVS, B, BGR, BMP, BMP2, BMP3, BRF, BRG, C, CALS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPS, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G, G3, GBR, GIF, GIF87, GRADIENT, GRAY, GRB, HALD, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAP, MAT, MATTE, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RBG, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.progress_monitor => 0 => 0
    
    Code:
    [root@vultr ~]# php --ri memcache
    
    memcache
    
    memcache support => enabled
    Version => 3.0.8
    Revision => $Revision: 329835 $
    
    Directive => Local Value => Master Value
    memcache.allow_failover => 1 => 1
    memcache.max_failover_attempts => 20 => 20
    memcache.default_port => 11211 => 11211
    memcache.chunk_size => 32768 => 32768
    memcache.protocol => ascii => ascii
    memcache.hash_strategy => consistent => consistent
    memcache.hash_function => crc32 => crc32
    memcache.redundancy => 1 => 1
    memcache.session_redundancy => 2 => 2
    memcache.compress_threshold => 20000 => 20000
    memcache.lock_timeout => 15 => 15
    
    Code:
    [root@vultr ~]# php --ri memcached
    
    memcached
    
    memcached support => enabled
    Version => 2.2.0
    libmemcached version => 1.0.18
    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
    
    Code:
    [root@vultr ~]# php --ri mysql
    
    mysql
    
    MySQL Support => enabled
    Active Persistent Links => 0
    Active Links => 0
    Client API version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
    
    Directive => Local Value => Master Value
    mysql.allow_persistent => On => On
    mysql.max_persistent => Unlimited => Unlimited
    mysql.max_links => Unlimited => Unlimited
    mysql.default_host => no value => no value
    mysql.default_user => no value => no value
    mysql.default_password => no value => no value
    mysql.default_port => no value => no value
    mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
    mysql.connect_timeout => 60 => 60
    mysql.trace_mode => Off => Off
    mysql.allow_local_infile => On => On
    
    Code:
    [root@vultr ~]# php --ri mysqli
    
    mysqli
    
    MysqlI Support => enabled
    Client API library version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
    Active Persistent Links => 0
    Inactive Persistent Links => 0
    Active Links => 0
    
    Directive => Local Value => Master Value
    mysqli.max_links => Unlimited => Unlimited
    mysqli.max_persistent => Unlimited => Unlimited
    mysqli.allow_persistent => On => On
    mysqli.default_host => no value => no value
    mysqli.default_user => no value => no value
    mysqli.default_pw => no value => no value
    mysqli.default_port => 3306 => 3306
    mysqli.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
    mysqli.reconnect => Off => Off
    mysqli.allow_local_infile => On => On
    
    Code:
    [root@vultr ~]# php --ri mysqlnd
    
    mysqlnd
    
    mysqlnd => enabled
    Version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
    Compression => supported
    SSL => supported
    Command buffer size => 16384
    Read buffer size => 32768
    Read timeout => 31536000
    Collecting statistics => Yes
    Collecting memory statistics => No
    Tracing => n/a
    Loaded plugins => mysqlnd,example,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
    API Extensions => mysqli,mysql,pdo_mysql
    
    mysqlnd statistics =>
    bytes_sent => 0
    bytes_received => 0
    packets_sent => 0
    packets_received => 0
    protocol_overhead_in => 0
    protocol_overhead_out => 0
    bytes_received_ok_packet => 0
    bytes_received_eof_packet => 0
    bytes_received_rset_header_packet => 0
    bytes_received_rset_field_meta_packet => 0
    bytes_received_rset_row_packet => 0
    bytes_received_prepare_response_packet => 0
    bytes_received_change_user_packet => 0
    packets_sent_command => 0
    packets_received_ok => 0
    packets_received_eof => 0
    packets_received_rset_header => 0
    packets_received_rset_field_meta => 0
    packets_received_rset_row => 0
    packets_received_prepare_response => 0
    packets_received_change_user => 0
    result_set_queries => 0
    non_result_set_queries => 0
    no_index_used => 0
    bad_index_used => 0
    slow_queries => 0
    buffered_sets => 0
    unbuffered_sets => 0
    ps_buffered_sets => 0
    ps_unbuffered_sets => 0
    flushed_normal_sets => 0
    flushed_ps_sets => 0
    ps_prepared_never_executed => 0
    ps_prepared_once_executed => 0
    rows_fetched_from_server_normal => 0
    rows_fetched_from_server_ps => 0
    rows_buffered_from_client_normal => 0
    rows_buffered_from_client_ps => 0
    rows_fetched_from_client_normal_buffered => 0
    rows_fetched_from_client_normal_unbuffered => 0
    rows_fetched_from_client_ps_buffered => 0
    rows_fetched_from_client_ps_unbuffered => 0
    rows_fetched_from_client_ps_cursor => 0
    rows_affected_normal => 0
    rows_affected_ps => 0
    rows_skipped_normal => 0
    rows_skipped_ps => 0
    copy_on_write_saved => 0
    copy_on_write_performed => 0
    command_buffer_too_small => 0
    connect_success => 0
    connect_failure => 0
    connection_reused => 0
    reconnect => 0
    pconnect_success => 0
    active_connections => 0
    active_persistent_connections => 0
    explicit_close => 0
    implicit_close => 0
    disconnect_close => 0
    in_middle_of_command_close => 0
    explicit_free_result => 0
    implicit_free_result => 0
    explicit_stmt_close => 0
    implicit_stmt_close => 0
    mem_emalloc_count => 0
    mem_emalloc_amount => 0
    mem_ecalloc_count => 0
    mem_ecalloc_amount => 0
    mem_erealloc_count => 0
    mem_erealloc_amount => 0
    mem_efree_count => 0
    mem_efree_amount => 0
    mem_malloc_count => 0
    mem_malloc_amount => 0
    mem_calloc_count => 0
    mem_calloc_amount => 0
    mem_realloc_count => 0
    mem_realloc_amount => 0
    mem_free_count => 0
    mem_free_amount => 0
    mem_estrndup_count => 0
    mem_strndup_count => 0
    mem_estndup_count => 0
    mem_strdup_count => 0
    proto_text_fetched_null => 0
    proto_text_fetched_bit => 0
    proto_text_fetched_tinyint => 0
    proto_text_fetched_short => 0
    proto_text_fetched_int24 => 0
    proto_text_fetched_int => 0
    proto_text_fetched_bigint => 0
    proto_text_fetched_decimal => 0
    proto_text_fetched_float => 0
    proto_text_fetched_double => 0
    proto_text_fetched_date => 0
    proto_text_fetched_year => 0
    proto_text_fetched_time => 0
    proto_text_fetched_datetime => 0
    proto_text_fetched_timestamp => 0
    proto_text_fetched_string => 0
    proto_text_fetched_blob => 0
    proto_text_fetched_enum => 0
    proto_text_fetched_set => 0
    proto_text_fetched_geometry => 0
    proto_text_fetched_other => 0
    proto_binary_fetched_null => 0
    proto_binary_fetched_bit => 0
    proto_binary_fetched_tinyint => 0
    proto_binary_fetched_short => 0
    proto_binary_fetched_int24 => 0
    proto_binary_fetched_int => 0
    proto_binary_fetched_bigint => 0
    proto_binary_fetched_decimal => 0
    proto_binary_fetched_float => 0
    proto_binary_fetched_double => 0
    proto_binary_fetched_date => 0
    proto_binary_fetched_year => 0
    proto_binary_fetched_time => 0
    proto_binary_fetched_datetime => 0
    proto_binary_fetched_timestamp => 0
    proto_binary_fetched_string => 0
    proto_binary_fetched_blob => 0
    proto_binary_fetched_enum => 0
    proto_binary_fetched_set => 0
    proto_binary_fetched_geometry => 0
    proto_binary_fetched_other => 0
    init_command_executed_count => 0
    init_command_failed_count => 0
    com_quit => 0
    com_init_db => 0
    com_query => 0
    com_field_list => 0
    com_create_db => 0
    com_drop_db => 0
    com_refresh => 0
    com_shutdown => 0
    com_statistics => 0
    com_process_info => 0
    com_connect => 0
    com_process_kill => 0
    com_debug => 0
    com_ping => 0
    com_time => 0
    com_delayed_insert => 0
    com_change_user => 0
    com_binlog_dump => 0
    com_table_dump => 0
    com_connect_out => 0
    com_register_slave => 0
    com_stmt_prepare => 0
    com_stmt_execute => 0
    com_stmt_send_long_data => 0
    com_stmt_close => 0
    com_stmt_reset => 0
    com_stmt_set_option => 0
    com_stmt_fetch => 0
    com_deamon => 0
    bytes_received_real_data_normal => 0
    bytes_received_real_data_ps => 0
    
    example statistics =>
    stat1 => 0
    stat2 => 0
    phpinfo_00.png
     
    Last edited: Jun 30, 2014
  4. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:42 AM
    Nginx 1.13.x
    MariaDB 5.5
    Some Centmin Mod official Addons. These Addons are optional and do not need to be installed if you have no use for them.

    Code:
    [root@vultr centmin-v1.2.3mod]# cd addons/
    
    [root@vultr addons]# chmod +x *.sh
    
    [root@vultr addons]# ls -lah
    total 56K
    drwxr-xr-x  2 root root 4.0K Jun 28 23:36 .
    drwxr-xr-x 11 root root 4.0K Jun 30 02:36 ..
    -rwxr-xr-x  1 root root 3.5K Jun 28 23:36 avginstall.sh
    -rwxr-xr-x  1 root root 8.2K Jun 28 23:36 geoip.sh
    -rwxr-xr-x  1 root root 5.1K Jun 28 23:36 linfo.sh
    -rwxr-xr-x  1 root root 8.3K Jun 28 23:36 passenger.sh
    -rwxr-xr-x  1 root root 5.8K Jun 28 23:36 python27_install.sh
    -rwxr-xr-x  1 root root 3.2K Jun 28 23:36 wpcli.sh
    Installing AVG Anti-Virus for Linux http://centminmod.com/addons.html#avg

    Code:
    cd /usr/local/src/centmin-v1.2.3mod/addons
    chmod +x *.sh
    ./avginstall.sh 
    Installing GeoIP database and library for Nginx GeoIP support
    Code:
    cd /usr/local/src/centmin-v1.2.3mod/addons
    chmod +x *.sh
    ./geoip.sh
    GeoIP database and library install...
    Loaded plugins: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirrors.sonic.net
    * epel: mirrors.solfo.com
    * extras: mirror.hmc.edu
    * updates: mirrors.usc.edu
    72 packages excluded due to repository priority protections
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package GeoIP.x86_64 0:1.4.8-1.el6 will be installed
    ---> Package GeoIP-devel.x86_64 0:1.4.8-1.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package              Arch            Version               Repository     Size
    ================================================================================
    Installing:
    GeoIP                x86_64          1.4.8-1.el6           epel          620 k
    GeoIP-devel          x86_64          1.4.8-1.el6           epel           11 k
    
    Transaction Summary
    ================================================================================
    Install       2 Package(s)
    
    Total download size: 631 k
    Installed size: 1.5 M
    Downloading Packages:
    --------------------------------------------------------------------------------
    Total                                           3.6 MB/s | 631 kB     00:00
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Warning: RPMDB altered outside of yum.
      Installing : GeoIP-1.4.8-1.el6.x86_64                                     1/2
      Installing : GeoIP-devel-1.4.8-1.el6.x86_64                               2/2
      Verifying  : GeoIP-devel-1.4.8-1.el6.x86_64                               1/2
      Verifying  : GeoIP-1.4.8-1.el6.x86_64                                     2/2
    
    Installed:
      GeoIP.x86_64 0:1.4.8-1.el6          GeoIP-devel.x86_64 0:1.4.8-1.el6
    
    Complete!
    /usr/include/GeoIP.h
    /usr/include/GeoIPCity.h
    /usr/include/GeoIPUpdate.h
    /usr/lib64/libGeoIP.so
    /usr/lib64/libGeoIPUpdate.so
    /etc/GeoIP.conf
    /etc/GeoIP.conf.default
    /usr/bin/geoiplookup
    /usr/bin/geoiplookup6
    /usr/bin/geoipupdate
    /usr/lib64/libGeoIP.so.1
    /usr/lib64/libGeoIP.so.1.4.8
    /usr/lib64/libGeoIPUpdate.so.0
    /usr/lib64/libGeoIPUpdate.so.0.0.0
    /usr/share/GeoIP
    /usr/share/GeoIP/GeoIP.dat
    /usr/share/doc/GeoIP-1.4.8
    /usr/share/doc/GeoIP-1.4.8/AUTHORS
    /usr/share/doc/GeoIP-1.4.8/COPYING
    /usr/share/doc/GeoIP-1.4.8/ChangeLog
    /usr/share/doc/GeoIP-1.4.8/INSTALL
    /usr/share/doc/GeoIP-1.4.8/LICENSE.txt
    /usr/share/doc/GeoIP-1.4.8/README
    /usr/share/doc/GeoIP-1.4.8/TODO
    /usr/share/doc/GeoIP-1.4.8/fetch-geoipdata-city.pl
    /usr/share/doc/GeoIP-1.4.8/fetch-geoipdata.pl
    /usr/share/man/man1/geoiplookup.1.gz
    /usr/share/man/man1/geoiplookup6.1.gz
    /usr/share/man/man1/geoipupdate.1.gz
    GeoLiteCity database download ...
    2014-06-30 15:32:33 URL:http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz [11312286/11312286] -> "/usr/share/GeoIP/GeoLiteCity.dat.gz" [1]
    geoip.conf include check...
    Test geoip.php file located at:
    /usr/local/nginx/html/geoip.php
    
    GeoIP database and library installed...
    Testing the included geoip.php test page. First need to add to php.conf include file the following:

    Code:
    # Set php-fpm geoip variables
    fastcgi_param GEOIP_COUNTRY_CODE $geoip_country_code;
    fastcgi_param GEOIP_COUNTRY_CODE3 $geoip_country_code3;
    fastcgi_param GEOIP_COUNTRY_NAME $geoip_country_name;
    fastcgi_param GEOIP_CITY_COUNTRY_CODE $geoip_city_country_code;
    fastcgi_param GEOIP_CITY_COUNTRY_CODE3 $geoip_city_country_code3;
    fastcgi_param GEOIP_CITY_COUNTRY_NAME $geoip_city_country_name;
    fastcgi_param GEOIP_REGION $geoip_region;
    fastcgi_param GEOIP_CITY $geoip_city;
    fastcgi_param GEOIP_POSTAL_CODE $geoip_postal_code;
    fastcgi_param GEOIP_CITY_CONTINENT_CODE $geoip_city_continent_code;
    fastcgi_param GEOIP_LATITUDE $geoip_latitude;
    fastcgi_param GEOIP_LONGITUDE $geoip_longitude;
    Then restart both Nginx and PHP-FPM

    Code:
    [root@vultr ~]# nprestart
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Stopping nginx:                                            [  OK  ]
    Starting nginx:                                            [  OK  ]
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    Checking if PHP-FPM and Nginx can utilise the GeoIP database

    Code:
    lynx -dump http://vultr.guest/geoip.php
       country_code: US
       country_code3: USA
       country_name: United States
       city_country_code: US
       city_country_code3: USA
       city_country_name: United States
       region: CA
       city: Los Angeles
       postal_code: 90017
       city_continent_code: NA
       latitude: 34.0530
       longitude: -118.2642
    Installing Wordpress CLI, WP-CLI command line tool http://centminmod.com/addons.html#wpcli
    Code:
    ./wpcli.sh install
    installing...
    Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
    
    Error: /usr/bin/wp not found !!! Download now......
    2014-06-30 15:35:10 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [2124218/2124218] -> "/usr/bin/wp" [1]
    Download done.
    
    Error: /root/wpcli/wp-completion.bash not found !!! Download now......
    2014-06-30 15:35:11 URL:https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash [373/373] -> "/root/wpcli/wp-completion.bash" [1]
    Download done.
    
    
    -------------------------------------------------------------
    PHP binary:     /usr/local/bin/php
    PHP version:    5.4.30
    php.ini used:   /usr/local/lib/php.ini
    WP-CLI root dir:        phar://wp-cli.phar
    WP-CLI global config:
    WP-CLI project config:
    WP-CLI version: 0.15.1
    -------------------------------------------------------------
    
    -------------------------------------------------------------
    wp-cli install completed
    Read http://wp-cli.org/ for full usage info
    
    -------------------------------------------------------------
    Please log out of SSH session and log back in
    You can then call wp-cli via command: wp
    i.e. wp --info --allow-root
    -------------------------------------------------------------
    Install Linfo addon http://centminmod.com/addons.html#linfo will install to yourhostname.com/cinfo/ a password protected (auto generated user/pass) page.

    i.e.
    addon_linfo_00.png
    Code:
    [root@vultr addons]# ls -lah
    total 56K
    drwxr-xr-x  2 root root 4.0K Jun 28 23:36 .
    drwxr-xr-x 11 root root 4.0K Jun 30 02:36 ..
    -rwxr-xr-x  1 root root 3.5K Jun 28 23:36 avginstall.sh
    -rwxr-xr-x  1 root root 8.2K Jun 28 23:36 geoip.sh
    -rwxr-xr-x  1 root root 5.1K Jun 28 23:36 linfo.sh
    -rwxr-xr-x  1 root root 8.3K Jun 28 23:36 passenger.sh
    -rwxr-xr-x  1 root root 5.8K Jun 28 23:36 python27_install.sh
    -rwxr-xr-x  1 root root 3.2K Jun 28 23:36 wpcli.sh
    
    [root@vultr addons]# ./linfo.sh
    ./linfo.sh install
    ./linfo.sh update
    ./linfo.sh delete
    
    [root@vultr addons]# ./linfo.sh install
    Download linfo-1.10.tar.gz ...
    Download done.
    linfo-1.10.tar.gz valid file.
    
    Creating cinfo_htpasswd user/pass...
    python /usr/local/nginx/conf/htpasswd.py -b /usr/local/nginx/conf/cinfo_htpasswd admin7skd3M8= Mlsnh8tyhsLQUg==
    
    cinfo_htpasswd user/pass created...
    admin7skd3M8=:VALbOLdRF3wAw
    
    Create /usr/local/nginx/conf/cinfo.conf
    
                location /cinfo/ {
            auth_basic "Private";
            auth_basic_user_file /usr/local/nginx/conf/cinfo_htpasswd;
                }
    
    Setup virtual.conf
    Adding /usr/local/nginx/conf/cinfo.conf include entry
    
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Stopping nginx:                                            [  OK  ]
    Starting nginx:                                            [  OK  ]
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    
    -------------------------------------------------------
    Password protected vultr.guest/cinfo
    at path /usr/local/nginx/html/cinfo
    -------------------------------------------------------
    Username: admin7ssaskd3M8=
    Password: Mlsnh8tysafhsLQUg==
    -------------------------------------------------------

    Install Python 2.7.7 beside system default Python 2.6.6
    Code:
    ./python27_install.sh
    ./python27_install.sh install
    
    ---------------------
    python --version
    Python 2.6.6
    /usr/bin/python
    /usr/local/bin/pip
    /usr/local/bin/easy_install
    ---------------------
    python2.7 --version
    Python 2.7.7
    /usr/local/bin/python2.7
    /usr/local/bin/pip2.7
    /usr/local/bin/easy_install-2.7
    ---------------------
    *************************************************
    * python2.7 installed
    *************************************************
    Install Phusion Passenger support for Nginx along with Ruby/Rubygems, Ruby Rails and Node.js
    Code:
    ./passenger.sh install
    
    -------------------------------------------
    Setup /usr/local/nginx/conf/passenger.conf
    -------------------------------------------
    Passenger root located at: /usr/local/rvm/gems/ruby-2.1.2/gems/passenger-4.0.45
    -------------------------------------------
    Setup completed...
    -------------------------------------------
    
    Uncomment lines in /usr/local/nginx/conf/passenger.conf to enable passenger
    Nginx needs to have passenger nginx module compiled for it to work
    check that passenger module is in list of nginx modules via command:
    
    nginx -V
    
    
    This script only installs passenger, node.js, ruby, rails, rubygem and is provided as is.
    See Phusion Passenger documentation at for deployment and configuration at:
    * http://www.modrails.com/documentation/Users%20guide%20Nginx.html
    * https://github.com/phusion/passenger/wiki/Phusion-Passenger%3A-Node.js-tutorial
    * https://github.com/phusion/passenger/wiki
    
    Log out and log back into your SSH session to complete setup
    
    Code:
    [root@vultr ~]# ruby -v
    ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
    
    [root@vultr ~]# rails -v
    Rails 4.1.2
    
    [root@vultr ~]# gem -v
    2.2.2
    
    [root@vultr ~]# node -v
    v0.10.28
    
    [root@vultr ~]# passenger --version
    Phusion Passenger version 4.0.45
    
    "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
    Then enable Nginx GeoIP and Phusion Passenger support in centmin.sh
    Code:
    NGINX_GEOIP=y                # Nginx GEOIP module install
    NGINX_PASSENGER='y'    # Install Phusion Passenger requires installing addons/passenger.sh before hand
    
    Then recompile Nginx via centmin.sh menu option 4
    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - 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 ] 4
    --------------------------------------------------------
    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
    **********************************************************************
    * Nginx Update script - Included in Centmin Extras
    * Version: 1.2.3-eva2000.07 - Date: 30/06/2014 - Copyright 2011-2014 CentminMod.com
    **********************************************************************
    
    This software comes with no warranty of any kind. You are free to use
    it for both personal and commercial use as licensed under the GPL.
    
    Nginx Upgrade - Would you like to continue? [y/n] y
    
    Install which version of Nginx? (version i.e. 1.7.2}): 1.7.2
    
    Do you want to recompile OpenSSL ? Only needed if you updated OpenSSL version in centmin.sh [y/n]: n
    
    Mon Jun 30 16:03:43 UTC 2014
    Success: Nginx was installed properly
    
    *************************************************
    *************************************************
    * nginx updated
    *************************************************
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                  1578
    cache hit (preprocessed)             452
    cache miss                          4924
    called for link                      441
    called for preprocessing             372
    compile failed                        99
    preprocessor error                    99
    bad compiler arguments                71
    unsupported source language           99
    autoconf compile/link                911
    unsupported compiler option           14
    no input file                        188
    files in cache                     11864
    cache size                         323.5 Mbytes
    max cache size                       2.0 Gbytes
    
    Then check to see if Nginx now has Nginx GeoIP and Phusion Passenger module support:
     
    Last edited: Jul 5, 2014
  5. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:42 AM
    Nginx 1.13.x
    MariaDB 5.5
    Important Notice:

    Right now it seems that Vultr isn't suited for Centmin Mod usage as there's an unexplained issue with SSH connection time outs after Centmin Mod installation. Not sure if it's a conflict with CSF Firewall and their host node's internal firewall or something ? But until I can figure this out, I do not recommend using Vultr for Centmin Mod usage. See https://community.centminmod.com/threads/vultr-com-any-reviews.294/page-2#post-2924.

    Centmin Mod currently runs and installs fine on DigitalOcean, Linode, RamNode, BuyVM.net, Wable.com and Backupsy VPSes which run KVM, Xen and OpenVZ based virtualisation.

    Update 2: could be related Vultr has these new notices posted in client area ?

    Update:
    Looks like rebooting Vultr VPS has allowed me back in, so will try and figure out what's going on.. CSF Firewall has all the required modules to work though

    Code:
    ./csftest.pl
    Testing ip_tables/iptable_filter...OK
    Testing ipt_LOG...OK
    Testing ipt_multiport/xt_multiport...OK
    Testing ipt_REJECT...OK
    Testing ipt_state/xt_state...OK
    Testing ipt_limit/xt_limit...OK
    Testing ipt_recent...OK
    Testing xt_connlimit...OK
    Testing ipt_owner/xt_owner...OK
    Testing iptable_nat/ipt_REDIRECT...OK
    Testing iptable_nat/ipt_DNAT...OK
    Looks like installing AVG Antivirus invoked the Linux OOM Killer - might need to setup some swap disk before installing AVG Antivirus for Linux. Never ran into this problem even with DigitalOcean 512MB KVM VPS which also comes with 0 swap set out of the box. Will update the above install guide :)

    Code:
    Jun 30 10:35:51 vultr yum[803]: Installed: libicu-4.2.1-9.1.el6_2.x86_64
    Jun 30 10:35:51 vultr yum[803]: Installed: libicu-devel-4.2.1-9.1.el6_2.x86_64
    Jun 30 10:36:02 vultr kernel: conftest[7460]: segfault at 1 ip 00007f1054e65d48 sp 00007fff9c755160 error 4 in libc-client.so.2007[7f1054e24000+107000]
    Jun 30 10:40:04 vultr yum[2883]: Installed: mailx-12.4-7.el6.x86_64
    Jun 30 10:40:14 vultr yum[2995]: Installed: perl-Carp-Clan-6.03-2.el6.noarch
    Jun 30 10:40:14 vultr yum[2995]: Installed: perl-Bit-Vector-7.1-2.el6.x86_64
    Jun 30 10:40:14 vultr yum[2995]: Installed: perl-Date-Calc-6.3-2.el6.noarch
    Jun 30 10:40:14 vultr yum[2995]: Installed: 2:postfix-perl-scripts-2.6.6-6.el6_5.x86_64
    Jun 30 10:42:48 vultr yum[4759]: Installed: perl-IO-Compress-Base-2.021-136.el6.x86_64
    Jun 30 10:42:48 vultr yum[4759]: Installed: 1:perl-Compress-Raw-Zlib-2.021-136.el6.x86_64
    Jun 30 10:42:48 vultr yum[4759]: Installed: perl-IO-Compress-Zlib-2.021-136.el6.x86_64
    Jun 30 10:42:48 vultr yum[4759]: Installed: perl-Compress-Zlib-2.021-136.el6.x86_64
    Jun 30 10:42:48 vultr yum[4759]: Installed: perl-HTML-Tagset-3.20-4.el6.noarch
    Jun 30 10:42:48 vultr yum[4759]: Installed: perl-HTML-Parser-3.64-2.el6.x86_64
    Jun 30 10:42:48 vultr yum[4759]: Installed: mailcap-2.1.31-2.el6.noarch
    Jun 30 10:42:48 vultr yum[4759]: Installed: perl-URI-1.40-2.el6.noarch
    Jun 30 10:42:48 vultr yum[4759]: Installed: perl-libwww-perl-5.833-2.el6.noarch
    Jun 30 10:43:19 vultr nsd[21142]: nsd started (NSD 3.2.17), pid 21142
    Jun 30 10:43:29 vultr yum[22230]: Installed: rng-tools-2-13.el6_2.x86_64
    Jun 30 10:43:29 vultr yum[22230]: Installed: haveged-1.9.1-2.el6.x86_64
    Jun 30 10:43:29 vultr haveged: haveged starting up
    Jun 30 10:43:29 vultr haveged: haveged: ver: 1.9.1; arch: x86; vend: GenuineIntel; build: (gcc 4.4.7 ITV); collect: 128K
    Jun 30 10:43:29 vultr haveged: haveged: cpu: (L4 VC); data: 32K (L2 L4 V); inst: 32K (L2 L4 V); idx: 21/40; sz: 32100/59539
    Jun 30 10:43:29 vultr haveged: haveged: tot tests(BA8): A:1/1 B:1/1 continuous tests(B):  last entropy estimate 8.00163
    Jun 30 10:43:29 vultr haveged: haveged: fills: 0, generated: 0
    Jun 30 10:57:09 vultr yum[22776]: Installed: centos-indexhtml-6-1.el6.centos.noarch
    Jun 30 10:57:09 vultr yum[22776]: Installed: lynx-2.8.6-27.el6.x86_64
    Jun 30 10:57:19 vultr yum[22893]: Installed: glibc-2.12-1.132.el6_5.2.i686
    Jun 30 10:57:19 vultr yum[22893]: Installed: nss-softokn-freebl-3.14.3-10.el6_5.i686
    Jun 30 10:57:52 vultr kernel: avgupd invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=-17, oom_score_adj=-1000
    Jun 30 10:57:52 vultr kernel: avgupd cpuset=/ mems_allowed=0
    Jun 30 10:57:52 vultr kernel: Pid: 23267, comm: avgupd Not tainted 2.6.32-431.20.3.el6.x86_64 #1
    Jun 30 10:57:52 vultr kernel: Call Trace:
    Jun 30 10:57:52 vultr kernel: [<ffffffff810d03d1>] ? cpuset_print_task_mems_allowed+0x91/0xb0
    Jun 30 10:57:52 vultr kernel: [<ffffffff81122780>] ? dump_header+0x90/0x1b0
    Jun 30 10:57:52 vultr kernel: [<ffffffff810d1471>] ? cpuset_mems_allowed_intersects+0x21/0x30
    Jun 30 10:57:52 vultr kernel: [<ffffffff81122c02>] ? oom_kill_process+0x82/0x2a0
    Jun 30 10:57:52 vultr kernel: [<ffffffff81122b41>] ? select_bad_process+0xe1/0x120
    Jun 30 10:57:52 vultr kernel: [<ffffffff81123040>] ? out_of_memory+0x220/0x3c0
    Jun 30 10:57:52 vultr kernel: [<ffffffff8112f95f>] ? __alloc_pages_nodemask+0x89f/0x8d0
    Jun 30 10:57:52 vultr kernel: [<ffffffff8116795a>] ? alloc_pages_vma+0x9a/0x150
    Jun 30 10:57:52 vultr kernel: [<ffffffff8114aa5d>] ? handle_pte_fault+0x73d/0xb00
    Jun 30 10:57:52 vultr kernel: [<ffffffff81267600>] ? generic_make_request+0x240/0x5a0
    Jun 30 10:57:52 vultr kernel: [<ffffffff811c3c96>] ? bio_add_page+0x36/0x40
    Jun 30 10:57:52 vultr kernel: [<ffffffff8114b04a>] ? handle_mm_fault+0x22a/0x300
    Jun 30 10:57:52 vultr kernel: [<ffffffff8104a8d8>] ? __do_page_fault+0x138/0x480
    Jun 30 10:57:52 vultr kernel: [<ffffffff810098f4>] ? __switch_to+0x2d4/0x320
    Jun 30 10:57:52 vultr kernel: [<ffffffff81060aa3>] ? perf_event_task_sched_out+0x33/0x70
    Jun 30 10:57:52 vultr kernel: [<ffffffff8103ea6c>] ? kvm_clock_read+0x1c/0x20
    Jun 30 10:57:52 vultr kernel: [<ffffffff8105af80>] ? __dequeue_entity+0x30/0x50
    Jun 30 10:57:52 vultr kernel: [<ffffffff8152e37e>] ? do_page_fault+0x3e/0xa0
    Jun 30 10:57:52 vultr kernel: [<ffffffff8152b735>] ? page_fault+0x25/0x30
    Jun 30 10:57:52 vultr kernel: [<ffffffff8111edac>] ? file_read_actor+0xfc/0x180
    Jun 30 10:57:52 vultr kernel: [<ffffffff81121206>] ? generic_file_aio_read+0x2d6/0x700
    Jun 30 10:57:52 vultr kernel: [<ffffffff81188c3a>] ? do_sync_read+0xfa/0x140
    Jun 30 10:57:52 vultr kernel: [<ffffffff8109afa0>] ? autoremove_wake_function+0x0/0x40
    Jun 30 10:57:52 vultr kernel: [<ffffffff81529e2e>] ? mutex_lock+0x1e/0x50
    Jun 30 10:57:52 vultr kernel: [<ffffffff81226c06>] ? security_file_permission+0x16/0x20
    Jun 30 10:57:52 vultr kernel: [<ffffffff81189525>] ? vfs_read+0xb5/0x1a0
    Jun 30 10:57:52 vultr kernel: [<ffffffff81189661>] ? sys_read+0x51/0x90
    Jun 30 10:57:52 vultr kernel: [<ffffffff81050c20>] ? sysenter_dispatch+0x7/0x2e
    Jun 30 10:57:52 vultr kernel: Mem-Info:
    Jun 30 10:57:52 vultr kernel: Node 0 DMA per-cpu:
    Jun 30 10:57:52 vultr kernel: CPU    0: hi:    0, btch:   1 usd:   0
    Jun 30 10:57:52 vultr kernel: Node 0 DMA32 per-cpu:
    Jun 30 10:57:52 vultr kernel: CPU    0: hi:  186, btch:  31 usd:  60
    Jun 30 10:57:52 vultr kernel: active_anon:73362 inactive_anon:87177 isolated_anon:3
    Jun 30 10:57:52 vultr kernel: active_file:21 inactive_file:704 isolated_file:0
    Jun 30 10:57:52 vultr kernel: unevictable:0 dirty:0 writeback:0 unstable:0
    Jun 30 10:57:52 vultr kernel: free:17126 slab_reclaimable:1916 slab_unreclaimable:5286
    Jun 30 10:57:52 vultr kernel: mapped:95 shmem:87277 pagetables:1039 bounce:0
    Jun 30 10:57:52 vultr kernel: Node 0 DMA free:4260kB min:1296kB low:1620kB high:1944kB active_anon:6148kB inactive_anon:5308kB active_file:12kB inactive_file:8kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15368kB mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:5308kB slab_reclaimable:12kB slab_unreclaimable:4kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
    Jun 30 10:57:52 vultr kernel: lowmem_reserve[]: 0 741 741 741
    Jun 30 10:57:52 vultr kernel: Node 0 DMA32 free:64244kB min:64236kB low:80292kB high:96352kB active_anon:287300kB inactive_anon:343400kB active_file:72kB inactive_file:2808kB unevictable:0kB isolated(anon):12kB isolated(file):0kB present:759512kB mlocked:0kB dirty:0kB writeback:0kB mapped:368kB shmem:343800kB slab_reclaimable:7652kB slab_unreclaimable:21140kB kernel_stack:1272kB pagetables:4156kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:136 all_unreclaimable? yes
    Jun 30 10:57:52 vultr kernel: lowmem_reserve[]: 0 0 0 0
    Jun 30 10:57:52 vultr kernel: Node 0 DMA: 5*4kB 4*8kB 3*16kB 2*32kB 2*64kB 1*128kB 3*256kB 2*512kB 0*1024kB 1*2048kB 0*4096kB = 4260kB
    Jun 30 10:57:52 vultr kernel: Node 0 DMA32: 611*4kB 483*8kB 275*16kB 275*32kB 177*64kB 93*128kB 38*256kB 11*512kB 6*1024kB 0*2048kB 0*4096kB = 64244kB
    Jun 30 10:57:52 vultr kernel: 88003 total pagecache pages
    Jun 30 10:57:52 vultr kernel: 0 pages in swap cache
    Jun 30 10:57:52 vultr kernel: Swap cache stats: add 0, delete 0, find 0/0
    Jun 30 10:57:52 vultr kernel: Free swap  = 0kB
    Jun 30 10:57:52 vultr kernel: Total swap = 0kB
    Jun 30 10:57:52 vultr kernel: 196605 pages RAM
    Jun 30 10:57:52 vultr kernel: 6530 pages reserved
    Jun 30 10:57:52 vultr kernel: 879 pages shared
    Jun 30 10:57:52 vultr kernel: 169112 pages non-shared
    Jun 30 10:57:52 vultr kernel: [ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name
    Jun 30 10:57:52 vultr kernel: [  296]     0   296     2659      102   0     -17         -1000 udevd
    Jun 30 10:57:52 vultr kernel: [  814]     0   814    62271      138   0       0             0 rsyslogd
    Jun 30 10:57:52 vultr kernel: [  874]    38   874     7680      155   0       0             0 ntpd
    Jun 30 10:57:52 vultr kernel: [  973]     0   973    29333      164   0       0             0 crond
    Jun 30 10:57:52 vultr kernel: [  986]     0   986     1016       21   0       0             0 mingetty
    Jun 30 10:57:52 vultr kernel: [  988]     0   988     1016       21   0       0             0 mingetty
    Jun 30 10:57:52 vultr kernel: [  990]     0   990     2658      101   0     -17         -1000 udevd
    Jun 30 10:57:52 vultr kernel: [  991]     0   991     2658      101   0     -17         -1000 udevd
    Jun 30 10:57:52 vultr kernel: [  992]     0   992     1016       20   0       0             0 mingetty
    Jun 30 10:57:52 vultr kernel: [  994]     0   994     1016       22   0       0             0 mingetty
    Jun 30 10:57:52 vultr kernel: [  996]     0   996     1016       22   0       0             0 mingetty
    Jun 30 10:57:52 vultr kernel: [  998]     0   998     1016       22   0       0             0 mingetty
    Jun 30 10:57:52 vultr kernel: [ 1149]     0  1149    16652      179   0     -17         -1000 sshd
    Jun 30 10:57:52 vultr kernel: [ 3323]     0  3323    20427      222   0       0             0 master
    Jun 30 10:57:52 vultr kernel: [ 3330]    89  3330    20447      219   0       0             0 pickup
    Jun 30 10:57:52 vultr kernel: [ 3331]    89  3331    20490      223   0       0             0 qmgr
    Jun 30 10:57:52 vultr kernel: [ 2809]    99  2809    90140      149   0       0             0 memcached
    Jun 30 10:57:52 vultr kernel: [ 5253]     0  5253    38532     3347   0       0             0 lfd
    Jun 30 10:57:52 vultr kernel: [18098]     0 18098    89431     1249   0       0             0 php-fpm
    Jun 30 10:57:52 vultr kernel: [21142]   501 21142     3771       90   0       0             0 nsd
    Jun 30 10:57:52 vultr kernel: [21147]   501 21147     5487     1135   0       0             0 nsd
    Jun 30 10:57:52 vultr kernel: [21148]   501 21148     3804      112   0       0             0 nsd
    Jun 30 10:57:52 vultr kernel: [21159]     0 21159    29463      462   0       0             0 nginx
    Jun 30 10:57:52 vultr kernel: [21162]   500 21162    89397     1388   0       0             0 nginx
    Jun 30 10:57:52 vultr kernel: [21172]     0 21172    26549       78   0       0             0 mysqld_safe
    Jun 30 10:57:52 vultr kernel: [22219]   498 22219    39137     4620   0       0             0 mysqld
    Jun 30 10:57:52 vultr kernel: [22353]     0 22353     2972      781   0       0             0 haveged
    Jun 30 10:57:52 vultr kernel: [22639]     0 22639    25089      247   0     -17         -1000 sshd
    Jun 30 10:57:52 vultr kernel: [22641]     0 22641    27528      543   0     -17         -1000 bash
    Jun 30 10:57:52 vultr kernel: [22775]     0 22775    26516       58   0     -17         -1000 avginstall.sh
    Jun 30 10:57:52 vultr kernel: [23180]     0 23180    71763    41342   0     -17         -1000 avgd
    Jun 30 10:57:52 vultr kernel: [23192]     0 23192    20051      241   0     -17         -1000 avgavid
    Jun 30 10:57:52 vultr kernel: [23199]     0 23199    12493       91   0     -17         -1000 avgupdate
    Jun 30 10:57:52 vultr kernel: [23204]     0 23204    72378    15565   0     -17         -1000 avgupd
    Jun 30 10:57:52 vultr kernel: [23218]     0 23218    33049      179   0     -17         -1000 avgtcpd
    Jun 30 10:57:52 vultr kernel: [23224]     0 23224    69039      404   0     -17         -1000 avgscand
    Jun 30 10:57:52 vultr kernel: [23249]     0 23249    37948      233   0     -17         -1000 avgsched
    Jun 30 10:57:52 vultr kernel: Out of memory: Kill process 22219 (mysqld) score 24 or sacrifice child
    Jun 30 10:57:52 vultr kernel: Killed process 22219, UID 498, (mysqld) total-vm:156548kB, anon-rss:18476kB, file-rss:4kB
    Jun 30 10:57:52 vultr kernel: ps invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0, oom_score_adj=0
    Jun 30 14:03:47 vultr kernel: imklog 5.8.10, log source = /proc/kmsg started.
    Jun 30 14:03:47 vultr rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="832" x-info="http://www.rsyslog.com"] start
    Jun 30 14:03:47 vultr kernel: Initializing cgroup subsys cpuset
    Jun 30 14:03:47 vultr kernel: Initializing cgroup subsys cpu
    Jun 30 14:03:47 vultr kernel: Linux version 2.6.32-431.20.3.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Thu Jun 19 21:14:45 UTC 2014
    before out of box no swap set

    Code:
    [root@vultr ~]# free -ml
                 total       used       free     shared    buffers     cached
    Mem:           742         80        662          0          4         29
    Low:           742         80        662
    High:            0          0          0
    -/+ buffers/cache:         46        696
    Swap:            0          0          0
    setup 2GB swap
    Code:
    dd if=/dev/zero of=/swapfile bs=1024 count=2048k
    ls -lah /swapfile
    mkswap /swapfile
    swapon /swapfile
    chown root:root /swapfile
    chmod 0600 /swapfile
    swapon -s
    echo "/swapfile          swap            swap    defaults        0 0" >> /etc/fstab
    mount -a
    after with swap set to 2GB
    Code:
    free -ml
                 total       used       free     shared    buffers     cached
    Mem:           742        649         92          0          1        343
    Low:           742        649         92
    High:            0          0          0
    -/+ buffers/cache:        304        437
    Swap:         2047          0       2047
    working avgupdate
    Code:
     avgupdate
    AVG command line update
    Copyright (c) 2013 AVG Technologies CZ
    
    Running update.
    Initializing...
    Analyzing...
    Analyzing...
    Preparing installation...
    Updating...
    100% [================================================================================================================>]
    
    Update was successfully completed.
    Current memory usage for 768MB VPS

    Code:
    smem -kpt
      PID User     Command                         Swap      USS      PSS      RSS
      870 nsd      /usr/local/sbin/nsd -c /etc     2.5M        0     2.0K    32.0K
    1046 dbus     dbus-daemon --system          244.0K     4.0K     5.0K    48.0K
    1084 root     /usr/sbin/sshd                712.0K     4.0K     6.0K    68.0K
      867 nsd      /usr/local/sbin/nsd -c /etc   332.0K    24.0K    34.0K   108.0K
    2418 root     /sbin/mingetty /dev/tty1           0    80.0K    81.0K   120.0K
    2435 root     /sbin/mingetty /dev/tty6           0    80.0K    81.0K   120.0K
    2420 root     /sbin/mingetty /dev/tty2           0    84.0K    85.0K   124.0K
    2423 root     /sbin/mingetty /dev/tty3           0    84.0K    85.0K   124.0K
    2427 root     /sbin/mingetty /dev/tty4           0    84.0K    85.0K   124.0K
    2431 root     /sbin/mingetty /dev/tty5           0    84.0K    85.0K   124.0K
    1073 root     php-fpm: master process (/u     4.8M   112.0K   114.0K   184.0K
      296 root     /sbin/udevd -d                304.0K   100.0K   160.0K   400.0K
    2434 root     /sbin/udevd -d                352.0K   112.0K   182.0K   404.0K
      871 nsd      /usr/local/sbin/nsd -c /etc   356.0K   144.0K   186.0K   260.0K
    2796 root     /sbin/udevd -d                248.0K   104.0K   189.0K   428.0K
    1133 root     -bash                           1.9M   232.0K   233.0K   288.0K
    1226 root     /bin/sh /usr/bin/mysqld_saf        0   316.0K   317.0K   372.0K
    1092 ntp      ntpd -u ntp:ntp -p /var/run   472.0K   316.0K   350.0K   556.0K
        1 root     /sbin/init                     36.0K   368.0K   391.0K   572.0K
      832 root     /sbin/rsyslogd -i /var/run/   292.0K   444.0K   457.0K   592.0K
    1130 root     sshd: root@pts/1,pts/         828.0K   496.0K   502.0K   608.0K
    2299 nobody   /usr/local/bin/memcached -d        0   620.0K   622.0K   680.0K
    2405 root     crond                              0   640.0K   671.0K   852.0K
    2387 postfix  pickup -l -t fifo -u               0   924.0K   931.0K     1.0M
    2381 root     /usr/libexec/postfix/master        0   940.0K   948.0K     1.0M
    2388 postfix  qmgr -l -t fifo -u                 0   948.0K   956.0K     1.1M
    2395 root     nginx: master process /usr/        0   412.0K     1.1M     1.9M
    2398 nginx    nginx: worker process              0     1.9M     2.6M     3.5M
    2461 root     -bash                              0     2.8M     2.8M     3.1M
    1033 root     lfd - sleepin                  10.6M     3.1M     3.1M     3.3M
    1164 root     /opt/avg/av/bin/avgtcpd            0     3.1M     3.4M     4.0M
    1156 root     /opt/avg/av/bin/avgavid            0     3.3M     3.6M     4.3M
    1195 root     /opt/avg/av/bin/avgsched        4.0K     4.9M     5.0M     5.4M
    2288 root     /usr/sbin/haveged -w 3072 -        0     5.0M     5.0M     5.1M
    2820 root     python /usr/bin/smem -kpt          0     6.2M     6.4M     6.7M
    2648 root     /opt/avg/av/bin/avgscand -c        0     7.1M     7.5M     8.3M
    2275 mysql    /usr/sbin/mysqld --basedir=   232.0K    30.7M    30.8M    30.8M
    1121 root     /opt/avg/av/bin//avgd         121.0M    47.0M    47.2M    47.7M
    -------------------------------------------------------------------------------
       38 8                                      145.1M   122.8M   126.0M   134.4M 
    AVG Scan / partition did swap to disk by ~284MB

    Code:
    time avgscan /
    AVG command line Anti-Virus scanner
    Copyright (c) 2013 AVG Technologies CZ
    
    Virus database version: 3955/7770
    Virus database release date: Mon, 30 Jun 2014 11:21:00 +0000
    
    /etc/rc.d/rc6.d/K15vultr_firstboot  Object scan failed; Specified file was not found.
    /etc/rc.d/rc0.d/K15vultr_firstboot  Object scan failed; Specified file was not found.
    /etc/rc.d/rc5.d/S85vultr_firstboot  Object scan failed; Specified file was not found.
    /etc/rc.d/rc3.d/S85vultr_firstboot  Object scan failed; Specified file was not found.
    /etc/rc.d/rc2.d/S85vultr_firstboot  Object scan failed; Specified file was not found.
    /etc/rc.d/rc4.d/S85vultr_firstboot  Object scan failed; Specified file was not found.
    /etc/rc.d/rc1.d/K15vultr_firstboot  Object scan failed; Specified file was not found.
    /etc/alternatives/man-ip6tables.x86_64  Object scan failed; Specified file was not found.
    /etc/alternatives/man-iptables-xml.x86_64  Object scan failed; Specified file was not found.
    /etc/alternatives/man-iptables-restore.x86_64  Object scan failed; Specified file was not found.
    /etc/alternatives/mta-sendmailman  Object scan failed; Specified file was not found.
    /etc/alternatives/mta-mailqman  Object scan failed; Specified file was not found.
    /etc/alternatives/man-iptables-save.x86_64  Object scan failed; Specified file was not found.
    /etc/alternatives/man-ip6tables-save.x86_64  Object scan failed; Specified file was not found.
    /etc/alternatives/mta-newaliasesman  Object scan failed; Specified file was not found.
    /etc/alternatives/mta-aliasesman  Object scan failed; Specified file was not found.
    /etc/alternatives/man-ip6tables-restore.x86_64  Object scan failed; Specified file was not found.
    /etc/alternatives/man-iptables.x86_64  Object scan failed; Specified file was not found.
    /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libstdc++.a  Object scan failed; Specified file was not found.
    /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libmudflapth.a  Object scan failed; Specified file was not found.
    /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgcc_s.so  Object scan failed; Specified file was not found.
    /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgomp.so  Object scan failed; Specified file was not found.
    /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libsupc++.a  Object scan failed; Specified file was not found.
    /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libstdc++.so  Object scan failed; Specified file was not found.
    /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libmudflap.a  Object scan failed; Specified file was not found.
    /usr/share/man/man5/aliases.5.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man1/newaliases.1.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man1/mailq.1.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/ip6tables-restore.8.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/iptables-xml.8.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/ip6tables.8.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/sendmail.8.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/iptables-save.8.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/ip6tables-save.8.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/iptables-restore.8.gz  Object scan failed; Specified file was not found.
    /usr/share/man/man8/iptables.8.gz  Object scan failed; Specified file was not found.
    
    Files scanned     :  89021(88811)
    Infections found  :  0(0)
    PUPs found        :  0
    Files healed      :  0
    Warnings reported :  0
    Errors reported   :  36
    
    
    real    9m35.795s
    user    1m28.245s
    sys     0m8.621s
    Code:
    free -ml
                 total       used       free     shared    buffers     cached
    Mem:           742        648         93          0         17        459
    Low:           742        648         93
    High:            0          0          0
    -/+ buffers/cache:        171        570
    Swap:         2295        284       2011
     
    Last edited: Jul 1, 2014
  6. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:42 AM
    Nginx 1.13.x
    MariaDB 5.5
    Vultr 768MB KVM SeverBear benchmarks
    http://serverbear.com/benchmark/2014/07/04/QT8oRJDrOP3jToC3

    Code:
    I/O Pings
    ioping -c 10
    request=1 time=0.3 ms
    request=2 time=0.3 ms
    request=3 time=0.3 ms
    request=4 time=0.3 ms
    request=5 time=0.3 ms
    request=6 time=0.3 ms
    request=7 time=0.4 ms
    request=8 time=0.3 ms
    request=9 time=0.4 ms
    request=10 time=0.3 ms
    
    10 requests completed in 9004.2 ms, 3052 iops, 11.9 mb/s
    Code:
    I/O Seek Test (No Cache)
    ioping -RD
    5251 iops, 20.5 mb/s
    min/avg/max/mdev = 0.1/0.2/3.7/0.1 ms
    
    I/O Reads - Sequential
    ioping -RL
    1304 iops, 326.1 mb/s
    min/avg/max/mdev = 0.7/0.8/3.4/0.1 ms
    
    I/O Reads - Cached
    ioping -RC
    1047928 iops, 4093.5 mb/s
    min/avg/max/mdev = 0.0/0.0/0.0/0.0 ms
    Code:
    FIO
    Read IOPS    71798.0
    Read Bandwidth    287.1 MB/second
    Write IOPS    62090.0
    Write Bandwidth    248.3 MB/second
    Code:
    Cachefly     60.5 MB/s
    Linode, Atlanta, GA, USA     5.27 MB/s
    Linode, Dallas, TX, USA     7.64 MB/s
    Linode, Tokyo, JP     1.38 MB/s
    Linode, London, UK     1.09 MB/s
    OVH, Paris, France     1.34 MB/s
    SmartDC, Rotterdam, Netherlands     3.22 MB/s
    Hetzner, Nuernberg, Germany     1.96 MB/s
    iiNet, Perth, WA, Australia     2.36 MB/s
    MammothVPS, Sydney, Australia     1.21 MB/s
    Leaseweb, Haarlem, NL     3.78 MB/s
    Leaseweb, Manassas, VA, USA     22.3 MB/s
    Softlayer, Singapore     10.7 MB/s
    Softlayer, Seattle, WA, USA     8.63 MB/s
    Softlayer, San Jose, CA, USA     23.0 MB/s
    Softlayer, Washington, DC, USA     27.3 MB/s
    
    very fast Unixbench results !

    Code:
    1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10
    
    1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10
    
    1 x Execl Throughput  1 2 3
    
    1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3
    
    1 x File Copy 256 bufsize 500 maxblocks  1 2 3
    
    1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3
    
    1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10
    
    1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10
    
    1 x Process Creation  1 2 3
    
    1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10
    
    1 x Shell Scripts (1 concurrent)  1 2 3
    
    1 x Shell Scripts (8 concurrent)  1 2 3
    
    1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10
    
    1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10
    
    1 x Execl Throughput  1 2 3
    
    1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3
    
    1 x File Copy 256 bufsize 500 maxblocks  1 2 3
    
    1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3
    
    1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10
    
    1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10
    
    1 x Process Creation  1 2 3
    
    1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10
    
    1 x Shell Scripts (1 concurrent)  1 2 3
    
    1 x Shell Scripts (8 concurrent)  1 2 3
    
    ========================================================================
       BYTE UNIX Benchmarks (Version 5.1.3)
    
       System: ******************
       OS: GNU/Linux -- 2.6.32-431.20.3.el6.x86_64 -- #1 SMP Thu Jun 19 21:14:45 UTC 2014
       Machine: x86_64 (x86_64)
       Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
       CPU 0: Vultr Virtual CPU 2 (6784.3 bogomips)
              Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
       02:28:44 up 3 days,  6:49,  1 user,  load average: 0.00, 0.01, 0.00; runlevel 3
    
    ------------------------------------------------------------------------
    Benchmark Run: Fri Jul 04 2014 02:28:44 - 02:56:46
    1 CPU in system; running 1 parallel copy of tests
    
    Dhrystone 2 using register variables       42389855.7 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     4603.7 MWIPS (10.0 s, 7 samples)
    Execl Throughput                               7010.0 lps   (30.0 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks       1583691.7 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks          432130.0 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks       3396030.1 KBps  (30.0 s, 2 samples)
    Pipe Throughput                             2963534.2 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 530869.1 lps   (10.0 s, 7 samples)
    Process Creation                              25673.4 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   8186.0 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                   1086.3 lpm   (60.0 s, 2 samples)
    System Call Overhead                        5593699.2 lps   (10.0 s, 7 samples)
    
    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   42389855.7   3632.4
    Double-Precision Whetstone                       55.0       4603.7    837.0
    Execl Throughput                                 43.0       7010.0   1630.2
    File Copy 1024 bufsize 2000 maxblocks          3960.0    1583691.7   3999.2
    File Copy 256 bufsize 500 maxblocks            1655.0     432130.0   2611.1
    File Copy 4096 bufsize 8000 maxblocks          5800.0    3396030.1   5855.2
    Pipe Throughput                               12440.0    2963534.2   2382.3
    Pipe-based Context Switching                   4000.0     530869.1   1327.2
    Process Creation                                126.0      25673.4   2037.6
    Shell Scripts (1 concurrent)                     42.4       8186.0   1930.7
    Shell Scripts (8 concurrent)                      6.0       1086.3   1810.6
    System Call Overhead                          15000.0    5593699.2   3729.1
                                                                       ========
    System Benchmarks Index Score                                        2328.8
    
    ------------------------------------------------------------------------
    Benchmark Run: Fri Jul 04 2014 02:56:46 - 03:24:47
    1 CPU in system; running 1 parallel copy of tests
    
    Dhrystone 2 using register variables       42425582.1 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     4516.3 MWIPS (9.8 s, 7 samples)
    Execl Throughput                               7072.9 lps   (30.0 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks       1604856.4 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks          438664.5 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks       3544025.5 KBps  (30.0 s, 2 samples)
    Pipe Throughput                             3011905.5 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 534479.4 lps   (10.0 s, 7 samples)
    Process Creation                              26416.7 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   8199.5 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                   1099.3 lpm   (60.0 s, 2 samples)
    System Call Overhead                        5643530.2 lps   (10.0 s, 7 samples)
    
    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   42425582.1   3635.4
    Double-Precision Whetstone                       55.0       4516.3    821.1
    Execl Throughput                                 43.0       7072.9   1644.9
    File Copy 1024 bufsize 2000 maxblocks          3960.0    1604856.4   4052.7
    File Copy 256 bufsize 500 maxblocks            1655.0     438664.5   2650.5
    File Copy 4096 bufsize 8000 maxblocks          5800.0    3544025.5   6110.4
    Pipe Throughput                               12440.0    3011905.5   2421.1
    Pipe-based Context Switching                   4000.0     534479.4   1336.2
    Process Creation                                126.0      26416.7   2096.6
    Shell Scripts (1 concurrent)                     42.4       8199.5   1933.9
    Shell Scripts (8 concurrent)                      6.0       1099.3   1832.1
    System Call Overhead                          15000.0    5643530.2   3762.4
                                                                       ========
    System Benchmarks Index Score                                        2355.3
     
  7. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:42 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Jul 8, 2014
    • Like Like x 3
Thread Status:
Not open for further replies.