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

Change Maria DB to latest version before installation

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Oct 12, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    4,022
    421
    83
    May 31, 2014
    Ratings:
    +816
    Local Time:
    11:24 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hi

    I got a new vps fro Digital Ocean and i want to start testing some Centminmod options :)


    Now i want to use MariaDB 5.5.40 newest and i edit the install file and found this:

    # Define current MariaDB version
    MDB_VERONLY='5.2.14'
    MDB_BUILD='122'

    So changing this will work?

    # Define current MariaDB version
    MDB_VERONLY='5.5.40'
    MDB_BUILD='122'

    And what i must edit on the MDB_BUILD field?

    Thanks
     
  2. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    2:24 AM
    1.7.6
    5.10
    You don't need to change anything. You will get the latest version installed when CentminMod installs MariaDB.
     
  3. pamamolf

    pamamolf Well-Known Member

    4,022
    421
    83
    May 31, 2014
    Ratings:
    +816
    Local Time:
    11:24 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    And which files i must edit to change and get as default timezone Europe/Athens and GMT if i am not wrong?

    I found on centmin.sh this:

    #!/bin/sh
    ZONEINFO=Europe/Athens # Set Timezone <--- I already change this....

    Thanks
     
  4. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    2:24 AM
    1.7.6
    5.10
    Line #2 from centmin.sh file
    ZONEINFO=Etc/UTC # Set Timezone

    Change Etc/UTC to Europe/Athens
     
  5. pamamolf

    pamamolf Well-Known Member

    4,022
    421
    83
    May 31, 2014
    Ratings:
    +816
    Local Time:
    11:24 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    and on:/usr/local/src/centminmod-123.08centos7beta01/inc/phpsededit.inc


    if [[ "$(date +"%Z")" = 'EST' ]]; then
    echo "date.timezone = Australia/Brisbane" >> ${CONFIGSCANDIR}/custom_php.ini
    else
    echo "date.timezone = UTC" >> ${CONFIGSCANDIR}/custom_php.ini
    fi

    Is there any other files needed to change and how exactly i can adjustthis as i can see there EST and UTC?

    Or this edit not needed at all?
     
  6. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    2:24 AM
    1.7.6
    5.10
    Code:
    if [[ "$(date +"%Z")" = 'EST' ]]; then
    echo "date.timezone = Europe/Athens" >> ${CONFIGSCANDIR}/custom_php.ini
    else
    echo "date.timezone = Europe/Athens" >> ${CONFIGSCANDIR}/custom_php.ini
    fi
    That's what you need to do.
     
  7. pamamolf

    pamamolf Well-Known Member

    4,022
    421
    83
    May 31, 2014
    Ratings:
    +816
    Local Time:
    11:24 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Great thanks :)