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

   Á¶È¸ 11089   Ãßõ 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   4911221   Á¤ÀºÁØ1
2015-12   1449643   ¹é¸Þ°¡
2019-07   11612   µö·¯´×¼­¹ö
2019-08   4541   µö·¯´×¼­¹ö
2019-07   3982   µö·¯´×¼­¹ö
2019-07   4255   µö·¯´×¼­¹ö
2019-07   4657   µö·¯´×¼­¹ö
2019-08   5408   µö·¯´×¼­¹ö
2019-08   5182   µö·¯´×¼­¹ö
2019-08   8146   µö·¯´×¼­¹ö
2019-08   4856   ÇãÀα¸¸¶Æ¾
2019-08   3506   ÇãÀα¸¸¶Æ¾
2019-08   3968   ÇãÀα¸¸¶Æ¾
2019-08   4030   »ßµ¹À̽½ÇÄÀÌ
2019-08   8846   µö·¯´×¼­¹ö
2019-08   4204   µö·¯´×¼­¹ö
2019-08   4330   »ßµ¹À̽½ÇÄÀÌ
2019-08   3867   calculators
2019-08   5066   µö·¯´×¼­¹ö
2019-08   4567   µö·¯´×¼­¹ö
2019-08   4107   ÀÓ½ÃÇö
2019-08   10877   µö·¯´×¼­¹ö