def _configure(self):
        Util.printStep('(Re-)starting Couchbase')
        cmd = 'service %s restart' % self._serviceName
        self._executeExitOnError(cmd)

        time.sleep(5)

        Util.printStep('Set Couchbase data location')
        options = ['--node-init-data-path=/opt/couchbase/var/lib/couchbase/data']
        cmd = CouchbaseServer._cb_cmd('node-init', self.frontendIp, options)
        self._executeExitOnError(cmd)

        Util.printStep('Create default Couchbase bucket')
        options = ['--bucket=default',
                   '--bucket-type=couchbase',
                   '--bucket-ramsize=400',
                   '--bucket-replica=1']
        cmd = CouchbaseServer._cb_cmd('bucket-create', self.frontendIp, options)
        self._executeExitOnError(cmd)

        Util.printStep('Initialize Couchbase admin account')
        options = ['--cluster-init-username=%s' % self._cb_cluster_username,
                   '--cluster-init-password=%s' % self._cb_cluster_password]
        cmd = CouchbaseServer._cb_cmd('cluster-init', self.frontendIp, options)
        self._executeExitOnError(cmd)

        Util.printStep('Saving cluster password in %s' % self._cb_cluster_password_path)
        with open(self._cb_cluster_password_path, 'w') as f:
            f.write(self._cb_cluster_password + "\n")

        Util.printStep('Reducing read access to password file')
        os.chmod(self._cb_cluster_password_path, 0400)