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. WDCP hide Nginx version number tutorial major... 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 , WDCP Hide Nginx Version 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.
 
 
2 Phpmyadmin Upgrade 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 , Mysql Important 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 ~
 
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.