• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Install Apache OpenWhisk On Ubuntu Server

By Abhishek Ghosh May 10, 2017 1:58 pm Updated on May 10, 2017

Install Apache OpenWhisk On Ubuntu Server

Advertisement

Apache OpenWhisk is a free software for setting up serverless computing platform. It is an open source implementation of a distributed, event-driven compute service. You can run it on your own hardware on premise, or in the cloud. Previously we have talked about the basics of serverless computing. Here is How To Install Apache OpenWhisk On Ubuntu Server Single Instance. We normally install Vagrant, then install Apache OpenWhisk on top. Basically Ubuntu 14.04 is preferred over Ubuntu 15, Ubuntu 16 etc newer versions as many things changed in the later version and bug is common.

 

Steps To Install Apache OpenWhisk On Ubuntu Server : With Vagrant

 

It is actually easy to install Vagrant :

Vim
1
2
3
sudo apt-get update
# apt-cache show vagrant
sudo apt-get install vagrant

You can check installation by running :

Advertisement

---

Vim
1
vagrant -v

Show list of VMs :

Vim
1
vagrant box list

Start Vagrant instance :

Vim
1
vagrant up

SSH to Vagrant :

Vim
1
vagrant ssh

For that SSH part, practically you should know how to create Vagrant file and tit bits. It is definitely out of scope of this guide to talk about Vagrant.

Next steps are really easy. Simply run :

Vim
1
2
3
4
5
# clone openwhisk
git clone --depth=1 https://github.com/openwhisk/openwhisk.git
 
# directory to tools/vagrant
cd openwhisk/tools/vagrant

In this directory, you can run test script :

Vim
1
2
# Run script to create vm and run hello action
./hello

You’ll get response like this :

Vim
1
2
3
4
wsk action invoke /whisk.system/utils/echo -p message hello --result
{
    "message": "hello"
}

Install Apache OpenWhisk On Ubuntu Server

 

Steps To Install Apache OpenWhisk On Ubuntu Server : Native Installation

 

Before you build and deploy Apache OpenWhisk, it is optional but practical to configure a backing data store. It can be CouchDB instance or a cloud-based database service. It is actually easy to run these commands :

Vim
1
2
3
4
5
6
7
8
9
10
11
# Install git if it is not installed
sudo apt-get install git -y
# Clone openwhisk
git clone https://github.com/openwhisk/openwhisk.git
# Change current directory to openwhisk
cd openwhisk
# Install all required software
(cd tools/ubuntu-setup && ./all.sh)
# build like docker
cd
./gradlew distDocker

Add these on bash profile file :

Vim
1
2
3
echo 'export PATH=$HOME/openwhisk/bin:$PATH' > "$HOME/.bash_profile"
echo 'eval "$(register-python-argcomplete wsk)"' >> "$HOME/.bash_profile"
echo 'eval "$(register-python-argcomplete wskadmin)"' >> "$HOME/.bash_profile"

Serverless functions can be exposed as HTTP endpoints. Building OpenWhisk from repository results in the generation of the command line interface. The generated CLIs are located in openwhisk/bin/. The main CLI is located in openwhisk/bin/wsk that runs on the operating system, and CPU architecture on which it was built. Executables for other operating system, and CPU architectures are located in openwhisk/bin/linux/.

To download the CLI from an existing deployment, you will need to download the CLI using the deployment’s base URL – {BASE URL}/cli/go/download. {BASE URL} is the OpenWhisk API hostname or IP address.

There are some projects which either are related now or will be related with Apache OpenWhisk in future :

  1. Kafka for message hub service
  2. Camel
  3. ActiveMQ
  4. CouchDB
  5. Mesos
  6. Spark
Tagged With How to Install Apache OpenWhisk on Ubuntu 18 04 , OpenWhisk ubuntu , spark hub OR (spark AROUND(20) hub) , openwhisk ubuntu server , openwhisk install docker , openwhisk hardware server , openwhisk cli unbuntu , open whisk installation apache , https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1824 LPo98Kn9tOkbzpUlXnGAuj7Kv1QzIq7md5nM7ohgz29KYjaaQkElAEW2Aqx9e7Fl 2f02270d5a161327e65b97b7c932a0170d328752&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme , apache openwhisk Ubuntu 1604
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install Apache OpenWhisk On Ubuntu Server

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • WordPress Local Development with Vagrant

    Here is a Guide For Wordpress Local Development with Vagrant. Vagrant is Better than MAMP, WAMP or XAMPP and is Related to Virtual Appliance.

  • How to Install Apache OpenWhisk on Ubuntu 18.04

    Here is How to Install Apache OpenWhisk on Ubuntu 18.04 to Create Own FaaS Environment. This is single VM/server deployment of OpenWhisk.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Market Segmentation in BriefSeptember 20, 2023
  • What is Booting?September 18, 2023
  • What is ncurses?September 16, 2023
  • What is JTAG in Electronics?September 15, 2023
  • iPhone 15 Pro Max Vs Samsung Galaxy S22/S23 UltraSeptember 14, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy