mysql -u root -p < employees.sql
mysql -u root -p
GRANT ALL PRIVILEGES ON employees.* TO 'xxx'@'%';
SQL
한 줄이 transaction이다. (하나의 작업 단위)SELECT @@AUTOCOMMIT;
SET AUTOCOMMIT = FALSE; // AUTOCOMMIT 끄기
SET AUTOCOMMIT = TRUE; // AUTOCOMMIT 켜기
리눅스 가상 머신 1대 더 추가 준비
nginx
설치 및 wordpress
설치
yum install -y nginx
yum install -y wget unzip
wget https://ko.wordpress.org/latest-ko_KR.tar.gz
tar -zxvf latest-ko_KR.tar.gz
mv /root/wordpress /var/www/html
/etc/nginx/nginx.conf
// 42 root /usr/share/nginx/html; 전
// 42 root /var/www/html/wordpress; 후
systemctl stop firewalld
setenforce 0
# 가상 머신 80번 포트로 접속
vi /var/www/html/wordpress/wp-config.php
7계층 프로토콜 HTTP
HTTP
Methods
# 0. 저장소 업데이트
apt update
# 1. nginx 웹 서버 설치
apt install -y nginx
# 2. php 설치
apt install -y php7.4-fpm php7.4-common php7.4-mysql php7.4-gmp php7.4-curl php7.4-intl php7.4-mbstring php7.4-xmlrpc php7.4-gd php7.4-xml php7.4-cli php7.4-zip zip unzip
# 3. 워드 프레스 설치
# 1) 다운
wget https://ko.wordpress.org/latest-ko_KR.tar.gz
# 2) 다운 받은 파일 압축 해제
# 3) 압축푼 디렉토리 이동
# 압축 풀면 나오는 wordpress라는 디렉토리를 /var/www/html 밑으로 옮긴다.
# 4) 권한 설정
chown -R ubuntu:ubuntu /var/www/html/wordpress
# 5) nginx 서버 설정
# /etc/nginx/sites-available/default 파일 수정
41 root /var/www/html; # 전
41 root /var/www/html/wordpress; # 후
44 index index.html index.htm index.nginx-debian.html; # 전
44 index index.php index.html index.htm index.nginx-debian.html; # 후
# 57, 58, 61, 64 주석 해제
# 클라우드 방화벽 끄기
# 보안 그룹 인바운드 설정
# 7) AWS에서 RDS 설정
# 8) 웹 으로 접속
# DB이름, DB ID, DB PW, DB 서버 주소 작성하고 다음
# 9) wp-config.php 파일 생성
vi /var/www/html/wordpress/wp-config.php
# 웹 페이지에 떠 있는 내용을 그대로 복붙
aws에서도 동일하게 ubuntu ec2, rds 생성 후 동일하게 wordpress 배포 완료
안녕하세요. 한화시스템 BEYOND SW 캠프를 고민하고 있는 학생입니다.
후기글이 많이 없어서 댓글 남겨봅니다 ,,
혹시 이 과정을 하시면서 만족도가 얼마나 되시는지 궁금합니다.
수료 이후 채용 프로세스도 혹시 알려 주시면 너무 감사할 것 같습니다.
그리고 지원절차를 보니 접수 하고 인터뷰만 진행하는 것 같던데 맞나요??
인터뷰는 어떤 형식으로 이루어지나요 ??
고민하다가 댓글 남겨봅니다,, 답변 해주시면 감사하겠습니다!!