blob: c52b9f8da5bd8b16bcb9cb503b924cdafd13ba2e (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
===========================================================================
$NetBSD: MESSAGE,v 1.2 2014/11/29 12:26:16 ryoon Exp $
To use baserCMS, you will need to perform the following steps.
1. If you want to use with MySQL server, install databases/mysql55-*
and enable it, then create database.
2. Create database for baserCMS.
# mysql -u root -p
mysql> grant all on *.* to baser@localhost identified by 'baser-password';
mysql> create database basercms character set utf8 ;
mysql> grant all privileges on basercms.* to baser@localhost identified by 'baser-password';
2. Install apache httpd server, for example www/apache22 and www/ap-php.
3. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
Alias / ${PREFIX}/share/basercms/
<Directory "${PREFIX}/share/basercms">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from All
</Directory>
4. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
extension=gd.so
extension=json.so
extension=mbstring.so
extension=pdo.so ;if you select sqlite or mysql backend.
extension=pdo_mysql.so ;if you select MySQL backend.
extension=pdo_sqlite.so ;if you select sqlite backend.
extension=pdo_pgsql.so ;if you select PostgreSQL backend.
5. Start apache httpd.
6. Access http://localhost/ and setup with userID/password =
baser/baser-password for MySQL database.
===========================================================================
|