您现在的位置:首页 > 系统运维 > Linux运维

Centos 7安装FileRun记录与汉化

FlieRun:一款文件服务器类型的软件,类似百度网盘,需要php、数据库支持。了解详情 …

FlieRun:一款文件服务器类型的软件,类似百度网盘,需要php、数据库支持。

简单特性如下:

自托管文件同步和共享
可安装在任何私有Linux,Mac,Windows服务器上
或虚拟主机帐户

支持windows、安卓客户端

软件下载地址 https://filerun.com/download

本文环境为LNMP

nginx配置文件如下:


server {
listen 8080;
server_name 192.168.50.209:8080;
access_log /home/wwwlogs/access.log combined;
index index.html index.htm index.php;
#include /usr/local/nginx/conf/rewrite/none.conf;
root /home/wwwroot/default/filerun/;

location ~ .*\.(php|php5)?$
{
    fastcgi_pass unix:/tmp/php-cgi.sock;
    fastcgi_index index.php;
    include fastcgi.conf;


location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|ico)$ {
    expires 30d;
    access_log off;
    }
location ~ .*\.(js|css)?$ {
    expires 7d;
    access_log off;
    }
}

配置文件中astcgi_pass unix:/tmp/php-cgi.sock;需要根据自己服务器进行更改文件路径:


[root@192 filerun]# find / -name php-cgi.sock
/tmp/php-cgi.sock
[root@192 filerun]# 

 

网站目录文件如下:


[root@192 filerun]# ll
总用量 88
drwxr-xr-x 2 www www    23 5月  31 2019 a
-rw-r--r-- 1 www www  2086 5月  31 2019 api.php
drwxr-xr-x 2 www www  4096 5月  31 2019 cron
drwxr-xr-x 6 www www  4096 1月   4 17:32 css
drwxr-xr-x 6 www www   116 5月  31 2019 customizables
-rw-r--r-- 1 www www  3148 5月  31 2019 dav.php
-rw-r--r-- 1 www www  5430 5月  31 2019 favicon.ico
-rw-r--r-- 1 www www  2775 5月  31 2019 guest.php
drwxr-xr-x 6 www www   115 5月  31 2019 images
-rw-r--r-- 1 www www 35270 12月 25 12:03 index.php
-rw-r--r-- 1 www www    10 1月   4 17:33 initial_version.txt
drwxr-xr-x 7 www www   298 5月  31 2019 js
-rw-r--r-- 1 www www   131 5月  31 2019 LICENSE.txt
drwxr-xr-x 2 www www    23 5月  31 2019 logout
drwxr-xr-x 4 www www    53 5月  31 2019 oauth2
drwxr-xr-x 2 www www    34 5月  31 2019 ocs
drwxr-xr-x 2 www www    23 5月  31 2019 oembed
drwxr-xr-x 2 www www    23 5月  31 2019 panel
-rw-r--r-- 1 www www   711 5月  31 2019 recommended.web.config
-rw-r--r-- 1 www www  2098 5月  31 2019 remote.php
drwxr-xr-x 2 www www    39 5月  31 2019 sounds
drwxr-xr-x 2 www www    23 5月  31 2019 sso
-rw-r--r-- 1 www www  2787 5月  31 2019 status.php
drwxr-xr-x 7 www www   116 5月  31 2019 system
-rw-r--r-- 1 www www  3136 5月  31 2019 t.php
drwxr-xr-x 2 www www    40 5月  31 2019 weblinks
drwxr-xr-x 5 www www    72 5月  31 2019 wl
drwxr-xr-x 5 www www    58 3月  11 16:11 xhz

重启LNMP环境,在浏览器输入“网址:端口号 ” 即可进入安装导航页面,按照导航即可完成安装,最后获得用户名密码,使用用户名密码登录系统即可:

Your username is superuser
Your password is cefb3adab5dd

如图所示效果图

 

 

软件汉化:将下文附件下载,上传到系统即可,如下图所示

chinese下载

 

附件列表:

  • chinese (37 kB)

版权所有
侵权必究

上一篇
centos7 yum
下一篇
PXE kickstart.fg无人值守安装linux操作系统