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.
1Some data centers do not support 8080Port, how to continue using wdcpManagement 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, WdcpBackground 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 packageData 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!