Web Matrix Installation
Web Matrix Installation
This guide introduces you to WebMatrix, Microsoft's new one-stop website authoring tool that lets you create, edit, and publish websites easily.
Install WebMatrix.
Download and install an open-source web application along with its prerequisites.
Perform the initial set up, including setting database and site administrator credentials.
Edit some files in the site using the built-in code editor.
Overview
WebMatrix, Microsoft's new one-stop web development tool, lets you create, edit, and publish websites with unprecedented ease. There are three main
You can create a website starting with one of the site templates built into WebMatrix.
You can create a site from scratch by using the WebMatrix editing tools for ASP.NET Web Pages with "Razor" syntax
You can start with a popular open-source web application from the Microsoft Web Application Gallery.
The Web Application Gallery contains an extensive collection of free open-source applications that you can install directly from within WebMatrix. In this
tutorial, you'll install WebMatrix and create a blogging website based on the popular open-source application WordPress.
1. Install WebMatrix
To install WebMatrix, go to the WebMatrix download page and click Install Now. At the security warnings, click Run, and then click Install on the Web
with MySQL. If you don't have MySQL installed already, WebMatrix will help you install it. If you need to do that, click Yes, install it on my machine,
Database administrator credentials for the MySQL database engine that WordPress sets up (also known as "root", or "sa" credentials in the
Database user credentials for the actual MySQL database that WordPress will create for your website.
If MySQL is already installed, you can go directly to the Connect a Database to the Application step.
name is "root" for MySQL databases and "sa" for SQL Server. Be sure that you remember both the user name and the password you create, because you'll
PHP, which is the scripting engine that WordPress requires). The following illustration shows you that both WordPress and PHP will be installed. (The
screen shows you the link that it's going to get the software from. You don't need to go to the sites and install the software yourself; WebMatrix will do this
for you.)
After you accept the End User License Agreement (EULA), the installation begins.
The time required for the installation will depend on the speed of your Internet connection and the servers that you're downloading from.
local database engine (which you might have just installed). For SQL Express, this is typically .\SQLExpress. For MySQL, it's localhost.
Because WordPress uses MySQL, "localhost" is already filled in for you, as you can see in the following illustration.
Next, in the Database Name box, type MyNewBlogDB. This is the database that will hold your blog contents.
Administrator Password box is visible. In the box, enter the password that you remembered from earlier — the password you created for the "root" user.
Note Don't change the administrator user name of "root" in the Database Administrator box.
When the process finishes, you'll see the following screen. The details listed might differ, depending on what was installed.
By default, your website files, including the files that WordPress installs for you, are located in the folder C:\Users\<YourUserName>\Documents\My Web
Sites\MyNewBlog. At this point, you haven't published your site to the web, and you're still working locally on your own computer.
Click OK.
site in your browser. This is necessary because most applications in the Web Application Gallery do their final setup steps in the browser.
10. Enter Site Administrator Information
Running applications from the Application Gallery for the first time usually triggers the last phase of the installation. In this case, WordPress asks for the
The site title does not have to match the name of the Site in WebMatrix. Type "My New Blog" (with spaces) for the site title and "MyNewBlogAdmin" for
Next, provide a password and email address for the site administrator. If you do not provide a password, WordPress will generate one for you.
Finally, to make sure that your blog can be viewed by search engines like Bing and Google, select the Allow my site to appear in search enginescheck
box, and then click Install WordPress (despite the wording, this is not really an installation, as you will see).
This login page takes you to your site's administrator dashboard. Many Web Gallery applications have similar dashboards. Since you are learning about
make them stand out more. To get started, click the Files workspace selector to open the Files workspace.
13. Open a File
The Files workspace is the area in WebMatrix where you can open and edit files.
In the navigation pane on the left, go to the wp-content > themes > twentyten folder, find the style.css file, and then double-click it to open it. If you like,
you can click Word Wrap in the ribbon to make the file contents easier to read. Line numbers are enabled by default, and their positions adjust
click Run in the ribbon. (If you forget to select the MyNewBlog node and instead click Run when site.css is selected in the navigation pane, WebMatrix