File / Folder Ownership Problem
If you can’t edit a certain file and give you an error message, you will need to change the owner for that file or folder. How? use WinSCP to login as a root then go to that file/folder and right click...
View ArticleConvert mysql Database to utf8
If you want to convert a database to UTF8 you can use this script Phoca Changing Collation Tool Download link http://www.phoca.cz/download/category/17-phoca-changing-collation-tool VIN: any arabic data...
View ArticleCron Job: Auto Index Management
php /home/USERACCOUNT/public_html/shell/indexer.php reindexall
View ArticleCron Job: to backup database
DATE=`date +\%d-\%m-\%y-\%H:\%m:\%S`; /usr/bin/mysqldump -h localhost -u USERNAME -pPASSWORD DATABASENAME | gzip > /home/ACCOUNT-USER/mysql_backups/DATABASENAME-${DATE}.sql.gz Where USERNAME ->...
View ArticleCron Job: Delete Files & Directories Older Than x Days or Minutes on Linux
The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than...
View ArticleAutomatic CPanel MySQL Backup Script (PHP)
Download: cpanel_dbbackup_v20111029 Source: http://www.hostliketoast.com/developer-channel/
View ArticleCpanel/Webmail Login – IP Address has Changed! – How to login through Dynamic...
Just like the title above happens if you login to the Cpanel / Webmail using Internet connections that have a dynamic IP. Dynamic IP is the IP numbers that change itself is happening on the ISP...
View ArticleEscaping a password using mysqldump console
You have to quote the password, like this: mysql -u root -p'PASSWORD' You must do this if the password has any of the following characters: * ? [ & ; ! | $ Source: http://superuser.com/a/123953 The...
View ArticleHow to pause wget downloads in terminal
use wget with the -c option so – wget http://file To pause the download press Ctrl+C To resume the download – wget -c http://file In the same directory of course. Source:...
View Article
More Pages to Explore .....