| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
- 원격서버지원
- k8s
- nodeport
- chrony
- 쿠버네티스 인그래스 컨트롤러 구성 예시
- 컨테이너런타임 재시작
- 쿠버네티스
- 프라이빗레지스트리
- 여러 레지스트리를 하나의 시크릿으로 묶고
- 포트추적
- timesynchronization
- ingressrules
- 노드포트
- ingressservice
- 인증서설치후 런타임 재시작
- 이미지풀시크릿생성
- 쿠버네티스 구조
- 인그래스
- servicemesh
- 도커프라이빗레지스트리
- kubectl
- servertimesync
- clustermanagement
- 인그래스컨트롤러
- apply
- createvsapply
- ingresscontroller
- ingress
- kubernetes
- networktimeprotocol
- Today
- Total
madebychung
[centOS7] 특정버전 mysql 설치 및 다운로드 아카이브 본문
사전이행사항
가. YUM-Proxy 보안그룹 추가 (시설별)
나. 방화벽 정책 추가
1.권한변경
$ sudo su
2.proxy 서버 대역의 라우팅 추가
$ ip route add -net 198.80.30.0 netmask 255.255.255.0 dev eth1
3./etc/yum.conf 수정
인터넷이 안되는 운영서버 → 패키지 설치를 위한 proxy 서버 정보 추가
*****************************************하단 *****************
proxy=http://123.12.12.48:4567 → 권역별 YUM_Proxy 서버 주소 추가
**************************************************************
yum 사용 가능한지 확인
# yum repolist
4.hosts 파일 등록
레드햇 에서는 /etc/hosts 파일을 우선적으로 참고해 ,네임서버를 아이피주소로 바꿈.
호스트 컴퓨터가 네임서버에 접근할 수 없는 상황에서,도메인 이름(호스트 이름)으로 접근이 필요한 경우 네임서버에 등록되지 않은 도메인 네임(호스트 이름)이 있는 경우
/etc/hosts에서 매핑된 도메인 이름과 IP 주소를 사용
백업본 생성
$ sudo cp /etc/hosts /etc/host.bak
$ sudo vi /etc/hosts
**********하기내용 추가*****************************************
downloads.mysql.com 104.74.173.121 → mysql
archive.apache.org 138.201.131.134 → tomcat
**************************************************************
MySQL 8.0.22 실행
$ vi mysql.sh
**************************************************************
#!/usr/bin/bash
wget -e use_proxy=yes -e https_proxy=123.12.12.48:4567 https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.22-1.el7.x86_64.rpm-bundle.tar
mv mysql-8.0.22-1.el7.x86_64.rpm-bundle.tar /usr/local
cd /usr/local/
tar -xvf mysql-8.0.22-1.el7.x86_64.rpm-bundle.tar
yum localinstall mysql-community-* -y > /dev/null
sudo systemctl start mysqld
sudo systemctl enable mysqld
sudo systemctl status mysqld
sudo grep 'temporary password' /var/log/mysqld.log
mysql --version
****************************************************************
$ chmod +x mysql.sh
$ sh.mysql
MySQL 아카이브 사용하는 OS와 MySQL의 버전을 다운받아 사용
MySQL :: Download MySQL Community Server (Archived Versions)
MySQL의 EOL확인
EOL MySQL | End of Life (EOL) | Oracle Corporation | Lifecycle
MySQL :: Download MySQL Community Server (Archived Versions)
Please note that these are old versions. New releases will have recent bug fixes and features! To download the latest release of MySQL Community Server, please visit MySQL Downloads. MySQL open source software is provided under the GPL License.
downloads.mysql.com
cf. 패키지 다운로드 오류시 확인
1.프록시 서버대역 혹은 프록시 서버 호스트 라우팅 테이블 추가 확인
2. 보안그룹 확인
3./etc/hosts 파일
4./etc/yum.conf 확인
5. 방화벽을 사용하는 환경이라면 방화벽 정책 포트등 확인
wget -e use_proxy=yes -e https_proxy=123.12.12.48:4567 https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.22-1.el7.x86_64.rpm-bundle.tar
이 안된다면 network 데몬 재 실행
$ sudo /etc/init.d/networking restart
MySQL :: Download MySQL Community Server (Archived Versions)
Please note that these are old versions. New releases will have recent bug fixes and features! To download the latest release of MySQL Community Server, please visit MySQL Downloads. MySQL open source software is provided under the GPL License.
downloads.mysql.com
'system' 카테고리의 다른 글
| [centos7]특정버전 tomcat 설치하기 (0) | 2023.02.14 |
|---|---|
| [window] ssh 접속오류 (0) | 2023.02.06 |
| [Linux/rocky]ssh 포트번호 변경 (0) | 2023.02.06 |
| SSH 키 가져오기 /ubuntu (0) | 2022.07.25 |