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 exceptions.you 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:

raghu:$fajkdpaieje:roadies

rajiv:fjkal;ffjieinfn/:roadies

anonymous::roadies

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:

rajiv

anonymous

And edit file “writers”, make it like:

raghu

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)

Passwd:xxxxxxxx

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 🙂

Top 10 Open-Source Server Technologies You Need to Know

Hello,

If you think open-source server technologies are limited to Linux distributions, think again. Although these software projects pair well with Linux, it isn’t an integral part of any of the 10 listed. Open-source software no longer refers to a Linux-only environment. In fact, open source now crosses all operating system boundaries, so much so, that Microsoft launched its own open-source laboratory called Port 25, and it is a platinum-level sponsor of the Open Source Business Conference in San Francisco. To introduce you to 10 hot server-oriented open-source technologies you need to know, I compiled a diverse list of projects and applications for you to discover and explore. Many of these products are free of cost or close to it.

For more visit this link :- http://www.serverwatch.com/trends/article.php/3865716/Top-10-Open-Source-Server-Technologies-You-Need-to-Know.htm

6 of the best media burners for Linux

Introduction

Back in the day, a custom audio CD with the best love songs made a wonderful Valentine’s Day gift. Now she’d hardly be impressed.

You’d need to throw in the holiday videos and make sure it works on the high definition plasma to sweep her off her feet.

That might sound like a lot of work, but it’s a job you can get done with almost any Linux CD/DVD burning app.

That’s because most writing apps are equally capable of putting data on optical media as they are at retrieving it. And some apps don’t just do brute force ripping – they also have decent transcoding abilities and give you quite a bit of control over the end result.

In addition to normal CDs and DVDs, almost all apps can handle rewriteable (RW) and dual-layer double-capacity versions. Although high-capacity discs and their respective Blu-ray and HD DVD drives aren’t very common, if you own one, you can find at least a couple of applications for Linux that will put it to good use.

Since all distros come with a disc burning app, they get a lot of attention to make sure they integrate into their native environment and don’t look out of place. When you put in a blank CD, the burner should pick it up and ask you what kind of data you’d like to burn.

Yet despite all the glitz, the same age-old tools are chugging away at the back-end, giving the front-end apps approximately equal powers. So, how do the various disc burning apps stack up against each other and which one should you trust with your data? Let’s spin ’em up and find out.

To Read more visit this link :- http://www.techradar.com/news/computing/pc/6-of-the-best-media-burners-for-linux-635084

Beyond Firefox: 10 Other Great Linux Browsers

Firefox has been a reliable browser for me for many years and it still continues to be so to a certain extent. However, over the last few releases Firefox has become bloated and slow in performance that same way IE used to be before we switched to Firefox. The only thing that is stopping me from switching to another browser, is the large number of extensions available for Firefox. Specifically firebug. Since I spend most of my time on a Linux system, over the last few days I have been looking for an alternative Linux browser. Here are 10 of the best Linux browsers out there that can be a decent alternative to Firefox:

Enjoy Reading >>>

Add Nautilus Templates at Right Click on Fedora

Creating New Documents by Right Click From Your Desktop

Hi Friends,

This tips is For Fedora9, Fedora 10 Linux.

If Someone looking or if someone is confusing or Don’t know that How to Add New Word Document, New Odt Document or any New Document By Right Clicking on Desktop like Micro$oft Do.So Let’s Do with Linux and Believe me Its  Very Easy.

Look at this Snapshot It will Look Like this……………………………

http://barot.wordpress.com
http://barot.wordpress.com

Follow the Instruction to do that.

Step 1: First Download Templates From this link http://www.gnome-look.org/content/show.php?content=39317

Step 2: Extract it By Anyway if you want to extract it.From Graphical Mode or From Shell Mode.

Step 3 :- Now Open that Extracted Folder.

Step 4:- Open Your Nautilus Window. i.e. Under Applications -> System Tools -> File Browser.

Step 5:- Once Nautilus Window gets Open. Click on Go -> Templates.It will open your Templates Folder.

Step 6:- Now Copy (or Cut ) all the files From that Extracted Folder and Paste in to Your File Browser’s Template Folder (~/Templates) which you Opened from Go -> Templates.

Step 7:- Now Minimize all the Open Applications. Right Click on Desktop -> Move your Cursor to Create Document. Here You will get all the list of Document.

Step 8: The Great things is that You can add as many as  Documents with any extensions.As I added.You can
See in Snapshot.

Step 9:- Now You can Create Document by Using this Shortcut as Micro$oft do.

Enjoy Shoutcuts 🙂 Enjoy Fast Life with Linux 🙂

All comments Accepted. Thanks.

Lock your screen using command line

Hi friends,
I read one article today and that was fantastic.I am sharing that article here hope you all like it.

Lock your Screen using command line in Fedora 10 and Ubuntu.

This command is extraordinary for who work on terminal continuously and want to step away for some movements.

gnome-screensaver-command –lock

NOTE –In this command, where you see “–lock”, it is really 2 hyphens with no spaces in between, followed by “lock” …  – – lock. WordPress renders two hyphens put together as… –

When you execute above command then it will activate your screen saver and prompt for password to login.But as i metioned that command is pretty long so you need to create alias for that.To create alias Follow below method.

Open your .bashrc file into your favorite editor i am using vim as my editor.before editing file dont forget to make backup.
vim .bashrc (if you are not at home directory prompt then vim /home/<user-name>/.bashrc)

Now just move to end of file and paste below content.
alias lock=’gnome-screensaver-command –lock’

Save & Exit from File.

Now above commands tells your ubuntu or fedora that if you type in lock ,it actually executes gnome-screensaver-command –lock

Enjoy Lock Screen from Command Prompt 🙂

source :- http://howto-ubuntu.com/2008/12/11/how-to-lock-your-screen-from-the-command-line/

Installing HP LaserJet M1319f MFP Printer

Hi Friends,
I Managed to Install HP Multifunction Printer on Fedora 9/10 Linux.

Printer Model Number :- HP LaserJet M1319f MFP.
Follow this Steps to Setup your Printer on Fedora 9/10, Ubuntu 8.04, Ubuntu 8.04.

Step 1 :- Download HPLIP Driver from Website.
http://hplipopensource.com/hplip-web/index.html

Step 2 :- Once Download Finished.Execute Following Command as a root.]$ su – root

Password:

[root@tejasbarot.com]# sh Desktop/hplip-2.8.12.run

Creating directory hplip-2.8.12

Verifying archive integrity… All good.

Uncompressing HPLIP 2.8.12 Self Extracting Archive……………………………………………………..
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….
……………………………………………………………….

warning: hplip-install should not be run as root.

HP Linux Imaging and Printing System (ver. 2.8.12)

HPLIP Installer ver. 5.0

Copyright (c) 2001-8 Hewlett-Packard Development Company, LP

This software comes with ABSOLUTELY NO WARRANTY.

This is free software, and you are welcome to distribute it

under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Tue-10-Feb-2009_17:44:37.log

error: You are running the installer as root. It is highly recommended that you run the installer as

error: a regular (non-root) user. Do you still wish to continue?

Continue with installation (y=yes, n=no*, q=quit) ? y

note: Defaults for each question are maked with a ‘*’. Press <enter> to accept the default.

INSTALLATION MODE

—————–

Automatic mode will install the full HPLIP solution with the most common options.

Custom mode allows you to chose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

Initializing. Please wait…

INTRODUCTION

————

This installer will install HPLIP version 2.8.12 on your computer.

Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION

———————-

Distro appears to be Fedora 10.

Is “Fedora 10” your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

SELECT HPLIP OPTIONS

——————–

Would you like to enable support for parallel (LPT:) connected printers? (y=yes, n=no*, q=quit) ? y

Parallel support enabled.

INSTALLATION NOTES

——————

SELinux must be disabled for HPLIP to function properly. Please disable SELinux before continuing.

Please read the installation notes. Press <enter> to continue or ‘q’ to quit: Press Enter

RUNNING PRE-INSTALL COMMANDS

—————————-

INSTALL MISSING REQUIRED DEPENDENCIES

————————————-

warning: There are 1 missing REQUIRED dependencies.

note: Installation of dependencies requires an active internet connection.

warning: Missing REQUIRED dependency: cups-devel (cups-devel- Common Unix Printing System development files)

INSTALL MISSING OPTIONAL DEPENDENCIES

————————————-

warning: There are 3 missing OPTIONAL dependencies.

note: Installation of dependencies requires an active internet connection.

warning: Missing REQUIRED dependency for option ‘network’: libnetsnmp-devel (libnetsnmp-devel – SNMP networking library development files)

warning: Missing REQUIRED dependency for option ‘gui’: pyqt (PyQt 3- Qt interface for Python (for Qt version 3.x))

warning: Missing REQUIRED dependency for option ‘scan’: sane-devel (SANE – Scanning library development files)

CHECKING FOR NETWORK CONNECTION

——————————-

Network connection present.

RUNNING PRE-PACKAGE COMMANDS

—————————-

su -c “yum clean all” (Pre-depend step 1)

DEPENDENCY AND CONFLICT RESOLUTION

———————————-

Running ‘su -c “yum -y -d 10 -e 1 install cups-devel”‘

Please wait, this may take several minutes…

Running ‘su -c “yum -y -d 10 -e 1 install net-snmp-devel”‘

Please wait, this may take several minutes…

Running ‘su -c “yum -y -d 10 -e 1 install PyQt”‘

Please wait, this may take several minutes…

Running ‘su -c “yum -y -d 10 -e 1 install sane-backends-devel”‘

Please wait, this may take several minutes…

RUNNING POST-PACKAGE COMMANDS

—————————–

RE-CHECKING DEPENDENCIES

————————

PRE-BUILD COMMANDS

——————

BUILD AND INSTALL

—————–

Running ‘./configure –with-drvdir=/usr/share/cups/drv/hp/ –with-hpppddir=/usr/share/cups/model/HP –prefix=/usr –disable-qt4 –disable-foomatic-ppd-install –enable-doc-build –enable-qt3 –enable-gui-build –enable-foomatic-drv-install –enable-pp-build –enable-network-build –enable-dbus-build –disable-hpijs-only-build –enable-scan-build –enable-fax-build’

Please wait, this may take several minutes…

Command completed successfully.

Running ‘make clean’

Please wait, this may take several minutes…

Command completed successfully.

Running ‘make’

Please wait, this may take several minutes…

Command completed successfully.

Running ‘make install’

Please wait, this may take several minutes…

Command completed successfully.

Build complete.

POST-BUILD COMMANDS

——————-

RESTART OR RE-PLUG IS REQUIRED

——————————

If you are installing a USB connected printer, and the printer was plugged in when you started this installer, you will need to either restart your PC or

unplug and re-plug in your printer (USB cable only). If you choose to restart, run this command after restarting: hp-setup (Note: If you are using a parallel

connection, you will have to restart your PC. If you are using network/wireless, you can ignore and continue).

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : i

step 3. [root@tejasbarot.com]# hp-plugin

After executing this command one window will open then select Download and Install -> Click on I accept the terms of the license (Read the Terms and Condition Then only Accept) then Click on Install Plugin.

That’s You HP M1319f Multi-Function Printer Installed.

Follow Below steps to Scan your Document on HP M1319f MFP

If you want to scan document. Then Load Document On Printer then go to ->

Click on Applications -> Graphics -> Scanner Tool

Click on Scan to scan document.

If you not get any error while scanning and you are able to see your scanned document clearly. then enjoy Scanning you scanner works…

Bold (Highlighted) Lines are most Important.

Dont forget to comment.All comments accepted.

Enjoy Printing, Scanning……. 🙂