Install Guides
osFileManager 2.2 Install Guide
osFM Static 1.1 Install Guide
Community
Bug tracker / Get help
General Discussion
osFileManager 2.2 Install Guide
- Download
- Setup your Database
- Edit configuration
- Upload the files
- Login and change your password
Download
osFileManager requires PHP and MySQL. We strongly reccomend you install suPHP or suexec as it will protect the security of your files. Make sure you have these before trying to install and run it. If your webhost does not support PHP, MySQL, or suPHP, consider signing up for one that does.
Setup your Database
If you do not already have a database, it's time to make one now. If you are using cPanel, follow the directions below.
- Log into your cPanel account
- Go to Databases -> MySQL Databases
- Enter a new database name under "Create new database"
- Click "Create database"
- Return to the MySQL page
- Enter a username and password where it says "Add new user"
- Click "Create user"
- Return to the MySQL page
- Select your new user and your new database under where it says "Add user to database"
- Click Add
You can run the query below to create a database if you are not using cPanel or another GUI.
CREATE DATABASE osfm
Now that the database is there, run the "users.sql" file that came with osFileManager. If you are using cPanel follow the directions below.
- In cPanel, go to Databases -> phpMyAdmin
- Click the new database that you created
- Click "SQL" at the top
- Paste the contents of "users.sql" into the text box
- Click "Go"
Edit configuration
All of the configuration info is stored in the main osFileManager file. Follow the steps below to configure it.
- Open "index.php" in your favorite text editor
- Find the "Config Section"
- In most cases "server" will need to be localhost. Otherwise set this to your MySQL server
- Set "user" to the username you created in the Setup your Database section
- Set "pass" to the password you set in the Setup your Database section
- Set "db" to the database you created in the Setup your Database section
- Save the file
Upload the files
- Log into your FTP or SSH account if you are a remote server
- Go to your web root directory. This is sometimes public_html
- Create a new directory called "osfm"
- Upload all the files that came with the osFileManager zip file up to yout webserver
- If you are not using suPHP: chmod any directory that you want to write or upload to to 0777
This is insecure but the only way to do it without suPHP
Login and change your password
- Navigate to your osfm directory on your server in your browser.
Ex: http://my.server.com/osfm/
- Login with username: admin, and password: password
- Navigate to "User CP" -> "Change password"
- Enter a new password for yourself and click Save
|