페도라24 nginx mariadb 에 그누보드5 설치가 막힙니다

페도라24 nginx mariadb 에 그누보드5 설치가 막힙니다

QA

페도라24 nginx mariadb 에 그누보드5 설치가 막힙니다

본문

vmware 에 os 깔고 yum update 로 400개쯤 되는 업데이트를 설치한후 nginx mariadb 을 yum 으로 설치했습니다.(nginx php php-cli spawn-fcgi mysql mysql-server)

nginx 와 mariadb 잘 접속되는지 확인 한 후 그누보드 tar 파일을 웹페이지 루트폴더 /usr/share/nginx/html 에 풀었습니다. 

 

/usr/share/nginx/html/index.php 를 파폭에서 127.0.0.1/index.php 로 실행할 수 있었는데..

아래 상태에서 그누보드 설치하기 누르면 

e97557b4fe0e3322fac169243d96ec03_1470835201_6272.png
 

이렇게 뜹니다.. 

 

e97557b4fe0e3322fac169243d96ec03_1470835201_6743.png

 

저기서 설치하기 누르면 404 에러가 납니다. 

물론 data 폴더도 config.php 가 있는 폴더에 권한 707 으로 만들었습니다. 

 

 

/etc/nginx/nginx.conf 은 다음과 같이 수정했습니다. 

 

 # For more information on configuration, see:

#   * Official English Documentation: http://nginx.org/en/docs/

#   * Official Russian Documentation: http://nginx.org/ru/docs/

 

user nginx;

worker_processes auto;

error_log /var/log/nginx/error.log;

pid /run/nginx.pid;

 

# Load dynamic modules. See /usr/share/nginx/README.fedora.

include /usr/share/nginx/modules/*.conf;

 

events {

    worker_connections 1024;

}

 

http {

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '

                      '$status $body_bytes_sent "$http_referer" '

                      '"$http_user_agent" "$http_x_forwarded_for"';

 

    access_log  /var/log/nginx/access.log  main;

 

    sendfile            on;

    tcp_nopush          on;

    tcp_nodelay         on;

    keepalive_timeout   65;

    types_hash_max_size 2048;

 

    include             /etc/nginx/mime.types;

    default_type        application/octet-stream;

 

    # Load modular configuration files from the /etc/nginx/conf.d directory.

    # See http://nginx.org/en/docs/ngx_core_module.html#include

    # for more information.

    include /etc/nginx/conf.d/*.conf;

    include /etc/nginx/sites-enabled/*.conf;

 

    server {

        listen       80 default_server;

        listen       [::]:80 default_server;

        server_name  127.0.0.1;

        root         /usr/share/nginx/html;

index        index.html index.htm index.php;

        try_files       $uri $uri/ =404;

 

 

 

        # Load configuration files for the default server block.

        include /etc/nginx/default.d/*.conf;

 

        location / {

        }

 

        error_page 404 /404.html;

            location = /40x.html {

        }

        error_page 500 502 503 504 /50x.html;

            location = /50x.html {

        }

       

        location ~ \.php$ {

            root           /usr/share/nginx/html;

            fastcgi_pass   127.0.0.1:9000;

            fastcgi_index  index.php;

            fastcgi_param  SCRIPT_FILENAME  /usr/share/nginx/html/index.php$fastcgi_script_name;

            include        fastcgi_params;

        }

 

     }

 

# Settings for a TLS enabled server.

#

#    server {

#        listen       443 ssl;

#        listen       [::]:443 ssl;

#        server_name  _;

#        root         /usr/share/nginx/html;

#

#        ssl_certificate "/etc/pki/nginx/server.crt";

#        ssl_certificate_key "/etc/pki/nginx/private/server.key";

#        ssl_session_cache shared:SSL:1m;

#        ssl_session_timeout  10m;

#        ssl_ciphers PROFILE=SYSTEM;

#        ssl_prefer_server_ciphers on;

#

#        # Load configuration files for the default server block.

#        include /etc/nginx/default.d/*.conf;

#

#        location / {

#        }

#

#        error_page 404 /404.html;

#            location = /40x.html {

#        }

#

#        error_page 500 502 503 504 /50x.html;

#            location = /50x.html {

#        }

#    }

 

}


 

그누보드 5가 문제인가 해서 4버전으로 올려봤는데 이건 설치하기 누르면 바람개비 돌다가 페이지 찾을수 없다고 나오네요.

 

도와주세요.

 

이 질문에 댓글 쓰기 :

답변 2

data 폴더 만들고 퍼미션 주셨는지 확인

 

config.php 에 도메인 넣으셨는지 확인...

답변감사합니다. 이미 조치해본 사항들이네요
혹시나 해서 os 재설치 하고 APM 에다 설치하니 conf 건들일 필요없이 바로 설치가 됩니다.
문제는 nginx 관련인듯 합니다..

답변을 작성하시기 전에 로그인 해주세요.
전체 68
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT