Installation Instructions
Step 1: Database Setup
Step 2: Configure Upload Folder
Step 1: Database Setup
- Check that you server meets all of the software requirements
- Unzip the contents of filemanager.zip into your server document root folder (defualt is htdocs)
- Now open your mySQL database editor and created a new database
- Inside of the new database create a table named users, this table will store all of the user data required for activation, login, and sharing
- Inside of the users table create and coufigure the database columns based on the table below
- To finish the users table setup make id column the primary key, auto incrament, and unique
- Next, create a new table named shared. This table will be used for storing information such as user permissions for all of the shared files and folders.
- inside of the shared table create and coufigure the database columns based on the table below
Name | Type | Length |
---|---|---|
id | bigint | 10 |
varchar | 50 | |
user_name | varchar | 50 |
password | varchar | 50 |
usercode | varchar | 50 |
filespace | bigint | 10 |
attempts | int | 9 |
attempt_time | bigint | 20 |
activate | tinyint | 1 |
Name | Type | Length |
---|---|---|
id | bigint | 255 |
name | varchar | 50 |
type | tinyint | 1 |
size | int | 10 |
date | varchar | 10 |
file_path | varchar | 10000 |
root | tinyint | 1 |
owner | varchar | 50 |
edit | tinyint | 10000 |
Step 2: Configure Upload Folder
- Chose a place and make a folder in which the files and folders will be uploaded to
- Note the address of the folder because it will have to be inputed into the Config
- Open the config editor which is config/index.html
- Fill out all of the required information and generate a master and secondary encryption key