在项目中,上传图片或者加载不了图片的时候,检查nginx中的error日志,发现报以下错误:
open() "/usr/local/nginx/client_body_temp/0000000039" failed (13: Permission denied)
修改目录权...
admin
6年前 (2018-02-05) 9313℃
3喜欢
官方安装说明地址:https://www.gitlab.com.cn/installation/#centos-7
1、首先,安装gitlab相关依赖及防火墙设置,如果关闭了firewalld,则后两行无需执行;
sudo yum install -y curl policy...
admin
6年前 (2018-02-02) 1511℃
0喜欢
先得确认 nginx.conf 有没有配置好
再确认防火墙有没有开放这个端口
iptables -L -n
最重要的就是 如果前两项没问题 就执行以下方法杀掉nginx进程 重新启动;
/usr/local/nginx/nginx -s reload 或者
ki...
admin
6年前 (2018-02-02) 7734℃
2喜欢
1、下载composer.phar
curl -sS https://getcomposer.org/installer | php
或者
php -r "readfile('http://install.phpcomposer.com/installer');" |...
admin
6年前 (2018-02-02) 1285℃
2喜欢
1、关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
2、安装iptables防火墙
#安装
yum i...
admin
6年前 (2018-02-02) 1169℃
2喜欢
查看状态:
iptables -L -n
下面添加对特定端口开放的方法:
使用iptables开放如下端口
iptables -I INPUT -p tcp --dport 8000 -j ACCEPT
iptables -I OUTPUT -p tcp --dp...
admin
6年前 (2018-02-02) 1469℃
2喜欢
检查是否安装了MySQL
rpm -qa | grep mysql
一般安装MySQL比较方便的方法:
yum install mysql
yum install mysql-server
yum install mysql-devel
yum安装mysql-serv...
admin
6年前 (2018-02-01) 2059℃
0喜欢