System 14

구글 서버에 php, mysql 설치.

# sudo yum install -y httpd24 php72 mysql57-server php72-mysqlnd  # ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime# dateSat May 11 00:32:23 KST 2024#  # yum -y install mariadb-server# systemctl stop mariadb# systemctl start mariadb# mysql -u root -pEnter password: Welcome to the MariaDB monitor.  Commands end with ; or \g.Your MariaDB connection id is 2Server version: 5.5.68-MariaDB MariaD..

System 2024.05.11

구글 클라우드.

https://console.cloud.google.com/ 카드 정보 입력해야 됩니다.아래 일반 계정 활성화를 클릭하는 자동 결제가 된다고 합니다.    메뉴 -> Compute Engine -> VM 인스턴스    사용 클릭 알림 (상단 종모양)이 진행중으로 보이고, 완료되면 .  Compute Engine -> VM인스턴스 -> 인스턴스 만들기  이름은 내가 원하는 이름으로 변경. 부팅디스크에서 변경을 클릭하고 원하는 OS 선택, 부팅 디스크 유형을 표준 영구 디스크로 선택크기를 30G로 변경.   HTTP, HTTPS 선택 후 만들기 클릭.   원격접속키 생성 : ssh-keygen -t rsa -f ~/.ssh/gcpkey -C [아이디]@gmail.com -b 2048ssh-keygen -t ..

System 2024.05.10

aws 권한 (계정 추가)

1. 업체 변경 https://us-east-1.console.aws.amazon.com/organizations/v2/home/dashboard dash board 에서 업체 변경하고 invitatins 에서 초대장 수락하면 끝. 2. 계정 생성 Identity and Access Management (IAM) -> Access management -> Users -> Create user Provide user access to the AWS Management Console 을 체크한다. 엑세스 거부가 되어서 copy permissions 에서 기존 사용유저의 권한을 copy 함. Administrator Access .. 몇가지 추가됨. 로그인시 You have database with Certi..

System 2024.03.12

airflow 설치 / 설정

도커로 설치하니 메모리를 너무 많이 사용해서 간단 설치하기로 함. 1. 따라하기 파이썬 설치.. 안될 경우 추가. 1. 파이썬 설치. $$ sudo apt-cache policy python3.8 python3.8: Installed: (none) Candidate: (none) Version table: $$ sudo apt install software-properties-common $$ sudo add-apt-repository ppa:deadsnakes/ppa $$ sudo apt install python3.8 $$ python -V Python 3.8.6 $$ 2. airflow 설치 참조 : https://airflow.apache.org/docs/apache-airflow/stable/s..

System 2024.02.06

AWS ECS (Elastic Container Service)

프로비저닝 (provisioning) : IT 인프라를 생성하고 설정하는 프로세스. 프로비저닝은 사용자가 요청한 IT 자원을 사용할 수 있는 상태로 준비하는 것을 말한다. 서버 자원 프로비저닝, OS 프로비저닝, 소프트웨어 프로비저닝, 스토리지 프로비저닝, 계정 프로비저닝 등이 있다 Fargate : 서버리스 컨테이너를 실행할 수 있으므로 서버를 관리할 필요가 없다. aws fargate 는 aws에서 서버를 관리함. 서버 유지보수(보안패치, 런타임관리, 정기적인 유지보수)를 aws에서 알아서 해줌. ec2는 cpu, memory, storage 등을 직접 변경하지만, fargate를 사용하면 cpu, memory, storage 크기를 fargate가 알아서 변경해준다. 테스크 :

System 2024.01.24

mac os 에 python 설치

python 3.8.7 설치. https://www.python.org/downloads/macos/ Python Releases for macOS The official home of the Python Programming Language www.python.org pkg 파일 다운로드 및 설치 1. 이전 버전 삭제. Shift + command + G /Library/Frameworks/Python.framework 모두 삭제. 응용프로그램 안에 python 삭제. 2. python acBookPro # ~ # python3 Python 3.8.7 (v3.8.7:6503f05dd5, Dec 21 2020, 12:45:15) [Clang 6.0 (clang-600.0.57)] on darwin Typ..

System 2024.01.22