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;