Skip to content
Snippets Groups Projects
Commit 9db5f718 authored by root's avatar root
Browse files

Dashboard

parent 3880ed77
No related branches found
No related tags found
No related merge requests found
......@@ -5,3 +5,7 @@ yum install librados2-devel
yum install python-rados
g++ example1.cpp -lrados -o example
yum install libcephfs-devel
g++ -o cephfs_example1 cephfs_example1.cpp -lcephfs
File added
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
#define _FILE_OFFSET_BITS 64
#include <cephfs/libcephfs.h>
#include <stdlib.h>
#include <stdio.h>
int main (int argc, const char* argv[]){
struct ceph_mount_info *cmount;
const char id[] = "client.admin";
int err = ceph_create(&cmount, id);
printf("%d", err);
return 0;
}
......@@ -86,7 +86,8 @@ yum install ceph-mgr-dashboard # for nautilus
ceph mgr module enable dashboard
ceph config set mgr mgr/dashboard/qn-cnfslhc/server_addr 131.154.130.69
ceph config set mgr mgr/dashboard/qn-cnfslhc/server_port 5000
ceph dashboard set-login-credentials admin <password>
#ceph dashboard set-login-credentials admin <password>
ceph dashboard ac-user-set-password admin admin
ceph config set mgr mgr/dashboard/ssl false
```
### Monitors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment