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

· 10년 전 · 1319

 

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

 

 

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

자유게시판

+
제목 글쓴이 날짜 조회
10년 전 조회 1,212
10년 전 조회 1,079
10년 전 조회 963
10년 전 조회 1,279
10년 전 조회 1,169
10년 전 조회 1,385
10년 전 조회 1,202
10년 전 조회 1,398
10년 전 조회 1,222
10년 전 조회 1.1만
10년 전 조회 1,163
10년 전 조회 1,094
10년 전 조회 1,740
10년 전 조회 1,151
10년 전 조회 1,320
10년 전 조회 1,119
10년 전 조회 1,435
10년 전 조회 1,964
10년 전 조회 1,212
10년 전 조회 1,198
10년 전 조회 1,104
10년 전 조회 1,455
10년 전 조회 1,631
10년 전 조회 1,280
10년 전 조회 1,700
10년 전 조회 1,233
10년 전 조회 1,207
10년 전 조회 1,351
10년 전 조회 1,152
10년 전 조회 1,187
🐛 버그신고