Forum

The page you are looking for is not found.

I am trying to setup Tao for first time. Can anyone help he what went wrong.

git clone --single-branch --branch release-3.3-rc02 https://github.com/oat-sa/package-tao.git /var/www/html
cd ~
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

cd /var/www/html
php /usr/local/bin/composer install

Install MathJax library, using the script

wget https://hub.taotesting.com/resources/taohub-articles/articles/third-party/MathJax_Install_TAO_3x.sh && bash MathJax_Install_TAO_3x.sh
cd /var/www

sudo chown -R apache /var/www/html -R
sudo chgrp -R apache /var/www/html -R

Set Permissions

find /var/www/html -type d -exec chmod 2775 {} +
find /var/www/html -type f -exec chmod 0664 {} +
find /var/www/html/tao/views/locales -type f -exec chmod 2775 {} +
find /var/www/html/config -type f -exec chmod 2775 {} +

mkdir /var/www/taodata
sudo chown -R apache /var/www/taodata -R
sudo chgrp -R apache /var/www/taodata -R
find /var/www/taodata -type f -exec chmod 2775 {} +
find /var/www/taodata -type f -exec chmod 2775 {} +

echo 'opcache.memory_consumption=128' >> /etc/php.d/php-ext-opcache.ini
echo 'opcache.interned_strings_buffer=8' >> /etc/php.d/php-ext-opcache.ini
echo 'opcache.max_accelerated_files=4000' >> /etc/php.d/php-ext-opcache.ini
echo 'opcache.revalidate_freq=2' >> /etc/php.d/php-ext-opcache.ini
echo 'opcache.fast_shutdown=1' >> /etc/php.d/php-ext-opcache.ini
echo 'opcache.enable_cli=1' >> /etc/php.d/php-ext-opcache.ini
echo 'opcache.load_comments=1' >> /etc/php.d/php-ext-opcache.ini

chkconfig nginx on
chkconfig php-fpm on

service nginx start
service php-fpm start

Comments

Sign In or Register to comment.

We use cookies on our website to support technical features that enhance your user experience. Cookie Policy Privacy Policy

×