반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- PYTHON
- 센토스
- MAC
- localserver
- unittest
- centos
- vsCode
- react
- 티스토리챌린지
- 개발
- build
- 리눅스
- Chrome
- VirtualBox
- jest
- linux
- ReactNative
- IOS
- 맥
- xcode
- 오블완
- webpack
- 네트워크
- TensorFlow
- qunit
- MachineLearning
- node
- androidstudio
- Android
Archives
- Today
- Total
로메오의 블로그
[CentOS] Apache 환경설정하기 본문
반응형
환경설정 파일 편집하기
# vi /etc/httpd/conf/httpd.conf
vi 편집기에서 line number 표시하기
:set nu
DocumentRoot "/var/www/html"
경로를 확인하고 vi를 종료합니다.
:x
# cd /var/www/html
# touch index.html
# vi index.html
index.html 파일을 만들어서 파일을 편집합니다.
키보드 i를 눌러서 편집모드로 변경하고
html 태그를 입력합니다.
키보드 esc를 누르고 :wq를 입력하고 저장후 종료합니다.
# ifconfig
아이피를 확인하고 브라우저에서 입력합니다.
반응형
'App & OS > Linux & MacOS' 카테고리의 다른 글
[VirtualBox] 설치에 실패했습니다. - MacOSX (0) | 2019.08.31 |
---|---|
[CentOS] tomcat 설치하기 (0) | 2019.04.21 |
[CentOS] Virtualbox 외부ip 설정하기 CentOS (0) | 2019.04.20 |
[CentOS] Apache 설치 (0) | 2019.04.20 |
[CentOS] OracleJDK 설치 (0) | 2019.04.20 |
Comments