存档

‘Linux’ 分类的存档

Sitting for the RHCE

2008年7月20日 admin 没有评论

Sitting for the RHCE
April 06, 2004 (8:00:00 AM) – 4 years, 3 months ago

By: Ken Barber
I've taken some pretty tough tests in my life, and passed every one of them on the first try. And since I'm teaching Linux system administration at my local community college, I thought I would be hot stuff when I signed up to take the Red Hat Certified Engineer (RHCE) exam. I don't think that way anymore.

I've always done well on tests. Mensa once offered me a membership in their organization because of my SAT scores. In a former life I was a refrigeration mechanic and earned the coveted CM certification from the Refrigeration Service Engineers Society — a cert well known in that industry for requiring multiple attempts to pass — on the first try. I even passed the written exam for a private pilot's license on my first try.

Then I started a new career in IT. I breezed through my MCSE a few years ago, including the notoriously difficult Exchange Server exam. Then I earned a GSEC security certification from the SANS Institute, requiring two open-book exams. I took the first one closed-book, and passed both. When I learned that the Linux Professional Institute was offering its exams for free at Linuxworld last year, I walked in late to one of them on a lark, totally unprepared. I barely squeaked through, but I passed.

RHCE was different. It was the second-toughest exam I've ever taken.

Red Hat vs. other certifications

The day after I earned my MCSE the Dilbert comic strip featured a character in tights and a cape saying, “Step away from that network server! I'm certified!”, but he couldn't fix anything when he sat down in front of it. My friends and co-workers thought it was really funny, and made sure I had clippings of it coming in from all over for the next few days.

But the problem of people holding “paper” certifications is not a laughing matter to employers, and the number of “paper CNEs” and “paper MCSEs” has become the stuff of legends. I do not believe there is any such thing as a “paper RHCE.”

To my knowledge, there are only two IT industry certifications that require a candidate to set up and repair an actual running system. Red Hat's is one of them; the other is a Cisco exam. There are no multiple-choice questions to answer; you spend the entire session repairing a broken system and then building a new one from scratch. At the end of the day, the things you've been asked to do either work, or they do not — and you pass or fail on that basis alone.

It's not as easy as it sounds. The failure rate hovers around 40%.

Fortunately, all is not necessarily lost for those unlucky 40% who fail to meet the lofty requirements for an RHCE. For a little more than a year now, Red Hat has been issuing a Red Hat Certified Technician (RHCT) certificate to those who demonstrate competence in the portions of the test that deal with workstation (as opposed to server) administration.

Preparing for the exam

What's on the test? I'm not allowed to tell you, but Red Hat provides a list of everything you need to know. It is safe to assume that you will be tested on every item in that list; if you're weak in two or three of the list's items, don't take the exam until you've done some more preparation.

The choices for “more preparation” are somewhat limited: you can take a class from Red Hat, or you can take a different class from Red Hat! Red Hat does provide a very nice set of online pre-assessment tests (free, but registration required) to help you choose which class is right for you. The exam prep guides being sold by various booksellers can help you prepare for a class, but are useless in preparing for the exam itself. Believe me — I own two of them.

The main value of the classes is to learn how do the exam's tasks quickly, the way Red Hat wants them done. But I can tell you from experience that even Red Hat's classes are not enough to fully prepare you. If you want to have any hope of passing, you will have to have been installing, repairing, and configuring Linux, in all of the areas mentioned in the list above, often enough and long enough to do most of it without referring to a man page. Yes, you're allowed to use man pages during the exam, but if your system won't even boot when you walk into the room, you had better know your stuff cold.

I took the RH 300 course, the one for people who supposedly already know what they're doing. It runs for the four days prior to test day.

Exam day

On a recent Friday morning eight of us filed into the classroom we'd been calling home for the last week to find our systems re-imaged. After signing non-disclosure agreements, we were given a list of 10 things that weren't working and 2-½ hours to fix them. Five of the items had to be fixed in the first hour.

You must get at least eight of the 10 items fixed to earn an RHCE. If you get only the first five items, in the first hour, you can earn an RHCT.

One of our number didn't make it through the first hour. No one gloated when he shook the proctor's hand and left early. The pervasive feeling in the room was that any of us could have met the same fate. The mood afterward, as we ate our catered lunch, was somber. One of us had already been eliminated. How many more of us wouldn't make it through the three hours to come?

