GnuBoard
설치 - local 에 설치하기
- 윈도우에서 아파치 설치 - Apache 2.4
- windows 에서 php 설치
- Maria DB 설치 : Downloads - MariaDB
- 그누보드5 - 설치 방법 > 자주하시는 질문 - QA
apache 에서 <VirtualHost> 를 설정해서 DocumentRoot 을 gnuboard 소스로 정해주자.(아래 참고) 그리고 위의 "그누보드5 - 설치 방법" 를 참고하면 된다.
<Apache>\conf\httpd.conf
# for port checkt the LISTEN configuration Listen 8082
<Apache>\conf\extra\httpd-vhosts.conf
# Test GnuBoard
# for port checkt the LISTEN configuration
<VirtualHost *:8081>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "c:/a/programming/php/gnuboard/src"
ServerName localhost
ServerAlias gnuboard.com
ErrorLog "logs/gnuboard-error.log"
CustomLog "logs/gnuboard-access.log" common
<Directory "c:/a/programming/php/gnuboard/src">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
</VirtualHost>
DB 계정 만들기
gnuboard 에서 사용할 DB 계정, DB, 를 만들고, 접근 권한을 주자. 아래를 참고하면 된다.myid, localhost, password 부분은 알아서 수정해주자.
CREATE USER 'myid'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE 'gnuboard' GRANT ALL ON gnuboard.* TO myid@'localhost' IDENTIFIED BY 'password';
php.ini
php.ini 에서 php_mysqli.dll 를 uncomment 하자.(php 5.5 이전 버전은 php_mysql.dll 이다)만약 c:\php 에 설치되지 않았다면 "extension_dir" 도 확인해야 한다.
extension_dir = "c:/a/php-7.1.4-x64/ext" ... extension=php_mysqli.dll
댓글 없음:
댓글 쓰기