Fedora

Install dpkg on fedora machine

First of all check if dpkg is installed on your machine by typing the following on the command line

[root@localhost php]# dpkg

If dpkg is installed you will get some similar response

[root@localhost php]# dpkg
dpkg: need an action option
 
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Change the default editor for git commit

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

$ cd
$ emacs .gitconfig
 

Once you have opened the file add the following lines to it

[core]

Fedora install pecl uploadprogress

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.

$ yum install php-devel

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
 

Activate, Deactivate and Disable icon are disabled or greyed on the network console

If you are using network manager and the old default network is disabled and the icons are greyed out the just do the following,

For each connection check if "controlled by Networkmanager" is enabled. If it is enabled disable it.

Now you should have the option to activate and deactivate as well as the delete option.

Installing Adobe Reader 8.1.3 in Linux

Just a few months ago , Adobe came up with the Adobe Reader for Linux OS .

Installation
1 Download the latest version of Adobe Reader from the Adobe Download Page

2 Select the rpm and download the rpm

3 then just run this command

rpm -i AdobeReader_enu-8.1.3-1.i486.rpm

Usage

To run Adobe Reader, click Applications → Office → Adobe Reader 8 menu item. Or run the following command in terminal:

/opt/Adobe/Reader8/bin/acroread