# Steps for installation on EC2 Windows Server

**URL:** https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269
**Category:** Bitnami Installers
**Created:** [August 18, 2014, 10:56am UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269 "2014-08-18T10:56:14Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 18, 2014, 10:56am UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/1 "2014-08-18T10:56:14Z")

</div>

Hi there,

As there is no Bitnami installer for EC2 windows servers, I started by installing the local windows bitnami installer on the windows server, but from there I am a bit stuck to get it to work.

Are there any documented steps for finalizing the configuration on a windows server ?

Also the built-in upgrade mechanism from 1.6 to 1.7.6 does not seem to work in the local windows installer from bitnami. When cliking the upgrade button, it just “erases” any content of the local index page of dreamfactory with no possibility to login again into it (blank page needing an entire reinstallation of the DSP)

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 18, 2014, 1:30pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/2 "2014-08-18T13:30:20Z")

</div>

ok, easy it is. A firewall rule for port 80 has to be added in the server, and it works fine.

It doesn’t solve the not functioning upgrade mechanism though, as it seems to mess things up when clicking on the green upgrade button, but I’ll wait for a new installer maybe.

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [August 18, 2014, 5:11pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/3 "2014-08-18T17:11:35Z")

</div>

Hi,

Thanks for reaching out!

When you (try to) upgrade on windows via upgrade button, it pulls **dsp-core** library from **github** and then runs the **[installer.sh](http://installer.sh)**. Unfortunately, the script isn’t yet configured to execute properly in a windows environment at this time. However, this functionality will be implemented very soon from what I have gathered from our engineers.

So, in order to upgrade on a Windows platform… there are a few steps as well as a (very small) initial learning curve. Once you’ve done this a few times, upgrading on windows is as simple as pie.

I am finishing up the official windows upgrade document as we speak. I will attach to this post shortly which will run you through everything from a to z - once you’ve gone through this process a couple times… you’re golden.

Thanks,

- Mark

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 19, 2014, 12:34pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/4 "2014-08-19T12:34:10Z")

</div>

Hi, thanks for the info,I understand why it didn’t install now.

Perhaps is there a way too to install it using git for windows ? In what directory should one clone the git library before running the bash script ?

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [August 19, 2014, 12:47pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/5 "2014-08-19T12:47:29Z")

</div>

There’s a way to install using git but will only work after BitNami package is installed. Apologies for not getting that document out to you yesterday. Give me a little bit and I’ll have it to you.

Thanks  
Mark

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 19, 2014, 1:01pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/6 "2014-08-19T13:01:38Z")

</div>

Alright Mark, that’s fine, no rush. Will wait for your windows upgrade document when it is ready. Thanks !

---

<div class="post-metadata">

### Author: ![Jason](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jason/32/1194_2.png) [@Jason](https://community.dreamfactory.com/u/Jason)
#### Post date: [August 20, 2014, 1:52pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/7 "2014-08-20T13:52:12Z")

</div>

You should be able to (from your htdocs folder), run a composer update.  
I believe Bitnami packages the composer.phar file there directories up.

So something like …/…/…/php composer.phar update

Let it run, and it should prompt you to update your database, if not, just go to /web/logout in the url and then it should pop up.

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 20, 2014, 2:16pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/8 "2014-08-20T14:16:21Z")

</div>

I have a composer.phar file in “C:\Bitnami\dreamfactory-1.6.10-0\php”

But running composer.phar update on this folder outputs:

“_Composer could not find a composer.json file_”

Should I first clone the dsp-core git repository somewhere ?

---

<div class="post-metadata">

### Author: ![Jason](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jason/32/1194_2.png) [@Jason](https://community.dreamfactory.com/u/Jason)
#### Post date: [August 20, 2014, 2:19pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/9 "2014-08-20T14:19:39Z")

</div>

You should have one in htdocs.  
But yes, update your dsp core first. Should be able to do a git pull from htdocs as well.

If not, yes, clone it.

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [August 20, 2014, 2:22pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/10 "2014-08-20T14:22:53Z")

</div>

Please, go ahead and install these two programs (as admin) on your windows machine:

