MySQL 5.1.73 설치 - Ubunut 20.04 > 에필로그

본문 바로가기

MySQL 5.1.73 설치 - Ubunut 20.04

페이지 정보

작성자 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 에필로그 댓글 0건 조회 1,142회 작성일 23-01-14 18:35

본문

sudo apt install -y build-essential
sudo apt install -y libncurses5-dev
sudo useradd mysql

wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.73.tar.gz
tar xzvf mysql-5.1.73.tar.gz
cd mysql-5.1.73

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--libexecdir=/usr/sbin \
--datadir=/usr/share \
--localstatedir=/var/lib/mysql \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-system-type=debian-linux-gnu \
--enable-shared \
--enable-static \
--enable-thread-safe-client \
--enable-assembler \
--enable-local-infile \
--with-fast-mutexes \
--with-big-tables \
--with-unix-socket-path=/var/run/mysqld/mysqld.sock \
--with-mysqld-user=mysql \
--with-libwrap \
--with-readline \
--with-ssl \
--without-docs \
--with-extra-charsets=all \
--with-plugins=max \
--with-embedded-server \
--with-embedded-privilege-control \
CXXFLAGS="-Wno-narrowing -fpermissive"

make
sudo make install

sudo mkdir -p /etc/mysql
sudo mkdir -p /var/lib/mysql
sudo mkdir -p /etc/mysql/conf.d

sudo vi /etc/mysql/conf.d/mysqld_safe_syslog.cnf
    [mysqld_safe]
    syslog

sudo cp /usr/share/mysql/my-medium.cnf /etc/mysql/my.cnf
sudo sed -i 's#.*datadir.*#datadir = /var/lib/mysql#g' /etc/mysql/my.cnf
sudo chown mysql:mysql -R /var/lib/mysql

sudo mysql_install_db --user=mysql
sudo mysqld_safe -user=mysql &
sudo /usr/bin/mysql_secure_installation

sudo cp /usr/share/mysql/mysql.server /etc/init.d/mysql
sudo chmod +x /etc/init.d/mysql
sudo update-rc.d mysql defaults

댓글목록

등록된 댓글이 없습니다.

에필로그 340건/4페이지
에필로그 목록
번호 제목 글쓴이 조회 날짜
295 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1192 01-15
294 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1037 01-15
열람중 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1143 01-14
292 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1194 01-14
291 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1126 01-14
290 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1168 01-14
289 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1171 01-14
288 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1178 01-14
287 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1176 01-14
286 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1289 12-05
285 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1254 12-05
284 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1232 12-05
283 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1245 12-05
282 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1156 12-05
281 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 1214 11-16
게시물 검색
[문의] 전화 : 0707-443-0499 메일 : t8@t8.co.kr [분야] Linux, Unix, Windows DNS, 웹, WAS, 역방향프록시, 앱 SQL, 메일, 스트리밍, CDN SMB/CIFS, FTPs, NFS, AFP IKEv2, OpenVPN, WireGuard 대범위 DHCP, WiFi 종속포털, AAA DDoS 우회/분산, 랜섬웨어 대비 장애/재난/해킹시스템 복구 서비스/P2V 마이그레이션 XSS/웹쉘/인젝션/백도어 제거 서버 업그레이드/교체/이전 주문/맞춤/복합/간이서버 제작 특별/희귀/생소한 시스템 상담/구현 문제해결 외

Copyright © T8. All rights reserved.