• 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

This Article Has Been Shared 842 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

  • Akamai, Edge Computing, Cloud Computing and Web Page Acleration

    Akamai is the leading cloud platform provider that allows owners to provide users with a safe, high-performance static and streaming content all over the world.

  • Dropbox API and Cloud Apps

    Dropbox API was introduced in 2012 as a new API that allows the app developers to connect to mobile applications for iOS and Android with Dropbox cloud storage.

  • Cloud Server and Cloud Storage : Overview of Current Market

    Cloud Server and Cloud Storage is expanding. Infrastructure as a Service (IaaS) is one of the most important segments in the market for cloud computing.

  • Enable Ping on HP Cloud Server : Router and Security Group Settings

    We Need To Tweak The Router and Security Group Settings By Editing The ICMP Rules For Apache2 or Nginx To Enable Ping on HP Cloud Server.

  • HP Software Defined Services in Brief

    HP Has Software Defined Services In Two Flavors – Data Center Automation Virtual Appliance and Operations Orchestration. Here is a quick guide.

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • Best Powerpoint Templates for Communicating IoT Concepts April 17, 2021
  • How to Build a DIY Water Level Indicator? April 16, 2021
  • How Startups Can Convince the Investors April 14, 2021
  • What to Know About the Cloud Storage Services for Smartphones April 13, 2021
  • WonderFox HD Video Converter Factory Pro Review April 10, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Install Apache OpenWhisk On Ubuntu Server," in The Customize Windows, May 10, 2017, April 18, 2021, https://thecustomizewindows.com/2017/05/install-apache-openwhisk-ubuntu-server/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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