[Ubuntu 20.04] OpenVPN Server Docker 설치 및 Client
·
Infrastructure/VPN
[Ubuntu 20.04] OpenVPN Server Docker 설치 및 Client Server Side 우분투 패키지 설치 apt update && apt upgrade --y apt install openssl easy-rsa net-tools docker.io Docker로 설치 및 실행 OVPN_DATA="ovpn-data" docker volume create --name $OVPN_DATA # Download the OpenVPN server docker image file with the argument to set it to use your server’s(host) public IP address or your domain name via UDP protocol docker run -..
Ubuntu 20.04 고정 IP 할당 방법
·
OS/Ubuntu
Ubuntu 20.04 고정 IP 할당 방법 개요 DHCP 로 설치 했을 경우 네트워크 설정 yaml 파일 : /etc/netplan/xx.yaml 경로 (이름은 상이할 수 있음) 변경 전 # This is the network config written by 'subiquity' network: ethernets: ens160: dhcp4: true version: 2 변경 후 이더넷 인터페이스 이름은 꼭 확인 필요 (인터페이스 이름은 ifconfig 명령어로 확인 가능) network: ethernets: ens160: # 이더넷 인터페이스 이름 (확인 필요!) dhcp4: no dhcp6: no addresses: [192.168.10.85/24] # 원하는 IP 주소 gateway4: 192.16..
[Ubuntu 20.04] MySQL 5.6.xx 설치
·
OS/Ubuntu
삭제 cd /home rm /var/lib/mysql/ -R rm /etc/mysql/ -R apt-get autoremove -y mysql* --purge apt-get remove -y apparmorMySQL 설치 apt install -y libaio1 libncurses5 groupadd mysql useradd -g mysql mysql wget https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.51-linux-glibc2.12-x86_64.tar.gz tar -xvf mysql-5.6.51-linux-glibc2.12-x86_64.tar.gz mv mysql-5.6.51-linux-glibc2.12-x86_64 /usr/local/mysql..
[Ubuntu 18] docker 를 이용한 MariaDB Sharding (샤딩)
·
OS/Ubuntu
MariaDB Sharding using Docker Below versions. Ubuntu 18.04 Docker 19.03 MariaDB 10.4 Installation Install the server and apt update. $ sudo apt update $ sudo apt-get update $ sudo apt-get upgrade Install the dependencies. $ sudo apt install apt-transport-https ca-certificates curl software-properties-common Add docker repository on apt $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | ..