For installing nginx,trigger the below command.
# rpm--Uvh
(http://dl.fedoraproject.org/pub/epel/6/i386/epel--release--6--8.noarch.rpm)
# yum update
# yum install nginx
Nginx is now installed on the system and now we will start theservice.
#/etc/init.d/nginx start
# chkconfig nginx on
Now we install the MySQL database and then start and configure the MySQL database.
# yum install mysql mysql--server
# chkconfig mysqld on
#/etc/init.d/mysqld start
# mysql_secure_installation
After press output will be like this. System will ask you some question and you have to answer them accordingly, as shown below.
Note :
Running all parts of the 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, movingon...
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: ←your root sql password
Re Enter new password: ←your root sql password
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!
Then we will install php, php-fpm and php-common and then start the php-fpm service.
# yum install php php-common php-fpm
# chkconfig php-fpm start
# chkconfig --list
#/etc/init.d/php--fpm start
Then we will install some php-modules.
# yum install php-mysql php-pgsql php-pecl-mongo php-sqlite
php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml php-pecl-apc php-cli php-pear php-pdo
With this Nginx, MySQL and php installed on the system. To configure the orangescrum community edition, first we download the source code from http://www.orangescrum.org/download. After downloading first we have to create a database user,database with mysql command.