자유게시판

그누보드 5 설치방법

작성자 정보

  • 삼둡 작성
  • 작성일

컨텐츠 정보

본문

1. 다운로드

 

wget https://github.com/gnuboard/gnuboard5/tarball/master

 

tar xvzf master

 

 

 

2. db mysql 관련

 

계정생성

 

mysql root 접속

 

[root@localhost ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>

 

 

DATABASE 생성

 

MariaDB [(none)]> create database dbname character set utf8mb4 collate utf8mb4_unicode_ci;
Query OK, 1 row affected (0.01 sec)

 

5053575d648f3c3928c686a5a94427ed6f03f2c0lcur.png

 

USER 생성

 

MariaDB [(none)]> create user 'dbuser'@'localhost' identified by 'dbuserpassword';
Query OK, 0 rows affected (0.00 sec)

40daf93b786b9c31adb72c96b658fdae32559cd5lpvn.png

 

 

권한부여

 

MariaDB [(none)]> grant all privileges on dbname.* to 'dbuser'@'localhost';
Query OK, 0 rows affected (0.00 sec)

4651c1a369bd9d1309fe6cadcb9b4f336bd35b6ex83p.png

 

 

마무리

 

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)

 

01c6a22805fdf966456b6b9ebbfc17afb35f1fb7mghq.png

 

<VirtualHost *:80>
   ServerAdmin acumoxa@gmail.com
   DocumentRoot /home/phospho/public_ht
   ServerName haniw.com
   ServerAlias www.haniw.com
   ErrorLog logs/www.haniw.net-error_log
   SetEnvIfNoCase Request_URI "\.(bmp|gif|jpg|jpeg|png|css|js|java)$" not_log
   CustomLog logs/www.haniw.net-access_log combined env=!not_log

</VirtualHost>
 

관련자료

댓글 4

삼둡님의 댓글

  • 삼둡
  • 작성일
/usr/local/apache/conf/extra/httpd-vhosts.conf

삼둡님의 댓글

  • 삼둡
  • 작성일
<VirtualHost *:80>
    ServerAdmin acumoxa@gmail.com
    DocumentRoot /home/phospho/public_html/21c/bb
    ServerName 21.haniw.com
    ServerAlias www.21.haniw.com
    ErrorLog logs/21.haniw.net-error_log
    SetEnvIfNoCase Request_URI "\.(bmp|gif|jpg|jpeg|png|css|js|java)$" not_log
    CustomLog logs/21.haniw.net-access_log combined env=!not_log

 </VirtualHost>

삼둡님의 댓글

  • 삼둡
  • 작성일
[root@mail logs]# touch 21.haniw.net-error_log
[root@mail logs]# touch 21.haniw.net-access_log

삼둡님의 댓글

  • 삼둡
  • 작성일
[root@mail bin]# ./apachectl restart

인기검색어


최근글


새댓글