Sunday, October 11, 2009

How to setup DNS server using Bind9 under Debian and Ubuntu Linux

A tutorial on how to install and configure DNS server for your LAN using bind9. The DNS server will provide caching and name resolution as well as reverse name resolution for your local network. This set-up I use the domain jesson.net and its private ip address is 192.168.2.248.

Now install the bind9 package and dns utilities from Debian repository.
apt-get install bind9 dnsutils
Configure your Linux system

Add this information to your /etc/hostname
vim /etc/hosts


Edit your /etc/resolv.conf
vim /etc/resolv.conf
and add this information.

search jesson.net
nameserver 192.168.2.248

Lets create a zone

The zone files (or database files) are the heart of your BIND system.

This is where all the information is stored on what hostname goes with what ip address.
Before we create a zone file, lets edit first the local configuration file /etc/bind/named.conf.local.

vim /etc/bind/named.conf.local
and the zone file data.



Create a zone file in /var/cache/bind/ directory. Create a file called db.jesson.net
vim /var/cache/bind/db.jesson.net
And add the following



Now create the reverse DNS zone file db.192.168.2
vim /var/cache/bind/db.192.168.2
and the following



Now edit the file /etc/bind/named.conf.options
vim /etc/bind/named.conf.options



Uncomment the line forwarders and add your ISP's DNS server.
Lets restart our DNS server, and test using the tool dig.
/etc/init.d/bind9 restart
dig jesson.net
You should see the following message



nslookup jesson.net
nslookup 192.168.2.248
host jesson.net
host 192.168.2.248
All computers in the LAN are going to use 192.168.2.248 as a nameserver, this can be set manually by setting statically:
vim /etc/resolv.conf on Linux

then put this information.
nameserver 192.168.2.248

On windows configure the following like this:



Have Fun!!!

Friday, October 9, 2009

The LINUX compelling alternative to Windows Vista!!!

SUSE Linux Enterprise 11.The compelling alternative to Windows Vista.

SUSE Linux Enterprise 11 gives you the lowest-cost, most manageable solution for mixed Linux and Windows computing. By working seamlessly with your existing technologies, SUSE Linux Enterprise turns boundaries into bridges to make your IT work as one.

SUSE Linux Enterprise 11 strengthens your infrastructure with powerful yet cost-effective enterprise capabilities that make it easy to migrate from UNIX. Choose SUSE Linux Enterprise 11 for mission-critical solutions that keep your infrastructure reliable and resilient.

What can you power with SUSE Linux Enterprise 11? Desktops and servers. Physical and virtual machines. Traditional systems and appliances. Linux ubiquity is here and it's ready to make your infrastructure more agile, manageable and cost-effective than ever.

Why windows 7 eight thing to think!!!

1. Remote users will love Win 7

As more employees work outside the office, IT needs new strategies to keep them supported, secure, and productive. Two key features of Windows 7, BranchCache and DirectAccess, are excellent starting points for the next generation of improved mobile access.

DirectAccess leverages IPv6 and IPsec into a system that provides secure connectivity back to the main network, regardless of where users are connected--or even whether they're logged in at all. BranchCache also helps users at remote offices stay productive because the network can be configured to cache Web pages and files on local servers or in a round-robin peer style for sites without local servers, ensuring that frequently accessed data and files will be served up quickly to end users.

2. Infosec teams will like Win 7

There's a lot of good news on the security front with Windows 7. Most of the improvements are a continuation of initiatives that started with Vista, including Microsoft's Secure Development Lifecycle, which the company hopes will reduce exploitable code flaws in its software. Windows 7 is one of the first products to come through the full development life cycle.

At the same time, more thought was put into reducing the impact that intrusive security can have on the user experience. The company has retained the concept of User Account Control but reduced the number of pop-ups that frustrated Vista users.

Other features, such as BitLocker, are updated, including the ability to encrypt removable devices. There are new security features, too, including AppLocker, which lets administrators prevent users from downloading and running unauthorized software.

3. It has better management

While BitLocker and AppLocker don't need Windows Server 2008 R2 to function, they do need Advance Group Policy Management 4.0. In fact, there are more than 350 new control options, many of which boost desktop control, power management, and the ability to use different functions based on machine location.

4. It's netbook-friendly

A recent InformationWeek Analytics survey shows massive potential for netbook growth, from 35% in the enterprise today up to a projected 72% within two years. Smaller and less expensive than laptops, netbooks are perfect mobile devices for those on a budget. The bulk of netbooks in organizations today run XP Pro and Linux. Win 7 plays nicely on most netbooks, however, especially the pro version. That said, organizations should push for the enterprise version to get features like DirectAccess.

5. Desktop virtualization's coming

Less than 8% of organizations have actively moved any virtual desktops into production, according to another recent InformationWeek Analytics survey. Windows 7 will change that. The OS runs on all major virtualization platforms, including VMware, Citrix, and Microsoft. All vendors report a stable desktop. Unfortunately, display limitations and peripheral incompatibilities that have plagued terminal servers and thin clients for years remain.

6. Windows 7 is SaaS-friendly

With more business apps moving online, Windows 7 offers an environment friendly to software as a service. It's tightly integrated with Internet Explorer 8, providing a stable platform for Web applications. And because IE8 is available for XP and Vista, enterprises can standardize on a single browser. On the flip side, if you've settled on Firefox or Chrome, you'll need to watch their releases closely. Both have documented issues with Windows 7.

7. The hype is your friend

Sure, the lovefest over Win 7 is a bit annoying, but you should be able to parlay that joy into end-user enthusiasm if you decide to deploy. Having users excited about a new OS goes a long way to aiding successful adoption.

8. You have a definitive timeline

Last, the clarity of Microsoft's release and support dates should be seen as a blessing for IT. Windows 7 is out and being deployed. XP mainstream support ended in April; Vista's will end in April 2012. Windows 7 will have mainstream support for five years, or two years after the release of the product's successor. Redmond waffled on XP a few times, mainly due to Vista delays, but you can plan on these dates and adjust your strategy for phasing in the new OS and phasing out the old ones.

Whether you welcome Win 7 or curse the demise of XP, it's time to decide: Adopt Windows 7, move to Linux, or bring back the abacus. Your call. Vista lacked the features, stability, and market acceptance to drive forward the desktop. Windows 7 has addressed all of these issues.

Netbooks Bring Down Revenue For Laptops

Inexpensive netbook computers are driving down revenue for the overall laptop market, even as they increase unit sales for laptops.

In the second quarter, the overall portable PC market was $26.4 billion, up 10% from the first quarter but down 5% from the same period a year ago. Strong growth in netbook revenue, 264% more than a year ago, drove their overall share of the mobile PC market to 11.7%.

Nevertheless, the low price of the netbooks, typically $300, was a major contributor to the overall revenue decline in the market year-to-year, the research firm said.

"Mini-notes have been a significant contributor to volume growth in the portable PC market as their very attractive price points make owning a secondary computer viable for many consumer. "However, the lower ASPs (average selling prices) of these devices are clearly having a negative impact on portable PC market revenue."

The average selling price for laptops in the second quarter was $688, 19% lower than a year ago. For the rest of the year, the research firm expects continued decline in average price across all portable computer categories, which will likely lead to the first year-to-year drop in mobile PC revenue.

Netbooks are typically bought as second or third computer by travelers looking for a lightweight computer with basic functionality, such as Web browsing and e-mail. The PCs are also used by schoolchildren and are bought as a first computer in developing countries where people's computing needs are limited.

In addition, telecom providers offer the systems at a subsidized price in return for a two-year subscription to their wireless data networks.

In 2010, expects netbooks to account for 21.5% of all portable shipments and 10.9% of total revenue.

Linux (SUSE) vs Windows

