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

   Á¶È¸ 11368   Ãßõ 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/78
2015-12   1717608   ¹é¸Þ°¡
2014-05   5184312   Á¤ÀºÁØ1
2018-10   10928   ȲÁø¿ì
2017-10   10934   theÃ̳ð
2015-12   10946   ¼Ò¸Á»ç¶û71
2016-04   10970   ¹«¾Æ
2024-07   11009   ¯¯¸Ç
2017-05   11021   DoubleSH
2024-07   11032   HEUo±è¿ë¹Î
2020-12   11037   ½ºÄµl¹ÎÇö±â
2017-05   11085   ´ÊÀáÀڴ¾ÆÀÌ
2018-08   11183   »õÇϾᱸ¸§
2018-12   11217   À̼±È£
2017-04   11229   ÃÖµ¿Çö
2015-12   11240   ¼Ò¸Á»ç¶û71
2017-08   11285   ÇãÀα¸¸¶Æ¾
2018-07   11291   ȸ¿øK
2022-04   11300   FOXBI
2019-02   11302   MoonsTale
2019-08   11337   µö·¯´×¼­¹ö
2021-04   11346   ÀüÁ÷P¿¬±¸¿ø
2016-11   11349   ±è¿µ±â´ëÀü