简体   繁体   English

如何在Ubuntu 14.04上安装MarkLogic 8?

[英]How does one install MarkLogic 8 on Ubuntu 14.04?

在Ubuntu 14.04上安装MarkLogic 8的步骤是什么?

According to Alex Bleasdale/David Ennis, download the CentOS version; 根据Alex Bleasdale / David Ennis的说法,下载CentOS版本; then: 然后:

Ubuntu and other Debian based distributions use DEB packages and CentOS or RedHat use RPM packages. Ubuntu和其他基于Debian的发行版使用DEB包,CentOS或RedHat使用RPM包。 To convert an RPM to DEB in a somewhat reliable way, one can use the 'alien' command. 要以一种可靠的方式将RPM转换为DEB,可以使用'alien'命令。 You install and use alien as follows: 您安装和使用外星人如下:

sudo apt-get install alien
sudo alien --to-deb --verbose  [your downloaded version]

In order to install a local DEB package, you can use dpkg with the -i option. 要安装本地DEB包,可以将dpkg与-i选项一起使用。

sudo dpkg -i [your downloaded version new repacked as .deb]

At this point, MarkLogic should be installed. 此时,应安装MarkLogic。 You can start and stop MarkLogic using the init script, it lacks the option 'status': 您可以使用init脚本启动和停止MarkLogic,它缺少选项'status':

sudo /etc/init.d/MarkLogic start

Download RPM version for centos/redhat from marklogic official website. 从marklogic官方网站下载centos / redhat的RPM版本。 Need to install 'alien' to convert an RPM to DEB and install the DEB created. 需要安装'alien'将RPM转换为DEB并安装创建的DEB。

sudo apt-get install alien sudo apt-get install alien

sudo alien --to-deb --verbose /home//Downloads/MarkLogic-RHEL7-8.0-5.4.x86_64.rpm sudo alien --to-deb --verbose /home//Downloads/MarkLogic-RHEL7-8.0-5.4.x86_64.rpm

Install the deb: 安装deb:

sudo dpkg -i marklogic_8.0-6.4_amd64.deb sudo dpkg -i marklogic_8.0-6.4_amd64.deb

I have tested this on Ubuntu 16.04 (64 bit) 我在Ubuntu 16.04(64位)上测试了这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM