Website service management system wdcp series tutorial 7

Source: Internet
Author: User
After you have installed the website service management system wdcp, you may have questions like this or that during use. Below are some points for you to learn. If you do not know anything, go to the wdlinux forum to find related tutorials. 1. some data centers do not provide port 8080... after you have installed the website service management system wdcp, you may have questions like this or that during use. Below are some points for you to learn. If you do not know anything, go to the wdlinux forum to find related tutorials.
1 Some data centers do not support 8080 Port, how to continue using wdcp Management Panel
The wdcp backend uses port 8080, but some data centers do not enable port 8080. what should I do?

If other ports are not opened, what should I do? See the following:

2. jump through nginx (only in the lnamp environment)
Add the following to nginx configuration:
Vi/www/wdlinux/nginx/conf/vhost/wdcp. conf
Server {
Listen 80;
Server_name admin.wdcp.cn; // replace admin.wdcp.cn with your domain name
Root/www/wdlinux/wdcp;
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 12 h;
}
Location /{
Try_files $ uri @ apache;
}
Location @ apache {
Proxy_pass http: // 127.0.0.1: 8080;
Include naproxy. conf;
}
}

Restart nginxd.
Service nginxd restart
 
2 , Wdcp Background email settings and instructions for use
Wdcp starts from version 2.3 and adds the Mail sending function.
Two methods are supported. one is sendmail and the other is external domain mailbox, such as QQ mailbox and 163 mailbox.

This mail sending function is only limited to the wdcp background, for example, sending emails to other users or members in the wdcp background.
Note: it is only used in the background of wdcp, that is, it is completely independent of the Mail function of the front-end website or other websites on the server.
The original email function of your website, how to use it or how to use it, has no association

This email function in the wdcp background is not available to general users because there is no email to be sent on the server used by them.
In fact, this function is used in wddns. it is used by many users in wddns to send emails to registered users.
It can also be used when wdcp has many users or when it is used as a virtual host.
In other cases, for personal users or VPS users, this function is basically useless or unavailable, so it should be a decoration.

Specific settings
1 when sending via sendmail, you do not need to set
2. when sending data through a SOCKET, set the relevant SMTP, port, and user password.
 
 
3 , Wdcp, How to modify mysql in the Yijian installation package Data Directory
The default installation directory of mysql in wdcp and one-click package is
/Www/wdlinux/mysql Directory
The data directory is in
/Www/wdlinux/mysql/var

What should I do when the database capacity is large or the partition space is too small? You only need to put the database data in another directory or partition.
The operation methods can be as follows:
1. modify the/www/wdlinux/etc/my. cnf file
2. use the partition Mount directory or file connection form

Here, only the description of modifying the my. cnf file is actually very simple.

1. create a storage directory, as shown in figure
Mkdir-p/data/mysql/var
2. stop mysql
Service mysqld stop

3. modify the configuration file
Vi/www/wdlinux/etc/my. cnf
Add the following line in the [mysqld] section:
Datadir =/data/mysql/var
For example


Save and exit

4. move or copy the data to the new directory, as shown below:
Cp-pR/www/wdlinux/mysql/var // data/mysql/

5. start mysql
Service mysqld start

So far, complete
Mysql data has been moved to the new directory.
 
This document is taken from the wdlinux Forum. For more information, see!
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.