User Tools

Site Tools


upgrade_using_ius

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
upgrade_using_ius [2019/02/26 18:19] – created k2patelupgrade_using_ius [2020/08/10 02:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Upgrade using iUS ====== ====== Upgrade using iUS ======
  
 +==== Enable iUS repository ====
 +Follow guide available at [[https://ius.io/GettingStarted/ | iUS ]]
  
 +==== Stop mariadb and install ====
 <code bash> <code bash>
 systemctl stop mariadb systemctl stop mariadb
 +yum install yum-plugin-replace
 yum replace mariadb-server --replace-with mariadb101u-server yum replace mariadb-server --replace-with mariadb101u-server
 +</code>
 +
 +==== Setup file limit for mariadb ====
 +File limit require to upgrade mariadb.
 +<code bash>
 mkdir /etc/systemd/system/mariadb.service.d mkdir /etc/systemd/system/mariadb.service.d
-/etc/systemd/system/mariadb.service.d/limit.conf+</code> 
 + 
 +<code ini /etc/systemd/system/mariadb.service.d/limit.conf>
 [Service] [Service]
 LimitNOFILE=320000 LimitNOFILE=320000
 +</code>
 +
 +==== Start mariadb ====
 +<code bash>
 systemctl start mariadb systemctl start mariadb
-mysqlcheck --no-defaults --check-upgrade --all-databases --auto-repair --write-binlog +</code> 
-mysqlcheck --no-defaults --all-databases --fix-db-names --fix-table-names --write-binlog -p+ 
 +==== Finalize Upgrade ==== 
 +<code bash>
 mysqlcheck --no-defaults --check-upgrade --auto-repair --databases mysql -p mysqlcheck --no-defaults --check-upgrade --auto-repair --databases mysql -p
 +mysqlcheck --no-defaults --check-upgrade --all-databases --auto-repair --write-binlog -p
 +mysqlcheck --no-defaults --all-databases --fix-db-names --fix-table-names --write-binlog -p
 mysql_upgrade mysql_upgrade
 </code> </code>
upgrade_using_ius.1551205198.txt.gz · Last modified: 2020/08/10 02:29 (external edit)