Server/Oracle Cloud Infrastructure

1. PostgreSQL Repository 추가ubuntu@instance-20240916-2008:~$ sudo apt updateubuntu@instance-20240916-2008:~$ sudo apt install gnupg2 wget vimubuntu@instance-20240916-2008:~$ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'ubuntu@instance-20240916-2008:~$ curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | ..
ubuntu 20.04 postgreSQL 설치 방법 1 ) apt update ubuntu@dev1990:~$ sudo apt update 2) postgresql install (extension을 위해서 postgresql-contrib install ) ubuntu@dev1990:~$ sudo apt install postgresql-14 postgresql-contrib 3) systemctl status postgresql.service (설치 확인 및 서비스 확인) ubuntu@dev1990:~$ systemctl status postgresql.service ● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/syste..
ubuntu 20.04에서 redis를 설치하기 위한 방법 apt로 간단하게 설치 가능하다. 1 ) apt update ubuntu@dev1990:~$ sudo apt update 2 ) apt-get install redis-server ubuntu@dev1990:~$ sudo apt-get install redis-server 3) systemctl status redis-server.service (등록된 서비스 파일 확인) (또는 프로세스 확인 (ps -ef)) ubuntu@dev1990:~$ sudo systemctl status redis-server.service ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/s..
ubuntu 20.04 환경에서 Go로 프로젝트를 진행하기 위해 Golang install 하는 방법 https://go.dev/doc/install Download and install - The Go Programming Language Download and install Download and install Go quickly with the steps described here. For other content on installing, you might be interested in: 1. Go download. Click the button below to download the Go installer. Download Go Don't see your operating syste go.dev..
ubuntu 20.04 환경에서 ip 를 확인하기 위해서 ifconfig 명령어를 입력한다. ubuntu@dev1990:~$ ifconfig Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools net-tools 을 설치해야 ip를 확인 할 수 있다. ubuntu@dev1990:~$ sudo apt update ubuntu@dev1990:~$ sudo apt install net-tools ubuntu@dev1990:~$ ifconfig
1. Git(소스 코드 관리를 위한 분산 버전 관리 시스템) 설치 ubuntu@dev1990:~$ sudo apt-get update ubuntu@dev1990:~$ sudo apt-get install git 2. Git 설치 확인 ubuntu@dev1990:~$ git version git version 2.34.1 3. Git config 설정 $ git config --global user.name "USER_NAME" $ git config --global user.email "USER_EMAIL" (참고로 repository 마다 각각 다르게 설정할거면 --global 대신에 --local 로 등록하면 된다.) 4. Git config 확인 ubuntu@dev1990:~$ git config ..
2022.09.17 - [Server/Oracle] - [Oracle] Create a VM instance 2022.09.18 - [Server/Oracle] - [Oracle] 고정 IP 설정 (static ip address) 1) nginx 설치 $ sudo apt-get update $ sudo apt-get install nginx -y 2) nginx 서비스 확인 (systemctl status nginx) ubuntu@dev1990:~$ systemctl status nginx.service ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/n..
ssh key 를 더 등록하려고 보니까 https://www.oracle.com/kr/cloud/ 차세대 클라우드 플랫폼을 만나다 Oracle Cloud Infrastructure로 조직의 클라우드 성능 및 거버넌스 관리 능력을 개선해 보세요. www.oracle.com 여기서 제공해주는건 따로 없는것 같고 instance server 에 접속해서 등록해야 되는것 같다. 2022.09.17 - [Server/Mac] - [Mac] SSH keygen 다른 pc나 server 에서 위 블로그 내용 처럼 ssh key 를 생성했으면 instance server 에 접속한다. 1) ssh/authorized_keys (편집기를 이용해 파일을 연다) ubuntu@dev1990:~$ vi .ssh/authoriz..
임쟌
'Server/Oracle Cloud Infrastructure' 카테고리의 글 목록