Wednesday, December 29, 2021

How To install OrangeScrum project management system On Rocky Linux

 Orangescrum is a collaborative and open source web application written with CakePHP. This app is a simple and easy-to-use tool for managing projects, teams, documents, tasks and communicating with teams on important issues.
𝐎𝐟𝐟𝐜𝐢𝐚𝐥 𝐖𝐞𝐛𝐬𝐢𝐭𝐞 :https://www.orangescrum.com/
________________________________________________________________________________________________________________________
𝐎𝐮𝐫 𝐒𝐞𝐫𝐯𝐞𝐫 𝐒𝐩𝐞𝐜𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧:-
𝐎𝐬 : 𝐑𝐨𝐜𝐤𝐲 𝐋𝐢𝐧𝐮𝐱 𝟖.𝟓 (𝐆𝐫𝐞𝐞𝐧 𝐎𝐛𝐬𝐢𝐝𝐢𝐚𝐧)          | 𝐇𝐨𝐬𝐭𝐧𝐚𝐦𝐞:                    | 𝐈𝐏 𝐀𝐝𝐝𝐫𝐞𝐬𝐬 𝐨𝐟 𝐒𝐞𝐫𝐯𝐞𝐫:
________________________________________________________________________________________________________________________
                            cat /etc/os-release ; getconf LONG_BIT ; hostname ; hostname -I
 
dnf -y update ; dnf groupinstall "Development Tools" -y ; dnf install httpd httpd-tools mariadb-server mariadb php php-cli php-mysqlnd php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap php-curl php-opcache php-bcmath php-fpm php-common -y ; systemctl enable httpd  mariadb php-fpm ;  systemctl start httpd mariadb php-fpm ; systemctl status httpd mariadb php-fpm
    
mysql_secure_installation                                                             [        YourStrongPassword   ]                 
mysql -u root -p
set global sql_mode='';
set global sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';


CREATE DATABASE orangescrum;
CREATE USER 'orangescrumuser'@'localhost' IDENTIFIED BY 'YourStrongPassword';
GRANT ALL PRIVILEGES ON orangescrum.* TO 'orangescrumuser'@'localhost' IDENTIFIED BY 'YourStrongPassword' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;

systemctl restart mysqld ; systemctl status mysqld
sed -i "s/post_max_size = 8M/post_max_size = 200M/" /etc/php.ini ; sed -i "s/upload_max_filesize = 2M/upload_max_filesize = 200M/" /etc/php.ini

wget https://github.com/Orangescrum/orangescrum/archive/master.zip ; unzip master.zip ; mv orangescrum-master /var/www/html/
chown -R apache:apache /var/www/html/orangescrum-master ; chmod -R 777 /var/www/html/orangescrum-master

nano /etc/httpd/conf.d/orangescrum.conf
<VirtualHost *:80>
ServerName server.yourdomain.com
DocumentRoot /var/www/html/orangescrum-master
<Directory /var/www/html/orangescrum-master>
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>

mysql -u orangescrumuser -p orangescrum < /var/www/html/orangescrum-master/database.sql             
nano /var/www/html/orangescrum-master/app/Config/database.php
class DATABASE_CONFIG {

    public $default = array(
            'datasource' => 'Database/Mysql',
            'persistent' => false,
            'host' => 'localhost',
            'login' => 'orangescrumuser',
            'password' => 'YourStrongPassword',
            'database' => 'orangescrum',
            'prefix' => '',
            'encoding' => 'utf8',
    );
}

nano /var/www/html/orangescrum-master/app/Config/constants.php
//Gmail SMTP
define("SMTP_HOST", "ssl://smtp.gmail.com");
define("SMTP_PORT", "465");
define("SMTP_UNAME", "youremail@gmail.com");
define("SMTP_PWORD", "yourpassword");
define("IS_SMTP", "0");
define('FROM_EMAIL_NOTIFY', 'notify@mycompany.com'); //(REQUIRED)
define('SUPPORT_EMAIL', 'support@mycompany.com'); //(REQUIRED) From Email

systemctl restart httpd ; systemctl status httpd ; firewall-cmd --permanent --add-service={http,https} ; firewall-cmd --reload
http://server.yourdomain.com
_________________________________________________________________________________________________________________________

No comments:

Post a Comment