Hello,
To install ClearOS on an AWS instance, I was told to install centos (https://aws.amazon.com/marketplace/pp/B00O7WM7QW) and then to proceed to an update to ClearOS:
curl http://static.clearsdn.com/1.0/ovh/cos7.sh > cos7.sh
chmod 755 cos7.sh
./cos7.sh
It runs but errors and warning started:
Then
and a few others all related to the network and webservice
Help would be appreciated.
To install ClearOS on an AWS instance, I was told to install centos (https://aws.amazon.com/marketplace/pp/B00O7WM7QW) and then to proceed to an update to ClearOS:
curl http://static.clearsdn.com/1.0/ovh/cos7.sh > cos7.sh
chmod 755 cos7.sh
./cos7.sh
It runs but errors and warning started:
The GPG keys listed for the "ClearOS 7 - x86_64 - OS" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: python-firewall-0.4.3.2-8.1.el7_3.3.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ClearOS-7
Then
Redirecting to /bin/systemctl stop webconfig.service
Failed to stop webconfig.service: Unit webconfig.service not loaded.
and a few others all related to the network and webservice
sed: can't read /etc/clearos/network.conf: No such file or directory
+ service syswatch restart
Redirecting to /bin/systemctl restart syswatch.service
Failed to restart syswatch.service: Unit not found.
+ allow-port -p TCP -d 22 -n SSH
./cos7.sh: line 35: allow-port: command not found
+ allow-port -p TCP -d 81 -n Webconfig
./cos7.sh: line 36: allow-port: command not found
+ sed -i -e 's/^MODE=.*/MODE="standalone"/' /etc/clearos/network.conf
sed: can't read /etc/clearos/network.conf: No such file or directory
+ service webconfig start
Redirecting to /bin/systemctl start webconfig.service
Failed to start webconfig.service: Unit not found.
Help would be appreciated.
In Installation
Share this post:
Responses (6)
-
Accepted Answer
Nick Howitt wrote:
Bit late.....
I don't think the AWS install method works any longer. It was going to be updated but that fell by the wayside. I think the only way now is to start with a Centos Minimal installation thenconvert it to ClearOS.
Well, so far, so good (this is from a copied AMI from N-Virginia to South america). -
Accepted Answer
Bit late.....
I don't think the AWS install method works any longer. It was going to be updated but that fell by the wayside. I think the only way now is to start with a Centos Minimal installation then convert it to ClearOS. -
Accepted Answer
Nick Howitt wrote:
Can you post the contents of /var/log/clearos-installer.log?
Never too late...
I just create one and this is the result.
[clearos@clearos var]$ cat /var/log/clearos-installer.log
cat: /var/log/clearos-installer.log: No such file or directory
Can’t use locate to check if the file you are talking about has been moved. -
Accepted Answer
Hello Nick,
(thanks for being such an active member )
In the meantime I was told to use the following guide: https://www.clearos.com/resources/documentation/clearos/content:en_us:7_ug_amazon_ec2_support
I terminate the previous instance and recreate following that guide (I’m completing the wizard as I type) and it work alright.
Some notes about this guide:
From your AWS console select Instances => Instances.
Be sure you selected N. Virginia
Go to Community AMIs
Search for ClearOS
Select clearos-7.2.0 - ami-8fb03898
Once launch is complete stop and start the instance (before that I couldn’t work it out)
Login using ssh with 'clearos' user
ssh -i ~/.ssh/yourkey.pem clearos@yourinstance.amazonaws.com
(change root passwd as in the doc)
On the AWS console select Instances => Security Group => Select the instance
Edit the inbound rules and add custom rule to authorise port 81 to your instance
Point to your control panel using https. ie : https://yourinstance.amazonaws.com:81
enter credentials
Start the install wizard
Many thanks !
Bernard -
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »