CentOS 7 - mariadb 10.1 ¼³Ä¡ (yum)

   Á¶È¸ 13987   Ãßõ 0    

https://mariadb.com/kb/en/mariadb/yum/

 

/etc/yum.repos.d/mariadb.repo 에 다음과 같이 repo를 구성

 

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

 

sudo yum install MariaDB-server MariaDB-client

 

systemctl start mariadb

systemctl enable mariadb

mysql_secure_installation (secure 설치)

 

/etc/security/limits.conf를 수정 합니다. 파일의 마지막에 추가.

mysql   soft   nproc   8192
mysql   hard   nproc   16384

 

mysql   soft   nofile  8192
mysql   hard   nofile  65536

 

swap을 안쓰게 설정

https://mariadb.com/kb/en/mariadb/configuring-swappiness/

 

sysctl -w vm.swappiness=0  (명령어)

 

/etc/sysctl.conf 에 아래의 라인을 추가

vm.swappiness = 0

 

설정은 https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/

/etc/my.cnf

/etc/my.cnf.d

- to be continue -
ªÀº±Û Àϼö·Ï ½ÅÁßÇϰÔ.


PDS
Á¦¸ñPage 43/80
2025-07   410609   Á¤ÀºÁØ1
2014-05   5899825   Á¤ÀºÁØ1
2011-07   16889   ¶Ñ¶Ñ±è´ë¿ø
2016-09   16889   AKAÁö´Ï
2011-10   16881   ¹Ú¹®Çü
2015-12   16872   ¹Ú
2020-10   16842   È­Á¤Å¥»ï
2014-03   16838   ¼­¿ïI±èµ¿¼ö
2016-04   16833   ¾Æ½º¶õ
2010-06   16823   ¿ÀÁö¶ý
2023-01   16823   Çã¾î
2018-09   16815   °¡À»¹Ù¶÷
2016-02   16808   µðºñµð
2014-03   16793   ȸ¿øK
2018-06   16778   »õÇϾᱸ¸§
2018-02   16746   ¾ß¼ö
2018-06   16742   À̼±È£
2010-12   16735   À̽¿±
2010-07   16726   ¿ÀÁö¶ý
2014-03   16720   ȸ¿øK
2012-03   16718   huniz
2009-05   16704   ÇÑÀÏÀÎ