Centos wdcp installation and Security Settings tutorial

Source: Internet
Author: User

Centos wdcp installation and Security Settings tutorial
1. WDCP installation source code installation (ssh Login server, execute the following operation can be, need root user identity installation) wget http://dl.wdlinux.cn: 5180/lanmp_laster.tar.gz tar zxvf lanmp_laster.tar.gz sh install. sh select 2 to install the Nginx web engine. (In the background of wdcp, You can freely switch the nginx, apache, nginx + apache application environments.) 2. WDCP security settings 1. modify the default password of MYSQL and WDCP 2. modify SSH port 3. modify WDCP default port 4. disable unnecessary ports. delete all the default pages (especially the homepage and php probes) under/www/web/default. 6. hide the Nginx version number (insert server_tokens off): vim/www/wdlinux/nginx/conf/nginx. conf http {include mime. types; default_type application/octet-stream; Limit 128; Limit 32 k; limit 4 32 k; client_max_body_size 8 m; limit_conn_zone $ binary_remote_addr zone = one: 32 k; server_tokens off;

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.