Want to subscribe to topics you're interested in?
Become a Member

Featured CentOS 7.x CentOS 7.0 Install on VirtualBOX Guest Server

Discussion in 'CentOS, Redhat & Oracle Linux News' started by eva2000, Jul 8, 2014.

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

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    My first time installing CentOS 7.0 so decided to install it on a local VirtualBox Guest server using the CentOS 7.0 x86_64 64bit ISO dvd.


    Will use this for my base test server for Centmin Mod testing just as I did with CentOS 5.x and 6.x :)

    Screenshots below.

    First part loading the CentOS 7.0 64bit ISO dvd file and starting the VirtualBox guest server

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Starting Up

    [​IMG]
    [​IMG]
    [​IMG]

    Set Date and Time

    [​IMG]

    Choose Minimal CentOS 7 install method

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Set root password

    [​IMG]

    [​IMG]

    CentOS 7.0 Install proceeding

    [​IMG]

    [​IMG]

    Booting up CentOS 7.0 64bit VirtualBox Guest server

    [​IMG]
    [​IMG]

    Now to do Centmin Mod Nginx, PHP-FPM and MariaDB MySQL compatibility tests for CentOS 7.0 64bit. FYI, CentOS 7.0 64bit already defaults to MariaDB MySQL when installed, so will see what differences there are from CentOS 7 64bit installed MariaDB MySQL and MariaDB official YUM repository installs :)

     
    Last edited: Dec 15, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Systemd

    CentOS 7 and systemd replacing init.d (SysVinit) will take some time getting use to found a cheat sheet for Fedora's systemd wonder if it's exactly same as CentOS 7 https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet ?

    systemd_cheatsheet.png

    Code:
    systemctl is-active crond.service
    active
    CentOS 7 systemd replaces init.d start/stop system !

    Code:
    ls -lah /etc/systemd/system/
    total 12K
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 .
    drwxr-xr-x. 4 root root 4.0K Jul  8 13:29 ..
    drwxr-xr-x. 2 root root   54 Jul  8 13:29 basic.target.wants
    lrwxrwxrwx. 1 root root   41 Jul  8 13:29 dbus-org.fedoraproject.FirewallD1.service -> /usr/lib/systemd/system/firewalld.service
    lrwxrwxrwx. 1 root root   44 Jul  8 13:29 dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service
    lrwxrwxrwx. 1 root root   46 Jul  8 13:29 dbus-org.freedesktop.NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
    lrwxrwxrwx. 1 root root   57 Jul  8 13:29 dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service
    lrwxrwxrwx. 1 root root   37 Jul  8 13:31 default.target -> /lib/systemd/system/multi-user.target
    drwxr-xr-x. 2 root root   85 Jul  8 13:29 default.target.wants
    drwxr-xr-x. 2 root root   31 Jul  8 13:29 getty.target.wants
    drwxr-xr-x. 2 root root 4.0K Jul  8 13:29 multi-user.target.wants
    drwxr-xr-x. 2 root root   80 Jul  8 13:29 sockets.target.wants
    drwxr-xr-x. 2 root root   33 Jul  8 13:29 sysinit.target.wants
    drwxr-xr-x. 2 root root   43 Jul  8 13:29 system-update.target.wants
    Code:
     ls -lahR /etc/systemd/system/
    /etc/systemd/system/:
    total 12K
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 .
    drwxr-xr-x. 4 root root 4.0K Jul  8 13:29 ..
    drwxr-xr-x. 2 root root   54 Jul  8 13:29 basic.target.wants
    lrwxrwxrwx. 1 root root   41 Jul  8 13:29 dbus-org.fedoraproject.FirewallD1.service -> /usr/lib/systemd/system/firewalld.service
    lrwxrwxrwx. 1 root root   44 Jul  8 13:29 dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service
    lrwxrwxrwx. 1 root root   46 Jul  8 13:29 dbus-org.freedesktop.NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
    lrwxrwxrwx. 1 root root   57 Jul  8 13:29 dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service
    lrwxrwxrwx. 1 root root   37 Jul  8 13:31 default.target -> /lib/systemd/system/multi-user.target
    drwxr-xr-x. 2 root root   85 Jul  8 13:29 default.target.wants
    drwxr-xr-x. 2 root root   31 Jul  8 13:29 getty.target.wants
    drwxr-xr-x. 2 root root 4.0K Jul  8 13:29 multi-user.target.wants
    drwxr-xr-x. 2 root root   80 Jul  8 13:29 sockets.target.wants
    drwxr-xr-x. 2 root root   33 Jul  8 13:29 sysinit.target.wants
    drwxr-xr-x. 2 root root   43 Jul  8 13:29 system-update.target.wants
    
    /etc/systemd/system/basic.target.wants:
    total 4.0K
    drwxr-xr-x. 2 root root   54 Jul  8 13:29 .
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 ..
    lrwxrwxrwx. 1 root root   41 Jul  8 13:29 firewalld.service -> /usr/lib/systemd/system/firewalld.service
    lrwxrwxrwx. 1 root root   41 Jul  8 13:29 microcode.service -> /usr/lib/systemd/system/microcode.service
    
    /etc/systemd/system/default.target.wants:
    total 4.0K
    drwxr-xr-x. 2 root root   85 Jul  8 13:29 .
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 ..
    lrwxrwxrwx. 1 root root   57 Jul  8 13:29 systemd-readahead-collect.service -> /usr/lib/systemd/system/systemd-readahead-collect.service
    lrwxrwxrwx. 1 root root   56 Jul  8 13:29 systemd-readahead-replay.service -> /usr/lib/systemd/system/systemd-readahead-replay.service
    
    /etc/systemd/system/getty.target.wants:
    total 4.0K
    drwxr-xr-x. 2 root root   31 Jul  8 13:29 .
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 ..
    lrwxrwxrwx. 1 root root   38 Jul  8 13:29 getty@tty1.service -> /usr/lib/systemd/system/getty@.service
    
    /etc/systemd/system/multi-user.target.wants:
    total 8.0K
    drwxr-xr-x. 2 root root 4.0K Jul  8 13:29 .
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 ..
    lrwxrwxrwx. 1 root root   38 Jul  8 13:29 auditd.service -> /usr/lib/systemd/system/auditd.service
    lrwxrwxrwx. 1 root root   44 Jul  8 13:29 avahi-daemon.service -> /usr/lib/systemd/system/avahi-daemon.service
    lrwxrwxrwx. 1 root root   37 Jul  8 13:29 crond.service -> /usr/lib/systemd/system/crond.service
    lrwxrwxrwx. 1 root root   42 Jul  8 13:29 irqbalance.service -> /usr/lib/systemd/system/irqbalance.service
    lrwxrwxrwx. 1 root root   37 Jul  8 13:29 kdump.service -> /usr/lib/systemd/system/kdump.service
    lrwxrwxrwx. 1 root root   46 Jul  8 13:29 NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
    lrwxrwxrwx. 1 root root   39 Jul  8 13:29 postfix.service -> /usr/lib/systemd/system/postfix.service
    lrwxrwxrwx. 1 root root   40 Jul  8 13:29 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
    lrwxrwxrwx. 1 root root   39 Jul  8 13:29 rsyslog.service -> /usr/lib/systemd/system/rsyslog.service
    lrwxrwxrwx. 1 root root   36 Jul  8 13:29 sshd.service -> /usr/lib/systemd/system/sshd.service
    lrwxrwxrwx. 1 root root   37 Jul  8 13:29 tuned.service -> /usr/lib/systemd/system/tuned.service
    
    /etc/systemd/system/sockets.target.wants:
    total 4.0K
    drwxr-xr-x. 2 root root   80 Jul  8 13:29 .
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 ..
    lrwxrwxrwx. 1 root root   43 Jul  8 13:29 avahi-daemon.socket -> /usr/lib/systemd/system/avahi-daemon.socket
    lrwxrwxrwx. 1 root root   39 Jul  8 13:29 dm-event.socket -> /usr/lib/systemd/system/dm-event.socket
    lrwxrwxrwx. 1 root root   43 Jul  8 13:29 lvm2-lvmetad.socket -> /usr/lib/systemd/system/lvm2-lvmetad.socket
    
    /etc/systemd/system/sysinit.target.wants:
    total 4.0K
    drwxr-xr-x. 2 root root   33 Jul  8 13:29 .
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 ..
    lrwxrwxrwx. 1 root root   44 Jul  8 13:29 lvm2-monitor.service -> /usr/lib/systemd/system/lvm2-monitor.service
    
    /etc/systemd/system/system-update.target.wants:
    total 4.0K
    drwxr-xr-x. 2 root root   43 Jul  8 13:29 .
    drwxr-xr-x. 9 root root 4.0K Jul  8 13:31 ..
    lrwxrwxrwx. 1 root root   54 Jul  8 13:29 systemd-readahead-drop.service -> /usr/lib/systemd/system/systemd-readahead-drop.service
    For example crond service status

    Code:
    systemctl is-active crond.service
    active
    Code:
    systemctl status crond.service
    crond.service - Command Scheduler
       Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled)
       Active: active (running) since Tue 2014-07-08 17:17:10 EST; 29min ago
    Main PID: 612 (crond)
       CGroup: /system.slice/crond.service
               └─612 /usr/sbin/crond -n
    
    Jul 08 17:17:10 centos7.localdomain systemd[1]: Started Command Scheduler.
    Jul 08 17:17:10 centos7.localdomain crond[612]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 96% if used.)
    Jul 08 17:17:11 centos7.localdomain crond[612]: (CRON) INFO (running with inotify support)
    crond systemd file ?

    Code:
    cat /usr/lib/systemd/system/crond.service
    
    [Unit]
    Description=Command Scheduler
    After=syslog.target auditd.service systemd-user-sessions.service time-sync.target
    
    [Service]
    EnvironmentFile=/etc/sysconfig/crond
    ExecStart=/usr/sbin/crond -n $CRONDARGS
    KillMode=process
    
    [Install]
    WantedBy=multi-user.target
    postfix service status

    Code:
    systemctl is-active postfix.service
    active
    Code:
    systemctl status postfix
    postfix.service - Postfix Mail Transport Agent
       Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled)
       Active: active (running) since Tue 2014-07-08 17:17:12 EST; 38min ago
      Process: 1159 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
      Process: 1142 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
      Process: 1090 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
    Main PID: 1739 (master)
       CGroup: /system.slice/postfix.service
               ├─1739 /usr/libexec/postfix/master -w
               ├─1771 pickup -l -t unix -u
               └─1772 qmgr -l -t unix -u
    
    Jul 08 17:17:12 centos7.localdomain postfix/master[1739]: daemon started -- version 2.10.1, configuration /etc/postfix
    Jul 08 17:17:12 centos7.localdomain systemd[1]: Started Postfix Mail Transport Agent.
    Code:
    cat /usr/lib/systemd/system/postfix.service
    
    [Unit]
    Description=Postfix Mail Transport Agent
    After=syslog.target network.target
    Conflicts=sendmail.service exim.service
    
    [Service]
    Type=forking
    PIDFile=/var/spool/postfix/pid/master.pid
    EnvironmentFile=-/etc/sysconfig/network
    ExecStartPre=-/usr/libexec/postfix/aliasesdb
    ExecStartPre=-/usr/libexec/postfix/chroot-update
    ExecStart=/usr/sbin/postfix start
    ExecReload=/usr/sbin/postfix reload
    ExecStop=/usr/sbin/postfix stop
    
    [Install]
    WantedBy=multi-user.target
    systemd help options

    Code:
    systemctl --help
    systemctl [OPTIONS...] {COMMAND} ...
    
    Query or send control commands to the systemd manager.
    
      -h --help           Show this help
         --version        Show package version
      -t --type=TYPE      List only units of a particular type
         --state=STATE    List only units with particular LOAD or SUB or ACTIVE state
      -p --property=NAME  Show only properties by this name
      -a --all            Show all loaded units/properties, including dead/empty
                          ones. To list all units installed on the system, use
                          the 'list-unit-files' command instead.
         --reverse        Show reverse dependencies with 'list-dependencies'
      -l --full           Don't ellipsize unit names on output
         --fail           When queueing a new job, fail if conflicting jobs are
                          pending
         --irreversible   When queueing a new job, make sure it cannot be implicitly
                          cancelled
         --ignore-dependencies
                          When queueing a new job, ignore all its dependencies
         --show-types     When showing sockets, explicitly show their type
      -i --ignore-inhibitors
                          When shutting down or sleeping, ignore inhibitors
         --kill-who=WHO   Who to send signal to
      -s --signal=SIGNAL  Which signal to send
      -H --host=[USER@]HOST
                          Show information for remote host
      -P --privileged     Acquire privileges before execution
      -q --quiet          Suppress output
         --no-block       Do not wait until operation finished
         --no-wall        Don't send wall message before halt/power-off/reboot
         --no-reload      When enabling/disabling unit files, don't reload daemon
                          configuration
         --no-legend      Do not print a legend (column headers and hints)
         --no-pager       Do not pipe output into a pager
         --no-ask-password
                          Do not ask for system passwords
         --system         Connect to system manager
         --user           Connect to user service manager
         --global         Enable/disable unit files globally
         --runtime        Enable unit files only temporarily until next reboot
      -f --force          When enabling unit files, override existing symlinks
                          When shutting down, execute action immediately
         --root=PATH      Enable unit files in the specified root directory
      -n --lines=INTEGER  Number of journal entries to show
      -o --output=STRING  Change journal output mode (short, short-monotonic,
                          verbose, export, json, json-pretty, json-sse, cat)
         --plain          Print unit dependencies as a list instead of a tree
    
    Unit Commands:
      list-units                      List loaded units
      list-sockets                    List loaded sockets ordered by address
      start [NAME...]                 Start (activate) one or more units
      stop [NAME...]                  Stop (deactivate) one or more units
      reload [NAME...]                Reload one or more units
      restart [NAME...]               Start or restart one or more units
      try-restart [NAME...]           Restart one or more units if active
      reload-or-restart [NAME...]     Reload one or more units if possible,
                                      otherwise start or restart
      reload-or-try-restart [NAME...] Reload one or more units if possible,
                                      otherwise restart if active
      isolate [NAME]                  Start one unit and stop all others
      kill [NAME...]                  Send signal to processes of a unit
      is-active [NAME...]             Check whether units are active
      is-failed [NAME...]             Check whether units are failed
      status [NAME...|PID...]         Show runtime status of one or more units
      show [NAME...|JOB...]           Show properties of one or more
                                      units/jobs or the manager
      set-property [NAME] [ASSIGNMENT...]
                                      Sets one or more properties of a unit
      help [NAME...|PID...]           Show manual for one or more units
      reset-failed [NAME...]          Reset failed state for all, one, or more
                                      units
      list-dependencies [NAME]        Recursively show units which are required
                                      or wanted by this unit or by which this
                                      unit is required or wanted
    
    Unit File Commands:
      list-unit-files                 List installed unit files
      enable [NAME...]                Enable one or more unit files
      disable [NAME...]               Disable one or more unit files
      reenable [NAME...]              Reenable one or more unit files
      preset [NAME...]                Enable/disable one or more unit files
                                      based on preset configuration
      is-enabled [NAME...]            Check whether unit files are enabled
    
      mask [NAME...]                  Mask one or more units
      unmask [NAME...]                Unmask one or more units
      link [PATH...]                  Link one or more units files into
                                      the search path
      get-default                     Get the name of the default target
      set-default NAME                Set the default target
    
    Job Commands:
      list-jobs                       List jobs
      cancel [JOB...]                 Cancel all, one, or more jobs
    
    Snapshot Commands:
      snapshot [NAME]                 Create a snapshot
      delete [NAME...]                Remove one or more snapshots
    
    Environment Commands:
      show-environment                Dump environment
      set-environment [NAME=VALUE...] Set one or more environment variables
      unset-environment [NAME...]     Unset one or more environment variables
    
    Manager Lifecycle Commands:
      daemon-reload                   Reload systemd manager configuration
      daemon-reexec                   Reexecute systemd manager
    
    System Commands:
      default                         Enter system default mode
      rescue                          Enter system rescue mode
      emergency                       Enter system emergency mode
      halt                            Shut down and halt the system
      poweroff                        Shut down and power-off the system
      reboot                          Shut down and reboot the system
      kexec                           Shut down and reboot the system with kexec
      exit                            Request user instance exit
      switch-root [ROOT] [INIT]       Change to a different root file system
      suspend                         Suspend the system
      hibernate                       Hibernate the system
      hybrid-sleep                    Hibernate and suspend the system
    
     
    Last edited: Jul 9, 2014
  3. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Fresh Install details

    Code:
    cat /etc/redhat-release
    CentOS Linux release 7.0.1406 (Core)
    Code:
    uname -a
    Linux centos7.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    Code:
    free -m
                 total       used       free     shared    buffers     cached
    Mem:          1841        221       1619          8          0         81
    -/+ buffers/cache:        139       1701
    Swap:         1535          0       1535
    Code:
    df -hT
    Filesystem              Type      Size  Used Avail Use% Mounted on
    /dev/mapper/centos-root xfs        13G  1.2G   12G   9% /
    devtmpfs                devtmpfs  915M     0  915M   0% /dev
    tmpfs                   tmpfs     921M     0  921M   0% /dev/shm
    tmpfs                   tmpfs     921M  8.3M  913M   1% /run
    tmpfs                   tmpfs     921M     0  921M   0% /sys/fs/cgroup
    /dev/sda1               xfs       497M   96M  402M  20% /boot
    Code:
    cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 2426.765
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 4
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme 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 rep_good nopl pni ssse3 lahf_lm
    bogomips        : 4853.53
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 2426.765
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 4
    core id         : 1
    cpu cores       : 4
    apicid          : 1
    initial apicid  : 1
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme 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 rep_good nopl pni ssse3 lahf_lm
    bogomips        : 4853.53
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 2
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 2426.765
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 4
    core id         : 2
    cpu cores       : 4
    apicid          : 2
    initial apicid  : 2
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme 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 rep_good nopl pni ssse3 lahf_lm
    bogomips        : 4853.53
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 3
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 2426.765
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 4
    core id         : 3
    cpu cores       : 4
    apicid          : 3
    initial apicid  : 3
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme 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 rep_good nopl pni ssse3 lahf_lm
    bogomips        : 4853.53
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Code:
    top
    top - 17:19:34 up 2 min,  1 user,  load average: 0.02, 0.03, 0.02
    Tasks: 116 total,   2 running, 114 sleeping,   0 stopped,   0 zombie
    %Cpu0  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    %Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    %Cpu2  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    %Cpu3  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    KiB Mem:   1885236 total,   227720 used,  1657516 free,      764 buffers
    KiB Swap:  1572860 total,        0 used,  1572860 free.    83872 cached Mem
    
      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                               
    2258 root      20   0  133596   4944   3768 S   0.4  0.3   0:00.10 sshd                                                                                  
        1 root      20   0   50764   7160   2492 S   0.0  0.4   0:00.93 systemd                                                                               
        2 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kthreadd                                                                              
        3 root      20   0       0      0      0 S   0.0  0.0   0:00.02 ksoftirqd/0                                                                           
        4 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0                                                                           
        5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H                                                                          
        6 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/u8:0                                                                          
        7 root      rt   0       0      0      0 S   0.0  0.0   0:00.26 migration/0                                                                           
        8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh                                                                                
        9 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/0                                                                               
       10 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/1                                                                               
       11 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/2                                                                               
       12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcuob/3                                                                               
       13 root      20   0       0      0      0 R   0.0  0.0   0:00.21 rcu_sched                                                                             
       14 root      20   0       0      0      0 S   0.0  0.0   0:00.06 rcuos/0                                                                               
       15 root      20   0       0      0      0 S   0.0  0.0   0:00.06 rcuos/1                                                                               
       16 root      20   0       0      0      0 S   0.0  0.0   0:00.06 rcuos/2                                                                               
       17 root      20   0       0      0      0 S   0.0  0.0   0:00.07 rcuos/3                                                                               
       18 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/0                                                                            
       19 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/1                                                                            
       20 root      rt   0       0      0      0 S   0.0  0.0   0:00.32 migration/1                                                                           
       21 root      20   0       0      0      0 S   0.0  0.0   0:00.00 ksoftirqd/1                                                                           
       22 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/1:0                                                                           
       23 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/1:0H                                                                          
       24 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/2                                                                            
       25 root      rt   0       0      0      0 S   0.0  0.0   0:00.40 migration/2                                                                           
       26 root      20   0       0      0      0 S   0.0  0.0   0:00.00 ksoftirqd/2                                                                           
       27 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/2:0                                                                           
       28 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/2:0H                                                                          
       29 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/3                                                                            
       30 root      rt   0       0      0      0 S   0.0  0.0   0:00.26 migration/3                                                                           
       31 root      20   0       0      0      0 S   0.0  0.0   0:00.00 ksoftirqd/3                                                                           
       32 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/3:0                                                                           
       33 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/3:0H                                                                          
       34 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 khelper                                                                               
       35 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kdevtmpfs                                                                             
       36 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 netns                                                                                 
       37 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 writeback                                                                             
       38 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kintegrityd                                                                           
       39 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 bioset                                                                                
       40 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kblockd                                                                               
       41 root      20   0       0      0      0 S   0.0  0.0   0:00.00 khubd                                                                                 
       42 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 md                                                                                    
       43 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kworker/2:1                                                                           
       44 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kworker/3:1                                                                           
       45 root      20   0       0      0      0 S   0.0  0.0   0:00.08 kworker/0:1                                                                           
       47 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kswapd0                                                                               
       48 root      25   5       0      0      0 S   0.0  0.0   0:00.00 ksmd                                                                                  
       49 root      39  19       0      0      0 S   0.0  0.0   0:00.00 khugepaged                                                                            
       50 root      20   0       0      0      0 S   0.0  0.0   0:00.00 fsnotify_mark                                                                         
       51 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 crypto                                                                                
       60 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kthrotld                                                                              
       61 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/u8:1                                                                          
       62 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kmpath_rdacd                                                                          
       63 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kpsmoused                                                                             
       82 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 deferwq                                                                               
       83 root      20   0       0      0      0 S   0.0  0.0   0:00.03 kworker/1:1                                                                           
      105 root      20   0       0      0      0 S   0.0  0.0   0:00.05 kauditd                                                                               
      106 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/0:2                                                                           
      259 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 ata_sff                                                                               
      261 root      20   0       0      0      0 S   0.0  0.0   0:00.00 scsi_eh_0  
    Code:
    ps aufx
    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root         2  0.0  0.0      0     0 ?        S    17:17   0:00 [kthreadd]
    root         3  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [ksoftirqd/0]
    root         5  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/0:0H]
    root         7  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [migration/0]
    root         8  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcu_bh]
    root         9  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuob/0]
    root        10  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuob/1]
    root        11  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuob/2]
    root        12  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuob/3]
    root        13  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcu_sched]
    root        14  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuos/0]
    root        15  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuos/1]
    root        16  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuos/2]
    root        17  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [rcuos/3]
    root        18  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [watchdog/0]
    root        19  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [watchdog/1]
    root        20  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [migration/1]
    root        21  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [ksoftirqd/1]
    root        23  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/1:0H]
    root        24  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [watchdog/2]
    root        25  0.1  0.0      0     0 ?        S    17:17   0:00  \_ [migration/2]
    root        26  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [ksoftirqd/2]
    root        27  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/2:0]
    root        28  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/2:0H]
    root        29  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [watchdog/3]
    root        30  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [migration/3]
    root        31  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [ksoftirqd/3]
    root        33  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/3:0H]
    root        34  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [khelper]
    root        35  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kdevtmpfs]
    root        36  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [netns]
    root        37  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [writeback]
    root        38  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kintegrityd]
    root        39  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [bioset]
    root        40  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kblockd]
    root        41  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [khubd]
    root        42  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [md]
    root        44  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/3:1]
    root        45  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/0:1]
    root        47  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kswapd0]
    root        48  0.0  0.0      0     0 ?        SN   17:17   0:00  \_ [ksmd]
    root        49  0.0  0.0      0     0 ?        SN   17:17   0:00  \_ [khugepaged]
    root        50  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [fsnotify_mark]
    root        51  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [crypto]
    root        60  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kthrotld]
    root        61  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/u8:1]
    root        62  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kmpath_rdacd]
    root        63  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kpsmoused]
    root        82  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [deferwq]
    root        83  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/1:1]
    root       105  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kauditd]
    root       106  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/0:2]
    root       259  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [ata_sff]
    root       261  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [scsi_eh_0]
    root       263  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [scsi_tmf_0]
    root       265  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [scsi_eh_1]
    root       266  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [scsi_tmf_1]
    root       272  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/u8:3]
    root       273  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [scsi_eh_2]
    root       274  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [scsi_tmf_2]
    root       293  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/3:2]
    root       300  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/0:1H]
    root       302  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/1:2]
    root       304  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/2:1H]
    root       366  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kdmflush]
    root       367  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [bioset]
    root       374  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kdmflush]
    root       375  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [bioset]
    root       380  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [kworker/2:2]
    root       389  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfsalloc]
    root       390  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfs_mru_cache]
    root       391  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfslogd]
    root       392  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfs-data/dm-1]
    root       393  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfs-conv/dm-1]
    root       394  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfs-cil/dm-1]
    root       395  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [xfsaild/dm-1]
    root       456  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/1:1H]
    root       480  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [kworker/3:1H]
    root       552  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfs-data/sda1]
    root       553  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfs-conv/sda1]
    root       554  0.0  0.0      0     0 ?        S<   17:17   0:00  \_ [xfs-cil/sda1]
    root       557  0.0  0.0      0     0 ?        S    17:17   0:00  \_ [xfsaild/sda1]
    root      2285  0.0  0.0      0     0 ?        S    17:22   0:00  \_ [kworker/3:0]
    root      2287  0.0  0.0      0     0 ?        S    17:22   0:00  \_ [kworker/1:0]
    root         1  0.2  0.3  50764  7160 ?        Ss   17:17   0:00 /usr/lib/systemd/systemd --switched-root --system --deserialize 23
    root       465  0.0  0.1  42992  2448 ?        Ss   17:17   0:00 /usr/lib/systemd/systemd-journald
    root       474  0.0  0.2 180956  4272 ?        Ss   17:17   0:00 /usr/sbin/lvmetad -f
    root       497  0.0  0.1  42212  2164 ?        Ss   17:17   0:00 /usr/lib/systemd/systemd-udevd
    root       564  0.0  0.0  51160  1600 ?        S<sl 17:17   0:00 /sbin/auditd -n
    root       591  0.1  1.1 327240 20932 ?        Ssl  17:17   0:00 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
    avahi      594  0.0  0.0  27944  1524 ?        Ss   17:17   0:00 avahi-daemon: running [centos7.local]
    avahi      613  0.0  0.0  27944   440 ?        S    17:17   0:00  \_ avahi-daemon: chroot helper
    root       595  0.0  0.1 273524  2776 ?        Ssl  17:17   0:00 /usr/sbin/rsyslogd -n
    root       597  0.0  0.8 549980 16060 ?        Ssl  17:17   0:00 /usr/bin/python -Es /usr/sbin/tuned -l -P
    root       598  0.0  0.0  34684  1720 ?        Ss   17:17   0:00 /usr/lib/systemd/systemd-logind
    dbus       599  0.0  0.0  34900  1848 ?        Ssl  17:17   0:00 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    root       612  0.0  0.0 126300  1676 ?        Ss   17:17   0:00 /usr/sbin/crond -n
    root       626  0.0  0.0 110004   832 tty1     Ss+  17:17   0:00 /sbin/agetty --noclear tty1
    root       630  0.0  0.0   6484   336 ?        Ss   17:17   0:00 /sbin/iprinit --daemon
    root       631  0.0  0.0   6484   336 ?        Ss   17:17   0:00 /sbin/iprupdate --daemon
    root       665  0.0  0.0  39124    92 ?        Ss   17:17   0:00 /sbin/iprdump --daemon
    root       713  0.0  0.4 451892  8988 ?        Ssl  17:17   0:00 /usr/sbin/NetworkManager --no-daemon
    root      1598  0.0  0.8 102312 15664 ?        S    17:17   0:00  \_ /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /v
    polkitd    742  0.0  0.7 514216 14268 ?        Ssl  17:17   0:00 /usr/lib/polkit-1/polkitd --no-debug
    root      1111  0.0  0.1  82956  3592 ?        Ss   17:17   0:00 /usr/sbin/sshd -D
    root      2258  0.0  0.2 133596  4944 ?        Ss   17:19   0:00  \_ sshd: root@pts/0
    root      2262  0.0  0.1 115352  2040 pts/0    Ss   17:19   0:00      \_ -bash
    root      2288  0.0  0.0 123512  1432 pts/0    R+   17:23   0:00          \_ ps aufx
    root      1739  0.0  0.1  91700  2076 ?        Ss   17:17   0:00 /usr/libexec/postfix/master -w
    postfix   1771  0.0  0.2  91804  3888 ?        S    17:17   0:00  \_ pickup -l -t unix -u
    postfix   1772  0.0  0.2  91872  3916 ?        S    17:17   0:00  \_ qmgr -l -t unix -u
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looks like there's already updates to be done out of the box

    Code:
     yum list updates
    Loaded plugins: fastestmirror
    base                   | 3.6 kB  00:00:00    
    extras                 | 2.9 kB  00:00:00    
    updates                | 2.9 kB  00:00:00    
    (1/4): extras/7/x86_64/primary_db                  |  15 kB  00:00:00    
    (2/4): base/7/x86_64/group_gz                      | 157 kB  00:00:00    
    (3/4): updates/7/x86_64/primary_db                 | 1.4 MB  00:00:01    
    (4/4): base/7/x86_64/primary_db                    | 4.9 MB  00:00:02    
    Determining fastest mirrors
    * base: centos.mirror.serversaustralia.com.au
    * extras: centos.mirror.serversaustralia.com.au
    * updates: mirror.overthewire.com.au
    Updated Packages
    NetworkManager.x86_64                      1:0.9.9.1-23.git20140326.4dba720.el7_0              updates
    NetworkManager-glib.x86_64                 1:0.9.9.1-23.git20140326.4dba720.el7_0              updates
    NetworkManager-tui.x86_64                  1:0.9.9.1-23.git20140326.4dba720.el7_0              updates
    gnutls.x86_64  3.1.18-9.el7_0          updates
    json-c.x86_64  0.11-4.el7_0            updates
    kernel.x86_64  3.10.0-123.4.2.el7      updates
    kernel-devel.x86_64                        3.10.0-123.4.2.el7      updates
    kernel-headers.x86_64                      3.10.0-123.4.2.el7      updates
    kernel-tools.x86_64                        3.10.0-123.4.2.el7      updates
    kernel-tools-libs.x86_64                   3.10.0-123.4.2.el7      updates
    kexec-tools.x86_64                         2.0.4-32.el7.centos.1   updates
    libtasn1.x86_643.3-5.el7_0             updates
    mariadb-libs.x86_64                        1:5.5.37-1.el7_0        updates
    microcode_ctl.x86_64                       2:2.1-7.1.el7_0.1       updates
    openssl.x86_64 1:1.0.1e-34.el7_0.3     updates
    openssl-libs.x86_64                        1:1.0.1e-34.el7_0.3     updates
    openssl098e.x86_64                         0.9.8e-29.el7.centos.2  updates
    selinux-policy.noarch                      3.12.1-153.el7_0.10     updates
    selinux-policy-targeted.noarch             3.12.1-153.el7_0.10     updates
    tuned.noarch   2.3.0-11.el7_0.3        updates
    tzdata.noarch  2014e-1.el7_0           update
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    MariaDB MySQL defaults out of the box is MariaDB 5.5.35 with 5.5.37 update available so maybe better to use MariaDB official YUM repo as we are doing with Centmin Mod as it's already at MariaDB 5.5.38 and soon MariaDB 10.0.x ? :)

    Code:
    yum list mariadb*         
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.serversaustralia.com.au
    * extras: centos.mirror.serversaustralia.com.au
    * updates: mirror.overthewire.com.au
    Installed Packages
    mariadb-libs.x86_64      1:5.5.35-3.el7                          @anaconda
    Available Packages
    mariadb.x86_64           1:5.5.37-1.el7_0                        updates
    mariadb-bench.x86_64     1:5.5.37-1.el7_0                        updates
    mariadb-devel.i686       1:5.5.37-1.el7_0                        updates
    mariadb-devel.x86_64     1:5.5.37-1.el7_0                        updates
    mariadb-embedded.i686    1:5.5.37-1.el7_0                        updates
    mariadb-embedded.x86_64  1:5.5.37-1.el7_0                        updates
    mariadb-embedded-devel.i686                          1:5.5.37-1.el7_0                        updates
    mariadb-embedded-devel.x86_64                        1:5.5.37-1.el7_0                        updates
    mariadb-libs.i686        1:5.5.37-1.el7_0                        updates
    mariadb-libs.x86_64      1:5.5.37-1.el7_0                        updates
    mariadb-server.x86_64    1:5.5.37-1.el7_0                        updates
    mariadb-test.x86_64      1:5.5.37-1.el7_0                        updates  
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Apache defaults
    Code:
    yum list http*
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.serversaustralia.com.au
    * extras: centos.mirror.serversaustralia.com.au
    * updates: mirror.overthewire.com.au
    Available Packages
    httpcomponents-client.noarch4.2.5-4.el7   base
    httpcomponents-client-javadoc.noarch                    4.2.5-4.el7   base
    httpcomponents-core.noarch  4.2.4-6.el7   base
    httpcomponents-core-javadoc.noarch                      4.2.4-6.el7   base
    httpcomponents-project.noarch                           6-4.el7       base
    httpd.x86_64                2.4.6-17.el7.centos.1                     base
    httpd-devel.x86_64          2.4.6-17.el7.centos.1                     base
    httpd-manual.noarch         2.4.6-17.el7.centos.1                     base
    httpd-tools.x86_64          2.4.6-17.el7.centos.1                     base
    httpunit.noarch             1.7-15.el7    base
    httpunit-doc.noarch         1.7-15.el7    base
    httpunit-javadoc.noarch     1.7-15.el7    base
    PHP defaults
    Code:
    yum list php*
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.serversaustralia.com.au
    * extras: centos.mirror.serversaustralia.com.au
    * updates: mirror.overthewire.com.au
    Available Packages
    php.x86_64                5.4.16-21.el7   base
    php-bcmath.x86_64         5.4.16-21.el7   base
    php-cli.x86_64            5.4.16-21.el7   base
    php-common.x86_64         5.4.16-21.el7   base
    php-dba.x86_64            5.4.16-21.el7   base
    php-devel.x86_64          5.4.16-21.el7   base
    php-embedded.x86_64       5.4.16-21.el7   base
    php-enchant.x86_64        5.4.16-21.el7   base
    php-fpm.x86_64            5.4.16-21.el7   base
    php-gd.x86_64             5.4.16-21.el7   base
    php-intl.x86_64           5.4.16-21.el7   base
    php-ldap.x86_64           5.4.16-21.el7   base
    php-mbstring.x86_64       5.4.16-21.el7   base
    php-mysql.x86_64          5.4.16-21.el7   base
    php-mysqlnd.x86_64        5.4.16-21.el7   base
    php-odbc.x86_64           5.4.16-21.el7   base
    php-pdo.x86_64            5.4.16-21.el7   base
    php-pear.noarch           1:1.9.4-21.el7  base
    php-pecl-memcache.x86_64  3.0.8-4.el7     base
    php-pgsql.x86_64          5.4.16-21.el7   base
    php-process.x86_64        5.4.16-21.el7   base
    php-pspell.x86_64         5.4.16-21.el7   base
    php-recode.x86_64         5.4.16-21.el7   base
    php-snmp.x86_64           5.4.16-21.el7   base
    php-soap.x86_64           5.4.16-21.el7   base
    php-xml.x86_64            5.4.16-21.el7   base
    php-xmlrpc.x86_64         5.4.16-21.el7   base
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    gcc, g++, kernel and openssl defaults

    Code:
     yum list gcc* g++* kernel* openssl*
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.serversaustralia.com.au
    * extras: centos.mirror.serversaustralia.com.au
    * updates: mirror.overthewire.com.au
    Installed Packages
    gcc.x86_64            4.8.2-16.el7   @anaconda
    gcc-c++.x86_64        4.8.2-16.el7   @anaconda
    gcc-gfortran.x86_64   4.8.2-16.el7   @anaconda
    kernel.x86_64         3.10.0-123.el7 @anaconda
    kernel-devel.x86_64   3.10.0-123.el7 @anaconda
    kernel-headers.x86_64 3.10.0-123.el7 @anaconda
    kernel-tools.x86_64   3.10.0-123.el7 @anaconda
    kernel-tools-libs.x86_64                          3.10.0-123.el7 @anaconda
    openssl.x86_64        1:1.0.1e-34.el7@anaconda
    openssl-libs.x86_64   1:1.0.1e-34.el7@anaconda
    openssl098e.x86_64    0.9.8e-29.el7.centos                       @anaconda
    Available Packages
    gcc-gnat.x86_64       4.8.2-16.el7   base    
    gcc-go.x86_64         4.8.2-16.el7   base    
    gcc-objc.x86_64       4.8.2-16.el7   base    
    gcc-objc++.x86_64     4.8.2-16.el7   base    
    gcc-plugin-devel.x86_64                           4.8.2-16.el7   base    
    kernel.x86_64         3.10.0-123.4.2.el7                         updates 
    kernel-abi-whitelists.noarch                      3.10.0-123.4.2.el7                         updates 
    kernel-debug.x86_64   3.10.0-123.4.2.el7                         updates 
    kernel-debug-devel.x86_64                         3.10.0-123.4.2.el7                         updates 
    kernel-devel.x86_64   3.10.0-123.4.2.el7                         updates 
    kernel-doc.noarch     3.10.0-123.4.2.el7                         updates 
    kernel-headers.x86_64 3.10.0-123.4.2.el7                         updates 
    kernel-tools.x86_64   3.10.0-123.4.2.el7                         updates 
    kernel-tools-libs.x86_64                          3.10.0-123.4.2.el7                         updates 
    kernel-tools-libs-devel.x86_64                    3.10.0-123.4.2.el7                         updates 
    openssl.x86_64        1:1.0.1e-34.el7_0.3                        updates 
    openssl-devel.i686    1:1.0.1e-34.el7_0.3                        updates 
    openssl-devel.x86_64  1:1.0.1e-34.el7_0.3                        updates 
    openssl-libs.i686     1:1.0.1e-34.el7_0.3                        updates 
    openssl-libs.x86_64   1:1.0.1e-34.el7_0.3                        updates 
    openssl-perl.x86_64   1:1.0.1e-34.el7_0.3                        updates 
    openssl-static.i686   1:1.0.1e-34.el7_0.3                        updates 
    openssl-static.x86_64 1:1.0.1e-34.el7_0.3                        updates 
    openssl098e.i686      0.9.8e-29.el7.centos.2                     updates 
    openssl098e.x86_64    0.9.8e-29.el7.centos.2                     updates 
     
  9. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod will definitely need the essentials installed with minimal install method

    Code:
     yum list wget nano bc lynx screen mlocate net-tools
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.serversaustralia.com.au
    * extras: centos.mirror.serversaustralia.com.au
    * updates: mirror.overthewire.com.au
    Available Packages
    bc.x86_64                                                            1.06.95-13.el7                                                                       base
    lynx.x86_64                                                          2.8.8-0.3.dev15.el7                                                                  base
    mlocate.x86_64                                                       0.26-5.el7                                                                           base
    nano.x86_64                                                          2.3.1-10.el7                                                                         base
    net-tools.x86_64                                                     2.0-0.17.20131004git.el7                                                             base
    screen.x86_64                                                        4.1.0-0.19.20120314git3c2946.el7                                                     base
    wget.x86_64                                                          1.14-10.el7                                                                          base
    Code:
    yum -y install wget bc nano screen mlocate
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.serversaustralia.com.au
    * extras: centos.mirror.serversaustralia.com.au
    * updates: mirror.overthewire.com.au
    Resolving Dependencies
    --> Running transaction check
    ---> Package bc.x86_64 0:1.06.95-13.el7 will be installed
    ---> Package mlocate.x86_64 0:0.26-5.el7 will be installed
    ---> Package nano.x86_64 0:2.3.1-10.el7 will be installed
    ---> Package screen.x86_64 0:4.1.0-0.19.20120314git3c2946.el7 will be installed
    ---> Package wget.x86_64 0:1.14-10.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==============================================================================================================================================================
    Package                         Arch                           Version                                                    Repository                    Size
    ==============================================================================================================================================================
    Installing:
    bc                              x86_64                         1.06.95-13.el7                                             base                         115 k
    mlocate                         x86_64                         0.26-5.el7                                                 base                         112 k
    nano                            x86_64                         2.3.1-10.el7                                               base                         440 k
    screen                          x86_64                         4.1.0-0.19.20120314git3c2946.el7                           base                         550 k
    wget                            x86_64                         1.14-10.el7                                                base                         545 k
    
    Transaction Summary
    ==============================================================================================================================================================
    Install  5 Packages
    
    Total download size: 1.7 M
    Installed size: 5.1 M
    Downloading packages:
    warning: /var/cache/yum/x86_64/7/base/packages/mlocate-0.26-5.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY/s |    0 B  --:--:-- ETA
    Public key for mlocate-0.26-5.el7.x86_64.rpm is not installed
    (1/5): mlocate-0.26-5.el7.x86_64.rpm                                                                                                   | 112 kB  00:00:00    
    (2/5): bc-1.06.95-13.el7.x86_64.rpm                                                                                                    | 115 kB  00:00:00    
    (3/5): screen-4.1.0-0.19.20120314git3c2946.el7.x86_64.rpm                                                                              | 550 kB  00:00:00    
    (4/5): wget-1.14-10.el7.x86_64.rpm                                                                                                     | 545 kB  00:00:00    
    (5/5): nano-2.3.1-10.el7.x86_64.rpm                                                                                                    | 440 kB  00:00:00    
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                         1.7 MB/s | 1.7 MB  00:00:01    
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    Importing GPG key 0xF4A80EB5:
    Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
    Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
    Package    : centos-release-7-0.1406.el7.centos.2.3.x86_64 (@anaconda)
    From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : wget-1.14-10.el7.x86_64                                                                                                                    1/5
      Installing : bc-1.06.95-13.el7.x86_64                                                                                                                   2/5
      Installing : nano-2.3.1-10.el7.x86_64                                                                                                                   3/5
      Installing : mlocate-0.26-5.el7.x86_64                                                                                                                  4/5
      Installing : screen-4.1.0-0.19.20120314git3c2946.el7.x86_64                                                                                             5/5
      Verifying  : screen-4.1.0-0.19.20120314git3c2946.el7.x86_64                                                                                             1/5
      Verifying  : mlocate-0.26-5.el7.x86_64                                                                                                                  2/5
      Verifying  : nano-2.3.1-10.el7.x86_64                                                                                                                   3/5
      Verifying  : bc-1.06.95-13.el7.x86_64                                                                                                                   4/5
      Verifying  : wget-1.14-10.el7.x86_64                                                                                                                    5/5
    
    Installed:
      bc.x86_64 0:1.06.95-13.el7       mlocate.x86_64 0:0.26-5.el7       nano.x86_64 0:2.3.1-10.el7       screen.x86_64 0:4.1.0-0.19.20120314git3c2946.el7     
      wget.x86_64 0:1.14-10.el7      
    
    Complete!
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    moved systemd info to 2nd post
     
    Last edited: Jul 9, 2014
  11. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    YUM files and directories

    Code:
    cat /etc/yum.conf                   
    
    [main]
    cachedir=/var/cache/yum/$basearch/$releasever
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=5
    bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
    distroverpkg=centos-release
    
    
    #  This is the default, if you make this bigger yum won't see if the metadata
    # is newer on the remote and so you'll "gain" the bandwidth of not having to
    # download the new metadata and "pay" for it by yum not having correct
    # information.
    #  It is esp. important, to have correct metadata, for distributions like
    # Fedora which don't keep old packages around. If you don't like this checking
    # interupting your command line usage, it's much better to have something
    # manually check the metadata once an hour (yum-updatesd will do this).
    # metadata_expire=90m
    
    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d
    Code:
    cat /etc/yum.repos.d/CentOS-Base.repo
    # CentOS-Base.repo
    #
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client.  You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #
    # If the mirrorlist= does not work for you, as a fall back you can try the
    # remarked out baseurl= line instead.
    #
    #
    
    [base]
    name=CentOS-$releasever - Base
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    
    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
    #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
    #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    Code:
    ls -lah /etc/yum.repos.d/           
    
    total 32K
    drwxr-xr-x.  2 root root 4.0K Jun 27 21:07 .
    drwxr-xr-x. 76 root root 8.0K Jul  8 17:17 ..
    -rw-r--r--.  1 root root 1.6K Jul  4 21:00 CentOS-Base.repo
    -rw-r--r--.  1 root root  640 Jul  4 21:00 CentOS-Debuginfo.repo
    -rw-r--r--.  1 root root 1.3K Jul  4 21:00 CentOS-Sources.repo
    -rw-r--r--.  1 root root  156 Jul  4 21:00 CentOS-Vault.repo
     
  12. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    CentOS 7 moved some files around hmm

    Code:
     cat /etc/sysctl.conf
    # System default settings live in /usr/lib/sysctl.d/00-system.conf.
    # To override those settings, enter new settings here, or in an /etc/sysctl.d/<name>.conf file
    #
    # For more information, see sysctl.conf(5) and sysctl.d(5).
    Code:
    ls -lah /usr/lib/sysctl.d/
    total 12K
    drwxr-xr-x.  2 root root   49 Jul  8 13:29 .
    dr-xr-xr-x. 28 root root 4.0K Jul  8 13:29 ..
    -rw-r--r--.  1 root root  466 Jun 10 09:48 00-system.conf
    -rw-r--r--.  1 root root  710 Jun 10 15:35 50-default.conf
    Code:
    cat /usr/lib/sysctl.d/00-system.conf
    # Kernel sysctl configuration file
    #
    # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
    # sysctl.conf(5) for more details.
    
    # Disable netfilter on bridges.
    net.bridge.bridge-nf-call-ip6tables = 0
    net.bridge.bridge-nf-call-iptables = 0
    net.bridge.bridge-nf-call-arptables = 0
    
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 4294967295
    
    # Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 268435456
    
    Code:
    cat /usr/lib/sysctl.d/50-default.conf
    #  This file is part of systemd.
    #
    #  systemd is free software; you can redistribute it and/or modify it
    #  under the terms of the GNU Lesser General Public License as published by
    #  the Free Software Foundation; either version 2.1 of the License, or
    #  (at your option) any later version.
    
    # See sysctl.d(5) and core(5) for for details.
    
    # System Request functionality of the kernel (SYNC)
    kernel.sysrq = 16
    
    # Append the PID to the core filename
    kernel.core_uses_pid = 1
    
    # Source route verification
    net.ipv4.conf.default.rp_filter = 1
    
    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0
    
    # Enable hard and soft link protection
    fs.protected_hardlinks = 1
    fs.protected_symlinks = 1
     
  13. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Changing hostname got easier with hostnamectl ?

    Code:
    hostnamectl --help
    hostnamectl [OPTIONS...] COMMAND ...
    
    Query or change system hostname.
    
      -h --help              Show this help
         --version           Show package version
         --transient         Only set transient hostname
         --static            Only set static hostname
         --pretty            Only set pretty hostname
      -P --privileged        Acquire privileges before execution
         --no-ask-password   Do not prompt for password
      -H --host=[USER@]HOST  Operate on remote host
    
    Commands:
      status                 Show current hostname settings
      set-hostname NAME      Set system hostname
      set-icon-name NAME     Set icon name for host
      set-chassis NAME       Set chassis type for host
    Code:
    hostnamectl status
       Static hostname: centos7.localdomain
             Icon name: computer
               Chassis: n/a
            Machine ID: d1f656550e22485ba59f516e548d99df
               Boot ID: 9b7f2c13180c408296a15210bc1bf976
        Virtualization: oracle
      Operating System: CentOS Linux 7 (Core)
           CPE OS Name: cpe:/o:centos:centos:7
                Kernel: Linux 3.10.0-123.el7.x86_64
          Architecture: x86_64
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  15. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    CentOS 7.3 VNC Desktop



    On local virtualbox CentOS 7.3 instance testing VNC setup to get GUI access to a CentOS 7.3 server.

    tightvnc-centos7-virtualbox-01.png tightvnc-centos7-virtualbox-02.png tightvnc-centos7-virtualbox-03.png tightvnc-centos7-virtualbox-04.png tightvnc-centos7-virtualbox-05.png tightvnc-centos7-virtualbox-06.png tightvnc-centos7-virtualbox-07.png

    tightvnc-centos7-virtualbox-08.png

    tightvnc-centos7-virtualbox-10.png
     
    Last edited: Apr 8, 2017
  16. eva2000

    eva2000 Administrator Staff Member

    53,832
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    3:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
Thread Status:
Not open for further replies.