27 August 2010
By junedkazi
One needs to have dpkg installed on the linux box to open or install a.deb file.
TO check if the dpkg is installed one can check using the following tutorial Install dpkg on fedora machine
Now go to directory where package.deb is kept and type the following command
[root@localhost Downloads]# dpkg -i package.deb
17 August 2010
By junedkazi
There are many ways to change the default editor used for entering committing message to the git repository.
1 - Commit using the command line itself
$ git commit -m "my first commit"
2 - Change the editor using the command line and git command
I prefer emacs so I will use emacs as my default git commit editor.
$ git config --global core.editor "emacs"
3 - Add the editor info to the gitconfig file
Once you have opened the file add the following lines to it
01 August 2010
By junedkazi
To install pecl-uploadprogress you might need to do the following
1 - Login as root.
$ su -l
Password: "Enter your root password"
2 - check if php-devel is already installed. So just run the following command and if it is not present it will install it and if it is prsent it will just update it.
3 - Once php-devel is installed just run the following command to install pecl-uploadprogress
$ pecl install uploadprogress
4 - Once it is installed add the following line to your php.ini file