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

   Á¶È¸ 11076   Ãßõ 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 26/77
2014-05   4890739   Á¤ÀºÁØ1
2015-12   1429701   ¹é¸Þ°¡
2022-04   10885   FOXBI
2017-04   10948   ÃÖµ¿Çö
2021-04   10951   ÀüÁ÷P¿¬±¸¿ø
2018-07   10955   ȸ¿øK
2019-02   11011   MoonsTale
2017-08   11030   ÇãÀα¸¸¶Æ¾
2015-12   11039   ¼Ò¸Á»ç¶û71
2017-07   11069   ¹Ú¼öÈ«84Æ÷Ç×
2016-03   11077   ȸ¿øK
2016-11   11122   ±è¿µ±â´ëÀü
2018-12   11144   FOXBI
2022-09   11191   sbg2005
2017-06   11220   ¼º±â»ç
2017-10   11223   QS¿ÕÅëÅ°¼Õ¡¦
2016-03   11231   ´«ÆÃÀÌ
2017-04   11258   ¾Ç¸¶¶ó³×
2016-03   11297   ÄÄÈ°Ãʺ¸
2014-11   11319   ÀºÇϼö
2022-09   11333   ¹Î°æ¿­
2016-03   11342   ȸ¿øK