Log in to your account using SSH and change to the directory where the apache logs available.
Then issue the command given below.
awk ‘{print $1}’ access.log | sort | uniq -c | sort -n | tail -n 10
Log in to your account using SSH and change to the directory where the apache logs available.
Then issue the command given below.
awk ‘{print $1}’ access.log | sort | uniq -c | sort -n | tail -n 10
Log in to your account using SSH and Change to the directory where you installed Magento.
Run the blow given commands
touch /opt/ocentric/magento/current/maintenance.flag
service httpd restart
Then edit the index.php and assign the IPs to be shiteslited to the array $allowed = array(‘xxx.xxx.xxx.xxx’);
Log in to your account using SSH and Change to the directory where you installed Magento.
Run the blow given command
rm maintenance.flag
service httpd restart
php shell/cache-clear.php -all
Log in to your account using SSH and Change to the directory where you installed Magento.
Run the blow given command
touch maintenance.flag
service httpd restart
Its also possible that we can the website accessible only for some given IPs
For that edit the index.php file and assign teh IPs to the array $allowed = array(‘xxx.xxx.xxx.xxx’);
<?php $topMenuItems = wp_get_nav_menu_items(‘header-top-menu’ ); ?>
<ul>
<?php foreach($topMenuItems as $topMenu) { ?>
<li><a href=”<?php echo $topMenu->url; ?>”><?php echo $topMenu->title; ?></a></li>
<?php } ?>
</ul>
Check File System Disk Space Usage : df
Display Information of all File System Disk Space Usage : df -a
Show Disk Space Usage in Human Readable Format : df -h
Display Information of /home File System : df -hT /home
Display Information of File System in Bytes : df -k
Display Information of File System in MB : df -m
Display Information of File System in GB : df -h
Display File System Inodes : df -i
Display File System : df -T
Include Certain File System : df -t ext
Exclude Certain File System : df -x ext
Display Information of df Command: df --help
You can delete it using the below query
UPDATE sales_flat_quote SET is_active=0 WHERE customer_id =CUSTOMERID ;
We can add more countries from System -> Configuration-> General-> Country Options -> Allow Countries