Centos7 install SSDB Service

Source: Internet
Author: User

Centos7 install SSDB Service
1. Install the SSDB service: 1. Install the SSDB service/usr/local/ssdbBelow:

cd /usr/local/git clone https://github.com/ideawu/ssdb.gitcd ssdbmakesudo make installln -sf /usr/local/ssdb/ssdb-server /usr/local/bin/ssdb-serverln -sf /usr/local/ssdb/tools/ssdb-cli /usr/local/bin/ssdb-cliln -sf /usr/local/ssdb/tools/ssdb-dump /usr/local/bin/ssdb-dumpln -sf /usr/local/ssdb/tools/ssdb-repair /usr/local/bin/ssdb-repair
2. Start the SSDB service in the background:
/usr/local/ssdb/ssdb-server -d /usr/local/ssdb/ssdb.conf 

Use ssdb-cli:

/usr/local/ssdb/ssdb-cli -p 8888
3. Stop the SSDB service:
/usr/local/ssdb/ssdb-server /usr/local/ssdb/ssdb.conf -s stop
4. Start SSDB at startup:

① Modify a fileWrite code snippets hereIn configs, Set/data/ssdb_data/test/ssdb.confModify the path of your SSDB configuration file. If you have multiple SSDB instances, write them in one line and separate them with spaces. For example:

configs="/usr/local/ssdb/ssdb.conf"

② Add the ssdb service and set the start time:

ln -sf /usr/local/ssdb/tools/ssdb.sh /etc/rc.d/init.d/ssdbsudo chkconfig --add ssdbsudo chkconfig ssdb on
Ii. Client usage:

For details about how to use the client, see SSDB.

3. install PHP's SSDB management tool: phpssdbadmin

For details, see GitHub: phpssdbadmin;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.