11 tutorials on website service management system wdcp

Source: Internet
Author: User
Tags mysql backup

After we have installed the website service management system wdcp, we 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, WDCPHide NginxVersion Number tutorial
 
All major portals hide the nginx version number. It makes sense to do so. So let's also learn.

Two steps in total!

Step 1:
First go to/www/wdlinux/nginx-1.4.1 (I upgraded the version)/conf find nginx. conf file

Open tcp_nodelay on, and add server_tokens off in the line below.

For example:

Keepalive_timeout 60;
Tcp_nodelay on;
Server_tokens off;

This is all you need (don't laugh, the tutorial is easy to use)

Step 2:
If the new version is upgraded, skip ~~~~~

But it is better to mention it.

Find fcgi. conf in the same directory to open

Then find fastcgi_param SERVER_SOFTWARE nginx/$ nginx_version;

Change to: fastcgi_param SERVER_SOFTWARE nginx;

Restart the WEB Service or the server.
 
 
2PhpmyadminUpgrade Method
Recently, someone complained that the phpmyadmin version in wdcp is too low... I think so too .. I tried to upgrade it .. Yes .. Share my methods with you

Previous phpmyadmin versions



I upgraded Phpmyadmin to 3.5.6, all completed in ssh.

1. First, find
Http://jaist.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.5.6/phpMyAdmin-3.5.6-all-languages.tar.gz)

2. Run the wget command to download/www/wdlinux/wdcp/in ssh.
(The phpmyadmin folder cannot be seen in the wdcp panel and in this path. Must be in ssh)


3. Extract tar

4. Change the directory name phpMyAdmin-3.5.6-all-languages to myadmin1 (any) (mv command)

5. Copy the configuration file config. sample. inc. php In the phpmyadmin directory to myadmin1 (cp command)


6. Rename the phpmyadmin directory to phpadmin2 (any) (mv command)


7. Change the directory myadmin1 to phpmyadmin (mv command) and restart the server ..

 
3, MysqlImportant points in Data Backup
Generally, there are multiple methods for mysql backup, such
1. Use phpmyadmin to import and export data, or use mysqldump.
2. Back up data through the backup function of the website itself
3. Back up the database file directly, that is, package the database directory.

Here, let's talk about the 3rd items that must be paid attention
In the wdcp background backup, 3rd backups are also used.
However, there is a limitation in this method, that is, there is no problem with the backup in the case of the mysql storage type.
However, if the innodb Storage type is used, this backup will be very problematic.
What's the problem? The actual data is not backed up

Therefore, remember to back up the ibdata file in the same directory during backup if you are using the innodb data engine or storage.
This ibdata file is large (when your database is large or the data volume is large), it is your database file, so remember to back up this
Otherwise, your data may not be retrieved.

A safer method is to directly back up the mysql database directory, such
/Www/wdlinux/mysql/var
This entire directory is packaged and backed up, so it will never be wrong (of course, you have not modified the default directory)
 
This tutorial is taken from the wdlinux Forum http://www.wdlinux.cn/bbs ~
 

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.