Viewing 91 to 93 of 93 items
Archive | Server RSS feed for this section

Setup cronjob for Magento’s server

Here is some popular command when you set a cronjob up for Magento by SSH. 1. Setup cronjob run every 5 minutes: */5 * * * * wget -O /dev/null -q http://www.example.com/cron.php > /dev/null     or */5 * * * * /bin/sh /[magento_path]/cron.sh 2. Setup running reindex data every 60 minutes: */60 * *  Full Article…

0

Solved – 504 Gateway Timeout Error In Nginx Web Server

-Open your nginx.conf file located in /etc/nginx directory -Add this below piece of code under http { section client_header_timeout 3000; client_body_timeout 3000; fastcgi_read_timeout 3000; client_max_body_size 32m; fastcgi_buffers 8 128k; fastcgi_buffer_size 128k; Note – If its already present , change the values according. That’s it. Reload Nginx and php5-fpm. service nginx reload service php5-fpm reload If the error persists  Full Article…

0

Popular Linux commands

1. df -h  (calculating the size of server) 2. du -s directory (calculating the size of directory) 3. rm -rf directory/ (removing that directory and all childs of it) 4. resize2fs (after inscreasing disk space by using Amazon tools, we need to run this command to finish the inscreasing action) 5. cp -r /home/hope/files/* /home/hope/backup  Full Article…

0