Automatic installation and deployment of liferay using tarball 1-Overview

Source: Internet
Author: User

 

Unconsciously, I have been in the United States for more than two months. In the face of over 120 hours of work per Sprint, I have no energy to maintain my blog, so it is not updated in 2 months. Now, on Labor Day in the United States, let's take a look at my learning experience during this time.

 

This topic describes how to use the tarball distribution package to automate Liferay installation and deployment.

 

Purpose:

As we all know, the process of downloading, configuring, installing, and deploying liferay is extremely cumbersome. It may take a long time for a very experienced person to make a mistake, because almost all the processes can be customized, we thought of using the tarball distribution package to achieve automated installation and deployment. In this way, even if there is no experience, if you run a simple command, you can automatically build a tarball Development Environment on your own machine. Of course, this is far from the only application of tarball, such as my walmart.com company, they have clusters composed of dozens of machines and are scattered across multiple data centers, ndc, sdc, and so on. If you manually install the configuration one by one, it is easy to make a mistake. Therefore, if we integrate the tarball into the workflow called on the management control page of the Portal management cluster node, it is too simple to do things. We only need to select the cluster, then let it be updated, then each node in the cluster will automatically call the commands in the tarball in a certain execution step, and then automatically complete the installation, so that the Administrator only needs to sleep, you can wait until the update of the entire cluster is complete.

 

Tarball features:

In fact, tarball is a collection of shell scripts. It then controls, schedules, manages other resources, and completes the automatic installation and deployment process.


Tarball ecosystem:

The following is the ecosystem where tarball is located, that is, the nodes where tarball is dealing:

 

650) this. width = 650; "src =" http://img1.51cto.com/attachment/201209/003134640.png "border =" 0 "alt =" "/>

 

Generation of tarball:

Tarball is generated by a maven project. It can automatically generate a tar distribution package through maven-assembly-plugin. Of course, you must manually provide various resources and customize various scripts, and configure packaging rules. The next article will detail.

This article from "parallel line cohesion" blog, please be sure to keep this source http://supercharles888.blog.51cto.com/609344/979680

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.