Announcement

Collapse
No announcement yet.

Who has got Interworx to work with Amazon AWS?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Who has got Interworx to work with Amazon AWS?

    If so, which of the 4 OS flavours did you choose? Did you need to do anything special?

    On a fresh install on any of the 4 flavors i do the normal interworx install "sh <((curl -sL interworx.com/inst.sh))-l" but have always had fails.

    Even the RedHad 6.6 Ent, it fails to install gd-devel.

    Anyone have some documentation/write up?

  • #2
    Hi icer

    Have you read this post.

    http://forums.interworx.com/showpost.php?p=24984

    I hope that helps and sorry, we use centos

    Many thanks

    John

    Comment


    • #3
      hi d2.

      I have read that and it shows it should work on redhat ent 6 which is apart of AWS. The IP issue is not the issue i am having.

      On a fresh redhat instance, after a yum update i use the interworx install cli command sh <((curl -sL interworx.com/inst.sh)) and get stuck at installing gd-devel as the install breaks. Somehow need to ignore it or skip it.

      Just fyi, here is the breakdown on a fresh redhat ent 6.

      ]# sh <((curl -sL interworx.com/inst.sh))
      STATUS: Determining Linux distribution


      -=-=-=-=-= Installing InterWorx-CP =-=-=-=-=-


      This script will install InterWorx-CP on your system.
      Please make sure that you have backed up any critical
      data!


      This script may be run multiple times without any
      problems. This is helpful if you find an error
      during installation, you can safely ctrl-c out of
      this script, fix the error and re-start the script.


      Details of this installation will be logged in iworx-install.log


      TARGET : Red Hat Enterprise Linux Server release 6.6 (Santiago)
      PLATFORM : GNU/Linux
      PROCESSOR : x86_64
      RPM TARGET: rhe6x
      RPM DISTRO: rhe6x
      RPM DIR : /usr/src/redhat/RPMS
      SRPM DIR : /usr/src/redhat/SRPMS
      SRPM HOST : updates.interworx.com
      IWORX REPO: release


      Press <enter> to begin the install...


      STATUS: Installing wget (if needed)
      STATUS: Importing RPM GPG keys
      STATUS: Turning off SELINUX for current session
      ln: creating symbolic link `/etc/udev/rules.d/80-net-name-slot.rules': File exists
      STATUS: Setting up JAILED home/chroot dirs
      STATUS: Looks like jailing is already setup
      STATUS: Checking for YUM
      STATUS: Updating yum (if needed)
      STATUS: Installing InterWorx YUM repository
      STATUS: Installing the LVS Load Balancer
      STATUS: Installing 32bit openssl to workaround a dependency bug
      STATUS: Installing openssl
      STATUS: Installing openssl1097a
      STATUS: Installing MySQL server
      STATUS: Installing the Apache webserver
      STATUS: Installing PHP
      STATUS: Installing Qmail
      STATUS: Installing vpopmail
      STATUS: Installing php-iworx, iworx-db-*, and httpd-iworx
      STATUS: Installing mysql-iworx
      STATUS: Installing InterWorx-CP
      ERROR: InterWorx-CP could not be installed.
      ERROR: YUM may have given some reasonable errors and
      ERROR: you can try re-running the installer as it may
      ERROR: just be a network and/or update server problem
      ERROR:
      ERROR: If after re-running the installer you still
      ERROR: receive an error please open a support ticket at:


      ERROR: https://www.interworx.com/support/helpdesk/


      ---> Package perl-Parse-Syslog.noarch 0:1.10-1.el6.rf will be installed
      ---> Package perl-Statistics-Distributions.x86_64 0:1.02-3.rhe6x.iworx will be installed
      ---> Package tcl.x86_64 1:8.5.7-6.el6 will be installed
      ---> Package webalizer.x86_64 2:2.01_10-100.rhe6x.iworx will be installed
      --> Processing Dependency: gd-devel for package: 2:webalizer-2.01_10-100.rhe6x.iworx.x86_64
      --> Running transaction check
      ---> Package perl-Net-CIDR-Lite.noarch 0:0.21-1.el6 will be installed
      ---> Package perl-Sys-Hostname-Long.x86_64 0:1.4-103.rhe6x.iworx will be installed
      ---> Package webalizer.x86_64 2:2.01_10-100.rhe6x.iworx will be installed
      --> Processing Dependency: gd-devel for package: 2:webalizer-2.01_10-100.rhe6x.iworx.x86_64
      --> Finished Dependency Resolution
      Error: Package: 2:webalizer-2.01_10-100.rhe6x.iworx.x86_64 (interworx-release)
      Requires: gd-devel
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest
      ]#

      Comment


      • #4
        There also is no yum install gd-devel

        # yum install gd-devel
        Loaded plugins: amazon-id, rhnplugin, rhui-lb, security
        This system is receiving updates from RHN Classic or RHN Satellite.
        Setting up Install Process
        No package gd-devel available.
        Error: Nothing to do

        Comment


        • #5
          Hi icer

          Sorry, I thought you were using AWS.

          You need to activate the rhel server optional software channel to be able to install gd-devel for rhel.

          Subscription-manager repos \ --enable=rhel-6-server-rh-common-rpms, if on rhel 7, change 6 to a 7

          subscription-manager repos --enable=rhel-6-server-rpms

          Also, if your only installing on rhel, then you can open a support ticket with your licence supplier, but if using AWS in any flavour, you could try to ask through support, but it maybe refused.

          I know IW guys rock and try their best to help where possible.

          Failing all the above, you could try manually installing gd-devel after downloading rpms.

          I hope that helps

          Many thanks

          John

          Comment


          • #6
            unfortunatly that also didnt work or help.

            ]# subscription-manager repos \ --enable=rhel-6-server-rh-common-rpms
            cannot parse argument: --enable=rhel-6-server-rh-common-rpms
            ]# subscription-manager repos --enable=rhel-6-server-rpms
            Error: rhel-6-server-rpms is not a valid repo ID. Use --list option to see valid repos.



            Surely someone uses the free tier AWS server (amazon or any of the linux versions) with interworx / demo. I dont need to use Redhat. Happy to use anything as long as it all works.

            Im surprised it hasn't caught on.

            Comment


            • #7
              Hi icer

              Sorry, my commands maybe wrong, doing from memory, but you should be able to find the exact commands from rhel website.

              We use centos 6.6, and have always used centos from the start, which we have never had issues with.

              Many thanks

              John

              Comment


              • #8
                Got Interworx on AWS working

                Hey Guys, i got Interworx on AWS working.

                Here are the 3 things you need to do.

                1. Attach an elastic IP address to the EC2 server.

                2. make sure port 2443 is open

                3. do license registration via command line and register the IP as the IP private EC2 IP (it works even though its an internal IP )
                Last edited by inodecloud; 05-18-2016, 09:10 AM.
                Australian Cloud Hosting inodecloud.com
                +Expert Cloud Engineers +99.95% Uptime +30Day Retrievable Backup +Blazingly Fast Cloud Servers
                +AWS Engineers +DR/HA +GitHub

                Comment


                • #9
                  Hi inodecloud

                  Excellent many thanks

                  Please could I ask if you saw the gd-devel issue as posted earlier on this thread, if so, how did you overcome it

                  Many thanks

                  John

                  Comment


                  • #10
                    Hi John,

                    If you use the CentOS7 image you wont face any gd-devel issues, otherwise you will probably need to install it from RPM.

                    Go To EC2 > Community AMIs > search for "CENTOS 7" and select "CentOS 7 (x86_64) with Updates HVM"
                    Australian Cloud Hosting inodecloud.com
                    +Expert Cloud Engineers +99.95% Uptime +30Day Retrievable Backup +Blazingly Fast Cloud Servers
                    +AWS Engineers +DR/HA +GitHub

                    Comment


                    • #11
                      Thank you for such an herculean solution. Totally agreed with the concept. It really worked for me.

                      Comment

                      Working...
                      X