代码拉取完成,页面将自动刷新
centos build deps
libtool automake libuuid-devel libaio-devel flex bison openssl-devel python2-psutil \
python-paramiko redhat-lsb expect gperftools sqlite-devel fuse-devel yajl-devel etcd \
hiredis-devel cmake curl-devel yasm numactl-devel numactl-libs \
libpciaccess-devel rdma-core rdma-core-devel python-prettytable
ubuntu build deps:
make libtool automake flex bison expect uuid-dev libaio-dev libssl-dev \
libsqlite3-dev libfuse-dev rdma-core-devel
Gentoo build deps:
libtool automake libaio flex bison openssl dev-python/psutil \
paramiko lsb-release expect sqlite fuse yajl etcd \
dev-libs/hiredis cmake curl yasm numactl \
libpciaccess librdmacm prettytable dev-db/redis
default prefix:
/opt/fusionstack #you can set it in Makefile $(RELEASE_PATH)
installation:
make autogen #you can only execute this for a new git clone
make conf
make
sudo make install
make tar:
make tar #package lich in tgz and put into /var/www/html/lich
test:
make autogen #you can only execute this for a new git clone
make testall
configuration:
/opt/fusionstack/lich/etc/lich.conf
/etc/hosts #set cluster list in /etc/hosts
/etc/security/limits.conf #set nofile soft/hard 1048576
/etc/sysctl.conf #set net.core.wmem_max/net.core.rmem_max 104857600
lichd:
/opt/fusionstack/lich/sbin/lichd --help
admin:
/opt/fusionstack/lich/libexec/lich.admin --help
tools:
/opt/fusionstack/lich/libexec/lich --help
/opt/fusionstack/lich/libexec/lich.tgt --help
/opt/fusionstack/lich/libexec/lich.dbg --help
/opt/fusionstack/lich/sbin/lich-shell.py
init:
/opt/fusionstack/lich/sbin/lichd --init --home /data --clustername cluster1
startup
/opt/fusionstack/lich/sbin/lichd --home /data
create cluster:
/opt/fusionstack/lich/libexec/lich.admin --createcluster node1 node2 ... nodeX
list cluster:
/opt/fusionstack/lich/libexec/lich.admin --listnode
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。