카

[동영상]리눅스 centos 웹서버 구축및 xe 게시판 설치및 실행

· 2015-12-31 (목) 21:28:44 · 7803

 

xe 말고 그냥 그누보드 설치해도 잘됩니다.. 

 

os : http://ftp.daumkakao.com/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1511.iso

 

설치되어 있는 확인
rpm -qa httpd php mariadb-server

설치
yum -y install mariadb-server mariadb php php-mysqlnd
yum -y install php-gd.x86_64

버전확인
rpm -qa httpd php mariadb-server

설치끝

작동하기

systemctl restart httpd
systemctl restart mariadb


가동하기
systemctl enable httpd
systemctl enable mariadb

방어벽 오픈
firewall-config
설정 =>영구적
http
https
체크
옵션
Firewalld 다시 불러오기
닫기

cd /var/www/html/


홈페이지 외부에서 접근할수록 설저하기

vi /etc/httpd/conf/httpd.conf
---------------------------------
151   AllowOverride Nono 
변경 밑에처럼
151   AllowOverride All
---------------------------------

systemctl restart httpd

이동
mv /root/다운로드/g5.zip
unzip g5.*

퍼미션 변경
chmod 707 g5

data 폴더 만들기
mkdir data
chmod 707 g5

디비 설정하기
mysql
> GRANT ALL PRIVILEGES ON G5DB.* TO g5user@localhost IDENTIFIED BY '1234';
> exit
mysql -u g5user -p1234
>CREATE DATABASE G5db;
>exit 

 

---------------

이상 설정 끝

ipconfig

확인후 옆 컴퓨터 윈도우에서 리눅스 아이피 주소 입력하면 그누보드 설치가 가능합니다.

 

추가

------------------------------------

기본 위치 변경하기

chmod 755 /home/centos

vi /etc/httpd/conf/httpd.conf

<VirtualHost *:80>

         DocumentRoot /home/centos/public_html
 </VirtualHost>
systemctl restart httpd

 

 

|
댓글을 작성하시려면 로그인이 필요합니다.

서버관리자

663건

서버관리자 모임 게시판 입니다.

+
제목 글쓴이 날짜 조회
16-01-19 조회 3,106
16-01-19 조회 3,457
16-01-19 조회 3,187
16-01-09 조회 3,069
16-01-04 조회 3,710
15-12-31 조회 4,051
15-12-31 조회 7,804
15-12-30 조회 2,911
15-12-30 조회 2,907
15-12-29 조회 5,719
15-12-26 조회 2,956
15-12-21 조회 2,181
15-12-19 조회 3,077
15-12-18 조회 7,500
15-12-18 조회 2,403
15-12-15 조회 3,120
15-12-13 조회 2,598
15-12-12 조회 2,166
15-12-11 조회 2,451
15-12-11 조회 4,592
15-12-09 조회 2,569
15-12-08 조회 2,706
15-12-08 조회 3,103
15-12-08 조회 2,799
15-12-07 조회 2,422
15-12-07 조회 2,520
15-12-07 조회 2,586
15-12-05 조회 2,825
15-12-05 조회 4,186
15-12-05 조회 2,951