We returned to the test room to find that our hard drives had been erased. We were given a boot CD with instructions to build a server with an unbelievably huge list of requirements. As I looked over the list, my heart sank. “There is easily two days' worth of work here,” I said to myself, “and I have to have it all done in three hours?”

The list was divided into RHCT tasks and RHCE tasks. You must score at least 70% in each area to earn an RHCE, and a high score in one won't help in the other.

A few of the items on the list were easy, but many were not. So I set myself to the task, starting with the things that I already knew how to do and plugged along at my usual snail's pace. For the things that I'd never done before taking the class, the man pages and online guides weren't enough help. There is simply not enough time to read them, and doing a task once in a class exercise isn't enough to remember how to do it cold.

I actually got through the entire list of items about five minutes before the time was up. Only one other candidate had finished; from the sound of feverish key-tapping in the rest of the room I guessed that most were still trying desperately to get as much done as possible before the bell. All of the things I had tested worked, but I didn't test everything. And there were enough of those to sink my boat if they didn't actually work.

I decided there was no use trying to test any more stuff because if they didn't work there wouldn't be time to fix them anyway. So I rebooted to make sure the system came back up with the services running that were needed, and then just shut the thing down and leaned back in my chair. “I'm done,” I said to no one in particular. “Either I passed or I didn't, but I'm not doing any more to this machine.” I shook the proctor's hand and left about two minutes before the bell rang.

The next morning my head still hurt, and the pain went down into my shoulders. My sweetheart tried to massage my neck, but said that my muscles there were so tight that they felt like bones. In the end, I had to take a muscle relaxer to calm down. Still, I was cautiously optimistic. While I knew I hadn't aced the exam, I thought I had a good shot at getting the double 70%.

A few days later, I received my scores:

SECTION I: TROUBLESHOOTING AND SYSTEM MAINTENANCE
Overall Section I score: 100%
/>SECTION II: INSTALLATION AND CONFIGURATION
RHCT components score: 100.0%
RHCE components score: 67.9%

RHCT Certification: PASS
RHCE Certification: NO PASS

It's a brutal exam.
Read in the original layout at: http://www.linux.com/articles/35283

分类: Linux 标签:

A Look at the Red Hat RHCE Exam

2008年7月20日 admin 没有评论

A Look at the Red Hat RHCE Exam
by Emmett Dulaney

In the past, I've looked at Linux certification offerings from LPI, Sair, and CompTIA. This month, I'll turn to another Linux certification option: the Red Hat Certified Engineer (RHCE). Note that this certification differs from all other Linux certifications in some key ways:

1. It is not vendor-neutral as all the others mentioned are. It focuses on Red Hat's implementation of the operating system, and is kept current with the latest version (presently 7.1). Previous exams were tailored for versions 5.2, 6.0, 6.1, 6.2, and 7.0, respectively. All who passed under those versions are still RHCEs, and there is currently no requirement to retake under the latest version.
2. While all other exams focus on your passing one or more computer-administered tests to become certified, that is but a small component of the RHCE certification. The multiple-choice test is one hour in length (40-50 questions), while two hands-on labs constitute five hours of exam time.
3. The other exams are given daily through VUE and/or Prometric testing centers (numbering in the thousands) around the world. Because of the lab component, RHCE exams are given on a scheduled basis in a few locations (currently about 20 worldwide).
4. With the other exams (excluding any now in beta), candidates are able to find out whether they passed as soon as they finish the exam. However, instant results are not possible with the RHCE because the lab work must be checked. All three components (two labs and one multiple-choice exam) are computed on a single pass/no-pass basis, and candidates are notified by email within 5 days. Certifications are mailed within approximately 8 weeks. To pass, an overall score of 80% or better must be achieved without scoring less than 50% in any one of the three individual components.
5. The cost of the other exams (LPI and Sair) is around $100. The cost of the RHCE exam is $749. Many take the exam as the last day of a week-long official Red Hat prep class (Rapid Track), which costs $2,498 and includes the cost of the exam. (All prices are subject to change.)

These elements combine to make the certification one of great value, because it essentially weeds out those who are just good at guessing exam answers. Before you consider the RHCE certification, you should make certain that you are an “experienced” administrator with significant experience with all aspects of Linux. If you are not, you'll want to fill in the gaps in your knowledge before ever considering the exam.

Before You Start Studying

Before you start to study in earnest, you should assess your current knowledge to see how close, or far off, you are from other RHCE candidates. The best way to do this is to look at the skills required of a candidate for acceptance into the Rapid Track class. You should have the same set of skills before beginning RHCE study.

The prerequisites for the RHCE Rapid Track course are knowledge and mastery of the following skills and topics. You should be able to:

* Administer the Linux printing subsystem
* Automate tasks with at, cron, and anacron
* Back up filesystems to tape and tar archive
* Communicate and transfer files securely
* Configure a workstation as a client to NIS, DNS, and DHCP services
* Configure an NFS client and autofs
* Configure basic host security
* Configure, customize, and use the X Window System and GNOME desktop environment
* Configure, compile, and install the Linux kernel
* Connect processes and files using standard I/O and pipes
* Control common system hardware
* Control system processes
* Copy files to and from a floppy disk
* Create and maintain the Linux filesystem
* Filter and process text
* Install Red Hat Linux interactively and with Kickstart
* Install, update, query, and remove software packages with RPM (Red Hat Package Manager)
* Integrate a workstation with an existing network running common network services
* Issue essential Linux commands from the bash shell command line
* Launch applications from the command line and GNOME interface
* Maintain and interpret system logs
* Open, edit, and save text documents using the vi editor
* Perform basic bash shell scripting with sed, awk, and perl
* Perform basic performance, memory, and process management
* Perform basic troubleshooting
* Perform common file maintenance tasks
* Perform common tasks using GNOME GUI applications
* Perform security administration using Red Hat Linux
* Perform user and group administration
* Query packages on your system
* Set up, configure, and administer common networking services on Red Hat Linux:
o Apache Web Server
o DHCP
o DNS/BIND Domain Name Service
o ftp
o NFS
o NIS
o pppd
o SAMBA file and print sharing to Windows clients
o sendmail
* Understand and maintain file access permissions
* Understand and use email and related applications
* Understand system and service initialization
* Understand system tools available to the user
* Understand the Linux file system
* Use network applications and utilities
* Use printing commands and utilities
* Use regular expression pattern matching

Keep in mind that these are prerequisites and should be mastered before you consider studying for the RHCE. Two things should immediately jump out at you as you scan this list:

1. For the most part, the skills listed here are vendor-neutral. Regular expression pattern matching, for example, works the same in Red Hat as it does in any other version of Unix or Linux (assuming the same shell is used).
2. The list closely resembles the required knowledge to become certified in any of the other certifications. This is so much so, in fact, that you could almost make the blanket statement that LPI/Sair/Linux+ certification is a prerequisite to RHCE. If you truly want to test your knowledge and see that you meet the prerequisites, take and pass the two LPI exams. Red Hat also offers three courses (RH033, RH133, and RH253) to help bring your skills up to their expectation level.

What to Study

Having met and exceeded the prerequisites, you are ready to start studying in earnest for the RHCE exam. The best way to approach the exam topics is to look at the material covered in the Rapid Track course. Eight major areas are addressed in a lab setting:

1. Hardware and Installation
2. Configuration and Administration
3. Alternate Installation Methods
4. Kernel Services and Configuration
5. Standard Networking Services
6. X Window System
7. User and Host Security
8. Routers, Firewalls, Clusters, and Troubleshooting

A number of subtopics exist within each unit, and a complete list can be found at: http://www.rhce.com/training/rhce/rhce_content.html.

What to Expect

As mentioned, the multiple-choice exam lasts one hour and consists of 40-50 questions. It covers general Linux topics, such as regular expressions, as well as topics specific to Red Hat. Next month, I will look at the top 50 topics to know for this part of the exam.

The two lab components are the “Server Install/Network Services” exam and the “Debug” exam. The former focuses on installation and configuration aspects on the Intel platform. You should know how to install Linux and configure it to run in every possible role (workstation, Internet server, and everything in between). An implied part of installing
is configuring and administering — not only for services, but also for users and all that they entail (quotas, scripts, and so on).

