Giter VIP home page Giter VIP logo

yunstorage's Introduction

简单云存储方式 采用FastDF分式云存储,通过FastCGI与服务器通信,使用Nginx web服务器反向代理与客户端通信 采用Mysql数据库简单储存信息

location =/register.cgi {
            charset utf-8;
            root /usr/local/nginx/fastcgi_temp/Yunstorage/login_register;
            fastcgi_pass 127.0.0.1:8040;
            fastcgi_index index.cgi;
            include fastcgi_params;
    }

    location =/uploadfile.cgi {
            charset utf-8;
            root /usr/local/nginx/fastcgi_temp/Yunstorage/upload;
            fastcgi_pass 127.0.0.1:8050;
            fastcgi_index index.cgi;
            include fastcgi_params;
    }

    location =/downloaddelete.cgi {
            charset utf-8;
            root /usr/local/nginx/fastcgi_temp/Yunstorage/down_delete;
            fastcgi_pass 127.0.0.1:8060;
            fastcgi_index index.cgi;
            include fastcgi_params;
    }

mysql> select * from filenames; +----+-----------+----------------------------------+------------+-----------------------------------------------------+---------------------+------+ | id | username | filename | filelength | filestore | date | MD5 | +----+-----------+----------------------------------+------------+-----------------------------------------------------+---------------------+------+ | 1 | yzmin | stdio.h | 1024 | /usr/include | 2016-1-8 15:48:30 | - | | 4 | 叶志敏 | e10adc3949ba59abbe56e057f20f883e | 52 | group1/M00/00/00/Ciwa71aPfLOAA64nAAAANMh0uiY4567085 | 2016/01/08 17:09:07 | - | +----+-----------+----------------------------------+------------+-----------------------------------------------------+---------------------+------+ 2 rows in set (0.00 sec)

mysql> select * from users; +----+-----------+--------+------------------+-------------+ | id | name | passwd | email | phonenum | +----+-----------+--------+------------------+-------------+ | 1 | 叶志敏 | 567456 | [email protected] | 15889970649 | +----+-----------+--------+------------------+-------------+ 1 row in set (0.00 sec)

yunstorage's People

Contributors

yzmin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.