{"action":"created","issue":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/263","labels_url":"https://api.github.com/repos/xibosignage/xibo/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/xibosignage/xibo/issues/263/comments","events_url":"https://api.github.com/repos/xibosignage/xibo/issues/263/events","html_url":"https://github.com/xibosignage/xibo/issues/263","id":57693758,"number":263,"title":"Centos 6 setup instructions HERE","user":{"login":"andyblackham","id":10913493,"avatar_url":"https://avatars.githubusercontent.com/u/10913493?v=3","gravatar_id":"","url":"https://api.github.com/users/andyblackham","html_url":"https://github.com/andyblackham","followers_url":"https://api.github.com/users/andyblackham/followers","following_url":"https://api.github.com/users/andyblackham/following{/other_user}","gists_url":"https://api.github.com/users/andyblackham/gists{/gist_id}","starred_url":"https://api.github.com/users/andyblackham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyblackham/subscriptions","organizations_url":"https://api.github.com/users/andyblackham/orgs","repos_url":"https://api.github.com/users/andyblackham/repos","events_url":"https://api.github.com/users/andyblackham/events{/privacy}","received_events_url":"https://api.github.com/users/andyblackham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-14T13:58:16Z","updated_at":"2015-02-17T14:53:45Z","closed_at":null,"body":"Hi Everyone\r\nI have just installed Xibo on a Dell PowerEdge 2600 server I got off ebay for £25.\r\nIt's a bit old and only has a CD drive with no USB boot, so I can only get a CentOS 6 minimal install CD for OS installation.\r\n\r\nThese are the commands I've used to get it working... hope they help you.\r\nComments welcome.\r\n\r\ncommands to prepare a vanilla Minimal Centos 6 installation of Xibo 1.7.1\r\nthis is not a script, it's the process I go through to set a stable\r\nXibo server running on Centos 6 minimal install.\r\nI have not fully explained all the setup steps like which lines to edit\r\nin the sysconfig ethernet script etc.  Google it if you get stuck\r\n\r\nBuilt-in ethernet is not setup on a fresh install, lets change to DHCP\r\n```\r\nvi /etc/sysconfig/network-scripts/ifcfg-eth0\r\n```\r\nSet the machines hostname\r\n```\r\nhostname XiboCMS\r\n```\r\n\r\nDisable Security Enhanced Linux and turn off the firewall\r\n```\r\nvi /etc/sysconfig/selinux\r\nservice iptables stop\r\nchkconfig iptables off\r\n```\r\nrestart network services to acquire an IP address\r\n```\r\nservice network restart\r\n```\r\n\r\nupdate any base components\r\n```\r\nyum update -y\r\n```\r\ninstall some basic tools for a happy system admin\r\n```\r\nyum install nano wget bash-completion ntp ntpdate -y\r\n```\r\nset the date and time, then start nptd to keep it in sync\r\n```\r\nntpdate\r\nservice ntpd start\r\nchkconfig ntpd on\r\n```\r\nWe need additional repositories, lets add them in\r\n```\r\nwget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm\r\nwget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm\r\nsudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm\r\n```\r\ninstall apache (httpd) PHP and mySql server\r\n```\r\nyum install httpd php-devel mysql mysql-server json json-c\r\nyum 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\r\n```\r\nconfigure apache and set to start on boot\r\n```\r\nnano /etc/httpd/conf/httpd.conf\r\nchkconfig httpd on\r\n```\r\n\r\nstart mysql, configure and set to autostart on boot\r\n```\r\nservice mysqld start\r\nmysql_secure_installation\r\nchkconfig mysqld on\r\n```\r\nedit this\r\n```\r\nnano /etc/php.d/json.ini\r\n```\r\n\r\nedit config php to suit\r\n```\r\nnano /etc/php.ini\r\n```\r\n\r\nat this point, your server is on your network\r\nthe hostname, date & time are set\r\nyou have a basic webserver installed with PHP and Mysql\r\nyou know a mysql username and password\r\nthe Xibo specific PHP modules are all installed\r\nphp has been set to allow larger than normal uploads (necessary for large\r\nvideo files).\r\n\r\nNow download and install xibo into the standard webroot\r\n```\r\ncd /var/www/html\r\nwget https://github.com/xibosignage/xibo-cms/archive/1.7.1.tar.gz\r\nsudo tar zxvf 1.7.1.tar.gz\r\nsudo mv xibo-cms-1.7.1 xibo\r\nchmod 777 -R xibo\r\ncd ../..\r\nmkdir xibo-library\r\nchmod 777 xibo-library\r\n```\r\n\r\nnow check your servers IP address with:\r\n```\r\nifconfig | grep inet\r\n```\r\nit will show you, maybe the last line.\r\n\r\nthen visit `http://<youripaddress>/xibo`\r\nand begin the setup\r\n\r\nOnce it's running, I generally change the webroot directory in httpd.conf to /var/www/html/xibo so the access address is simply `http://<youipaddress>`\r\n"},"comment":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/comments/74679421","html_url":"https://github.com/xibosignage/xibo/issues/263#issuecomment-74679421","issue_url":"https://api.github.com/repos/xibosignage/xibo/issues/263","id":74679421,"user":{"login":"dasgarner","id":10400067,"avatar_url":"https://avatars.githubusercontent.com/u/10400067?v=3","gravatar_id":"","url":"https://api.github.com/users/dasgarner","html_url":"https://github.com/dasgarner","followers_url":"https://api.github.com/users/dasgarner/followers","following_url":"https://api.github.com/users/dasgarner/following{/other_user}","gists_url":"https://api.github.com/users/dasgarner/gists{/gist_id}","starred_url":"https://api.github.com/users/dasgarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasgarner/subscriptions","organizations_url":"https://api.github.com/users/dasgarner/orgs","repos_url":"https://api.github.com/users/dasgarner/repos","events_url":"https://api.github.com/users/dasgarner/events{/privacy}","received_events_url":"https://api.github.com/users/dasgarner/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T14:53:45Z","updated_at":"2015-02-17T14:53:45Z","body":"Only 80 is needed externally (or the port your web server is running on) - you don't need to open up the DB to anything bar localhost."}}