Skip to content

Commit de73688

Browse files
committed
add installation tips
1 parent d7e3dc7 commit de73688

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

+29-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ Object storage is one of the most fundamental topic you'll encounter when you de
1313

1414
## Key Updates:
1515

16+
### Bump the version to v1.1.0
17+
18+
* Code Optimization
19+
* bug fixed
20+
1621
### Bump the version to v1.0.0
1722

1823
* Optimize performance for large content reads and writes
@@ -68,8 +73,31 @@ Installation now is very easy. But I strongly recommend to test and verify it in
6873
the cluster mode is enabled by default, You can also modify other settings if needed
6974

7075
### final. Start the blobfs service
71-
nohup java -jar blobfs-0.0.3jar
76+
cd the_file_path
77+
nohup java -jar blobfs-0.0.3jar &
7278
It is highly recommended that you should use [supervisord](http://supervisord.org/) to manage the blobfs services.
79+
### option. run blobfs as the system service
80+
on ubuntu:
81+
vi /usr/lib/systemd/system/blobfs.service
82+
put below contents into it:
83+
[Unit]
84+
Description=Blobfs Daemon
85+
86+
[Service]
87+
WorkingDirectory=/home/linuxadmin/blobfs-blobfs-v1.1.0/bin
88+
ExecStart=/usr/bin/java -jar blobfs-1.1.0.jar
89+
User=root
90+
91+
[Install]
92+
WantedBy=multi-user.target
93+
94+
and then, use these command to manage the service
95+
$ systemctl start blobfs.service # starts the service
96+
$ systemctl enable blobfs.service # auto starts the service
97+
$ systemctl disable blobfs.service # stops autostart
98+
$ systemctl stop blobfs.service # stops the service
99+
$ systemctl restart blobfs.service # restarts the service
100+
73101

74102
## Tips
75103
* the block blob is read only by default. marked with read only flag. e.g. r--r--r--

0 commit comments

Comments
 (0)