Amazon has revolutionized the way the web hosting worked with its AWS services. You might be aware about the power of Redmine. Redmine is an open source project management tool build in Ruby. Following is a step by step instruction on how to install Redmine on a free tier Amazon instance.
We have used the Bitnami Redmine on AWS there are other packages available as well but we chose bitnami as it was free to use. This was installed by our Senior Server Admin Mr Prashant Yadav.
For this, we firstly need to create a free aws (Amazon Web Services) account.
For this, we need to perform the following steps:
1. Create your aws account . It takes only 10 minutes to complete the registration.
2. Go to your aws EC2 console.
3. Under Network and security, click on Elastic IP.
4. Add a new elastic IP.
5. Right click on that IP and associate it with your instance.
6. Now go to key pairs.
7. Add a new key pair and download it. Save the downloaded file in safe place for future use.
8. Now for taking CLI or remote desktop of your instance, we need to perform the following steps:
· Download putty key generator.
· Run the putty key generator.
· Click on load and select your public key that you have downloaded earlier.
· Click on save private key option and save the file at your required safe location.
· Now download putty in order to take remote of the amazon instance.
· Enter your elastic or public IP.
· Now scroll down to SSH option on the left side.
· open the sub-options and click on Auth option.
· Now browse for your private key that you have downloaded.
· Now scroll up to session option.
· Click on save, enter the specific name you want.
· Now click on your named option.
Now in order to install redmine on your instance, please do the following steps.
1. Go to aws marketplace. Log into this by entering your username and password.
2. Search for bitnami redmine.
3. Click on option: Redmine powered by bitnami.
4. Select your required instance and launch it.
5. Browse to you Public DNS path.
6. Please enter : redmine/admin to enter to your admin panel.
7. The default username and password are:
Voila !! Now you successfully logged into your redmine admin panel.
Now this is important, Once you are done with this installation you will have to setup the redmine to send emails by tweaking the SMTP settings . The redmine by default doesn’t contain the settings for sending mails. For that, we need to setup the outgoing emails settings using the CLI ( windows users can use putty)
Following are steps to setup the email config if you are using Gmail. It should be pretty much same for other servers as well.
1. Open putty and enter your public IP or Elastic IP.
2. Enter username: Ubuntu
3. Go to /opt/bitnami/apps/redmine/htdocs/config
4. Now open file: configuration.yml file. I have opened the file using vi editor with the command: vi configuration.yml
5. Scroll down to default mail settings blog.
6. Enter the following details:
user_name: your google apps account.
password: your password.
7. Now reboot your instance by using command: sudo reboot
8. Try sending test mail again by logging into your redmine admin panel.