how to open api-umbrella web browser? - api-gateway

The api-umbrella installation is successful.
want web browser to open. but, it doesn't open
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
It's Ubuntu information for i installed.
Installation process according to https://apiumbrella.io/install/
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
echo "deb https://dl.bintray.com/nrel/api-umbrella-ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/api-umbrella.list
sudo apt-get update
sudo apt-get install api-umbrella
and start api-umbrella
sudo /etc/init.d/api-umbrella start
and According to the api-umbrella instructions, start api-umbrella after install.
Then enter [your-api-umbrella-host/admin] and tell them to connect.
I want to know what [your-api-umbrella-host] address.
i tried localhost, localhost:80, localhost:8081, localhost:8443 and so on. but no connect.
I want to see the screen of [your-api-umbrella-host] / admin. Help me
thank..

Related

Pidfile for clickhouse-server is missing

I'm working on a freshly installed Ubuntu 18.04 VM.
With following steps I have installed ClickHouse.
echo "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/" | sudo tee /etc/apt/sources.list.d/clickhouse.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4
sudo apt-get update
sudo apt-get install -y clickhouse-server clickhouse-client
Then I start ClickHouse like this.
sudo clickhouse-server --config-file=/etc/clickhouse-server/config.xml
And I also tried to specify the pidfile path.
sudo clickhouse-server --config-file=/etc/clickhouse-server/config.xml --pid-file=/var/run/clickhouse-server/clickhouse-server.pid
ClickHouse documentation says that the pidfile should be at /var/run/clickhouse-server/clickhouse-server.pid, but I can't find it.
Running sudo find / -name clickhouse*.pid shows that there is no pidfile for clickhouse.
Is there something I'm missing? Do I have to change the configuration?
How can I get the pid of the process?
As far as I know, ClickHouse doesn't generate a pid file. Instead, it has a status file under the root of the data directory which contains the pid value.
❯ cat data/status
PID: 23465
Started at: 2018-12-02 18:47:10
Revision: 54409

Clickhouse install on Ubuntu 16.04 failing

Much appreciated if someone tells me how to install on Ubuntu 16.04.
I've tried this:
Steps I took:
echo "deb http://repo.yandex.ru/clickhouse/trusty stable main" >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 # optional
sudo apt-get update
sudo apt-get install clickhouse-client clickhouse-server-common
Errors:
root#c-2:~# sudo apt-get install clickhouse-client clickhouse-server-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
clickhouse-client : Depends: clickhouse-server-base (= 1.1.54245) but it is not going to be installed
clickhouse-server-common : Depends: clickhouse-server-base (= 1.1.54245) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
You need to use:
deb http://repo.yandex.ru/clickhouse/xenial stable main
Its literally in the line bellow where you copy pasted from in the docs:
For other Ubuntu versions, replace trusty to xenial or precise.
Version 16.x = xenial
... though it would be nice if they just renamed the paths to 12.x, 14.x and 16.x instead of using code names.
Do like this
echo "deb https://repo.yandex.ru/clickhouse/deb/stable main/" | sudo tee /etc/apt/sources.list.d/clickhouse.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4
sudo apt-get update
sudo apt-get install clickhouse-client clickhouse-server
I use https which is working. http not working in deb

issues with installing mesosphere mesos in ubuntu

While installing mesosphere mesos i have faced several issues Ubuntu Linux
distribution. I have used
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF
DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
CODENAME=$(lsb_release -cs)
echo "deb http://repos.mesosphere.io/${DISTRO} ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/mesosphere.list
to install mesosphere with
sudo apt-get install mesosphere
Now as expected mesossphere should download all dependencies like mesos,marathon and zookeeper with it. After i have installed them successfully i wanted to run the mesos as a service with
sudo service mesos-master start
but system says its unrecognized service. As a solution i had to download mesos separately and start them manually after building the same source code.
what i am looking for is if there exist any other simple solution to install apache mesos.
you need use
sudo apt-get -y install mesos
instead of
sudo apt-get install mesosphere
to install mesos.

How to install Oracle database 11g on Ubuntu Server

I am using Ubuntu server 14.04 and I tried to find how to install oracle database 11g but could not found.
Do you have any suggestion or tutorial to guide that job?
To install the Oracle 11g database on Ubuntu, first download Ubuntu with a generic kernel from Ubuntu, and then release the link.
Installing on 12.0 is explained here
Another aproach is to setup a docker container with Oracle 11g.
Since Ubuntu is not a supported operating system, in can be much easier.
Here are the steps to install Oracle 11g Enterprise Edition:
I. Firstly install docker (if not installed) :
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
(source https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
II. Download and extract database files
Download Oracle installation files
https://www.oracle.com/database/technologies/112010-linx8664soft.html
Unzip both files so you have a single "database" folder. Place this "database" folder somewhere and name it e.g "installation_folder"
III. Setup docker container:
sudo docker pull jaspeen/oracle-11g
sudo docker run --privileged --name oracle11g -p 1521:1521 -v /path/to/installation_folder:/install jaspeen/oracle-11g
IV. Use it. E.g. connect with SqlDeveloper (port 1521, SID orcl), or use sqlplus:
sudo docker ps -a
Get container [YOUR_CONTAINER_ID]
sudo docker exec -it [YOUR_CONTAINER_ID] /bin/bash
su - oracle
sqlplus / as sysdba

LibreOffice OnLine build

I'm trying to compile libreoffice, to use it "online", i.e: in a web browser (see a demo here: http://www.youtube.com/watch?v=CVR7HqDokmA
).
When running the executable, I get this error:
**Gdk-ERROR **: Unsupported GDK backend: broadway**
These are the steps I do to compile libreoffice on a Ubuntu 11.10 Linux box:
cd /opt
mkdir -p libreoffice
cd libreoffice/
git clone git://anongit.freedesktop.org/libreoffice/core
cd core
cat >> /etc/apt/sources.list << EOT
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu oneiric main
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu oneiric main
EOT
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
sudo apt-get update
sudo apt-get build-dep libreoffice
sudo apt-get install -y libgnomevfs2-dev
sudo apt-get install -y doxygen
./autogen.sh --enable-gtk3 --without-java --disable-mozilla --without-system-mozilla
make
make dev-install
cd install/program;
. ./ooenv;
export SAL_USE_VCLPLUGIN=gtk3
export GDK_BACKEND=broadway
./soffice --writer
What is the problem here? Is there any other compilation option I can check?
Seems your GTK hasn't been compiled with the broadway backend enabled. Depends on your distro.
As liberforce correctly pointed out, you need a BROADWAY-enabled GTK.
I did just discover ubuntu 12.04 ships with a BROADWAY-enabled GTK...

Resources