brunch

You can make anything
by writing

C.S.Lewis

by Master Seo Aug 17. 2019

41. 웹서버,FTP서버,모바일 홈페이지 만들기



1. 목표

웹서버,FTP서버,모바일 홈페이지 만들기



<배우는것들>

웹서버의 개념

클라이언트 서버 개념

웹서버 데몬

서버 어플리케이셜 설치 개념

공인 IP의 개념

방화벽 개념

폴더 개념


pc나 스마트폰에서 웹서버로 들어가는 80포트를 열어줘야 한다.

웹서버 입장에서 들오는 트래픽을  ALLOW 한다.




https://brunch.co.kr/@topasvga/375


에디터들

리눅스 에디터  

 VI  , nano


VI 에디터 어렵지요 ??? ~   가져다 쓰자 !!!


https://www.w3schools.com/



w3schools.com 에서  소스를 복사해서 , nano 에디터를 이용해 사이트를 변경해 보자.







<배우는것들>

서버 계정 생성

계정의 암호 설정

FTP 클라이언트

FTP서버

기본 폴더

copy 명령어

방화벽

HTML


Windows 에디터

Programmer's Notepad https://www.pnotepad.org/

notepad ++   https://notepad-plus-plus.org/

https://software.naver.com/

https://software.naver.com/search.nhn?query=edit



브라우저들

크롬 https://www.google.com/chrome/

Firefox https://www.mozilla.org/ko/firefox/new/


Windows용 FTP 클라이언트 설치

File Zilla https://filezilla-project.org/


MAC용 FTP 클라이언트 설치

File Zilla https://filezilla-project.org/

Cyberduck https://cyberduck.io/


.





<명령어>

cd  /home/test1

pwd

 /home/test1

cp  111.jpg   /var/www/html


cd /var/www/html

ls

111.jpg




백업하기

[root@ip-10-0-0-100 ~]# cd     /var/www/html/

[root@ip-10-0-0-100 html]# ls

index.html


[root@ip-10-0-0-100 html]# cp     index.html     index.html-2019-0825


[root@ip-10-0-0-100 html]# pwd

/var/www/html




부트스트랩 샘플

https://www.creative-tim.com/



https://startbootstrap.com

https://www.w3schools.com/bootstrap/bootstrap_theme_me.asp

https://www.w3schools.com/bootstrap/bootstrap_theme_company.asp

https://www.w3schools.com/bootstrap/bootstrap_theme_band.asp



0. 기존 index,html 백업하기

cp   index.html-2019-0829   index.html


1. 소스를 구한다.

toy1.mattzip.com.tar


2. FTP로  toy1.mattzip.com.tar 을 서버에 올린다.


3.  test1 디렉토리에 파일이 있는지 확인한다.

cd   /home/test1

 ls


4. 압축을 푼다.

 tar   xvf   toy1.mattzip.com.tar

 ls

 cd   toy1.mattzip.com/

 ls


cp  *    /var/www/html/





5.  기존 홈페이지 원복하기

cp   index.html-2019-0829   index.html


감사합니다.


매거진의 이전글 96.  AWS에서 웹서비스 구축 하기

작품 선택

키워드 선택 0 / 3 0

댓글여부

afliean
브런치는 최신 브라우저에 최적화 되어있습니다. IE chrome safari