Skip to content

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:

  1. Install the following software packages:
    1. A web server (eg. Apache, Nginx, Lighttpd, LightSpeed)
    2. PHP
      1. PHP Core
      2. PHP CLI
      3. PHP Mcrypt (optional, but recommended)
    3. Sendmail (for PHP mail();)
    4. git
    5. cron
  2. Download CDP.me git clone https://github.com/PetaByet/cdp.git
  3. Move CDP.me to your web server's document root
  4. Update config.php with the document root, and any other changes that you would like to make
  5. Create a directory to store backups mkdir files && chmod -R 777 files
  6. Set database permissions chmod -R 777 db/*.json
  7. 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.
    IP restrictions are also highly recommended.

Clone this wiki locally