Just so you know I have been writing this out personally for you, they aren't tutorials I grabbed from the web. I based them on the
installation instructions mention on the Github page of orangescrum. Here's the updated one for Rocky Linux 9.
OS: Rocky Linux 9.1
1. Install packages: dnf install httpd mariadb mariadb-server php unzip wget ImageMagick
2. Enable services: systemctl enable httpd mariadb php-fpm --now
3. Setup an apache vhost in /etc/httpd/conf.d/orange.conf
- That looks something like this:
<VirtualHost *:80>
ServerName orange1.example.com
ErrorLog /var/log/httpd/orange-error.log
CustomLog /var/log/httpd/orange-access.log combined
Loglevel warn
DocumentRoot /var/www/html/orangescrum-main
<Directory "/var/www/html/orangescrum-main">
DirectoryIndex index.php index.html
Options Indexes FollowSymlinks
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
- Restart apache: systemctl restart httpd
- Open http firewall port: firewall-cmd --add-service=http --permanent ; firewall-cmd --reload
3. Setup php:
- We are going to install the remi repo because more php modules being availabe there: dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
- We are going to use php 7.4: dnf module reset php ; dnf module enable php:remi-7.4 ; dnf module install php:remi-7.4
- We are going to install needed php modules: dnf install php-cli php-common php-dba php-enchant php-fpm php-gd php-imap php-ldap php-mbstring php-mysql php-pdo php-pecl-zip php-pecl-memcache php-pecl-imagick php-tidy php-xml php-opcache php-pear php-curl php-pecl-mcrypt php-intl ImageMagick
- Change the following settings to 200M in /etc/php.ini
post_max_size = 200M
upload_max_filesize = 200M
- Restart php-fpm: systemctl restart php-fpm
4. Setup Mariadb database and user:
- Add the following to /etc/my.cnf.d/mariadb-server.cnf and then restart mariadb
[mariadb-10.5]
sql_mode=""
- start mariadb: systemctl start mariadb
- run: mysql_secure_installation and follow the steps to and reset mysql root password when asked.
- login into mysql with root: mysql -u root -p password
- Create: database: create database orangescrum;
- Create user and grant privileges on orangescrum database: GRANT ALL PRIVILEGES ON orangescrum.* TO 'orange'@'localhost' IDENTIFIED BY 'Password1234!';
5. Download orangescrum from github:
https://github.com/Orangescrum/orangescrum/releases
- Transfer this file to your server to the location /var/www/html
- Extract it: unzip orangescrum-main.zip
6. Still some things left to do.
- Import the sql file under /var/www/html/orange: mysql -u root -p orangescrum < database.sql
- Update the following file to match your database information: /var/www/html/orangescrum-main/app/Config/database.php
It should look something like this at the bottom of that file:
class DATABASE_CONFIG {
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost', //ex. localhost
'login' => 'orange', //root
'password' => 'Password1234!',
'database' => 'orangescrum',//orangescrum
'prefix' => '',
//'encoding' => 'utf8',
);
- Change all to apache: chown apache:apache -R /var/www/html/orangescrum-main
- Enable the following selinux boolean: setsebool -P httpd_unified on
- Now go to "orange1.example.com" or whatever you put for ServerName in your virtualhost.
- The orangescrum webpage should now load, see my attachment.
I get to the page in the screenshot I attached. Pressing "Skip this step" doesn't work. You will have to report it to the project.