服務器操作系統 Centos 6.5
安裝路徑 /opt
軟件包下載鏈接 https://omnidb.org/dist/2.16.0/omnidb-server_2.16.0-centos7-amd64.rpm
1.到服務器/opt使用rpm -ivh omnidb-server_2.16.0-centos6-amd64.rpm安裝,
安裝完成會在當前路徑生成omnidb-server文件夾,配置文件存放路徑/opt/omnidb-server/omnidb.conf

2.啟動服務,直接執行omnidb-server
[root@localhost opt]# omnidb-server Starting OmniDB websocket... Checking port availability... Starting websocket server at port 25482. Starting OmniDB server... Checking port availability... Starting server OmniDB 2.4.0 at 0.0.0.0:8000. Starting migration of user database from version 0.0.0 to version 2.4.0 OmniDB successfully migrated user database from version 0.0.0 to version 2.4.0 Press Ctrl+C to exit
在后台運行執行 nohup omnidb-server -H 0.0.0.0 & ,下面是一些相關的啟動參數。
Usage: omnidb-server [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-H HOST, --host=HOST listening address
-p PORT, --port=PORT listening port
-w WSPORT, --wsport=WSPORT
websocket port
-e EWSPORT, --ewsport=EWSPORT
external websocket port
-d HOMEDIR, --homedir=HOMEDIR
home directory containing local databases config and
log files
-c CONF, --configfile=CONF
configuration file