1. git - [http://git-scm.com/download/win](http://git-scm.com/download/win)

note: when installing, make sure to enable functionality in the “windows command prompt” when asked during installation.

1. composer - [https://getcomposer.org/download/](https://getcomposer.org/download/)

As you install these, please go through the following steps:

[The image you are requesting does not exist or is no longer available]

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 20, 2014, 3:56pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/11 "2014-08-20T15:56:19Z")

</div>

Well thanks for the steps. It has updated to 1.7.6 but now there seems to be an issue, as Apache is way slower than before, and at each request, it bursts the cpu at 100% for at least 5-6 seconds…

In the admin panel, there is a gap of 5-6 seconds with the loading gear icon at each tab change too…

It seems that the update broke somethings perhaps.

When doing web/logout, also it asked for upgrading the database schema, I clicked on the green button, and now 'm wondering if the green button was not calling a bash script which would cause some issues in the windows installation like for the main dsp upgrade button.

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [August 20, 2014, 7:26pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/12 "2014-08-20T19:26:56Z")

</div>

Yes, you’re correct.

The (temporary) solution to this is to edit your common.config.php file in the following directory:

**C:\Bitnami\wampstack-5.4.30-0\apps\dreamfactory\htdocs\config**

note that the dir structure may be slightly different, as my DSP is installed as a module on top of WAMP.

[The image you are requesting does not exist or is no longer available]

When here, simply **change all values = false** as shown below:

[The image you are requesting does not exist or is no longer available]

Let me know if you’ve got any issues that come up.

This will turn off server side scripting functionality, but know that our engineers are already working on a solution to include in our next release to fix the speed issue without having to nix server-side scripts.

Thanks,

- Mark

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 21, 2014, 12:58pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/13 "2014-08-21T12:58:13Z")

</div>

Thanks Mark, done the modification. It has a bit of speed improvement but it is still a bit laggy. I’m in a development environment so I reverted back to 1.6.10 for being sure, and it is a lot smoother in 1.6.10.

I’m happy with 1.6.10 for now for developping my apps, so I may wait until a next release to see how it behaves.

Just wondering if there will be updates to the bitnami installer for windows as well ?

Anyway, many thanks for the support !

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [August 21, 2014, 1:04pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/14 "2014-08-21T13:04:49Z")

</div>

I should’ve said You will need to restart apache… that is my fault, but definitely restart apache after making this change. always try to restart it after making change to your DSP.

the speed improvement is very significant - mine was close to 10x faster.

so if you’d like to try again - or if you want to do a hangout where i compare speed differences for you then just let me know

thanks  
mark

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 21, 2014, 1:22pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/15 "2014-08-21T13:22:31Z")

</div>

yes, did restart the apache server too, in fact i restarted both the server and mysql with the bitnami manager.

But I noticed for the todo angular example app that there was quite a delay when doing simple operations on localhost. I verified with 1.6.10 and it was a lot smoother, but i did not make any test, just using it as an end-user and there was a noticeable delay.

I may try a bit later this week to refollow all the steps you mentioned and see if the issue persists. Will post there an update for it. thanks

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [August 24, 2014, 12:19pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/16 "2014-08-24T12:19:36Z")

</div>

Just saw that a new windows bitnami installer was available for 1.7.6, sweet!

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [August 24, 2014, 2:41pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/17 "2014-08-24T14:41:00Z")

</div>

There ya go - download and install bitnami package - it will create a backup when prompted…

keep me updated

thanks

mark

---

<div class="post-metadata">

### Author: ![ab33](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@ab33](https://community.dreamfactory.com/u/ab33)
#### Post date: [September 20, 2014, 9:38am UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/19 "2014-09-20T09:38:40Z")

</div>

We are the witness of a semi-intelligent new generation robot spammer with contextual spam with semi-meaningful posts delivery backed by a comment analysis word parser. 🙂

---

<div class="post-metadata">

### Author: ![benbusse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/benbusse/32/4_2.png) [@benbusse](https://community.dreamfactory.com/u/benbusse)
#### Post date: [September 20, 2014, 4:20pm UTC](https://community.dreamfactory.com/t/steps-for-installation-on-ec2-windows-server/269/20 "2014-09-20T16:20:15Z")

</div>

Thanks, taken care of for now at least 🙂
