Forums

Resolved
0 votes
Trying ClearOS for the first time. Since Linode is my favorite VM host, I followed the directions here-

https://www.clearos.com/resources/documentation/clearos/content:en_us:6_linode

The script completes successfully and the Linode boots, but the ClearOS web login is not available.
Wednesday, August 03 2016, 09:05 PM
Share this post:
Responses (3)
  • Accepted Answer

    Thursday, August 04 2016, 11:33 AM - #Permalink
    Resolved
    0 votes
    It looks like the error I knew about has been fixed.

    I wonder if you have a firewalling issue, but you'd need to be able to log into the console directly. I've no idea about Linode so am not really able to help.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 03 2016, 11:03 PM - #Permalink
    Resolved
    0 votes
    There is no error trying to access the web UI - there is no response on the port via either https or http, but I expect you're asking for the script.

    Here it is-

    #!/bin/bash -x

    (
    ARCH=`arch`

    # Prep release and repos
    rpm -Uvh http://download2.clearsdn.com/marketplace/cloud/7/noarch/clearos-release-7-current.noarch.rpm
    rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-ClearOS-7

    # Install and upgrade
    yum --enablerepo=* clean all
    yum -y install app-base
    service webconfig stop
    yum -y install app-accounts app-configuration-backup app-date app-dns app-edition app-events app-incoming-firewall app-groups app-language app-log-viewer app-mail app-marketplace app-process-viewer app-software-updates app-ssh-server app-support app-user-profile app-users

    # Default networking
    yum -y remove NetworkManager
    echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0
    echo "TYPE=\"Ethernet\"" >> /etc/sysconfig/network-scripts/ifcfg-eth0
    echo "ONBOOT=\"yes\"" >> /etc/sysconfig/network-scripts/ifcfg-eth0
    echo "USERCTL=\"no\"" >> /etc/sysconfig/network-scripts/ifcfg-eth0
    echo "BOOTPROTO=\"dhcp\"" >> /etc/sysconfig/network-scripts/ifcfg-eth0
    echo "PEERDNS=\"no\"" >> /etc/sysconfig/network-scripts/ifcfg-eth0

    echo "nameserver 8.8.8.8" > /etc/resolv-peerdns.conf
    echo "nameserver 8.8.4.4" >> /etc/resolv-peerdns.conf

    sed -i -e 's/^EXTIF=.*/EXTIF="eth0"/' /etc/clearos/network.conf

    service syswatch restart

    # Enable firewall
    allow-port -p TCP -d 22 -n SSH
    allow-port -p TCP -d 81 -n Webconfig
    sed -i -e 's/^MODE=.*/MODE="standalone"/' /etc/clearos/network.conf

    # Start webconfig
    service webconfig start

    # One last upgrade
    yum -y --enablerepo=clearos-centos,clearos-centos-updates upgrade
    ) 2>&1 | tee /var/log/clearos-installer.log
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 03 2016, 09:18 PM - #Permalink
    Resolved
    0 votes
    I think there used to be an error in the script. Can you please post it?
    The reply is currently minimized Show
Your Reply