Home » Archive

Articles in the Linux Category

Latest News, Linux, PHP, Software, featured »

[21 Aug 2009 | View Comments | 771 views]
Moving Magento site from development server to live server

Recently I faced problem to move magento site from local (LAMP) environment to web server. I am posting steps to upload site on server.

1. Make tar / zip of code.

$ tar -cvvf site.tar /opt/lampp/magento/

2. Take backup of database through phpmyadmin. Check “Disable foreign key checks” to avoid error in restore process.

Headline, Linux, Software »

[3 Aug 2009 | View Comments | 898 views]
Installing a minimal Debian system

I am making this post for users with limited computer resources/old machines. Users with newer and faster machines may also try this if they want their completely customized operating system.
I must also clarify that I personally don’t like bloatwares like Windows Vista etc.
Take my example, when I first installed Ubuntu on my desktop, I had a complete GNOME desktop with many applications pre-installed which I had no use for! So, I started uninstalling that bloat from my system to make my OS slim so that it can run properly on …

Latest News, Linux, Symbian, featured »

[27 Jul 2009 | View Comments | 157 views]
Make free internet calls (Google, skype, MSN, SIP, WeFi) from your mobile

Symbian Smart Phones are very popular these days. A lot of hot applications are in market for symbian platform. Thanks to Nokia for creating this platform. Now I am going to tell you about a very useful application of smart phone, If you are a freelancer (like me), CEO and other marketing executive, have to remain online all the time for customer inquiries, then I am sure you will like this application.
Go to http://www.fring.com/ download in install application in your phone. Run this application. It will ask you for …

Linux, Symbian, featured »

[27 Jul 2009 | View Comments | 27 views]
Manage linux server from your SmartPhone

Today I am going to write something very interesting, Suppose you are enjoying holiday and suddenly one of your visitor call you and inform you that your Database Server is not responding.. You are in hill area and do not have have any cyber cafe around.. hmm?
I tell you the gr88 solution. Download Putty for your smart phone (I have Nokia 5800) and install. Through this application you can execute linux command from your phone console to your server. To use this with your server you must have Static IP …

Linux, PHP »

[7 Jul 2009 | View Comments | 64 views]

Recently I faced a big problem with large file uploads. One of my client has a Centos5  dedicated server. I created a script for Video upload and conversion. I also added a progress bar to show file upload progress. This progress bar has limit of 100MB because of flash limitation. Everything was working fine for files less than 50MB, but as size grows the upload hangs on 20 – 30%.. I did every thing in php.ini and apache.conf but nothing helped. I wrote to server admin at least 50 times …

Javascript, Linux, PHP »

[25 May 2009 | View Comments | 16 views]
jQuery and Me…

I use mootools for all JS related tasks. Mootools is good library but has very limited support and few plugin available on net (most of you are not agree of this but it’s my openion based on 2 year exp with mootools) .
So I decided to move on to another framework. There is many JS toolkits available.
Dojo
jQuery
Prototype
YUI
etc.. much much more
But these are key players. I selected jQuery among these frameworks.. Why? because It has gr8 support good community and top of all, has rich plug-in directory.
To go through jQuery I …

Cakephp, Linux, PHP »

[25 May 2009 | View Comments | 65 views]

Hi friends,
2 days ago I got a project in which I have to upload avi, mpeg or 3gp movie clip and convert this clip to flv as well generate thumbnail for this video. I know that this can be done through ffmpeg. But I didn,t know how haha..
Well I searched enough and start making environment for development. I did following mistakes.. I am listing those  mistakes. I am 100% sure it will save your day.
I was using Windows environment: FFmpeg is primarily made for Linux environment not for windows. Some …

Linux, PHP »

[16 Jan 2009 | View Comments | 22 views]

Recently I came across following when deploying webapplication on Linux serevr…
SoftException in Application.cpp:303: UID of script “/home/xyz/public_html/en/pupgrade.php” is smaller than min_uid
The problem was file owner and group as root (I was uploading file through root account)
Solution: change file owner and group to webhoting user..  generally it is your user name..
/home/[user]/public_html/en/pupgrade.php
The linux command for this task is
$ chown -R username:usergroup directory
enjoy