Hey Guys i had a few questions regarding default paths.
I was able to change my default installation path of couch to the following.
“status”: “healthy”,
“storage”: {
“hdd”: [
{
“index_path”: “/ssd/couchbase/data”,
“path”: “/ssd/couchbase/data”,
“quotaMb”: “none”,
“state”: “ok”
}
],
However, the problem that i had run into was that the binary packages and some logs were still installed at different path for example /opt/couchbase while the rest of the stuff was installed in /ssd .
My question is how do i make the installation of binary packages etc to a different directory. Also, for the systems that are already like this i wanted to know if i could just move these items to a different directory and then symlink it? or better yet Can i just move these files to a different directory and manually update couch to know that they are located somewhere else.
ls -lrt
total 56
-rw-r–r-- 1 bin bin 14 Feb 28 20:48 VERSION.txt
-rw-r–r-- 1 bin bin 2462 Feb 28 20:48 LICENSE.txt
-rw-r–r-- 1 bin bin 11909 Feb 28 20:48 licenses.tgz
-rw-r–r-- 1 bin bin 3161 Feb 28 20:49 manifest.xml
-rw-r–r-- 1 bin bin 1050 Feb 28 20:49 manifest.txt
drwxr-xr-x 4 bin bin 4096 May 23 19:49 bin
drwxr-xr-x 7 couchbase couchbase 4096 May 23 19:49 etc
drwxr-xr-x 15 bin bin 4096 May 23 19:49 include
drwxr-xr-x 9 bin bin 4096 May 23 19:49 lib
drwxr-xr-x 2 bin bin 4096 May 23 19:49 samples
drwxr-xr-x 6 bin bin 4096 May 23 19:49 share
drwxr-xr-x 5 couchbase couchbase 4096 May 23 19:49 var
lrwxrwxrwx 1 root root 14 May 23 19:49 couchbase -> /opt/couchbase
$ pwd
/opt/couchbase
ls
bin couchbase etc include lib licenses.tgz LICENSE.txt manifest.txt manifest.xml samples share var VERSION.txt