Web Service Management System WDCP series six

Source: Internet
Author: User

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

After everyone installs the website service Management system WDCP, in the use process may appear this or that kind of question, below gives everybody to arrange the time to come out, facilitates everybody to study. Also do not know the words, you can go to the Wdlinux forum to find relevant tutorials.

1, some rooms do not open 8080 ports, how to continue to use the WDCP management panel

WDCP's background is used to 8080 ports, but some rooms do not open 8080, how to do?

If the other ports are not open, what can I do? Look down.

Two through Nginx to jump (limited to LNAMP environment)

Add one to the Nginx configuration, as follows

Vi/www/wdlinux/nginx/conf/vhost/wdcp.conf

server {

Listen 80;

server_name admin.wdcp.cn;//admin.wdcp.cn Replace with your domain name

ROOT/WWW/WDLINUX/WDCP;

Index index.php index.htm;

Location ~ php$ {

Proxy_pass http://127.0.0.1:8080;

Include naproxy.conf;

}

Location ~. (gif|jpg|jpeg|png|bmp|swf) $ {

Expires 1d;

}

Location ~. (js|css|html|htm)? $ {

Expires 12h;

}

Location/{

Try_files $uri @apache;

}

Location @apache {

Proxy_pass http://127.0.0.1:8080;

Include naproxy.conf;

}

}

The NGINXD can be reset

Service Nginxd Restart

2, WDCP background mail settings and use instructions

WDCP started with the 2.3 version, adding a mail delivery feature

and support two ways, one is to use SendMail, one is to use the Outland mailbox, such as QQ mailbox, 163 mailbox and so on

This email is only limited to WDCP backstage use, for example, send email to other users or members in WDCP backstage.

Note that only the WDCP of the backend use, that is, not with the front-end Web site or other sites on the server's mail function suddenly, completely independent

The original mail function of your website, how to use or how to use, there is no connection

WDCP background of this mail function, for the general user, is actually not used, because of their own use of the server, there is no mail can be sent

In fact, this feature is intended for use in Wddns, and is used by many users in Wddns, sending emails to those registered users

WDCP can be used when there are many users or when doing a virtual host

Other situations, personal use or VPS users, this function, basically useless or say is not used, as a decoration

Specific settings

1 When you use SendMail to send, you can not set

2 through the socket to send, the relevant SMTP, port, user password, etc., the corresponding settings can be

3, WDCP, a health installation package how to modify the MySQL data directory

The default installation directory for MySQL in WDCP and one-click packages is

/www/wdlinux/mysql Directory

The Data directory is

/www/wdlinux/mysql/var

What if the database is large or the partition is too little? Just put the database data in another directory or partition to

The method of operation can have several

1 Modifying/WWW/WDLINUX/ETC/MY.CNF files

2 using a partition to mount a directory or File connection form

Here, only the instructions to modify the my.cnf file, in fact, very simple

1 Create a storage directory, such as

Mkdir-p/data/mysql/var

2 Stop MySQL

Service Mysqld Stop

3 Modifying the configuration file

Vi/www/wdlinux/etc/my.cnf

Add the following line in the [mysqld] section

Datadir=/data/mysql/var

The following figure

  

Save exit

4 move or copy data to a new directory, as follows

cp-pr/www/wdlinux/mysql/var//data/mysql/

5 Start MySQL

Service mysqld Start

At this point, complete

MySQL data has been moved to the new directory

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

Website Service Management System WDCP series of Tutorials (i)

Website Service Management System WDCP series of Tutorials (ii)

Website Service Management System WDCP series of Tutorials (iii)

Web Service Management System WDCP series of Tutorials (iv)

Web Service Management System WDCP series of Tutorials (v)

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.