-
Notifications
You must be signed in to change notification settings - Fork 0
Installation on Windows Azure
- If you already have an Azure Account you can skip this step.
Otherwise you need to get an account first, or try the Free Trial
-
Sign in to http://manage.windowsazure.com/ - when your account finishes loading, click on the + NEW button in the lower left-hand corner.
-
Choose Compute > Web App > Custom Create
-
The next step involves setting the configuration of the installation. Choose carefully as these values are not easy to change or undo.
- Select the URL for your site. - This will be pre-pended to .azurewebsites.net to form the URL for the installation [free sites cannot have a 'proper' domain, and will only be available on this domain].
- Select Create a new SQL Database (this will create a new Azure SQL Database for you).
- Choose the Azure location you wish your site and database to be created in
- Select which Azure Subscription you wish to use.
-
is to create your Azure SQL Database. Choose a name of your database, and either select an existing server if you have one, or create a new server.
- Whether you create a new server or choose an existing one, note down the name of the server.
- You can either accept the default name of the database, or you can create your own. A recommended way is to use the same name as the web app, so it's easy to know which belongs to which. Note down the database name you choose (or copy/paste the default if you decide to use that)
- The database needs to be in the same region as the web app
- Create a sufficiently strong login name and password
- Check the box for Advanced database settings
-
Set up the advanced database settings
- Choose the database size you need - You can always re-size the database later, so start with 1GB unless you know you're about to load up a sufficiently sized database
- Web Edition is fine - again, you can change to Business edition later
- Stick to the standard Collation unless you have a specific reason to change
-
Click the final Check Button to create the web app and database. - You'll see the bottom 'status' bar showing a message as well (click on the messages icon to expand and view the current status)
-
In the next Steps we will upload the YAF files to the server, in our example we will use an FTP Connection to upload the files to the server
-
The first step after downloading the YAF-Install Package is to Unzip the Archive to any folder you want.
-
You need to rename the file recommended-azure.web.config to web.config. Warning: DO NOT edit the web.config unless you know what you're doing.
-
Open the file web.config and visit our Support Site to...
Copy and paste the generated machine key to your web.config in the <system.web> section
-
Modify the SMTP settings by entering your mail server information. If you SMTP server requires SSL, you must add:
<add key="YAF.UseSMTPSSL" value="true" />to your app.config or appSettings.
-
Open the db.config to modify the connection string for your azure database.
You will find the Connection String from within the Azure Dashboard under SQL Databases > Select the Existing Database > View SQL Database connection strings the first one for ADO.NET is the one you need
`
` -
Now open the FTP Application of your choice, and create a new connection to the azure site (The FTP Host Address and Login Name you can find on the Dashboard of the Web App, and the Password is the same as the Azure account).
-
On the FTP Server navigate to the folder /site/wwwroot this is the root folder of the web app
-
Upload all Files to the Server
-
Open the Install Wizard http://{your_siten_name_here}.azurewebsites.net/install/ on your web site.
-
The wizard will guide you through the Install Process.
-
On the Create Config Password Page you will be asked to enter an Password which protects the Upgrade Wizard.
-
On the Next Page you asked for the YAF.NET Database Connection. Since you already setup the connection string you can move to the next screen, or Click on Test Connection to make sure the Connection String is correctly Setup.
-
Next you can check if you correctly setup the mail.config by using the *Mail (SMTP) Sending Test.
-
After that you are ready to initialize the database and install the board.
BE AWARE THIS PROCESS AT THE MOMENT TAKES ABOUT 4 MINUTES
-
On the Create New Board you have to fill out the Description of the board and setup the superuser (host)
- Board Name - select the name of the new board
- Guest User Time Zone - the Standard Time Zone used for all Guests
- Guest User Language - The Language used for all Guests
- Forum Email - The Email Address that is used for sending emails (needs to match the one defined in the mail.config)
- Forum Base Url Mask - The Base Url for the Board (This should be automatically filled out correctly)
- Make sure that Create New Admin User is selected, and then fill out the user info for the admin account
After that your board is ready to be used
Click on the Finish Button and you will be redirected to the board main page.
YetAnotherForum.NET (YAF) the Open Source Discussion Forum for ASP.NET - http://YetAnotherForum.NET
Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved







