All posts by Mehrad

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

linux terminal text editors interfaces

Usually when you are remoting your server via SSH or Telnet, you are dealing with command interface and almost every configuration in your server needs a text file be edited, so one of the most useful tools everyone needs for server administration, configuration and maintenance is a text editor that works within command interface.

Base on thegeekstuff.com poll , top 5 best linux text editors are Vim, gEdit, Nano, gVim, Eclipse and Emacs as shown in the chart below:

Image: TheGeekStuff  -  [ Top 5 Linux Text Editors ]

Continue reading linux terminal text editors interfaces

Softwares to Remote Linux Servers

Typically when you had installed the OS on your server, the monitor and input devices like keyboard and mouse are no longer need to attached to the server, so the only way remains to control your server is the remote connection. The most common interface for remote connection among linux users is command line.

There are plenty of softwares you can use to remote your server. I searched web for benchmark, but did not find any, so I’m going to introduce those softwares I know and I’v worked with: Continue reading Softwares to Remote Linux Servers