Local construction station detailed tutorial and FAQ

Source: Internet
Author: User

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

Objective

For Internet practitioners, especially SEO personnel, building a website is a very basic and necessary skills. As a mature SEO, alone to complete a set from the application of domain name to the online site's complete program is the ability to master, which will give you a lot of convenience in the work, but also can well deepen the understanding of the SEO industry. Because we know, SEO is a combat-oriented industry, a lot of things if not to actually operate only in theory, then you will never stop.

Here I will give you a novice to the website construction tutorials, some in the first contact with the site construction may be encountered in a variety of problems will give answers, I believe that will bring a lot of help.

Website production and upload steps

First of all, the domain name and space, for example, domain names like house numbers, space is your home, with the house can be loaded, with the number of people can be based on the address to find you. Therefore, the first step to build a website is to apply for domain names and space, these are relatively simple operations, so do not repeat here.

The first step in making a website is to build a local environment generally we build a website, will first in the local test run, debugging and then uploaded to the Internet, the first production site does not recommend the production of too complex sites, there are many open source site procedures available for download, you can try some such as Emlog, WordPress, such as personal blog programs, the process is very simple, but also to help you understand the entire process. There are many software to build local environment, such as Phpnow, XAMPP, etc. Here we take Emlog and xampp as examples to explain.

The first step is to download the latest XAMPP installer to Xampp's official website and install it locally.

  

The second step is to download the Emlog and then unzip it. Copy the files in the SRC folder to the Htdocs folder in the Xampp folder.

The third step, run XAMPP, enter the control interface, click the Apache and MySQL Start button, to ensure that it is in the running state.

  

In this step of the operation need to pay attention to, turn off the Thunder and other Peer-to-peer download upload program, because these programs may occupy your 80 port, resulting in the inability to run.

The fourth step, click the mysql corresponding admin button, entered the phpMyAdmin admin interface. In the appearance settings, you can check the language into Chinese.

  

The fifth step, a new database, the database can be arbitrarily named, but if you set the username and password must remember!

  

The sixth step, enter your local directory, the URL is 127.0.0.1, you can also enter localhost access, after the entry will automatically enter the Emlog installation program, fill in the last step of the new database name and password, after the successful installation of the site, you can freely access the local.

The seventh step, you have enough time to study and debug your site, after everything is ready, you can use the FTP software to upload the site to your space. The following figure:

  

Upload your site to a Web folder in space and upload it to the root directory if there are no folders. Next, enter the URL, you can access to your site! Of course, if you have access to your domain and have done a space resolution.

About the Apache service installation failure

After talking about the simple steps of building a website and uploading a website, let's talk about some of the problems that may be encountered. Some people may encounter problems with the Apache service installation failure during the use of Phpnow, as shown in the following illustration:

  

First you need to confirm whether the program is open with Administrator privileges, Win7 system may encounter this problem, first you need to enter C:\Windows\System32 this path, to find out cmd. Right--Run as Administrator, enter Phpnow path, and then it's all over!

  

If this is not possible, then it is the port occupancy problem. Because the default port for the Apache service is 80, it can also cause the installation to fail if it is already occupied.

We can solve this by:

Open the CMD program, input instructions: netstat-a-n-o the following figure:

  

We can see that 80 ports are being used, the PID code is 5980, then the Process tab of the Task Manager opens, click View-Select the column, check the PID, then look for process 5980, and turn the process off.

  

You may also experience the same problem when installing XAMPP to cause the Apache service to not install properly, as described above.

About Myphpadmin Database no permissions

One thing to be aware of when using the XAMPP database is that the first time you set up a new account and password, opening xampp again may encounter situations where you do not have permission to create a new database, as follows:

  

This is because the default password is blank, and after changing the password for root, you need to change the information in the phpMyAdmin.

The workaround is to search for "config.inc.php" under \...\xampp\phpmyadmin\, and use the PHP authoring tools such as Dreamweaver to open and edit the following lines:

$cfg [' Servers '] [$i] [' user '] = ' root '; MySQL Superuser

$cfg [' Servers '] [$i] [' auth_type '] = ' http '; HTTP MySQL authentification

Set to save after writing, then access the Myphpadmin database again will need to enter the password

  

Enter the correct account and password with the right account, and the database will be available for normal access.

On the first point here, I believe that just contact SEO this line, is learning to build a station novice will have a lot of help, do SEO to remember a little, never only see do not do, only to do while learning, can really learn useful things! This article by P9 Mobile phone online games Ranking (www.p9p9.cc) original, Please respect the author's labor achievements, reproduced annotated!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.