How to install and configure MODx

  1. Create catalog in your apache root (default: /var/www), for example /var/www/food
  2. Unpack files into this directory /var/www/food
  3. Configure your hosts, add this line to /etc/hosts 127.0.0.1 food.local
  4. Configure apache virtual host. Create file in /etc/apache2/sites-available like food and put this text into it <VirtualHost *:80> ServerName food.local ServerAlias food.local DocumentRoot /var/www/food </VirtualHost>
  5. Enable site by command sudo a2ensite food
  6. If support mod_rewrite not enable, enable it sudo a2enmod rewrite
  7. Restart Apache sudo apachectl restart
  8. Go to phpMyAdmin and create user & database
  9. Edit /manager/includes/config.inc.php with your mysql credentials from last step
  10. Log in to manager with login admin and password foodelivery
  11. Empty cache by Tools Clear cache