SUSE Linux Enterprise 11 provides maximum interoperability with Windows for lower costs and simplified management. Run Windows virtualized on Linux and vice versa, with full support from Novell and Microsoft. Easily add desktop Linux to your Windows environment for cost savings and security benefits. Leverage open standards to manage SUSE Linux Enterprise from your existing solutions. Even run ASP.NET applications on Linux for better performance and reduced cost.

Enterprise-strength Linux for mission-critical computing.
SUSE Linux Enterprise 11 was built for reliability with affordable, enterprise-class clustering for your mission-critical workloads. With the ability to build a resilient and agile infrastructure, you can easily migrate from UNIX. And advanced Green IT capabilities keep your operation lean and efficient. Performance. Reliability. Affordability. What could be more mission-critical than that?

Powers your physical and virtual environments – desktop to data center.
Only SUSE Linux Enterprise 11 powers your complete environment with outstanding performance and manageability. So you can run your physical and virtual machines – from desktop to data center – on a common code base with common tools. Deploy traditional systems, or run software appliances for simplicity and speed. From x86 to mainframe and from netbook to desktop, SUSE Linux Enterprise delivers proven capabilities for your entire infrastructure.

Firefox Automation Plug-In Draws Legal Threat

MediaFire, a free file hosting service, last week demanded that Mozilla stop distributing the Firefox plug-in SkipScreen, which automates interaction with sites like MediaFire to allow users to bypass forced waiting periods used to display ads and limit bandwidth bills.

Because, the SkipScreen tool has only one purpose, to bypass legitimate Web pages of free file hosting sites, steal bandwidth from them, and take users directly to hidden download pages.

Window's 2010 and Windows 7 compatible!!!

Microsoft to date has said little about Windows 7, which had been in development under the code name Blackcomb. It was generally believed that the OS would ship in the 2010 time frame.

Some computer users are hoping Windows 7 will present a slimmer profile than Vista.

To experience all of Vista's features, PC users need a computer with at least a 1-GHz processor, 1 GB of memory, and a 40-GB hard drive. By contrast, Windows XP Professional requires only a 300-MHz processor, 128 Mbytes of RAM, and a 1.5 GB disk.

Microsoft has extended the life of the older Windows XP OS for longer than originally planned -- in part to keep Linux out of the PC market's low end.

The company said last week that it would allow computer makers to continue to sell Windows XP on "ultra low-cost PCs", or ULCPCs, for an extended period.

Microsoft said it would allow system vendors to preload the Home edition of Windows XP on ULCPCs through June 2010, or one year after the next version of Windows becomes generally available.

Microsoft defines ULCPCs as, among other things, systems that use discount-line processors and lack a separate graphics card. Such low-spec machines would be incapable of running Vista.

Thursday, October 8, 2009

Establishing Rapport

Establishing rapport - having people like us and remember us fondly - is an invaluable skill. Whether you are in a business, a friendship, a relationship, selling, or just want to be more well-liked - rapport building skills can help you reach your goals. I use some of these skills to develop rapid rapport with my business, counseling and coaching clients. Remember that the key to all rapport building is sincerity and bringing a true love of others to your new relationships. With that in mind, lets get started:

• Listen - Listening is the highest of all rapport building skills!! it. Practice "conversational generosity" - don't speak more than 30% of the time (10-20% is optimal).

• Link Interests - People like each because of their similarities. So, whenever possible, notice similar interests and be sure to talk about and expand on them.

• Ask For Advice - The greatest compliment ever paid me was when someone asked me what I thought, and attended to the answer." Asking for advice is perhaps the most sincere compliment you can pay to a person. You also have to humble yourself ever so slightly to ask for advice, and this vulnerability will create a sense of openness and trust between you.

• Compliments & Praise - What we are looking to do is notice praise-worthy things people discuss and mention them to the person. Notice the difference in the next two responses. Your new friend tells you they just won an award for helping children and you say either "that's great!" or "Wow, that's quite an accomplishment!

• Demonstrate Liking & Appreciation - Most people instinctively like people who like them (and vice-versa). Many people like each other, but rarely tell each other.

