Thursday, January 5, 2012

Install Graphite On A SmartMachine (SmartOS Zone)

I've been hearing a lot of good things about Graphite lately. So I thought I'd give it a try on a SmartOS Zone (SmartMachine?). I had one heck of a time installing it. Here's how I did it.

First, for some reason I had to use the 32bit version SmartOS 1.4.7. If you try the 64bit version, the first error you get:


Checking for header Python.h : Could not find the python development headers


But this appears to be a red herring and the real issue is related to 32 vs 64bit issues. Investigating this helped me understand why people don't like waf. Just use the 32bit zone and safe some pain.


Install all the dependencies that are available via pkgin:

pkgin install apache gcc-compiler scmgit python27 pkg-config cairo xproto renderproto-0.11 kbproto py27-setuptools py27-django py27-twisted ap22-py27-wsgi

I ran into a problem where it said apache was missing when I tried to download it. This was fixed by doing 'pkgin -f update'. The '-f' was necessary.

Dependency - pycairo

Install pycairo, we need py2cairo as its for python 2.7:


git clone git://git.cairographics.org/git/py2cairo
cd py2cairo
PREFIX="/opt/local" ./waf configure
./waf build
./waf install


Install Graphite components 'by hand'. Download, untar and run 'python setup.py install' in each of the resulting directories:

http://pypi.python.org/pypi/carbon
http://pypi.python.org/pypi/graphite-web
http://pypi.python.org/pypi/whisper

Install django-tagging by hand. Download, untar and run 'python setup.py install'.
http://code.google.com/p/django-tagging/downloads/list


Inside graphite-web run:


./check-dependencies.py


You might see warning, but there shouldn't see any FATAL messages.

(Under Construction) You still need to:
- copy and edit the apache config
- copy the .wsgi example into place
- copy the carbon.conf.example and the storage-schemas.conf.example
- patch the settings.py file so that it doesn't prepend the third party path

8 Comments:

At March 27, 2020 at 5:53 AM , Blogger hrroman said...

If you are stuck with your marketing assignment then in this case you can opt for our Marketing Assignments. we provide the bestMarketing assignment help.We also provide Integrated Marketing Communication for students across the globe. for more information contact us +16692714848.

 
At November 23, 2020 at 7:53 AM , Blogger Mark Albert - Roku Customer Support said...

How to connect Roku to TV without HDMI?
Roku devices can do wonders when it comes to streaming high quality TV entertainment. Occasionally, some might encounter certain kinds of issues with their Roku streaming devices occasionally. From TV playback to connectivity issues, it may vary from one Roku device to other based on various factors. IF you’re facing the , you can try the following. Connecting your Roku other than HDMI might be a little tricky but you can do it via HDMI converters. Try other HDMI port on your TV or try on other TV. You can also use Roku HDMI to DVI converter.
If you have intrested to information about roku connecting with HDMI you can refer our site roku tv hdmi no signal and also call our expert team by dialing our number +1-805-980-1700

 
At December 21, 2020 at 3:41 AM , Blogger Jacob Ethan said...

How to Resolve HDCP error on Roku?
Disconnect the HDMI cable from the port and connect it back again
If the HDMI cable used is faulty, try replacing it with a new one. Always choose good quality cables to use with your device
You can also try reversing the ends of HDMI cable and then check if the error messages resolve
Restart or reset your device using the compatible reset settings. Use the settings >System> System restart
If you require to resolve the hdcp roku error contact @+1-844-935-4357 and visit our site roku hdcp error detected

 
At January 4, 2021 at 4:33 AM , Blogger alexcosta said...

The below steps can help you to install the channel from the website:

•Firstly, access Roku Website on the computer or smartphone.
•If prompted, log in to the Roku account.
•From the Manage Account, choose Add Channel with a code.
•Secondly, key in the Channel Access code from the channel provider and
choose Add Channel.
•Finally, make sure to acknowledge the warning message that appears to
complete Roku.com/channelsignup.

 
At January 6, 2021 at 6:57 AM , Blogger jameskent said...

Activate ESPN plus on Roku to watch the on-demand shows. It’s not necessary to record ESPN plus Roku channel shows. You can watch any show that airs. It’s your interest to pick the best program that you like the most

 
At March 26, 2021 at 12:40 AM , Blogger Sathya said...

Nice post. It is really interesting. Thanks for sharing the post!
Buy Air Conditioner Online | Smart LED TV
Laptop Price | Best Inverter AC | Sathya Online

 
At June 22, 2021 at 1:49 AM , Blogger Twinkle said...

Nice post. It is really interesting. Thanks for sharing the post!
Web Design Company in Tuticorin | Domain Name Registration In India
Web Design Company In India | Digital Marketing Company in India
PPC Services in India | SEO Company India
Bulk SMS Service in India | Social Media Marketing Company in India

 
At July 2, 2021 at 6:58 AM , Blogger Jigurug said...

I think this is one of the most significant information for me. And i am glad reading your article. But want to remark on few general things, The site style is great, the articles is really great. Find Top IAS Coaching Center in Mumbai

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home