How To Install Orangescrum
in CentOS Server.

Step by step guide to integrate Orangescrum Community Edition on CentOs.

Below are the steps to install Orangescrum Community Edition in CentOS Server.

Last Updated: 25th May, 2016
Print Print this page

  1. Step 1

    Download the Orangescrum Open Source Version URL: www.orangescrum.org/community Extract the archive file.
  2. Step 2

    Required packages to install: Php ,MySQL, Apache
  3. Step 3

    Install MySql: (Login as root user)

    1. yum -y install mysql mysql-server

      Then we will setup the system startup links for MySQL ( MySQL starts automatically whenever the system boots): chkconfig --levels 235 mysqld on

      Start the MySQL server: /etc/init.d/mysqld start

      Setup the MySql root password: mysql_secure_installation

      NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!

      In order to log into MySQL to secure it, we'll need the current password for the root user. If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here

      Enter current password for root (enter for none): OK, successfully used password, moving on...

      Setting the root password ensures that nobody can log into the MySQL root user without the proper authorisation.

      Set root password? [Y/n] ← ENTER
      New password: ← yourrootsqlpassword>
      Re-enter new password: ← yourrootsqlpassword>
      Password updated successfully!
      Reloading privilege tables..
      ... Success!

      By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment.

      Remove anonymous users? [Y/n] ← ENTER
      ... Success!

      Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network.

      Disallow root login remotely? [Y/n] ← ENTER
      ... Success!

      By default, MySQL comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment.

      Remove test database and access to it? [Y/n] ← ENTER
      - Dropping test database...
      ... Success!
      - Removing privileges on test database...
      ... Success!

      Reloading the privilege tables will ensure that all changes made so far will take effect immediately.

      Reload privilege tables now? [Y/n] ← ENTER
      ... Success!
      Cleaning up...

      All done! If you've completed all of the above steps, your MySQL installation should now be secure.

      Thanks for using MySQL!

  4. Step 4

    Login To MySQL & Create Database named "orangescrum"

    login to mysql:
    [root@server ~]# mysql -u root -p
    Enter password:
    create the database:
    mysql> create database orangescrum;
    verify that it's there:
    mysql> show databases;
    create the user:
    mysql> create user orangescrum;
    Grant all privileges while assigning the password:
    mysql> grant all on orangescrum.* to 'orangescrum'@'localhost' identified by 'your_password';
    Exit from the database:
    mysql> exit
    Create database from database.sql file:
    Navigate to /var/www/html/orangescrum-master directory by typing cd /var/www/html/orangescrum-master
    [root@server ~]# mysql -u orangescrum -p orangescrum < database.sql
    Enter password:
    Login to the database and check whether your tables are created or not:
    [root@server ~]# mysql -u orangescrum -p
    Enter password:
    mysql> show databases
    if your database exist then trigger the below command:
    mysql> use orangescrum;
    mysql> show tables;
    mysql> exit
    mysql> exit
  5. Step 5

    Install the Apache Server:

    yum -y install httpd

    Apache start in system boot time:

    chkconfig --levels 235 httpd on

    Start Apache Service:

    /etc/init.d/httpd start
  6. Step 6

    Install the PHP Packages:

    yum -y install php yum -y install php-mysql yum -y install php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel

    Restart the Apache service:

    /etc/init.d/httpd restart
  7. Step 7

    Upload the "orangescrum-master" folder to /var/www/html directory
  8. Step 8

    Give the 777 permission to app/tmp, app/webroot and app/Config folder chmod -R 0777 app/Config
    chmod -R 0777 app/tmp
    chmod -R 0777 app/webroot

    You can change the write permission of "app/Config" after installation procedure is completed.

  9. Step 9

    Setup the database information in app/config/database.php
    1. Update the database connection details. (host, login, password and database name).
  10. Step 10

    Virtual Host setup in Apache conf file. Vi /etc/httpd/conf/httpd.conf

    Add this below details to last line in httpd.conf file

    <VirtualHost *:80>
    ServerName localhost # eg: demo.orangescrum.com
    DocumentRoot /var/www/html/orangescrum-master
    <Directory /var/www/html/orangescrum-master>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    </VirtualHost>

    Save the fille Restart the Apache service

    /etc/init.d/httpd restart
  11. Step 11

    General Configuration management:

    MySQL:

    1. If STRICT mode is On, turn it Off.
    2. Create a new MySQL database named "orangescrum" (`utf8_unicode_ci` collation).

    PHP:

    1. Enable curl in php.ini
    2. Change the 'post_max_size' and `upload_max_filesize` to 200Mb in php.ini
    3. Make sure that, the .htaccess is working in your server.

    Application Setup:

    1. Provide your valid Gmail ID and Password for SMTP email sending Or, you can use Sendgrid or Mandrill.
    2. FROM_EMAIL_NOTIFY All the task created/updated notification email will be sent from this Email ID.
    3. SUPPORT_EMAIL All other Emails and support related Emails will be sent from this Email ID.
  12. Step 12

    Browse the orangescrum website  http://YourIpAddress or server ip address or domain name
  13. Step 13

    You will be asked to provide your Company Name, Email address and a Password to login and start using Orangescrum.
  14. Step 14

    You may check other configurations in app/Config/constants.php
    https://www.orangescrum.org/general-installation-guide#oth_id

Last Updated: 25th May, 2016

24×7,We are there for you

Free Forum support is provided by the Orangescrum Community.

If you require any urgent or professional help, contact Orangescrum Professional Services team!

Download Now Try All Add-on Demo