• Adopt Their Values/Beliefs - As you are listening to the other person speak, notice their values/beliefs, and discuss areas where your values/beliefs sincerely overlap with theirs.


• Enthusiasm - Enthusiastic people seem to brighten up a room with their positive energy, and we want that to rub off on us, we want to be a part of it. When someone is enthusiastic about our thoughts and ideas we immediately feel understood, appreciated and just plain great! No one will ever be offended by you getting excited about their ideas!

• Matching and Mirroring - Matching & mirroring simply means that we match the approximate characteristics of the other person to help create alignment with them.

• Smile & Warmth - The first contact with another person is your face! Make sure that you present as warm, friendly and happy. A smile and a sincere desire for friendship will resonate in your voice and be demonstrated in your every action. Smiling and warmth make others feel good around you - this is a lost skill - use it and you will shine.

• Attending Skills - This simply means that you attend to the needs of the people you are with. It follows the lines of simple good manners, i.e., holding the door for someone, offering them a drink or a chair, buying them lunch, shaking their hand right away when you see them. Almost any small courtesy or act of kindness falls in this category. These simple acts say without words that the other person is like, respected and appreciated. And an action is worth what? That's right! A thousand words!

Tuesday, October 6, 2009

G++ code's that prints Multiplication Table!!!

#include
#include
int main(){
int x=0,y=0,row,col,prod=0;
printf("\n Enter number of row: ");
scanf("%d",&row);
printf("\n Enter number of column: ");
scanf("%d",&col);
printf("\n\n");
for(x=1;x<=row;x++)
{
for(y=1;y<=col;y++)

{
prod=x*y;
printf(" %d ",prod);
}
printf("\n");
}
printf("\n\n Disclammer Jesson A. Balaoing");
return 0;
}

The New Threads of Business!!!

E – commerce has been ruling the roof this technology ambitious times. In an electronic era you do not have to be physically present as physical store for example just a websites to market your products. The business is just a mouse click! Owing to the innovation, E-Commerce has emerged as an unchallenged. E-commerce saves time and money. It is a smart short cut to make profit. E commerce is proven, result oriented and a time saver. The bottom line is anybody can keep their business on the run from any nook and corner of the world.

Ten examples of E – commerce where make money online

Affiliate programs - This is free to do and anyone can find one they want to promote with so many programs to choose from.

Blogging – This is a very popular and effective way to make money online. More blogs are being started every day about every subject imaginable. You can easily start one to for free.

Create your own products - There are many people online looking for information. By creating your own information products, you can provide them what they need and make money doing it.

Membership sites – Start your own membership site. This is a little harder to start though it is well worth the time.

Offer your services - For anyone that can build a good blog’s, is a web designer, write articles and other things, along with other services, you can start your own business. There are many business owners on-line that will gladly pay for these services.


Social network sites – There are many of these sites available. You can set up your own business and use these sites to sell your product.

Paid surveys – Many people make good money by taking surveys online. There are many sites to choose from so be sure to choose carefully, there are lot of fraud sites.

Online business opportunities – There are many business opportunities you can sign up with. They provide everything needed to get started with your own business immediately.

Niche marketing – This is pretty easy to use to earn money. Just find a niche where people are spending their money and get started for a little of your own.

Nature of communication!!!

Nature of communication!!!

The nature of communication is the exchange of information between two people. It is required that there be both a sender and a receiver for communication to take place. Communication is reciprocal. So at any time the sender is sending a message the receiver is also sending messages.

Effective communication entails the sender encoding a message and transmitting it to the receiver where the receiver successfully decodes the message.

So, in English! In your head you know what you want to say. So you put it into words in a language you know and you "send it" to your receiver. You can send it through talking, posting it on a message board, sending an e-mail, etc. This goes through a channel which can have "noise" which interferes with the message. Your receiver gets the message and "decodes" it. If this is done successfully they will understand your message. Things that might hinder this would be if the other person doesn't speak the same language as you.

