• 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 809 Times!

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

  • 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

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

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

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

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT