Error: “Error getting a Request Token: Bad Request”

Q: Why do I receive this error “Error getting a Request Token: Bad Request” when I try to add Online Account to my Linux?

 

A: This Error pops up when your computer time is not acceptable by Google server. This issue can be solved by setting your computers time and region.

In below you can see the link of RedHat Bugzilla post about such a problem.:

https://bugzilla.redhat.com/show_bug.cgi?id=752611

Setup MySQL Server on CentOS or RHEL

One of the most common databases is MySQL and the best medium for this database type is Linux. To setup this database, you should follow the following steps in order to install it easily and securely.

These steps contains:

1. Installing MySQL server daemon
2. Installing MySQL module for PHP
3. Starting MySQL daemon
4. Follow security wizard
5. Set MySQL daemon to run at boot

These 5 steps are the most basic things you should do before using your server for business.

Continue reading Setup MySQL Server on CentOS or RHEL

Edit GRUB list

Usually when you have two operating systems on a single computer and one of them is Linux, you will face this problem that by updating the Linux (especially when your Linux kernel is upgraded) your OS list (if you are using GRUB) order will displayed in a new order and the Linux with new kernel will become the first choice of the list. Apparently this is hard for most of people if their first choice was alwas the other OS (usually Windows), because in GRUB after few seconds, if you don’t press any key the GRUB it self will select the first choice, and after the recent update the first choice has changed. By following the steps below, you can reorganize the GRUB list order. Continue reading Edit GRUB list

Install Google Chrome on Fedora 16

One of the worst things about linux distros is that they are still using FireFox as the default browser! Seems the developers are thousand years old or something! The latest browser ranking due to some information gathered in 2011, shows that Google Chrome browser is way more perfect that it’s closest competitor. So I’m going to tutor how we can install this precious browser on linux.

The following tutorial will work on other Fedora versions and it might work on all Redhat family (CentOS and Redhat). Continue reading Install Google Chrome on Fedora 16

Shutdown Fedora 16 With GNOME 3

This seems a bad bad problem, when your first install the “Fedora 16 GNOME 3″ to use it’s fabulous features and when you had fun for a few or more hours and it’s time to shut it down to rest, you will notice that there is no ” Shutdown ” or ” Power Off ” button exists anywhere even if you press the physical power button it will just suspend your computer !!

Well, you have few ways to make that ” Power Off ” apear:

  1. Simple way ( Holding Alt Key )
  2. Intermediate Way ( Install and application )
  3. Advanced Way ( Edit Gnome config )

Install PHP 5.3 on CentOS/RHEL

In this tutorial, like other tutorials, I assume that you have the root access to the server. I also assume that you have already installed Apache on your OS. (See installing Apache instructions here)

Notice: If you don’t have former PHP version on your server, just skip this first step and move on to the next step named “Preparing to Install PHP 5.3“.

Continue reading Install PHP 5.3 on CentOS/RHEL

Install Apache on CentOS/RHEL

Brief Introduction About Apache

To describe Apache HTTP Server, I prefare to use exact phrases from it’s Wikipedia page:

The Apache HTTP Server, commonly referred to as Apache (/əˈpætʃiː/), is web server software notable for playing a key role in the initial growth of the World Wide Web.
Apache was the first viable alternative to the Netscape Communications Corporation web server (currently named Oracle iPlanet Web Server)
As of March 2012 Apache was estimated to serve 57.46% of all active websites and 65.24% of the top servers across all domains.
Apache supports a variety of features, many implemented as compiled modules which extend the core functionality.
Some common language interfaces support Perl, Python, Tcl, and PHP.
Although the main design goal of Apache is not to be the “fastest” web server, Apache does have performance similar to other “high-performance” web servers.

So it would be a good choice to use Apache for your server.

Continue reading Install Apache on CentOS/RHEL

Installing packages on CentOS / RHEL

Most of the times when you want to setup a server for specific matter, it’s recommended to install the OS in minimal mode and install packages you want individually and configure them one by one. You can choose different ways to install your desired packages:

  • Using YUM command
  • Using RPM command
  • Compiling each package

Each of these ways has it’s positive and negative points. that I’m going to write in brief:

Continue reading Installing packages on CentOS / RHEL

Thing Helped Me Through Linux OS