Website Service Management System WDCP series of Tutorials (10)

Source: Internet
Author: User

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

After we have installed 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, WDCP hidden nginx version number tutorial

Each major portal hides the Nginx version number they're doing this for a reason, so let's learn.

A total of two steps!

First step:

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

Then open to find tcp_nodelay on; Add Server_tokens off in the line below; Can

As:

Keepalive_timeout 60;

Tcp_nodelay on;

Server_tokens off;

This is ok (master don't laugh, the tutorial is to be convenient and simple)

Step Two:

Skip ~~~~~ If new version is upgraded

But it's better to mention it.

or in the same directory to find fcgi.conf open

Then find Fastcgi_param server_software nginx/$nginx _version;

Change into: Fastcgi_param server_software nginx; Can

Then restart the Web service or reboot the server.

2, phpMyAdmin upgrade method

Recently, some people complain that the phpMyAdmin version in WDCP is too low ... I think so. Try to upgrade the next. It worked.. Share my ways with everyone

Previous phpMyAdmin version

I upgraded the phpMyAdmin to 3.5.6, all in SSH.

1, first we find 3.5.6 download address

(http://jaist.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.5.6/phpMyAdmin-3.5.6-all-languages.tar.gz)

2, in SSH into the/www/wdlinux/wdcp/in the wget command to download

(In the WDCP panel, the phpMyAdmin folder is not visible under this path.) Be sure to be in ssh)

3, Tar Decompression

4, the directory name phpmyadmin-3.5.6-all-languages renamed to Myadmin1 (any) (MV command)

5, the directory phpmyadmin the configuration file config.sample.inc.php copy to the directory myadmin1 (CP command)

6, the directory phpMyAdmin renamed to Phpadmin2 (any) (MV command)

7, renamed the Directory Myadmin1 to phpMyAdmin (MV command), and restart the server.

3, MySQL data backup important point

In general, there are several ways to back up MySQL, such as

1 Import Export via phpMyAdmin, or mysqldump

2 backup through the site itself

3 by directly backing up the database file, that is, packing the database directory

Here, the 3rd one, must pay attention to matters

In the backup of the WDCP backstage, it also uses the 3rd

But this way, there is a limit, that is, in the MySQL storage type, so the backup is completely no problem

But if you are using a InnoDB storage type, this backup will be problematic.

What's the problem? The actual data is not backed up to

So, remember, if you're using a InnoDB data engine or storage, back up the Ibdata file in the same directory

This ibdata file is large (your database is large or large) is your database file, so remember to back up this

Otherwise, your data may not be returned.

A more secure approach is to simply back up MySQL's database directory, such as

/www/wdlinux/mysql/var

This entire directory is packaged and backed up, so there's absolutely no mistake (you haven't modified the default directory, of course)

This tutorial is excerpted from Wdlinux forum http://www.wdlinux.cn/bbs/, reproduced please specify ~

Related reading:

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 tutorial Five

Web Service Management System WDCP series six

Website Service Management System WDCP series of Tutorials (vii)

Web Services Management System Tutorial series (eight)

Website Service Management System series of Tutorials (ix)

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.