Giter VIP home page Giter VIP logo

Comments (7)

mglantz avatar mglantz commented on May 8, 2024

Feel free to check out progress in my fork at https://github.com/mglantz/helicalinsight

from helicalinsight.

mglantz avatar mglantz commented on May 8, 2024

I'd say I'm in alpha now atleast :-)

# sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && sudo yum -y install python-pip git && sudo pip install ansible
# git clone https://github.com/mglantz/helicalinsight
# cd helicalinsight/ansible-installer && cp /tmp/vars.yml vars/vars.yml
# ansible-playbook install_helical.yml 
 [WARNING]: Unable to parse /etc/ansible/hosts as an inventory source

 [WARNING]: No inventory was parsed, only implicit localhost is available

 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'


PLAY [localhost] *****************************************************************************************************************************************

TASK [Enable EPEL] ***************************************************************************************************************************************
ok: [localhost]

TASK [Register to RHN and auto-subscribe to available content.] ******************************************************************************************
ok: [localhost]

TASK [Enable RHSM repositories (extras, optional)] *******************************************************************************************************
ok: [localhost] => (item=rhel-7-server-extras-rpms)
ok: [localhost] => (item=rhel-7-server-optional-rpms)

TASK [Install prerequisites] *****************************************************************************************************************************
 [WARNING]: Consider using the yum module rather than running 'yum'.  If you need to use command because yum is insufficient you can add 'warn: false' to
this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.

changed: [localhost]

TASK [Enable MariaDB service] ****************************************************************************************************************************
ok: [localhost]

TASK [Create the Helical database user] ******************************************************************************************************************
ok: [localhost]

TASK [Import sample report to Helical database] **********************************************************************************************************
changed: [localhost]

TASK [Set hi-repository path] ****************************************************************************************************************************
ok: [localhost]

TASK [Set BaseURL to listen to] **************************************************************************************************************************
ok: [localhost]

TASK [Configure app with correct helical database user] **************************************************************************************************
ok: [localhost]

TASK [Configure app with correct helical database password] **********************************************************************************************
ok: [localhost]

TASK [Configure app with correct helical database source] ************************************************************************************************
ok: [localhost]

TASK [Fix pom.xml (HikariCP version number) for maven build] *********************************************************************************************
ok: [localhost]

TASK [Maven install] *************************************************************************************************************************************
changed: [localhost]

TASK [Maven build dev] ***********************************************************************************************************************************
changed: [localhost]

TASK [Maven build prod] **********************************************************************************************************************************
changed: [localhost]

TASK [Deploy hi-ce war file] *****************************************************************************************************************************
changed: [localhost]

TASK [Restart tomcat] ************************************************************************************************************************************
changed: [localhost]

TASK [Configure project properties with correct path] ****************************************************************************************************
ok: [localhost]

TASK [Configure logging] *********************************************************************************************************************************
ok: [localhost]

TASK [Configure the database connection] *****************************************************************************************************************
ok: [localhost]

TASK [Configure the database connection and Hibernate dialect] *******************************************************************************************
changed: [localhost]

TASK [Restart tomcat] ************************************************************************************************************************************
changed: [localhost]

TASK [Print BaseURL] *************************************************************************************************************************************
ok: [localhost] => {
    "msg": "Helical Insights will be reachable at: http://35.157.136.233:8080/hi-ce/hi.html"
}

PLAY RECAP ***********************************************************************************************************************************************
localhost                  : ok=24   changed=9    unreachable=0    failed=0   

from helicalinsight.

changchichung avatar changchichung commented on May 8, 2024

is that really need redhat network credentials ?
I disable the first two task in yml "Register to RHN and auto-subscribe to available content" and "Enable RHSM repositories (extras, optional)" ,and the playbook didnt run well.

TASK [Import sample report to Helical database] ************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "target /opt/helicalinsight/db-dump/SampleTravelData.sql does not exist on the host"}
	to retry, use: --limit @/root/helicalinsight/ansible-installer/install_helical.retry

PLAY RECAP *************************************************************************************************************************************************
localhost                  : ok=4    changed=1    unreachable=0    failed=1  

that seems not related. but I have no idea why that error happened ? I change "helical_hostname" and "install_dir" in vars.yml , that`s all I changed.

OS: CentOS 7

from helicalinsight.

changchichung avatar changchichung commented on May 8, 2024

OK , looks like the "install_dir" means where I put the files clone for git hub , not where I want to install helical insight .

from helicalinsight.

mglantz avatar mglantz commented on May 8, 2024

Hey @changchichung. Right now, I do not have support for CentOS. Check out the documentation at https://github.com/mglantz/helicalinsight/tree/master/ansible-installer. To get CentOS support, we'd have to detect OS and then instead of using subscription-manager, enable the correct repositories with yum-config.

from helicalinsight.

mglantz avatar mglantz commented on May 8, 2024

OK , looks like the "install_dir" means where I put the files clone for git hub , not where I want to install helical insight .

Correct, it's where we put the git repo and prep the install. You cannot select where to install it right now, it uses Tomcat and will install it in the default installation directory of Tomcat.

from helicalinsight.

mglantz avatar mglantz commented on May 8, 2024

The installer passed my tests on RHEL7. I ended up with a working installation.

from helicalinsight.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.