Website Service Management System WDCP series of Tutorials (ii)

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

After we installed the Network Service management system WDCP, there may be a lot of questions there is the use of the process of the problem, the following for you to sum up a few more common, if there are other questions, you can go to the Wdlinux forum to find relevant tutorials.

1, server or Web site how best to migrate the fastest

Classification

1 migrating from other environments to WDCP environments

2 migration from the old WDCP to the new WDCP environment

For the first, there is no better way, basically one by one manually create a website (if a lot of site, in fact, you can also write a small program to import)

For the second, the following details

1 Install new environment on new server, namely one key package and WDCP etc.

2 on the original server, packaging site Directory/www/web, database directory/www/wdlinux/mysql/var/

3 through the SCP or download, download the data to the new server, and then extract to the corresponding directory

4 Restart Web services and MySQL services

5 Login background, site management > site List "Update All site Configuration"

Normally, it's okay.

A few notes:

1/www/web is the default site directory, if you want to make changes, according to the actual modification

2/www/wdlinux/mysql/var/database directory, also default, if modified, according to the actual modification

3 If MySQL is the entire var directory packaging, the relevant database user password also changed, the need to use a small tool to force changes under WDCP and root password, or the background can not log in, can not create a database

4 If there is a static rule, this will be manually added to the new backstage

5 If you have optimized or adjusted the Web environment, you can back up the appropriate configuration files

MySQL Database user password modification

WDCP database can not connect to the repair, such as login background hint "Unable to connect to MySQL, please check MySQL has been started and user password is set correctly"

Force to modify MySQL root password, useful when forgetting MySQL password

sh/www/wdlinux/tools/mysql_root_chg.sh

To do the following, modify the WDCP database password

sh/www/wdlinux/tools/mysql_wdcp_chg.sh

2, the background upgrade, the site is not open to come in

Sometimes people encounter this problem, that is, in the background after the upgrade, and then restart, the site will not open, the problem is not because of the cause of the upgrade, but also said many times

Here's another explanation.

Background upgrade WDCP, will not affect the front-end site access and operation, this upgrade is only background upgrades, and the front-end site does not have a connection

What's the reason?

Most likely the reason is that the previous operation of the site (new | edit), such as the operation of the site, but because the service did not take effect, so did not find the problem

But when you reboot the machine, you find the problem.

Here, how to deal with?

Look in the background process, there are no 80 ports, as N+A environment, see there are no 80 and 882 ports

Can run in the background command runtime

Service Nginxd Restart

Service httpd Restart

See if there is no hint, according to the corresponding prompts to modify the

But SSH Rilian to the server to run the above command to see

Notes:

This problem, 99%, is due to the incorrect operation of the site's pseudo static rule reason or the pseudo rule file does not exist, and so on

So, check this out.

3, the new open site or bound domain name can not open or inaccessible problems

New or bound domain name can not open or inaccessible issues, you may follow the following methods or order to check

The following situations

One IP can be opened, but use the domain name to open the site to display the default page

1 Site list has the corresponding website information

2 Check there is no site profile background-> System Management-> File Manager-> Virtual host site files (nginx,apache) Click into the Vhost directory to see if there is a corresponding profile

FileName to create the site with the domain name plus the suffix. conf, such as wdlinux.conf

3 Check the Site Directory there is no file background-> site management-> site list corresponding to the right of the site "file management", click to see if there are public_html directory and public_html directory under the file

Did you upload your website files or programs to the public_html under the directory

4 Background-> System Management-> Restart Web service

Or

System Management-> Command Run execution

Service Nginxd Restart

Service httpd Restart

If not, put the wrong message up.

Description: Most likely not effective, generally restart the service can be

Two IP also can not open the default home page

1 Determine if the installation is successful, mainly during the installation process, whether there are interrupts or error messages

2 Check for 80 ports

Can manage-> port management to see if there are 80 ports

If you do not have 80 ports, find the corresponding nginxd or httpd in the Boot Service list page and click on the start of the following

Or

System Management-> Command Run execution

Service Nginxd Restart

Service httpd Restart

Watch for tips

or use SSH to connect to the server to perform service nginxd restart

Service httpd Restart

Post the error message.

Description:

1 if the new installation will not open, should be not installed to complete

2 If it is not open after the new site or operation site, 99% is a pseudo static rule problem, that is, pseudo static rules cause nginx or Apache can not start

At this point, you can cancel the pseudo static of the site you just added, restart the service, and then check the pseudo static rule further

This article is excerpted from Wdlinux Forum, reproduced please specify!

Related Article

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.