Issue link: https://read.uberflip.com/i/1334488
Monitoring 262 4. We enable this website using the a2ensite utility: sudo a2ensite graphite 5. We now need to enable the WSGI file for Graphite: sudo mv graphite.wsgi.example graphite.wsgi 6. Various areas need to change their ownership to that of the process running the Apache web server: sudo chown -R www-data:www-data /opt/graphite/storage/log/ sudo touch /opt/graphite/storage/index sudo chown www-data:www-data /opt/graphite/storage/index 7. We can now restart Apache to pick up these changes: sudo service apache2 restart 8. The Graphite service runs with a SQLite database backend, so we need to initialize this. cd /opt/graphite/webapp/graphite sudo python manage.py syncdb 9. This will ask for some information, as displayed next: You just installed Django's auth system, which means you don't have any superusers defined. Would you like to create one now? (yes/no): yes Username (Leave blank to use 'root'): E-mail address: user@somedomain.com Password: Password (again): Superuser created successfully. Installing custom SQL … Installing indexes … No fixtures found. 10. We also need to ensure that Apache can write to this, too: sudo chown -R www-data:www-data /opt/graphite/storage 11. Finally, we start the services, thus: cd /opt/graphite sudo bin/carbon-cache.py start www.it-ebooks.info

