To recap my disclaimer at the top, if you are simply hosting websites running on. Since I spent sometime customizing this server, I can now "Capture" it and make the image available for future provisioning, meaning that when I want to create another WIMP server, I simply select it from the list and it is provisioned, preconfigured! Now I admit this was a rather lengthy post with some workarounds (to enable FTP for example), but the point is, Windows Azure is a very flexible platform and no matter what you are trying to run, you will find multiple ways to do it. Restart the FTP site for the changes to take effect Then type in the public IP of the machine that you got from the portal then hit ApplyĦ. Configure the FTP server to allow Passive FTP. Netsh advfirewall set global StatefulFtp enableĥ. Setup the local passive FTP data channel ports by running the following lines in a command prompt specifying the low data channel port and the high data channel port Get the public IP address of the machine from the portalĢ. You can create a different user and use it here if you want.ĭue to the way the Windows Azure network functions, we need to enable Passive FTP so we need to do a few more steps.ġ. I'm going to select No SSL for now, since I don't have a certificateĮnable Basic Authentication and for now, grant the Read Write permissions to our administrator user that we created when the machine was provisioned. Configure FTPĪdd FTP publishing to the Default Web Site In about 1 minutes, the FTP role will be installed. Follow the same process you did at the beginning to enable Web Server (IIS) role, but this time, expand the Web Server (IIS) node and check FTP Server In order to easily manage your server, let's add an FTP role. On the server, open up the phpMyAdmin website and download the latest version, then unzip it as phpmyadmin in C:\inetpub\file to the root of the phpmyadmin folder then delete the config folder, and you're in! (Optional) Install phpMyAdmin to manage your MySQL database Save the file then go to you should find the PHP information page loading up. On the server navigate to the default IIS web root ( C:\inetpub\wwwroot) and add an index.php file with the following content Web PI will now download and install PHP and MySQL. The installer will ask you to choose a password for MySQL, choose a passwordĬontinue and Accept the Terms and Conditions. Then search for MySQL and add your preferred versionĬlick on Install to begin the installation When the installer loads up, search for PHP and then add your preferred PHP version When the website loads, click on Free download and run the downloaded installer Open up a browser on the server and download the Microsoft WebPI from here You could go ahead and download PHP and MySQL separately and then install/configure them manually, or you could go to the easy route and use the brilliant Microsoft Web Platform Installer, which is what I'll do. In a few minutes, IIS should be up and running. Scroll down a bit and check Web Server (IIS) and click on Add Features on the dialog that will popupĬlick Next then start the installation process Leave your server preselected and click Next On the Dashboard, go to Quick start then click on Add roles and featuresĬlick Next, then select "Role-based or feature-based installation" The Server Manager window should open by default, but if not, open it. Configure the server by adding Web Server IIS (Internet Information Services) role Login with the username and password you specified during creating the VM. Once the machine is ready and is in the Running state, click on its name (or its row), then click on Connect. Login to the new machine using Remote Desktop Let's start Create a Windows Server 2012 VMĪnd in the last step, make sure to open up the FTP and HTTP endpoints in the Load BalancerĬlick the checkmark and wait for the machine to be provisioned. But I'm telling you, you are probably better off using Windows Azure Websites + ClearDB. I'm showing you this tutorial for the sake of completeness and in case you really need to manage everything yourself. If you must use MySQL as your database, you can opt for a Database as a Service solution provided by ClearDB through Windows Azure, or you can create a Virtual Machine (Windows or Linux) and use it as a dedicated database. NET, PHP, node.js and Python support out of the box with FTP and Source Control deployment options baked in. You can host PHP sites much easier on Windows Azure Websites, as there is practically ZERO configuration that you need to do and you get.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |