카

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

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

 

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-12-31 조회 3,279
16-12-31 조회 2,477
16-12-31 조회 1,698
16-12-30 조회 3,817
16-12-29 조회 2,928
16-12-29 조회 2,328
16-12-26 조회 1,821
16-12-23 조회 2,366
16-12-22 조회 1,822
16-11-23 조회 3,539
16-11-22 조회 2,378
16-11-17 조회 2,444
16-11-04 조회 2,932
16-10-28 조회 3,835
16-10-20 조회 4,450
16-02-15 조회 2,694
16-02-13 조회 7,113
16-02-12 조회 5,926
16-02-12 조회 7,135
16-02-09 조회 2,186
16-02-09 조회 3,251
16-02-05 조회 4,502
16-01-31 조회 4,247
16-01-31 조회 2,544
16-01-29 조회 4,954
16-01-28 조회 2,915
16-01-25 조회 3,183
16-01-25 조회 3,191
16-01-24 조회 2,376
16-01-24 조회 2,458