리액트, 파이썬, 레디스 설치

Sangyeong Je·2024년 5월 13일
0

서버설정

목록 보기
9/11

노드 18 버전 설치

curl -sL https://rpm.nodesource.com/setup_18.x | sudo bash -
dnf install -y nodejs
curl -sL https://rpm.nodesource.com/setup_18.x | sudo bash -

pm2 설치

npm install pm2 -g

플라스크 설치

python3 --version
dnf install -y python3-pip python3-devel gcc
pip3 install Flask

플라스크 가상환경

python3 -m venv myenv
source myenv/bin/activate
pm2 start app.py --interpreter python -- runserver

리액트 설치

npm install -g create-react-app
create-react-app my-react-app
cd my-react-app
npm start
pm2 start npm -- start

레디스 설치

yum install epel-release -y
yum install redis -y
systemctl start redis
systemctl enable redis
systemctl status redis
redis-cli
ping

0개의 댓글