-
Notifications
You must be signed in to change notification settings - Fork 39
Manual Installation
PetaByet edited this page Dec 16, 2014
·
3 revisions
In case the automatic installer does not support your OS/Package Manager or you do not want to use Apache, you may install CDP.me manually. Here is how:
- Install the following software packages:
- A web server (eg. Apache, Nginx, Lighttpd, LightSpeed)
- PHP
- PHP Core
- PHP CLI
- PHP Mcrypt (optional, but recommended)
- Sendmail (for PHP mail();)
- git
- cron
- Download CDP.me
git clone https://github.com/PetaByet/cdp.git - Move CDP.me to your web server's document root
- Update config.php with the document root, and any other changes that you would like to make
- Create a directory to store backups
mkdir files && chmod -R 777 files - Set database permissions
chmod -R 777 db/*.json - Restrict file access
- For Apache:
mv htaccess.txt .htaccess - For other web servers: Make sure you block .json and .tar.gz files from the public.
- For Apache: