Tag Archives: Linux

Why Thunderbird is the Best Email Client for your Family or Office

Nowadays, most of us have so many email addresses, it’s hard just to keep track of our own, let alone manage those of our family and colleagues as well. Throw newsgroup subscriptions and multiple storage folders into the mix as well, and it’s a management nightmare.

Mozilla Thunderbird, my email client of choice, solves this problem effectively and easily with Profiles.

How do Thunderbird Profiles work?

Thunderbird allows multiple users to set up the email client to suit their own specific needs and tastes, from Themes and Extensions to Email accounts, Inboxes and Newsgroup subscriptions.
Upon startup of Thunderbird, you are able to choose which user profile you would like to use.
So, you can now have a profile for yourself, one for your partner, and even one for the kids (allowing you to increase Thunderbirds’s spam and security measures).
Each profile is independent of the others, so it’s like having a new installation for each user.

How do I activate Thunderbird Profiles?

1. Firstly, find the Thunderbird shortcut on your desktop (or create one from the .exe file).
2. Right-click it, and select properties.
3. Lastly, in the Target box, add ‘ -p’ without the apostrophes to the end of the target line (so that it reads something like ‘C:\Program Files\Mozilla\Thunderbird\thunderbird.exe -p’), and click OK.

Now when you start Thunderbird through this shortcut you will be prompted with the Profiles Manager box (as long as you do not already have Thunderbird open). It’s all self-explanatory from thereon.

For faster start-up, I advise that you keep two shortcuts on your desktop – one to load up Thunderbird as normal, and this new one to execute only when you want to change profile.

Installing A Link Directory

If you have a website and want more people to link to you, installing a link directory is the right means for you to generate targeted Internet traffic. Indeed installing a link directory is a great way to get the trade links noticed on the Internet .

For a basic rendezvous with the concept of link directory and its installation, read on the article till the end. I am sure, once you finish reading this web page you would not ask any questions as you would be busy installing a link directory. So read on.

What is a Link Directory?
Link Directory is a platform on the Internet where various webmasters submit their links for free. The other webmasters can also exchange or trade links between them on a link directory. It is an effective and easy way to increase your search engine rankings. And that too for free!

In other words, you can also say that a link directory is a systematic record of resource links on a website. The links on a website are categorized according to their purpose. A website may support hundreds of links on its link page.

Why do people install a link directory?
Every webmaster wishes to get the target audience on their websites. installing a link directory is appropriate way to get the desired traffic and attention to the link sites. A number of people make use of web directories to find out the related links for their websites. This makes the job of online searching quite easy for them. Each and every link directory has categories and sub categories links.

How to go about installing a link directory?
You need to meet certain requirements for installing a link directory.

First of all you have to categorize your link directory. Your computer should have the definite script to run your link directory on a web server. The PHP scripting language is the best one to run your script on the Windows operating system. Other scripts like CGI are also used extensively for installing a link directory. The script can be purchased from any software store. The right script will make your installation easier. Some PHP scripts in the market are very powerful. They allow you to add as many categories in the link directory as possible. For installing such a link directory you must have a Linux operating system.

Also there are some scripts in the market that allow you to install the link directory on any of the operating system like Windows, UNIX and Linux. For installing any link directory, you should have a free space on your computer system. You may require 250 MB or more free space to install link directory software. Also you need to have a particular type of IP address for installation. If you do not have the right IP address, the Domain Name Server registrations may be lost and may result in the failure of the installation process.

Make one thing absolutely sure that the installation of your directory may be interrupted if the network is not properly connected. If you receive the connection errors such as “the link directory installation failed” or “error in installation”, check the network cable connection.

The domain name is the most important part of your link directory. Your link directory is installed with a particular domain name. Remember that the domain name should not be single. Create a domain name that suggests that the directory is a part of your organization. If your website domain name is “xyz.com”, the domain name of your directory must be some what like “ab.xyz.com”.

Keeping these things in your mind, installing a link directory would not have remained a task for you. Isn’t?

Linux Tips And Tricks About SSH And Sockets

Count the number of SSH commands

SSH connections from a local machine to a remote machine. The following command will give you the count:

ss | grep -vE ‘State’ | awk ‘{print $1 “–>” “Local(“$4″)” “to” “Remote(“$5″)”}’ |grep -e ssh |wc -l

And the following command will print out the SSH connections from the local machine to the remote machine.

ss | grep -vE ‘State’ | awk ‘{print $1 “–>” “Local(“$4″)” “to” “Remote(“$5″)”}’ |grep -e ssh

Investigation of sockets

To display the names of the ports that are connected to a remote server we can you this command

ss | grep -vE ‘State’ | awk ‘{print $5}’ | cut -d’:’ -f2 |sort | uniq

This command will print only the established connections port names.

Note: Please type these command do not copy and paste otherwise it will give you error because of the blog format.

What Is SNMP?

In today’s complex network of routers, switches, and servers, it can seem like a daunting task to manage all the devices on your network and make sure they’re not only up and running but performing optimally. This is where the Simple Network Management Protocol (SNMP) can help. SNMP was introduced in 1988 to meet the growing need for a standard for managing Internet Protocol (IP) devices. SNMP provides its users with a “simple” set of operations that allows these devices to be managed remotely.

The core of SNMP is a simple set of operations (and the information these operations gather) that gives administrators the ability to change the state of some SNMP-based device. For example, you can use SNMP to shut down an interface on your router or check the speed at which your Ethernet interface is operating. SNMP can even monitor the temperature on your switch  and warn you when it is too high.

SNMP usually is associated with managing routers, but it’s important to understand that it can be used to manage many types of devices. While SNMP’s predecessor, the Simple Gateway Management Protocol (SGMP), was developed to manage Internet routers, SNMP can be used to manage Unix systems, Windows systems, printers, modem racks, power supplies, and more. Any device running software that allows the retrieval of SNMP information can be managed. This includes not only physical devices but also software, such as web servers and databases.

Another aspect of network management is network monitoring; that is, monitoring an entire network as opposed to individual routers, hosts, and other devices. Remote Network Monitoring (RMON) was developed to help us understand how the network itself is functioning, as well as how individual devices on the network are affecting the network as a whole. It can be used to monitor not only LAN traffic, but WAN interfaces as well.

Let’s say that you have a network of 100 machines running various operating systems. Several machines are file servers, a few others are print servers, another is running software that verifies credit card transactions (presumably from a web-based ordering system), and the rest are personal workstations. In addition, there are various switches and routers that help keep the actual network going. A T1 circuit connects the company to the global Internet, and there is a private connection to the  credit card verification system.

What happens when one of the file servers crashes? If it happens in the middle of the work week, it is likely that the people using it will notice and the appropriate administrator will be called to fix it. But what if it happens after everyone has gone home, including the administrators, or over the
weekend?

What if the private connection to the credit card verification system goes down at 10 p.m. on Friday and isn’t restored until Monday morning? If the problem was faulty hardware and could have been fixed by swapping out a card or replacing a router, thousands of dollars in web site sales could have been lost for no reason. Likewise, if the T1 circuit to the Internet goes down, it could adversely affect the amount of sales generated by individuals accessing your web site and placing orders.

These are obviously serious problems — problems that can conceivably affect the survival of your business. This is where SNMP comes in. Instead of waiting for someone to notice that something is wrong and locate the person responsible for fixing the problem (which may not happen until Monday morning, if the problem occurs over the weekend), SNMP allows you to monitor your network constantly, even when you’re not there. For example, it will notice if the number of bad packets coming through one of your router’s interfaces is gradually increasing, suggesting that the router is about to fail. You can arrange to be notified automatically when failure seems imminent, so you can fix the router before it actually breaks. You can also arrange to be notified if the credit card processor appears to get hung — you may even be able to fix it from home. And if nothing goes wrong, you can return to the office on Monday morning knowing there won’t be any surprises.

There might not be quite as much glory in fixing problems before they occur, but you and your management will rest more easily. We can’t tell you how to translate that into a higher salary — sometimes it’s better to be the guy who rushes in and fixes things in the middle of a crisis, rather than the guy who makes sure the crisis never occurs. But SNMP does enable you to keep logs that prove your network is running reliably and show when you took action to avert an impending crisis.

Panasonic and NEC to unveil nine Linux devices on Monday as the LiMo Foundation takes off

On Monday, April 20, Panasonic and NEC are expected to unveil nine devices that run on the Linux-powered LiMo operating system. While not much is known about the soon-to-be-announced devices at this time, proponents of open source operating systems will apparently have plenty of cause for celebration in 2009. Current members of the LiMo Foundation include Motorola, NEC, Panasonic, LG and Samsung, though the latter two have yet to unveil a single LiMo device to date. Still, the foundation does have an all-star line-up of carriers backing it up as NTT DoCoMo, Orange, SK Telecom, Telefonica, Verizon Wireless and Vodafone have all announced they will be carrying LiMo devices at some point this year. While there might not be too much to account for at the moment, the LiMo picture is apparently about to get a whole lot clearer.

Read

Installing and Running WebKit in Linux Using Qt

I’m coming to appreciate more and more all of the hard work software developers perform. I wouldn’t consider myself an open source elitist, but there’s something special about the associated ideologies. When a large community of people band together to work on a project, a lot of fantastic products can be created.

One such product is WebKit, the open source Web browser rendering engine used by Safari (as well as a number of other products). It’s very important to keep in mind that Safari and WebKit are two very different things. Safari is a Web browser that uses WebKit as it’s rendering engine.

The WebKit developers put forth the effort to port WebKit to Qt, which is, as stated by the developers:

Qt is a comprehensive development framework that includes an extensive array of features, capabilities and tools that enable development of high-performance, cross-platform rich-client and server-side applications.

Qt is truly cross-platform and allows deployment on a wide range of hardware configurations, as opposed to other “cross-platform” products that are restricted to Windows and Mac OS X. The fact that the WebKit developers put forth the effort of porting to Qt4 gives users the ability to run their rendering engine on any platform. Thanks to their hard work, it’s quite easy to run a WebKit-based browser in Linux.

Preparing your Linux system for WebKit

I’d like to be explicit in saying that the following instructions are geared towards a fresh install of Ubuntu 7.04, FC8, FC9, OpenSuse 10.3 but should be applicable to a wide variety of other Linux distributions. First and foremost you’ll need to add extra repositories. After you have followed those steps we can begin.

There are a number of packages you’ll need to successfully build a Qt4 Web browser that uses WebKit.

There will be a lot of additional packages to install, so don’t be surprised if the list of packages for installation is significantly large.

Obtaining a nightly build of WebKit

Next, we’ll need to use Subversion to check out the WebKit source. The following command will check out files to a folder titled WebKit within your working directory, so be sure your working directory is appropriate (I used my home directory).

svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit

You will be able to monitor the checkout process as each file is listed in your terminal.

Building your Qt4 WebKit browser

When the checkout is complete, you can initiate the build of your Qt4 WebKit browser using the following command:

QTDIR=/usr/share/qt4/ WebKit/WebKitTools/Scripts/build-webkit

The script will take a minute to prepare the build, and then the process will begin.

This step can take quite a bit of time depending on your hardware configuration, so take a few minutes to have a cup of coffee and relax while your browser is being built. Your terminal will scroll with hundreds of lines of build commands and more, so don’t feel the need to sit and watch it build (unless you’re interested — I was).

Running the browser

A successful build means you can run your Qt4 WebKit browser using the following command:

WebKit/WebKitBuild/Release/WebKitQt/QtLauncher/QtLauncher about:blank

A very basic browser window will appear with limited controls and an address bar. There will be some information scrolling in your terminal, but it can generally be disregarded.

You’ve now got a native WebKit browser to play around with in Linux. I took a second to attach the launch command to an entry in an panel using the WebKit icon. It’s more convenient than keeping the command saved somewhere to copy and paste when I’d like to test in WebKit.

Things to keep in mind

Perhaps the most important thing to keep in mind is that you’re running a nightly build of WebKit, not the build Safari is using. The nightly versions are much more advanced than Safari’s WebKit, so some of the quirks that appear in Safari may be handled in your Qt4 browser.

Due to the version discrepancy, you can’t depend on a nightly build of WebKit sufficing for a legitimate test in Safari. It is useful, however, to take a quick look at overall structural elements of your designs before making the effort of moving to an OS X machine.

and Do export the path variables of QT and the Qt version must be >= 4.3

Happy Rendering