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

   Á¶È¸ 11014   Ãßõ 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 40/77
2014-05   4842789   Á¤ÀºÁØ1
2015-12   1387423   ¹é¸Þ°¡
2016-03   14311   ȸ¿øK
2016-03   11306   ȸ¿øK
2016-03   11619   ȸ¿øK
2016-03   10359   ȸ¿øK
2016-03   11795   ȸ¿øK
2016-03   11015   ȸ¿øK
2016-03   9602   ȸ¿øK
2016-03   16508   Ç㻧
2016-03   9907   ¹Â³ë
2016-03   14793   ÄÚ¹«
2016-03   13714   µðºñµð
2016-03   14734   µðºñµð
2016-03   10375   µðºñµð
2016-03   11652   ³ë½º¿ìµå
2016-03   11200   ´«ÆÃÀÌ
2016-03   11460   ºóÀ̾ƺü
2016-03   9754   HEUo±è¿ë¹Î
2016-03   8889   ȸ¿øK
2016-03   9094   ´Ù·ÕÀÌ
2016-03   12545   µðºñµð