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

   Á¶È¸ 10678   Ãßõ 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 35/76
2015-12   1099466   ¹é¸Þ°¡
2014-05   4549617   Á¤ÀºÁØ1
2016-02   13501   µðºñµð
2016-03   13651   iwill
2016-03   11284   µðºñµð
2016-03   11291   ¼­¿ïI±èµ¿¼ö
2016-03   12435   µðºñµð
2016-03   12142   À¯Á¤È£»þÄÜ´À
2016-03   10992   ÄÄÈ°Ãʺ¸
2016-03   8893   ´Ù·ÕÀÌ
2016-03   10085   µðºñµð
2016-03   10679   ȸ¿øK
2018-07   11006   ¿¬À̶ûÁø
2018-10   10169   ȲÁø¿ì
2018-10   13920   À¸¶óÂ÷Â÷Â÷
2017-08   8689   À̼±±Ô
2017-11   23240   ÂøÇÏ°Ô»ìÀÚ2
2017-08   9940   Libre
2017-08   10616   ÇãÀα¸¸¶Æ¾
2017-10   13545   WUXGA
2017-11   19103   ±è¼öÇö2
2020-05   4362   µö·¯´×¼­¹ö