Wdcp/wdlinux Common Tools and command sets

Source: Internet
Author: User
Tags vps zend

Force changes to the root password of MySQL, which is useful when you forget your MySQL password

sh/www/wdlinux/tools/mysql_root_chg.sh

FTP profile check, useful when FTP cannot connect or log on
sh/www/wdlinux/tools/pureftp_conf_check.sh

WDCP permissions check, useful when WDCP background is not working or some features are unavailable
sh/www/wdlinux/tools/wdcp_perm_check.sh

WDCP the database cannot be connected, such as login background prompt "Unable to connect MySQL, please check if MySQL is started and user password is set correctly"
sh/www/wdlinux/tools/mysql_wdcp_chg.sh

WDCP Background login password forgot how to modify
sh/www/wdlinux/tools/wdcp_login_chp.sh

WDCP Background limit logon IP Settings error fix method
sh/www/wdlinux/tools/wdcp_login_cbip.sh

How to fix the number of WDCP background limit login errors
sh/www/wdlinux/tools/wdcp_cdip.sh

Ways to modify time and sync time
sh/www/wdlinux/tools/wdcp_ntp.sh
Hard Disk partitioning gadget
As we all know, in the WDCP,WDOS,LANMP and other installation environment, the Web environment and WDCP directories are installed in the/www directory

In several cases
1 VPS has two hard drives, one system points, one data disk
2 installation/www in the system disk, space is not enough to use or load new hard disk, etc.

In both cases, it is generally possible to load a newly loaded partition or hard disk into the/www directory, but it is a little cumbersome to operate.

Here's a handy gadget
sh/www/wdlinux/tools/wdcp_disk_xvdb.sh

Where applicable
The newly loaded hard drive is/dev/xvdb when available, mainly in the context of the VPS, sub-system disk and data disk
can be executed before installation or after installation, but it is best to perform before installation
Port description
By default, the background of WDCP is used to port 8080 and can be modified

In the Lamp environment
HTTPD is for Port 80.

In the LNMP environment
Nginx is used to port 80.

In the LNAMP environment.
HTTPD is used on port 88 (not modifiable)
Nginxd is for Port 80.

Hope no one asks why in the Lnamp environment, HTTPD becomes the port of 88

Related Start-up commands
Service Wdapache start|stop|restart WDCP background Start | stop | restart
Service Nginxd start|stop|restart nginx Services Start | stop | restart
Service httpd start|stop|restart httpd services Start | stop | restart
Service PUREFTPD start|stop|restart FTP service Start | stop | restart
Service mysqld start|stop|restart MySQL services start | stop | restart


WDCP Background Service Environment installation directory (WDCP2 only, 1.X no)
/www/wdlinux/wdapache WDCP Backstage Use Apache
/www/wdlinux/wdphp WDCP Background php

Related Software Installation directory
/www/wdlinux/nginx Nginx installation directory
/www/wdlinux/apache Apache installation directory
/WWW/WDLINUX/PUREFTPD PUREFTPD installation directory
/www/wdlinux/zend Zend installation directory

Default MySQL database file and log directory
/www/wdlinux/mysql/var

Virtual Host configuration file
/www/wdlinux/nginx/conf/vhost
/www/wdlinux/apache/conf/vhost

Related configuration Files
/www/wdlinux/etc/my.cnf
/www/wdlinux/etc/php.ini
/www/wdlinux/nginx/conf/nginx.conf
/www/wdlinux/php/etc/php-fpm.conf
/www/wdlinux/apache/conf/httpd.conf
/www/wdlinux/apache/conf/httpd-wdl.conf
/www/wdlinux/etc/pure-ftpd.conf
/www/wdlinux/etc/pureftpd-mysql.conf

Default Web Log directory
/www/wdlinux/nginx/logs
/www/wdlinux/apache/logs
You can also set the default in the background is
/www/web_logs


Default backup file directory (background can be set)
/www/backup

Default Recycle Bin directory (background can be set)
/www/trash

Wdcp/wdlinux Common Tools and command sets

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.