Line 9: |
Line 9: |
| | | |
| == Installation == | | == Installation == |
− | Make sure you got [[PHPMyAdmin#tab=For_SME9|phpmyadmin]] installed you'll need it<br />
| + | Create a new database |
− | No, Simply create a new database with the mysqladmin command
| + | mysql |
− | open phpmyadmin and make a new database, with the following typical settings
| + | create database xibo; |
− | xibo | + | grant all privileges on xibo.* to username identified by 'password'; |
− | collation: utf8_general_ci<br /> | + | flush privileges; |
− | create user admin and set your password, grant all privileges on xibo
| + | exit |
− | | + | |
| Create an ibay in server manager, with the following typical settings: | | Create an ibay in server manager, with the following typical settings: |
| | | |
Line 22: |
Line 22: |
| update any base components<br /> | | update any base components<br /> |
| yum update -y | | yum update -y |
− | We need additional repositories for Mcrypt | + | We need Epel |
− | No. Mcrypt is available from the default repositories (smeos) | + | /sbin/e-smith/db yum_repositories set epel repository \ |
− | | + | Name 'Epel - EL6' \ |
− | cd /tmp | + | BaseURL 'http://download.fedoraproject.org/pub/epel/6/$basearch' \ |
− | wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | + | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \ |
− | wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | + | EnableGroups no \ |
− | sudo rpm -Uvh epel-release-6-8.noarch.rpm remi-release-6.rpm | + | GPGCheck yes \ |
| + | GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ |
| + | Exclude perl-Razor-Agent \ |
| + | Visible no \ |
| + | status disabled |
| | | |
− | yum install php-soap php-mcrypt | + | signal-event yum-modify |
| | | |
− | edit config php
| + | yum install php-soap php-mcrypt --enablerep epel |
− | No. Create a custom template
| |
| | | |
− | nano /etc/php.ini
| + | We need to adjust Upload Max File Size and Post Maximum Size to 128M |
| + | db configuration setprop php PostMaxSize 128M |
| + | db configuration setprop php UploadMaxFilesize 128M |
| + | expand-template /etc/php.ini |
| + | /etc/init.d/httpd-e-smith restart |
| | | |
− | look for " post_max_size " and " upload_max_filesize " and change it to your needs (at least 128M)<br />
| + | |
− | CTRL+O and ENTER to save, CTRL+X to exit<br />
| |
| <br /> | | <br /> |
− | Now download and install xibo into the ibay xibo.<br /> | + | Now download and install xibo into the ibay xibo. (i am still running version 1.7.9 there is a new version available but didn't try it yet!!)<br /> |
| + | so in this case i use |
| | | |
| cd /home/e-smith/files/ibays/xibo/html | | cd /home/e-smith/files/ibays/xibo/html |
Line 46: |
Line 53: |
| sudo tar zxvf 1.7.9.tar.gz | | sudo tar zxvf 1.7.9.tar.gz |
| sudo mv xibo-cms-1.7.9 xibo | | sudo mv xibo-cms-1.7.9 xibo |
− | chmod 777 -R xibo | + | chmod 755 -R xibo |
− | NO!!!!!!!!!! Never use 777 !!!!!!!!!!!
| |
| cd ../.. | | cd ../.. |
| mkdir xibo-library | | mkdir xibo-library |
| chmod -R 700 xibo-library | | chmod -R 700 xibo-library |
− | No, use www:www instead
| + | chown -R www:www xibo-library |
− | chown -R apache:apache xibo-library | |
| | | |
| | | |
Line 58: |
Line 63: |
| http://YOURSERVER/xibo/xibo | | http://YOURSERVER/xibo/xibo |
| | | |
− | and begin the setup. | + | Follow instructions and begin the setup. |
| | | |
| ==Clean up== | | ==Clean up== |