Last active
April 22, 2016 21:09
-
-
Save m4tty/826ca18b1ea305f701eea2494e131afd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#my notes / commands for installing graphite | |
#pycairo | |
apt-get install libcairo2-dev | |
apt-get install python-cairo | |
#git | |
apt-get install git | |
#django | |
sudo apt-get install python-django | |
#sudo apt-get install --assume-yes apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 build-essential | |
#django-tagging | |
sudo apt-get install python-setuptools | |
sudo easy_install django-tagging | |
#pytz | |
sudo easy_install pytz | |
#fontconfig should be already installed | |
#apache and mod-wsgi | |
sudo apt-get install apache2 libapache2-mod-wsgi | |
#graphite | |
git clone https://github.com/graphite-project/graphite-web.git | |
git clone https://github.com/graphite-project/carbon.git | |
git clone https://github.com/graphite-project/whisper.git | |
git clone https://github.com/graphite-project/ceres.git | |
sudo apt-get install python-pip | |
sudo pip install django-tagging==0.3.6 | |
sudo pip install --upgrade pyparsing | |
sudo chown -R www-data:www-data /opt/graphite/static | |
cp ./manage.py /opt/graphite/webapp/ | |
sudo python ./manage.py syncdb | |
sudo python ./manage.py collectstatic --noinput --settings=graphite.settings | |
#configure apache | |
#https://www.digitalocean.com/community/tutorials/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps | |
#https://www.digitalocean.com/community/tutorials/how-to-install-and-use-graphite-on-an-ubuntu-14-04-server | |
<Directory /static> | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory /opt/graphite/static> | |
Options All | |
AllowOverride All | |
Require all granted | |
</Directory> | |
#configure carbon | |
cp carbon.conf.example carbon.conf | |
cp storage-schemas.conf.example storage-schemas.conf | |
#https://www.digitalocean.com/community/tutorials/how-to-configure-statsd-to-collect-arbitrary-stats-for-graphite-on-ubuntu-14-04 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment