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

   Á¶È¸ 11890   Ãßõ 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   1940823   ¹é¸Þ°¡
07-01   18167   Á¤ÀºÁØ1
2016-04   12185   º­¶ûÀ§¿¡Æ÷´¢
2016-04   14428   ´ëÀü»ç¶÷
2016-04   12804   ¾È°³¼Ó¿µ¿ø
2016-04   17743   ids38
2016-04   13391   ĵÀ§µå
2016-04   11291   ¹«¾Æ
2016-04   10490   À¯Á¤È£»þÄÜ´À
2016-04   10350   ¹Ú¸í±ÙTN
2016-03   11055   ĵÀ§µå
2016-03   10962   Ä«·ÎÄ«·Î
2016-03   10089   ĵÀ§µå
2016-03   13668   µðºñµð
2016-03   12077   ¿ë¹Î
2016-03   15110   ȸ¿øK
2016-03   11902   ȸ¿øK
2016-03   12231   ȸ¿øK
2016-03   10950   ȸ¿øK
2016-03   12478   ȸ¿øK
2016-03   11891   ȸ¿øK
2016-03   10147   ȸ¿øK