본문 바로가기

전체 글

(15)
Centos9 Docker 설치 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin systemctl start docker systemctl enable docker 도커 설치 확인
Centos9 Docker-Compose 설치 sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version 위에 명령어로 설치 후 해당 버전또는 상위버전이 나오면 최신 버전으로 설치 완료
Raspberry Pi 네트워크 아이피 고정 명령어 sudo nmcli c show eth0 : 유선랜 아이피 변경 위에서 NAME으로 되어있는 이름으로 지정해서 설정 하면 된다. Wired connection 1 = eth0 #!/bin/bash # Verify and take down the connection sudo nmcli c down 'Wired connection 1' # Modify the connection settings sudo nmcli c mod 'Wired connection 1' ipv4.addresses 192.168.0.20/24 ipv4.method manual sudo nmcli con mod 'Wired connection 1' ipv4.gateway 192.168.0.1 sudo nmcli con mod 'Wired..
Centos9 JAVA 17 설치 설치 명령어 yum install java-17-openjdk-devel [root@localhost dev]# yum install java-17-openjdk-devel ================================================================================================================================================================================================================================= 꾸러미 구조 버전 저장소 크기 ==========================================================..
React + Babel + TypeScript + Webpack + eslint + HML + prettierrc 1. 패키지 생성npm initpackage name: (ret) retversion: (1.0.0) description: entry point: (index.js) test command: git repository: keywords: author: license: (ISC) About to write to /ret/package.json:{  "name": "ret",  "version": "1.0.0",  "description": "",  "main": "index.js",  "scripts": {    "test": "echo \"Error: no test specified\" && exit 1"  },  "author": "",  "license": "ISC"}Is this OK? (yes)..
Raspberry Pi 4 - Java 17 설치 방법 sudo apt install openjdk-17-jdk 설치 완료 후 버전 openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Debian-1deb11u1) OpenJDK 64-Bit Server VM (build 17.0.7+7-Debian-1deb11u1, mixed mode, sharing)
Raspberry Pi 4 - nodejs(npm) 설치 방법 curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs 설치 완료 후 npm -v 9.6.7 node -v v18.17.1
RaspberryPi4 - Maria(Mysql) DB 외부 접속 허용하는 방법 MariaDB 설치 완료 후 sudo mysql -uroot -p{설정한 패스워드} #maria DB 접속 CREATE USER 'username'@'%' IDENTIFIED BY 'password'; #접속할 아이디 생성 GRANT ALL PRIVILEGES ON *.* TO 'username'@'%'; #전체 권한 주기 FLUSH PRIVILEGES; #수정사항 적용 기본포트 3306 방화벽 허용 sudo ufw allow 3306 외부 접속 권한 sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf 아래와 같은 부분을 찾아서 주석 처리 #bind-address = 127.0.0.1 설정 값 저장 후 MariaDB 재시작 sudo systemctl restart m..