find . -type f -exec replace '' '' -- {} \;
eg: find . -type f -exec replace '' '' -- {} \;
Tuesday, July 20, 2010
Thursday, July 8, 2010
cpanel backup with wget
wget --http-user=YourUsername --http-password=YourPassword http://YourWebsiteUrl:2082/getbackup/backup-YourWebsiteUrl-`date +"%-m-%d-%Y"`.tar.gz
Friday, June 18, 2010
transfering a reseller account ?
For transfering a reseller acct after transferring change the reseller ownership.
in /etc/trueuserdomains also check the accounts are listed in whm.
in /etc/trueuserdomains also check the accounts are listed in whm.
Change reseller accounts IP address?
login to whm as root
then go to reseller centre
select that reseller >> Manage reseller's IP delegation
then assign our IP
select that reseller >> Manage reseller's main/shared IP >> assign our IP
Then select the reseller >> Edit reseller privileges & nameservers >> give full privilge
THen login into WHm as reseller then assign the IP address to our IP(list accts >> under IP ...edit IP adress).
then go to reseller centre
select that reseller >> Manage reseller's IP delegation
then assign our IP
select that reseller >> Manage reseller's main/shared IP >> assign our IP
Then select the reseller >> Edit reseller privileges & nameservers >> give full privilge
THen login into WHm as reseller then assign the IP address to our IP(list accts >> under IP ...edit IP adress).
Getting following message in cron email? Sorry, allow_url_fopen variable
Getting following message in cron email?
======
Sorry, allow_url_fopen variable can't be set to 1 from php script.
You should set allow_url_fopen = 1 in your php.ini file in order to run
Backlink Index Express
========
Solution: change crontab with curl
i.e */5 * * * * curl http://thewebsitemarketingpro.com/bie_v6/indexexpress.php
for php give the full path.. i.e /home/uname/public_html/thewebsitemarketingpro.com/bie_v6/indexexpress.php
======
Sorry, allow_url_fopen variable can't be set to 1 from php script.
You should set allow_url_fopen = 1 in your php.ini file in order to run
Backlink Index Express
========
Solution: change crontab with curl
i.e */5 * * * * curl http://thewebsitemarketingpro.com/bie_v6/indexexpress.php
for php give the full path.. i.e /home/uname/public_html/thewebsitemarketingpro.com/bie_v6/indexexpress.php
Set local php.ini
carete php.ini under user account then put the following snipet in the .htaccess file
===========
suPHP_ConfigPath /home/reiedac/public_html/php.ini ===>>>>(path to php.ini)
===========
===========
suPHP_ConfigPath /home/reiedac/public_html/php.ini ===>>>>(path to php.ini)
===========
Thursday, June 3, 2010
Command to see the contents of your MBR
To see the contents of your MBR, use this command:
dd if=/dev/hda of=mbr.bin bs=512 count=1 od -xa mbr.bin
dd if=/dev/hda of=mbr.bin bs=512 count=1 od -xa mbr.bin
Subscribe to:
Posts (Atom)