The Debug exam lasts two and a half hours, during which time you must correct 2-4 problems. The problems can range from a service failing to start, all the way to Linux failing to boot, and might include anything in between. You are allowed to use anything on the machine to help you solve the problem (man documentation, syntax prompts, etc.), but you cannot bring anything external with you.

Red Hat offers a detailed listing of 31 things to be comfortable with before taking the exam. It can be found at: http://www.redhat.com/training/rhce/examprep.html.

How to Learn More

Next month, I will examine this certification again, focusing on the multiple-choice component. In the meantime, there are a number of locations not previously mentioned from which additional information can be obtained:

Red Hat's main site: http://www.redhat.com

An overview of the RHCE program: http://www.redhat.com/training/rhce/courses/

Details on the Rapid Track course: http://www.redhat.com/training/rhce/courses/rh300.html

“Unofficial Exam Site,” offering reviews of study materials: http://www.rhce2b.com

分类: Linux 标签:

Run ASP.NET Application on Linux – MONO

2007年11月8日 admin 没有评论

What problems I met?

1. System.Drawing:

Install the libgdiplus module in the Linux

2. Connect to MySQL Database:

–> http://www.mono-project.com/MySQL

(1) Download MySQL Connector/NET from MySQL website
(2) Install the DLL
cd path_to_your MySql.Data.dll assembly
gacutil -i MySql.Data.dll

分类: Linux 标签:

Samba Server Configuration in Debian

2007年11月3日 admin 没有评论

What is Samba?

Samba is a suite of Unix applications that speak the SMB (Server Message Block) protocol. Many operating systems, including Windows and OS/2, use SMB to perform client-server networking. By supporting this protocol, Samba allows Unix servers to get in on the action, communicating with the same networking protocol as Microsoft Windows products.

Samba Debian Package

This package contains all the components necessary to turn your Debian GNU/Linux box into a powerful file and printer server.

Currently, the Samba Debian packages consist of the following:

samba – LanManager-like file and printer server for Unix.
samba-common – Samba common files used by both the server and the client.
smbclient – LanManager-like simple client for Unix.
swat – Samba Web Administration Tool
samba-doc – Samba documentation.
smbfs – Mount and umount commands for the smbfs (kernels 2.2.x and above).
libpam-smbpass – pluggable authentication module for SMB password database
libsmbclient – Shared library that allows applications to talk to SMB servers
libsmbclient-dev – libsmbclient shared libraries
winbind: Service to resolve user and group information from Windows NT servers
python2.3-samba: Python bindings that allow access to various aspects of Samba

It is possible to install a subset of these packages depending on your particular needs. For example, to access other SMB servers you should only need the smbclient and samba-common packages.

Install Samba in Debian

#apt-get install samba samba-client

Now it will ask you some basic question about the samba configuration like

workgroup or domain name you want,other questions enter the correct information which one suits for your need.

Preparing directories and users

Create directories for Samba to use with Windows

#mkdir samba

Now we need to create users to access this directiory

#useradd ruchi

Now create a password for this user

#smbpasswd -a ruchi

configure samba configuration file

Samba configuration file located at /etc/samba/smb.conf

In this file main section is Global where you can define all parameters and the example as follows

[global]

workgroup = debian
netbios name = debianserver
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0

Now you need to configure the share directory(ex:-samba) for users below is the example.

[SAMBA]

path=/samba
browseable=yes
writeable=yes
valid users = ruchi
admin users = debain

If you want to check your configuration file is correct you need to run the following command

#testparm

Now you need to restart the samba to take the new changes effect

#/etc/init.d/samba restart

If you want more configuration option check man page of smb.conf

Testing your samba configuration

You want to test your samba configuration for users ruchi run the following command

#smbclient -L //debianserver -U ruchi

Configuring the Windows workstation

authenticate each workstation

logon to the Windows workstation as any user with administrative priviliges

[Windows 2000] Start -> Settings -> Control Panel -> System -> Network Identification -> Properties -> Member of -> Domain -> type the domain name as specified in the 'workgroup' section of smb.conf -> ok

enter the root username and password for the Samba file server

if you simply wish to transfer existing users from a workstation, then if a user exists on the Samba file server and on the workstation, at this point you could log them into the Samba file server and their profile from the workstation would be copied to the Samba file server when they log out

References

http://www.samba.org

Download samba form here

Samba documentation click here

分类: Debian 标签: