简体   繁体   中英

how to install and run rethinkdb in cpanel?

I'm having a hard time getting the RethinkDb server up in cpanel. I'm able to run it smoothly in my local machine using windows os.

I follow instruction listed here to somehow install it in cpanel. https://www.rethinkdb.com/docs/install/centos/

this is what exactly I typed in putty:

wget http://download.rethinkdb.com/dist/rethinkdb-2.3.6.tgz
tar xf rethinkdb-2.3.6.tgz

I tried the above step as well as manually downloaded the .tgz file, extracted it and the continued with below command to no avail.

cd rethinkdb-2.3.6
./configure --allow-fetch --dynamic jemalloc
make
sudo make install

It seems like the installation goes on and on. 在此处输入图片说明

I waited until it complete installing and typed rethinkdb to start the server. But it says undefined command.

Please guide me on how o install and run RethinkDb in cpanel.

Thanks.

Not sure why you are trying to install it from source and compile it since there are already created packages available for CentOS 6 & 7.

sudo wget http://download.rethinkdb.com/centos/7/`uname -m`/rethinkdb.repo -O /etc/yum.repos.d/rethinkdb.repo
sudo yum install rethinkdb

If it's CentOS 6, just then replace 7 with 6 after the CentOS repo.

Then just do a service rethinkdb start for CentOS 6.x or systemctl start rethinkdb for CentOS 7 and you should be good to go.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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