Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ceph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antonio Falabella
ceph
Commits
9db5f718
Commit
9db5f718
authored
4 years ago
by
root
Browse files
Options
Downloads
Patches
Plain Diff
Dashboard
parent
3880ed77
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
api/README.md
+4
-0
4 additions, 0 deletions
api/README.md
api/cephfs_example1
+0
-0
0 additions, 0 deletions
api/cephfs_example1
api/cephfs_example1.cpp
+21
-0
21 additions, 0 deletions
api/cephfs_example1.cpp
installation.md
+2
-1
2 additions, 1 deletion
installation.md
with
27 additions
and
1 deletion
api/README.md
+
4
−
0
View file @
9db5f718
...
...
@@ -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
This diff is collapsed.
Click to expand it.
api/cephfs_example1
0 → 100755
+
0
−
0
View file @
9db5f718
File added
This diff is collapsed.
Click to expand it.
api/cephfs_example1.cpp
0 → 100644
+
21
−
0
View file @
9db5f718
#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
;
}
This diff is collapsed.
Click to expand it.
installation.md
+
2
−
1
View file @
9db5f718
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment