Install & Configure CVS on RHEL, Fedora 9/10.

Hi Friends,
I am Sharing method to Install & configure a basic steps to installing and configure CVS on RHEL Fedora 9 /10.

  1. First of all Install xinetd package.yum -y install xinetd

  2. Install cvs package.yum -y install cvs*

  3. Create a group cvs.

  4. Create a user cvsroot and assing it to cvs group.

  5. Now make sure that following entries are present in your /etc/services file if the entries are not present then add it manually save & exit.

    You can check entries by executing this command cat /etc/services | grep cvspserver

    cvspserver 2401/tcp # CVS client/server operations

cvspserver 2401/udp # CVS client/server operations

  1. Check your /etc/xinetd.d/cvs file and check that following entries are available and if now as above add it manually.

    Entry will look like this:-

    # default: off

    # description: The CVS service can record the history of your source

    # files. CVS stores all the versions of a file in a single

    # file in a clever way that only stores the differences

    # between versions.

    service cvspserver


    port = 2401

    socket_type = stream

    protocol = tcp

    wait = no

    user = root

    server = /usr/bin/cvs

    server_args = -f –allow-root=/home/cvsroot pserver


  2. Now restart your xinetd service using following command

    service xinetd restart or /etc/init.d/xinetd restart

  3. Now allow port 2401 which is cvspserver port from iptables and also allow

    SELinux can do that by doing this ( In “System”->”Administration”->”Security Level and Firewall”, add firewall exception of port “2401” corresponding to “cvspserver” service, and also remember to “Modify SELinux policy”->”SELinux Service Protection”->”Disable ELinux Service Protection for cvs”. )

    Now this steps are important

  4. Login as a โ€œcvsrootโ€

  5. execute cvs -d /home/cvsroot/ init

  6. now enter into /home/cvsroot/

  7. Assign permission chmod 771 CVSROOT

  8. This time,all local real system users can log into CVS server with their own passwords.
    If you want to disable, you can do by:

  9. chmod 644 /home/cvsroot/CVSROOT/config

  10. vim CVSROOT/config

    Here you need to uncomment the line where #SystemAuth = yes. And set SystemAuth = no.

Then now your system users cannot use CVS service with their own system passwords, except you assign them manually in file /home/cvsroot/CVSROOT/passwd.

If passwd file is not available then create user by executing following commands:-

htpasswd -d -c /home/cvsroot/CVSROOT/passwd raghu (option -c is only use when you are creating first time)

To add additional user:-

htpasswd -d /home/cvsroot/CVSROOT/passwd rajiv

16. To control user access in CVS, there are three files in /home/cvsroot/CVSROOT/, respectively named passwd, readers, writers. The file readers and writers are not there by default, so you have to create them manually.

In file “passwd”, ithere stores the shadow files for username and password, following the rule:

{cvs usrname}:[encrypted pwd]:[equivalent system usrname]

where the second field is encrypted with crypt(3), just like in /etc/shadow.

The thrid field equivalent system usrname means the corresponding system priviledge the cvs usrname has.

In file “readers”, there stores the list of cvs usrnames of whom you want to enable to only have read acess.

Similarly, in file “writers”, there stores the list of cvs usrnames of whom you want to enable to only have read acess.

Now, let us suppose we have CVS users “raghu”, “rajiv”, “anonymous”. And we don’t want to give them system access, which means the corresponding system priviledge the cvs usrnames have are all null. So, we need to create an equivalent system user, which names “roadies”, who has no system priviledge at all.

$ useradd -g CVS -M -s /sbin/nologin roadies

Then edit file “passwd”, make it like:




Now suppose we want to let raghu has write acess while rajiv and anonymous only have read acess.

Then edit file “readers”, make it like:



And edit file “writers”, make it like:


Then it is all finished.

(14) Test login:

$export CVSROOT=:pserver:raghu@the_server_name:/home/cvsroot

$ cvs login

(System will ask for password for raghu)


There should be no error when you have successfully login to the CVS server.

Please Click on Google +1 button and Add your ratings if this works for you and you like it.

Enjoy CVS ๐Ÿ™‚ Enjoy Linux and Open Source ๐Ÿ™‚

Howto: Running TeamViewer 5/6 as root on Linux | Fedora | Ubuntu | RHEL | CentOS


First of all Let me tell you that this HOWTO is performed on Fedora Ubuntu Red Hat Enterprise Linux and CentOS. This post is applied for TeamViewer Version 5 and 6.

Here is the post on TeamViewer on Linux Again. Hoping that you guys enjoyed previous post regarding TeamViewer Installing on Linux.

Now Here I am going to post 1 trick and tips for TeamViewer. Many Users who likes to work as root and but in TeamViewer 5 there is restriction for Running as root.

Whenever you are trying to run TeamViewer as root from Terminal, You will get message like below :-

TeamViewer must not be executed as root!

By Following very few steps you will be able to run TeamViewer as root.

Perform Following Steps to run TeamViewer As root.

  1. Of Course you have to be root to perform these all steps.
  2. Please Open Terminal on Fedora, Red Hat, CentOS ( Applications -> System Tools -> Terminal )
    Please Open Terminal on Ubuntu ( Applications -> Accessories -> Terminal )
  3. Now Lets find where exactly teamviewer command is. Execute Following command to Find it out.
    []# which teamviewer
    <– You will get this kind of output on your terminal
  4. Be safe So First Lets take a backup of Original TeamViewer Command. Execute Following Command
    cp /usr/bin/teamviewer /usr/bin/teamviewer-orig 
  5. Let’s Open teamviewer file. Here in /usr/bin/teamviewer they have put the restriction for root user. So Lets Remove it. Open File By Executing vim /usr/bin/teamviewer and You will able to see following lines into /usr/bin/teamviewer :-

    userid=$(id -u)if [ $userid = 0 ]
    echo TeamViewer must not be executed as root!
    exit 1

    CHANGE those line to

    ##userid=$(id -u)

    ##if [ $userid = 0 ]
    ## ย ย ย ย ย ย  echo TeamViewer must not be executed as root!
    ## ย ย ย ย ย ย  exit 1

    Save and Exit this file ( Press “ESCthen Press :wq! )


  6. To Open TeamViewer from GUI. Click on Applications –> Internet -> TeamViewer
  7. To Open TeamViewer from Terminal in Fedora, Red Hat and CentOS. Click on Applications -> System Tools -> Terminal. On Terminal Execute Command teamviewerTo Open TeamViewer from Terminal in Ubuntu. Click on Applications -> Accessories -> Terminal. On Terminal Execute Command teamviewer
  8. That’s It Guys

Hope you all like this tip about Running TeamViewer as root on Fedora, Ubuntu, CentOS and RHEL. Please let me know if you face any difficulties while performing above steps. I have not tested it on Ubuntu but it should work with same way.

If you have not installed TeamViewer then please install it by visiting my previos post on TeamViewer :-

Let me have your feedback guys. Thanks for reading Article.

Enjoy TeamViewer on Linux ๐Ÿ™‚ Enjoy TeamViewer as root ๐Ÿ™‚ Enjoy Linux ๐Ÿ™‚ Enjoy Open Source ๐Ÿ™‚

TeamViewer must not be executed as root!

Howto: Install Google Android on PC | Google Android Live CD/USB

Hello Guys.

As we all Know google Android already covered fantastic market in Mobile Phone’s World. Its Getting Famous and Famous Day by day. It is getting famous because its a Google Product, Open Source Product and More Specially its a Linux Based. So Every One is Enjoying it.

Right now there are so many mobile Companies with Google Android. Like Samsung Galaxy Series, MicroMax and Lots to come…… Lets wait and watch for more Android World.

Today I am going to Show you that how can you Run Google Andoid OS on your Linux Box Using VirtualBox. Every by following this howto you can Run Google Android on your system with Live CD/USB.

Remember by following this Howto you will able to boot Google Andoid OS Live CD/USB. It won’t affect to your system at all.

For performing these steps you need some basic knowledge of Installing RPM and Basic Friendly with VirtualBox.

Perform Following Steps to Install/Run Google Android OS on PC.

  1. Open Terminal. ( Click on Applications -> System Tools -> Terminal)
  2. In Terminal, Be as a root by executing su -. and Download VirtualBox from this link
  3. Install VirtualBox RPM as root and Exit from root prompt.
  4. Now Point your browser to and Download Google Andriod.You have to download two files. (i.e. liveandroidv0.3.iso.002 liveandroidv0.3.iso.001 ).
  5. Once Download gets finished execute Following command
    cat liveandroidv0.3.iso.002 liveandroidv0.3.iso.001 > google-android.iso
  6. Now open VirtualBox. ( Applications -> System Tools -> Oracle VirtualBox)
  7. Click on New -> In That New Window Type Linux -> Press Next -> Assign Amount of RAM you want to assign 512 -> Press Next
    -> Create New Hard Disk ->
    Press Next Again -> Now Select Dynamically expanding storage -> Press Next Again -> Now Define Location where you want to save Hard Disk and Select Size you want to assign -> Click on Finish -> Again click on Finish
  8. Now Click on File -> Virtual Media Manager. Here click on CD/DVD Images and Click on Add -> Assign path of ISO which we have created using cat command in above step. -> Now Press OK
  9. Click on Machine -> Settings. Here Click on Storage -> Under Storage Tree Click on Empty Under IDE Controller. On Right side you will able to see CD/DVD Device Click on Selection Box -> There you will find your Android ISO which we have added in above step. and Press OK.
  10. Make Sure your booting device is set to CD/DEVICE or you select whenever VirtualBox getting start.
  11. There it is. Now you are done. You are all set to boot live Google Andriod. Now Click on Start from VirtualBox and It will start booting your Google Andriod Live.

That’s it Guys. This is your Google Andriod Live on VirtualBox.

Thanks for reading article

If some guys don’t know about Installing VirtualBox then please drop me a mail I will post steps for Installing VirtualBox also. But If there is more request and more peoples interested in VirtualBox Post then only i will post it not for individual Sorry Guys. Please Drop Mail with subject “Steps to Install VirtualBox on Fedora | REDHAT | LINUX” . This Subject line is must.

Hope you all like this guys. Waiting for your comments……

Enjoy Google ๐Ÿ™‚ Enjoy Google Andriod ๐Ÿ™‚ Enjoy Linux ๐Ÿ™‚ Enjoy Open Source ๐Ÿ™‚

Howto: Installing RHEL 6 Beta | Red Hat Enterprise Linux 6 Beta

Installing Red Hat Enterprise Linux ( RHEL 6.2 ) Beta

Hello Friends,

There is a 1 major release of Red Hat is about to announce. Don’t know when they will announce RHEL 6 but I have RHEL 6 beta. So I have written howto to install Red Hat Enterprise Linux 6 steps. Hope this will helps you all.

I have not used RHEL 6 that much, but my experience is not so bad as this is Red Hat product its amazing. Graphical wise if you ask me then I found it like Fedora 13 or you can say similar as Fedora. As I am using Fedora very much so GUI base i have not found so much differences but those who only uses RHEL 5 or RHEL versions they are going to be crazy about it.

Hope this Howto will help peoples who want to install Red Hat Enterprise Linux 6 on their Servers or Desktops.

Read carefully and perform following steps to Install Red Hat Enterprise Linux 6.

  1. First of all select DVD as your First Boot Device. Save & Exit From BIOS and Reboot your System.

    Installation Selection
    Select Install or Upgrade to Continue Installation
  2. After Booting from DVD you will get below screen. Select Install or Upgrade an Existing System and press Enter.
  3. If you get following screen wait for some time for Anaconda to take you for the next step.

    Loading...... RHEL6........
    Wait for Few Seconds………
  4. Select your prefered Language from Below Screen. I prefer English is good for all so i have selected English Language for Tutorial Purpose.

    Select Language
    Select Installation Language
  5. Select Keyboard Layout.

    Keyboard Layout
    Select Keyboard Layout
  6. In Following Screen you will able to see 4 Installation Methods, Let me explain Methods here:-
    • Local CD/DVD – It is obvious that If you use CD/DVD media then Choose this option.
    • Hard Drive – Select this if you have dumped your source into any other Linux partition.
    • NFS Directory – Select this If you have shared installation source shared using NFS.
    • URL – Select this if you want to install using FTP or HTTP Source link.

    So For this tutorial and Step by step installation of RHEL 6 we will select Local CD/DVD Installation Method.

    Installation Method
    Select your Installation Method
  7. If you are not sure about your media then Select OK to verify else Select Skip.

    Media Test
    Test your RHEL 6 Media | Red Hat Enterprise Linux 6
  8. If your media is fine till now it will take you to the Graphical
    Installation Screen
    of RHEL 6 Installation. please wait for few minutes
    after getting following screen

    Running Anaconda........
    Running Anaconda…………
  9. Following is the first screen after Getting GUI Installation Wizard Click on NEXT to Continue…

    First Installation Screen
    Click Next to Begin RHEL 6 Installation
  10. Because we are installating Beta Release of Red Hat Enterprise
    Linux you will get warning of pre-release version. Have a look at
    following screen….

    Pre-release Warning
    This is warning because you are installing RHEL 6 Beta…. Pre-release warning
  11. Now, For installating RHEL there is two storage options are available Let me explain bit…..
    • Basic Storage Devices – Select this if you are installating on Local Hard disk or some local Storage
    • Specialized Storage Devices –ย  Select this if you are installing on SAN ( Storage Area Network ) or DASD ( Direct Access Storage Devices)

      Storage Selection
      Select Storage to Install RHEL 6 Beta
  12. Don’t worry if you don’t get following step, because if your Hard disk is blank then only you will get following screen.

    Hard Disk Initialize
    Reinitialize Device……
  13. Set your Hostname here. Remember FQDN hostname is always preferable (i.e.

    Configure Hostname
    Configure Hostname
  14. If you want to configure network during installation then click on Configure Network and Configure your Network by Editing Ethernet Cards.

    Configure Network
    Network Configuration During Installation with NetworkManager in RHEL 6
  15. Now It’s time to Select Time Zone.

    Time Zone
    Select Time Zone
  16. Now Set your root Password.

    Root Password
    Set your root password during Installation
  17. Make sure your password is not combination of
    dictionary words other wise you’ll get screen as below.

    Weak Password
    Weak or Dictionary base root Password
  18. Now We reach to the most Important part of any Linux Installation, Its Partition time guys…………Not explaining any option because it is already nicely explained there on screen itself. I prefer Create Custom Layout because i can show you guys how to make partition during installation. If you have windows already installed then please select this option……………………Select Create Custom Layout andย  click on NEXT.

    Create Custom Layout
    Select Create Custom Layout to make Partition with our decided partition scheme
  19. I have got blank Hard Disk, So If you have also got Blank Hard Disk then you will get screen like below :-

    Free Space
    There is no partitions so this is the screen…….
  20. Here we’ll create only Three Most required Partitions….. You can create as per your requirement. SoNow Let’s start creating Partitions……..
  21. Let’s create boot partition first. Click on Create -> Select Standard Partition, Enter /boot as Mount Point, Enter Size 500MB, and Keep all information as it is, Click on OK.
    Create partition
    Click on “Create” to Create Standard partition

    Boot Partition
    Creating boot partition…..
  22. Now Let’s create swap partition Click on Create -> Select Standard Partition, Select Swap as File system Type, Enter size 2000 ( I suggest it should be double than RAM) and Keep all information as it is, Click on OK.
    Create partition
    Click on “Create” to Create Standard partition

    Swap Partition
    Creating Swap Partition
  23. Let’s create root partition. Click on Create -> Select Standard Partition, Enter / as Mount Point, Select Fill to maximum allowable size and Keep all information as it is, Click on OK.
    Create partition
    Click on “Create” to Create Standard partition

    Root Partition
    Creating root ( / ) Partition
  24. Now If everything is perfectly fine then you will able to see following screen

    Final Partition
    Final Partition Scheme
  25. This is the screen which is going to Format all your partition which you have created,
    Here if you are not sure then reboot your system without clicking on
    any thing. If you are sure that you want to continue then click on Write Changes to disk.

    Formatting Partitions
    Finally Writing Partition Changes to Disk
  26. Here is the Boot Menu screen. You can set password for Grub here, You can modify booting entry here.

    Booting Menu
    Customize your Grub Menu
  27. Different Kinds of Software packages are availabe so Select as per your requirement and click on NEXT.

    Package Selection
    Select Bunch of Packages which suits to your requirement
  28. If you plan to do customize installation then click on Customize Now and Click NEXT and Select your required packages and then click Next.
    Customize Now
    Customize Packages Now

    Packages Selection
    Select Packages which you want to install and click “Next”
  29. Installation has been started. Just get back and Relax for some time. It will take some time to get installed.

    Installation Started
    Installation of Red Hat Enterprise Linux 6 has started
  30. Congratulations Guys….. Your RHEL 6 is installed…….

    Installation Completed
    Installation Successfully Completed
  31. Grub Screen of Red Hat Enterprise Linux 6 Beta ( RHEL 6)

    Grub of RHEL 6
    RHEL 6 Grub Screen
  32. Wait…………. RHEL 6 Beta is Loading………………………

    Loading RHEL 6......
    Loading RHEL 6 Beta……
  33. Hmmm……. First Boot Instructions…. Just Few Steps and That’s It.
  34. This is the Welcome Message click on Forward

    Welcom Message
    This is welcome message on First Boot
  35. Select Yes, I agree to the License Agreement and Click on Forward

    License Information
    Accept License Agreement
  36. If you have RHN Login then Select Yes Otherwise Select No, I prefer to register at a later time and click on Forward.
    Software Updates
    If you don’t have RHN Login Select “No” and Move “Forward”

    Finish Updates Setup
    Finish Updates Setup
  37. Create Normal User and Click Forward

    Creating User
    Creating Normal User during Installation
  38. Set your Date & Time Here.

    Date & Time
    Set your Date & Time
  39. Enable Kdump if you want to configure otherwise Click on Forward, That’s It.

    Configure KDump
  40. Now It’s your RHEL 6 is installed and running.

Have a Fun with Red Hat Enterprise Linux 6 | RHEL 6 Beta.

Let me have some comment on this guys…………. Waiting for your comments……………..

Enjoy Red Hat Linux ๐Ÿ™‚ Enjoy Open Source ๐Ÿ™‚