That was before but now the nature of communication sophisticated with the use of Electronics, example, Electronic learning or e-learning, as it is broadly known, is bringing hope to millions who have deserted from the dream of abiding education due to various reasons. It has made learning easier than ever before as one need not be physically present in the classrooms all the time. E-learning has in fact opened a door for whole new style of teaching and learning that is booming rapidly.

How to loose weight in a week!!!

Water more water!!! Drink a glass water. Still hungry? Drink another glass of water. No, you don’t have to fill up like a tub, but ensure that you drink 8 to 10 glasses of water every day. Don’t substitute for juice. Your body should always be hydrated. Adequate water is essential for health, and a great many people simply don’t get enough. What’s more, if you’re chronically dehydrated, your body will retain water in unflattering places, so if you make sure to get plenty of fluids you can start visibly trimming down in as little as a day. Remember, the more you exercise, the more water you’ll need. Your kidneys will thank you as it can easily flush out the waste. Also with water intake your body will be able to metabolize fat more effectively. And if you have a glass of water 10-15 minutes prior to your meal, you will feel full once you start eating. Another fun fact, did you know that you can lose 62 calories by drinking ice cold water? But it’s better to drink it between meals or before meals, so that your food gets digested properly. Still hungry? Eat something with chopsticks to slow down you.

Get more Fibers!!! There are many myths about fiber, but there is science to back up its helpful role in the diet. Fiber keeps the right amount of water in your intestines, making your digestive system work more efficiently and helping to keep you regular. Thus, just eating enough fiber may help you feel slimmer in just a day or so. There is also evidence that fiber in the diet can help prevent stroke and heart disease, ease the effects of diabetes, and may even directly help in weight loss. You can find alimentary fibers especially in fruit, vegetables, integral cereals, and they are famous for their ability to prevent and treat constipation.
High Fiber Fruits include, Avocados, Apples (without being peeled), Apricots, Bananas, Blueberries, Cantaloupes, Figs(dried), Grapefruit, Guavas, Oranges, Peaches, Pears(with skin), Plums, Raisins, Raspberries, StrawberriesHigh Fiber, Jack fruit
Veggies include's Beets(cooked), Beet greens, Bok choy( cooked), Broccoli( cooked), Brussels sprouts, Cabbage( cooked), Carrot(cooked), Cauliflower(cooked), Chick peas, Cole slaw, Collard greens(cooked), Corn, Green beans, CeleryKale,(cooked), Kidney beans, Onions(raw), Peas( cooked), Peppers( sweet), Popcorn(air-popped), Potatoes (with skin)baked, Spinach(broccoli and all salad greens) Spaghetti and pasta• Summer squash, cooked• Sweet potato, cooked• Swiss chard, cooked• Tomato• Winter squash, cooked• Zucchini, cooked

Exercise!!! Remember, you can lose weight either by decreasing your calorie intake or increasing the number of calories you burn. Any health strategy should include both, but if you want to lose weight fast, exercise is essential.

Moderate aerobic workouts incorporating jogging, brisk walking, cycling, aerobic machines, or classes not only burn calories — they also keep your heart healthy. Swimming is also great, especially if you are quite overweight or have joint problems, because you can get the same benefits of running — typically burning even more calories — with much less stress on your joints. Try to get at least 30-40 minutes of aerobic exercise at least three or four days per week.
Bicycling for about 30 minutes to an hour a day helps. It helps you burn for about 200-250 calories. Try jogging/running for the same amount of time because it helps you burn for about 400-500 calories.

Do at least 20-50 jumping jacks or star jumps everyday this will also help burn some calories that you want to get rid of. Do not do more than 50 jumping jacks, it will make you tired and your body will ache before doing the next exercise. This exercise only takes about 1-3 minutes.

Do 10-20 push-ups and sit-ups everyday, it helps your bones get stronger and build muscles (it also burns fat). These exercises takes about 3-5 minutes. Do not do more than 20 push-ups and sit-ups.