Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install cassandra to be used in php. Apache http server is good. I didn't get any valuable tutorial on installing apache, php and cassandra in ubuntu. All the tutorials shown, may be they are for old versions of cassandra or I got some problems in Thrift.

So guys I request you to please suggest me any good tutorial on how to install & configure php with cassandra. Thank you!

I'm using Ubuntu 12.04 LTS Desktop Edition.

share|improve this question

closed as off topic by hexafraction, maythux, Tom Brossman, Amith KK, LnxSlck Oct 13 '12 at 17:25

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
AskUbuntu covers Ubuntu related questions, this is off-topic. –  Addison Montgomery Oct 12 '12 at 17:11
1  
@Bousie This is not off-topic. Problems running software on Ubuntu are explicitly part of what this site is about. (Please read the FAQ.) Furthermore, some of the particular software being referenced here is officially part of Ubuntu. (As for third party software, that is also on topic; see the FAQ.) –  Eliah Kagan Oct 12 '12 at 19:38
add comment

1 Answer

Install Cassandra on Ubuntu 12.04

add the following into /etc/apt/sources.list

deb http://www.apache.org/dist/cassandra/debian 11x main
deb-src http://www.apache.org/dist/cassandra/debian 11x main

add the puclic_key

gpg –keyserver pgp.mit.edu –recv-keys F758CE318D77295D
gpg –export –armor F758CE318D77295D | sudo apt-key add -
gpg –keyserver pgp.mit.edu –recv-keys 2B5C1B00
gpg –export –armor 2B5C1B00 | sudo apt-key add -

install

sudo apt-get update
sudo apt-get install cassandra

Start

sudo /etc/init.d/cassandra start

References

Official Package To Install On Debian(tm) (not a product of Debian(tm))

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.