Assuming you have your ceph cluster up and running, it's time to prepare your ceph client.
To write your first ceph client, you need to install librados-dev
sudo apt-get install librados-dev
copy ceph.conf and ceph.client.admin.keyring from one the node running ceph monitor.
The files need to be copied to client node at specific location. The same path should be reflected in your ceph client code you are about to write.
https://github.com/mohankri/goceph/blob/master/cephclient.c
Compilation
gcc -o cephclient cephclient.c -lrados
To write your first ceph client, you need to install librados-dev
sudo apt-get install librados-dev
copy ceph.conf and ceph.client.admin.keyring from one the node running ceph monitor.
The files need to be copied to client node at specific location. The same path should be reflected in your ceph client code you are about to write.
https://github.com/mohankri/goceph/blob/master/cephclient.c
Compilation
gcc -o cephclient cephclient.c -lrados