xibosignage / xibo

Xibo Digital Signage
https://xibosignage.com
GNU Affero General Public License v3.0
576 stars 165 forks source link

Can not install on AWS #405

Closed jimboobrien closed 9 years ago

jimboobrien commented 9 years ago

Hey guys,

I'm a web developer, and I mostly work with Wordpress.

I have been using Xibo and like it as my digital signage CMS.

I have been trying to move my install to Amazon web services, but because of the way your install is set up I cannot figure out how to get it to install on a LMAP stack.

Any ideas or help? I'm not interested in purchasing cloud hosting from Xibo.

dasgarner commented 9 years ago

I've personally never done it, sorry

jimboobrien commented 9 years ago

Xibo provides Cloud Hosting. Therefore it can be done. Do the devs at Spring Signage take care of those instances? Why is there no documentation on how to use cloud platforms yourself?

Can I help in creating the documentation for this? I have gotten about 90% through the AWS setup, but can't get the install script to start.

nagyrobi commented 9 years ago

What do you mean by "cannot figure out how to get it to install on a LMAP stack"?

I moved the running Xibo CMS from one Ubuntu machine to another very easily.

After these steps, Xibo CMS was working exactly like it was on the old machine.

jimboobrien commented 9 years ago

First of all i meant LAMP stack.

I'm not trying to MOVE and install. I want to start fresh with a brand new install of Xibo.

I have a LAMP stack on AWS and I ssh into the instance, upload the xibo tar, unzip it and then go to (ip address)/xibo to start install and I get nothing....

I can get wordpress to install no problem, but I just cant get the Xibo install script to start.

Any ideas?

nagyrobi commented 9 years ago

Sorry reading your first post I clearly understood that you're trying to move an existing service.

Are you sure it unzips to the correct path? Is the LAMP stack properly configured to parse php in that path? How about unzipping directly to the web root?

Does AWS have plain simple vanilla Ubuntu or other Linux distro with nothing preconfigured just SSH? You could try installing LAMP manually or perhaps Apache MySQL and PHP separately, there are hundreds of howtos out there...

andyblackham commented 9 years ago

Jim, there are a lot of pre-requisites for Xibo to work. Do you have them all?

what OS are you using?

dasgarner commented 9 years ago

Xibo provides Cloud Hosting. Therefore it can be done. Do the devs at Spring Signage take care of those instances? Why is there no documentation on how to use cloud platforms yourself?

You are making a big assumption here about what we have used to configure our service - we don't run on AWS and have never run on AWS, hence I don't know how to help you set it up.

Xibo can be installed on a LAMP stack and there are clear instructions on how to do so. You may decide to use a VPS, such as Digital Ocean and there are instructions for that here.

As for why there isn't more documentation - perhaps you'd like to write up your experience once you get it working? And we can include it as a FAQ on our community site?

jimboobrien commented 9 years ago

Hey guys,

I may not have the right permissions on the files in the instance. I'll go chown them later and see if that was my problem. Here is a list of commands I ran when I started the instance:

how to prepare instance:

sudo yum update

sudo su

yum install httpd

service httpd start

yum install php php-mysql

yum install mysql-server

service mysqld start

mysqladmin -uroot create myblog

mysql_secure_installation

y y y y

cd/var/www/html

wget https://github.com/xibosignage/xibo-cms/archive/1.7.1.tar.gz

tar -xfvz 1.7.1.tar.gz

andyblackham commented 9 years ago

Hi - looks like you have a redhat / centos / fedora type platform.

have a look here: https://github.com/andyblackham/xibo-manual/blob/develop/source/en/install_environment_centos6.md

there are a lot of yum packages to install php php-cli php-common php-devel php-pdo php-soap php-mysql php-mcrypt* php-common php-cli php-devel php-fpm php-gd php-imap php-intl php-mysql php-process php-xml php-xmlrpc php-zts and that's just a start.

dasgarner commented 9 years ago

I am closing this issue because we have moved all discussion and support to community.xibo.org.uk and would like to tidy up GitHub so we can use this as a bug tracker only. If you are still having a problem, please repost on the community site and please update your bookmarks for future questions!