It’s an open-source School Management tool.

Step:-1 Install packages

yum install -y  httpd  mariadb mariadb-server

Step:-2 Restart services

systemctl start httpd
systemctl enable httpd
systemctl start mariadb
systemctl enable mariadb

Step3. Setup database

mysql_secure_installation

Step4. Install PHP

yum ins    tall -y php  php-mysql.x86_64  php-pdo.x86_64  php-mbstring.x86_64

Step5. Add below lines in /etc/php.ini

vi  /etc/php.ini
 
enable pdo_mysql extension 
enable curl extension 
max_execution_time = 3000 
post_max_size = 8MB 
upload_max_filesize = 20MB

Step6. Downloading package

yum install  -y git 
git clone  https://github.com/traprajith/open-school-CE.git

Step7. Download and install Composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php composer.phar
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/bin/composer
composer –version

Step8. Create a project

composer install  yii framework
or
composer require  yii framework
composer create-project --prefer-dist yiisoft/yii2-app-basic basic

Step9. Move folder in HTML

mv open-school-CE /var/www/html/open-school-CE

Step10. Set permission

chown apache:apache -R /var/www/html/open-school-CE/
chmod 777 /var/www/html/open-school-CE

Step11. Disable SELinux

setenforce 0

Step12. Restart service

systemctl restart httpd

Step13. Access via browser

https://localhost/open-school-CE
or
http://localhost/open-school-CE

LEAVE A REPLY

Please enter your comment!
Please enter your name here