본문 바로가기

728x90

mysql

CentOS 7에서 MySQL 5.7를 바이너리 아카이브 파일로 설치하는 방법 CentOS 7에서 MySQL 5.7를 바이너리 아카이브 파일로 설치하는 방법 테스트 환경 운영체제 버전 정보 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ getconf LONG_BIT 64 DB : mysql 5.7.15 MySQL 계정 생성 groupadd -g 27 mysql useradd -m -c "MySQL Server" -d /usr/local/mysql -s /bin/false -g 27 -u 27 mysql MySQL Community Server 다운로드 받기 https://downloads.mysql.com/archives/community/ 작업 디렉토리로 이동 cd /usr/local/src 아카이브 파일 다운.. 더보기
CentOS 7에 MySQL 5.7을 바이너리 설치하는 방법(binary) CentOS 7에 MySQL 5.7을 바이너리 설치하는 방법(binary) 테스트 환경 - DB : mysql 5.7.15 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ getconf LONG_BIT 64 mysql 계정 생성 groupadd -g 27 mysql useradd -m -c "MySQL Server" -d /usr/local/mysql -s /bin/false -g 27 -u 27 mysql MySQL Community Server 다운로드 받기 mysql-boost-5.7.15.tar.gz 압축 풀기 tar xfz mysql-boost-5.7.15.tar.gz cd mysql-5.7.15/ 컴파일 설치 cmake \ -.. 더보기
리눅스에서 my.cnf 파일을 찾는 방법 리눅스에서 my.cnf 파일을 찾는 방법 MySQL 또는 MariaDB의 설정 파일인 my.cnf 파일은 일반적으로 리눅스 시스템에서 여러 위치에 저장될 수 있습니다. MySQL 또는 MariaDB의 버전 및 배포에 따라 my.cnf 파일의 위치가 다를 수 있습니다. 일반적으로 /etc/mysql/ 또는 /etc/my.cnf 디렉토리에 위치합니다. Ubuntu 또는 Debian Ubuntu 또는 Debian 시스템에서 my.cnf 파일은 /etc/mysql/ 디렉토리에 저장됩니다. /etc/mysql/my.cnf CentOS 또는 RHEL CentOS 또는 Red Hat Enterprise Linux (RHEL) 시스템에서 my.cnf 파일은 /etc/my.cnf 또는 /etc/mysql/my.cnf에 .. 더보기
[리눅스] Squirrelmail Install Squirrelmail Install 1. apache 설치(httpd) [root@sangchul server]$ yum install httpd 2. mysql, mysql-server 설치 [root@sangchul server]$ yum install mysql mysql-server 3. php 설치 [root@sangchul server]$ yum install php 4. php-mysql 연동 설치 [root@sangchul server]$ yum install php-mysql 5. SquirrelMail 설치 [root@sangchul server]$ yum -y install php-mbstring [root@sangchul server]$ yum -y install squirrelm.. 더보기

728x90