Install and Configure Manifold on Alibaba Cloud

Prerequisites

For this tutorial, you will need the following items:

  • A newly created Alibaba Cloud ECS instance that is installed with Ubuntu 16.04 and has a minimum of 6 GB of memory.
  • A static IP address 192.168.0.102 that is configured on the ECS instance.
  • A root password is set up to your instance.

Install Manifold

By default, Manifold is not available in the Ubuntu 16.04 default repository. So, you will need to download the Manifold package to your ECS instance. You can download it with the following command:

curl -O https://storage.googleapis.com/manifold-dist/ubuntu18/manifold_2.0.0~rc.1-1_amd64.deb
dpkg -i manifold_2.0.0~rc.1-1_amd64.deb
Selecting previously unselected package manifold.
(Reading database ... 87872 files and directories currently installed.)
Preparing to unpack manifold_2.0.0~rc.1-1_amd64.deb ...
You're about to install manifold!
Unpacking manifold (2.0.0~rc.1-1) ...
Setting up manifold (2.0.0~rc.1-1) ...
Manifold Scholarshipmanifold: Thank you for installing Manifold!
manifold: To configure and start Manifold, RUN THE FOLLOWING COMMAND:
sudo manifold-ctl reconfiguremanifold: Manifold should be reachable at http://Node1
manifold: Otherwise configure Manifold for your system by editing /etc/manifold/manifold.rb file
manifold: And running reconfigure again.
manifold:

Configure Manifold

If you have not configured a valid and fully-qualified domain name on your server, then you will need to add IP address of your server in /etc/manifold/manifold.rb file.

nano /etc/manifold/manifold.rb
external_url 'http://192.168.0.102'
Recipe: manifold::nginx
* ruby_block[reload nginx svlogd configuration] action create
- execute the ruby block reload nginx svlogd configuration
Recipe: manifold::logrotate
* ruby_block[reload logrotate svlogd configuration] action create
- execute the ruby block reload logrotate svlogd configuration
Recipe: manifold::client
* ruby_block[reload client svlogd configuration] action create
- execute the ruby block reload client svlogd configuration
Recipe: manifold::clockwork
* ruby_block[reload clockwork svlogd configuration] action create
- execute the ruby block reload clockwork svlogd configuration
Recipe: manifold::puma
* ruby_block[reload puma svlogd configuration] action create
- execute the ruby block reload puma svlogd configuration
Recipe: manifold::cable
* ruby_block[reload cable svlogd configuration] action create
- execute the ruby block reload cable svlogd configuration
Running handlers:
Running handlers complete
Chef Client failed. 260 resources updated in 04 minutes 35 seconds

Access Manifold

Before accessing Manifold web ui, you will need to create an administrative user on your server. You can create it with the following command:

manifold-api manifold:user:create:admin["hitjethva@gmail.com","password","hitesh","jethva"]
INFO: A User has been created. Its ID is a9872b5c-2788-4c60-b6e5-0fd649a00ac8

Original Source

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com