- OOP based source
- Easy to extend and install
- No dependencies to other libraries (minimal installation requirements)
- Work with apache2 (x-sendfile), nginx (x-accell-redirect) and everything else (php file proxy)
- More stats and system tests implemented (for the owner to play with)
- many more...
- Apache2 or nginx (other httpds might work, too)
- PHP 5.3+ with at least mcrypt and sqlite3 support
- 100 mbit connection with at least 75 mbit bandwidth available
- A working version of git needs to be installed for easy updating
Lines starting with $ are command that you should run as the user that'll be running the script.
-
Install git if you don't already have it
-
Create a new user (preferably: osufiles)
-
Switch to the new user
-
Run these commands
$ cd ~ $ git clone https://bitbucket.org/nanashiRei/osumirror-childv2.git $ cp -rf ./osumirror-childv2/* ./ $ chmod 777 ./config $ cp ./config/config.sample.ini ./config.ini
-
Configure the config.ini file
-
Generate a privat/public keypair
$ ssh-keygen -t dsa -b 1024
-
Contact nanashiRei ( nanashi.rei at gmail dot com ) and ask for futher instructions. Don't forget to attach the id_dsa.pub file to the email. It is required for automatic syncronization of files between the master server and the child server.