페도라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 로 실행할 수 있었는데..
아래 상태에서 그누보드 설치하기 누르면

이렇게 뜹니다..

저기서 설치하기 누르면 404 에러가 납니다.
물론 data 폴더도 config.php 가 있는 폴더에 권한 707 으로 만들었습니다.
/etc/nginx/nginx.conf 은 다음과 같이 수정했습니다.
# For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/">http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/">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">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개
답변을 작성하려면 로그인이 필요합니다.
로그인
혹시나 해서 os 재설치 하고 APM 에다 설치하니 conf 건들일 필요없이 바로 설치가 됩니다.
문제는 nginx 관련인듯 합니다..