Centos Install Graphite with Apache
2014-09-05 01:12
369 查看
cd /dashmon/
cd conf/
python -v
python
pip
pwd
cd conf/
pwd
yum search httpd
yum install httpd
yum install python-pip.noarch -y
yum install python-twisted -y
pip install django==1.5
pip install graphite-web
cd /opt/graphite/
mkdir /appl/process
mkdir /appl/scripts
chmod -R 774 /appl/scripts
chmod -R 774 /appl/process/
pip install tagging
pip install django-tagging
cd /opt/
cd graphite/
cd webapp/
cd graphite
cp local_settings.py.example local_settings.py
service httpd start
cd /opt/graphite/
cd conf/
cp graphite.wsgi.example graphite.wsgi
cd ../webapp/graphite
vim ./local_settings.py
cd /data/graphite/
mkdir storage
rm -rf storage/
cd /opt/graphite/
cd webapp/
cd graphite
vim ./local_settings.py
cd /logs/
mkdir graphite
cd graphite/
mkdir webapp
cd /opt/graphite/webapp/graphite
python ./manage.py syncdb
sudo yum install -y httpd wsgi
cp /opt/graphite/examples/example-graphite-vhost.conf /etc/httpd/conf.d/graphite.conf
cd /etc/httpd/conf.d/
vim ./graphite.conf
service httpd restart
yum -y install mod_wsgi
service httpd restart
pwd
cd logs/
tail -3000f error_log
ldd /etc/httpd/modules/mod_wsgi.s
tail -3000f error_log
tail -3000f access_log
cd modules/
ldd mod_wsgi.so
q
service httpd stop
service httpd start
vim /etc/httpd/conf.d/
vim /etc/httpd/conf.d/graphite.conf
cd /var/run/
l
cd /etc/httpd/conf.d/
vim ./graphite.conf
vim ./wsgi.conf
chown apache:apache /logs/graphite/webapp/
cd /opt/graphite/
cd bin/
./run-graphite-devel-server.py /opt/graphite/
pip install daemonize
pip install 'Twisted<12.0'
./run-graphite-devel-server.py /opt/graphite/
vim ./checkdependencies.py
python ./checkdependencies.py
pip install whisper
./run-graphite-devel-server.py /opt/graphite/
service httpd stop
service httpd start
cd /logs/
cd graphite/
cd webapp/
vim ./exception.log
tail -3000f exception.log
cd /data/graphite/
cd storage/
mkdir rrd
mkdir whisper
history
cd conf/
python -v
python
pip
pwd
cd conf/
pwd
yum search httpd
yum install httpd
yum install python-pip.noarch -y
yum install python-twisted -y
pip install django==1.5
pip install graphite-web
cd /opt/graphite/
mkdir /appl/process
mkdir /appl/scripts
chmod -R 774 /appl/scripts
chmod -R 774 /appl/process/
pip install tagging
pip install django-tagging
cd /opt/
cd graphite/
cd webapp/
cd graphite
cp local_settings.py.example local_settings.py
service httpd start
cd /opt/graphite/
cd conf/
cp graphite.wsgi.example graphite.wsgi
cd ../webapp/graphite
vim ./local_settings.py
cd /data/graphite/
mkdir storage
rm -rf storage/
cd /opt/graphite/
cd webapp/
cd graphite
vim ./local_settings.py
cd /logs/
mkdir graphite
cd graphite/
mkdir webapp
cd /opt/graphite/webapp/graphite
python ./manage.py syncdb
sudo yum install -y httpd wsgi
cp /opt/graphite/examples/example-graphite-vhost.conf /etc/httpd/conf.d/graphite.conf
cd /etc/httpd/conf.d/
vim ./graphite.conf
service httpd restart
yum -y install mod_wsgi
service httpd restart
pwd
cd logs/
tail -3000f error_log
ldd /etc/httpd/modules/mod_wsgi.s
tail -3000f error_log
tail -3000f access_log
cd modules/
ldd mod_wsgi.so
q
service httpd stop
service httpd start
vim /etc/httpd/conf.d/
vim /etc/httpd/conf.d/graphite.conf
cd /var/run/
l
cd /etc/httpd/conf.d/
vim ./graphite.conf
vim ./wsgi.conf
chown apache:apache /logs/graphite/webapp/
cd /opt/graphite/
cd bin/
./run-graphite-devel-server.py /opt/graphite/
pip install daemonize
pip install 'Twisted<12.0'
./run-graphite-devel-server.py /opt/graphite/
vim ./checkdependencies.py
python ./checkdependencies.py
pip install whisper
./run-graphite-devel-server.py /opt/graphite/
service httpd stop
service httpd start
cd /logs/
cd graphite/
cd webapp/
vim ./exception.log
tail -3000f exception.log
cd /data/graphite/
cd storage/
mkdir rrd
mkdir whisper
history
相关文章推荐
- How to Install PHP 7 with Apache and MariaDB on CentOS 7/Debian 8
- How to install SVN server with USVN, Apache, mod_dav_svn on CentOS 6
- How to Install Apache CouchDB on CentOS 6 (from Source and EPEL)
- Install Apache OpenOffice 3.4.1 on RHEL/CentOS 6.3/5.8 and Fedora 17/16
- Install Hadoop with HDP 2.2 on CentOS 6.5
- Install Django on Apache with mod_wsgi on linux
- Install Apache, PHP And MySQL On CentOS 7 (LAMP)
- How to install Apache Server on CentOS RedHat Linux, How to configure Apacahe Server on CentOS RedHat Linux | Antoine Solutions Development
- install apache with ssl
- Centos7-install apache+mariadb+php
- How to Install Apache OpenOffice on RHEL/CentOS
- Centos6.5 install Python2.7 & django & mysql & apache
- How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6
- Centos 64位 Install certificate on apache 即走https协议
- Centos 64位 Install certificate on apache 即走https协议
- Install LAMP on CentOS 6.5 及apache加固
- Install apache in linux(ubuntu or redhat/centos)
- Centos 64位 Install certificate on apache 即走https协议
- Install Apache with URL rewrite module
- ubuntu install svn with apache dav_svn