Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Couchbase 4.1.1 installation

  1. #11
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Couchbase 4.1.1 installation

    Thank you very much. I'm fairly new to Linux and doesn't know how to install pre-compile version. I did browse through google search results, but all were futile. If you could guide me, I'll install.

  2. #12
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,475
    Blog Entries
    2

    Default Re: Couchbase 4.1.1 installation

    Once you've downloaded the rpm,
    Open a console in that location, elevate to root with "su" or "sudo" and then install with "zypper in packagename"
    Or, as of today you can run the following compound statement... Open a regular console like Konsole, xterm, LXterminal, XFCEterminal or similar, paste the following and just execute
    Code:
    sudo zypper in couchbase-server-community-4.1.0-suse11.x86.64.rpm
    When the above runs, you'll be prompted to grant permission to install, then authorize the installation.
    Agree to both, and wait until completed.

    After that, follow the instructions to login first time to configure at the following web page

    https://developer.couchbase.com/docu...nstalling.html

    More stuff for getting started...

    https://developer.couchbase.com/docu...nstalling.html

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #13
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,475
    Blog Entries
    2

    Default Re: Couchbase 4.1.1 installation

    FYI -
    I found that although couchbase server installs fine using the steps I described,
    The couchbase documentation is a bit lacking about setup.

    Before doing anything else, if needed I highly recommend you modify your machine's Hostname and assign the hostname to localhost using YAST > System > Network Settings. You can do this later after the couchbase server, but you'll need to understand how to modify URI and URLs to conform with any machine name changes. Better to get this out of the way first.

    First, although the documentation says that couchbase server will automatically be running, that's not the case... Is like al other newly installed apps, the default is not running, and not enabled to start on boot.

    So, start your couchbase server and enable it to start on boot with the following compound command
    Code:
    systemctl start couchbase-server && systemctl enable couchbase-server
    You'll need to open up all those ports listed at the end of the couchbase server install.
    Create custom rulss in SUSE FW (source 0/0, Destination ports specified or if you're running in a NAT network in a VM you can probably just drop the firewall.

    Even after all the above, the couchbase server isn't responding to a web browser (I find this strange).
    If you want to wait a few days, I should have this worked out and will create a Wiki page for installing and setting up Couchbase on 42.2 (and likely other openSUSE), but you're welcome to forge ahead and do what you can on your own.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #14
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Couchbase 4.1.1 installation

    I've also tried CentOS in my system earlier, but somehow I'm always inclined towards openSUSE. So I waited for 42.2 release and installed once released. In fact, I was very much impressed with community support in openSUSE. Hence. I'm trying myself as much possible to stay in openSUSE. Let me wait for your reply before I take a call. Thank you very much for your support. I'm happy that I've tried openSUSE among all other flavours of Linux.

    Warm Regards!
    Lenin
    reachlinlen@gmail.com

  5. #15
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,475
    Blog Entries
    2

    Default Re: Couchbase 4.1.1 installation

    The SUSE 11 couchbase package from couchbase.com appears to be broken.
    I've now installed in two different LEAP 42.2 with the same results... the embedded webserver which is critical for configuring appears to be non-functional although the installations completed without error.

    Here are my notes if anyone wants to follow in the same steps (or can find anything to improve upon)
    Code:
    LEAP 42.2 / LXQt (upgraded from 42.1 with underlying LXDE)
    
    Preparation on a brand new openSUSE
    - Set your system's hostname and domain name in YAST > Network Settings
    - When you set your hostname and domain name, also uncheck the box that says DHCP can change your system name and check the box that writes your names to the /etc/hosts file.
    
    
    
    
    Based on
    http://developer.couchbase.com/documentation/server/current/getting-started/installing.html
    
    
    1. Download the Couchbase Community Edition 4.1.0 SUSE 11 package
    2. Open a root console to ~/Downloads and zypper install the rpm
    3. Turn off your firewall in YAST unless you want to painstakingly open every port Couchbase requires
    4. Start your couchbase server with 
    systemctl start couchbase-server.service
    All of the above should complete with an error which may or may not be significant complaining about being unable to start because in the file /sbin/insserv line 93, something wasn't parsed. That is why I started the couchbase server manually (which does so without error)...

    But, the embedded webserver isn't running.
    You can test the port with telnet or "netstat -l | grep 8091" which is the port your web browser should connect to.

    (I'd also advise saving the installation stdout for further firewall configuration).

    So, someone will have to fix... Or, install from source.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #16
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Couchbase 4.1.1 installation

    Dear TSU, Thank you very much. Since I would like to stay in openSuse and found that Cassandra suits for my requirement. I'm facing some difficulties in the installation. Could you please help me. I've started a new thread. Thanks!

  7. #17
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,475
    Blog Entries
    2

    Default Re: Couchbase 4.1.1 installation

    Quote Originally Posted by linlen View Post
    Dear TSU, Thank you very much. Since I would like to stay in openSuse and found that Cassandra suits for my requirement. I'm facing some difficulties in the installation. Could you please help me. I've started a new thread. Thanks!
    OK.
    That's quite a jump from Couchbase to Cassandra.
    In the NoSQL world, that's like moving from a sedan to a Mack truck. I'd have considered MongoDB as a closer alternative instead.

    But, Cassandra is really cool.
    It helps that Datastax (The primary commercial sponsor for both commercial and Apache versions of Cassandra) is located very close to where I am, so although not often I've been able to see presentations and ask questions.

    Should be easy to install and do initial setup.
    A default 42.2 will already have the required openjdk and Python installed, so there's very little you have to do.
    Recommend the following link, and for a beginner maybe the single node option

    http://docs.datastax.com/en/cassandr...llTarball.html

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #18
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Couchbase 4.1.1 installation

    Dear TSU, Thank you very much. I did install.

    Len

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •