Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
VPS Host maintenance can not be separated from tools, first of all to introduce a useful tool: Pietty (search for Pietty.exe to find a lot of download address, green version, direct download can be used).
Problem one: The Linux system in the Web site program (DEDECMS) generated static files, can not be deleted through FTP, unable to modify properties through FTP (such as: 777), can only modify FTP uploaded files.
Reason: This is the FTP and website running account is not unified issue.
Solution: Pietty.exe Remote Landing VPS Host, and then press the following command operation:
cd/home/Site Directory
chmod 777 file or directory RF
Example: Cd/home/web
chmod 777 HTML-RF
CD HTML
chmod 777 * RF
Note: The example above is to change the properties of all files in the HTML folder and directory in the Web to 777, and then you can delete the files using FTP.
Question two: Database data too much, use CMS program or similar phpMyAdmin tool backup unrealistic, and VPS can not download and upload database files, how to do?
Solution: Linux Database backup command:/BIN/CP–RFP database Directory page Directory
Example:/bin/cp-rfp/var/lib/mysql/websitedb/home/web
Note: the example means to copy the database Websitedb folders and files to the Web site Directory (web), and then use FTP to download the line.
Question three: The VPS host uses the process often to appear the database connection not to be on the problem.
Reason: In fact, many times because of the full log folder log is caused by, then need to clean up some log files.
Solution:
First of all to find out which files can be deleted, and the host website service to understand: VPS Host Linux system needs to periodically clean up the system log file address for/var/log/httpd, delete command: RM-RF filename.
Instance:
[Root@west113 ~]# CD/VAR/LOG/HTTPD
[root@west113 httpd]# ls
Access_log Error_log
[root@west113 httpd]# RM-RF Error_log
[root@west113 httpd]# ls
Access_log
Note: Operation delete File special attention ha, do not mistakenly deleted, hehe. To restart MySQL after you have done the above steps.
MySQL restart command: Service mysqld restart
The above issues are my VPS host in the process of using the most frequently encountered problems, these commands are also site managers must master the command, or, you can only continue to regret Babaa waiting for technical personnel to deal with it!
This is the starting Address Zhou Blog: http://21jn.net/?p=38 (reprint please keep)