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

   Á¶È¸ 11799   Ãßõ 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 41/78
2015-12   1890100   ¹é¸Þ°¡
2014-05   5375981   Á¤ÀºÁØ1
2018-06   16120   ±è°¡ÇǽÃ
2016-10   16121   ·¹Àκ¸¿ì7
2012-04   16124   MikroTikÀÌÁø
2011-01   16135   À̼±±Ô
2013-07   16138   °­±â¿ë
2010-07   16142   ¿ÀÁö¶ý
2011-08   16149   À嵿°Ç2014
2016-02   16150   õ¸¶°Ç»§
2015-07   16169   ÁÖ¿µÁø¿µ¾Æºü
2017-02   16183   ¹«¾Æ
2022-09   16186   sbg2005
2011-05   16190   Á¤º´°ïÀÓµÂ
2013-04   16207   stone92±è°æ¹Î
2010-05   16211   ¿ÀÁö¶ý
2011-11   16224   ÄôǪÆÒ´õ
2011-12   16228   ¶Ñ¶Ñ±è´ë¿ø
2014-03   16229   2CPUÃÖÁÖÈñ
2011-05   16246   ¼­´ÃÇѱ״Ã
2009-04   16256   ±èº´¼·
2015-03   16260   ¾ÈÁ¤¿ì