LinuxCooking.com RSS Feed

LinuxCooking.com

whip up a batch of Linux

Website Goldmine!

infobyte August 12th, 2008

If you are reading this article to find out just how to make money with a website, I am sorry to disappoint you. I can tell you some ways that have not worked though. I am still looking for that magic formula when the money just starts rolling in.

Website Ads

During my time trying to crack the formula for making money with a webiste, I have tried Google’s Adsense, affiliate programs, banner ads, Amazon’s astore, and other avenues for making money. I can not seem to get the maigc formula where the money just starts rolling in like the jackpot on a Slot machine. I have, however,  made some money with some of these approachs. So, let’s break them down!

Google Adsense

I have had very mixed results using Google’s Adsense. Sometimes the fuse appears to be lite for some great returns while other times I think the wick is wet. First let me cover some do’s. Do be sure to make the ad either blend with your site or alternately contrast your site. Going back and forth between these method can help prevent ad blindness by your surfers. Make sure you adhere to the Google terms and conditions or else you might find your site in trouble. Leave your surfers few choices of outs other than ads on pages you decide to use ads on.

Now for the don’ts. Reading between the lines of the last statement on the paragraph earlier, do not put ads on every page of your site. I have found this to be a very bad idea. What happened to me was my Click Through Rate (CTR) dropped tremedously. The result of the CTR drop was that Google dropped my Earning Per Click (EPC).  Pick your pages to place your ads on wisely. The best way I can think of to accomplish this is experimentation. I have found what I call “leaf” pages (pages at the bottom of a tree of web pages) to be the best choice for ad placement. But that is me, you might wish to try your branches or main trunk (home page) depending on your website’s subject.

Affiliate Programs

The easiest way I have found to get into affiliates is through an affiliate service. I have used ShareASale.com with some success. Again, I get mixed results with my affiliates. One minute they appear to be catching on fire and the next, not even warm ashes. I have used the ShareASale.com datafeeds to keep my website up-to-date with the latest product/pricing changes of the various merchants. This feature made it easy to stay on top of the chnages. I also used PPC ads that I purchased to send traffic to my affiliate pages. This is one of the best ways I have found to drive traffic to your affiliate pages but it comes with a lot of attention. You must stay on top of your PPC campaigns or you can find yourself losing money before you know it. Just watch your Return On Investment (ROI) [in other words your cost versuses your income].

Banner Ads

Most of the banner ads (image ads) I have used have also been through ShareASale.com. I used OpenAds (now know as OpenX) to serve my banners and my Google Adsense Ads as well. It was a little complicated to setup but once it is up, it is fairly easy to maintain. Maybe I should do a future post about how to set up OpenX. I have had limited success with banner ads on my site. I am not sure if it is because of my website’s subject matter or I have just done a bad job of setting them up? Guess that means more experimentation is needed.

Amazon AStore

Setting up the Amazon Astore is a relatively painless operation. It takes a moment or two to get acclimated but after that, it a breeze. I rather like the concept of Amazon worrying with what sales and me concentrating on my website! I have attempted to integrate the Astore into some of my affiliate pages. Only problem is, noone is buying anything from them.

Conclusion

That street of gold still eludes me. If you would like to see my attempts at success, take a look as here is my site ConcerningAging.com. Maybe you will have some insights that can help us both out. Good luck on your adventure for the gold. If you would like to share with us, please add your comments.

Tags:

Suggested Office Tools

infobyte June 28th, 2008

Many times I find myself looking for applications that fit my need with a price that fits my budget ($0 most of the time). Sometimes I find applications that fit my need but not my budget like Microsoft Office. I hope you find these choices help you and your family out.

Word Processing

The best word processor I have found is Open Office Writer. This both fits my needs and its part of a complete suite of Office tools to help me be more productive. You can try this one out yourself by visiting their website at: openoffice.org

I have used this software for many years now and have found it most satisfactory. You can’t beat the price either as this is open source software and is free to the end user. They would certainly not turn down any donations, I am sure if you feel so inclined but use it without obligation.

This software also contains a spreadsheet (like Microsoft Excel) and presentation application (like Microsoft Powerpoint).

Database

Sometimes you find yourself in need of some data handling capability. When my needs turn to databases, I turn to MySQL. This is a full featured open source software package (spelled F R E E - which fits my budget).

If you have a need for keeping up with the company inventory or contact list. MySQL can help you. If you tie MySQL to OpenOffice, you have a force to reckoned with. You can put together a professional looking data entry application in short order using these tools.

You can find MySQL through their website at: MySQL

Desktop Operating System

If you are tired of an operating system that:

  • is under constant attack by mal-ware (viruses, spyware, worms, etc.)
  • is way too expensive
  • is known to take over your computer at most inopportune times (like updates)

then it is time to consider other alternatives for your desktop. Today’s Linux is not just for Geeks anymore. Liunx has come a long way towards becoming user friendly. Upgrades and updates are becoming just the click of a button and initial installation is now almost automatic.

One of the concerns about changing operating systems is always what software will be available to run. The latest version of open source applications (several mentioned in this article) are meeting the needs of desktop users everywhere. Besides, you can always dual boot your computer to use that one piece of software you use once a year that must run under a specific operating system.

You can find many distributions of Linux available. My favorite one (Ubuntu) can be found at this web address: Ubuntu

Tags: , , ,

Finding Disk Space

recipe June 21st, 2008

Introduction

How many times have you had your web server stop serving web pages because it was out of disk space? Well, it seems to happen to me quite often. That is why I thought I would put this post together to help find the culprit that’s eating up my disk space.

Determining where you need space

The first thing you need to know is “where do I need space?” To find out where (which partition/disk) needs the space use the following command:

df -h

The “-h” gives you a human readable format. So you see results like 29M for 29 megabytes versus stuff like 30234524. It is much easier to read the results with the “-h”.

Now take a look at the given results from the ‘df’ command to see which partition needs space. Here is a sample output:

Filesystem Size Used Avail Use% Mounted on
/dev/sda3 31G 23G 5.6G 81% /
varrun 697M 256K 696M 1% /var/run
varlock 697M 0 697M 0% /var/lock
udev 697M 88K 696M 1% /dev
devshm 697M 12K 697M 1% /dev/shm
/dev/sda6 24G 16G 7.4G 68% /home

As you can see my root partition (”/”) is 81% used. If I was having disk space troubles, this figure could be as much as 100%.

Finding the Big Files

With the information about where we are running low on disk space from the section above, change directories to the start of that partition using the ‘cd’ command as follows:

cd /

If my root partition was low on disk space that is the partition I would go to.

Now, I am ready to determine which files are taking up the majority of my disk space. Use something like the following command to accomplish this:

find . -size +20M -exec du -h \{\} \;

This command will first find file of size 20MB or larger. Next it passes that file over to the ‘du’ (disk usage) command to show us in human readable format (-h) the size of the file.

That is quite a handy little command.

Removing Large Numbers of Files

Sometimes you may find that you have a directory with a large number of files that you wish to get rid of. However, the normal method of using the “rm” (remove) command comes back and complains that the list is too long. What do you do now? Well, don’t despair use the following command to solve this dilemma:

find /tmp -type f -exec rm -f \{\} \;

Be very careful using a command like this. This one if JUST an example. Read the man page on ‘find’ to see just how useful this command really is. This particular commandline will find all files (-type f) in the /tmp directory and pass the filenames to the “-exec” command. In this case the “”exec” command is the remove command (rm). The “-f” forces deletion quietly. The curly braces are replaced by the find command with the filename being passed in. The semicolon (with the backslash in front) is the required end of command marker.

Luckily the find command is pretty quick and VERY useful!

Tags:

Upgrading Your Ubuntu Distribution

recipe June 20th, 2008

Introduction

I am writing this post because the first time I attempted to upgrade a major distribution change, I did it without researching the right way to do it. Needless to say, it did not go well. So, I am putting this together to help those of you willing to “read the instructions”.

First thing to know is that there are different types of distribution upgrades. If you are upgrading within a major distribution (like say ‘Hardy’), then you use the “Minor” release method. However, if you are upgrading from one “Long Term Support” version to another (like ‘Dapper’ to ‘Hardy’), then use the “Major” release method below.

Determining which Release you are running

There are multiple ways to determine which release you are currently running. Here are a few of them (choice one):

  1. lsb_release -a
  2. more /etc/lsb-release
  3. uname -a

NOTE: The last method will not give you the current release name (like ‘Gutsy’) but only the release number (like ‘2.6.24-19-server’).

Minor Release Upgrade Method

Use the following steps as a guide to upgrade from one minor release to another:

  1. apt-get update
  2. apt-get upgrade
  3. apt-get dist-upgrade

NOTE: if you are not running as root you will have to use ’sudo’ (without quotes) before each of the above commands.

Major Release Upgrade Method

Here are some guidelines for upgrading from one major release to another:

  1. apt-get update
  2. apt-get upgrade
  3. apt-get install update-manager-core
  4. do-release-upgrade

NOTE: if you are not running as root you will have to use ’sudo’ (without quotes) before each of the above commands.

Tags: , ,

my openSUSE desktop experience

Uncategorized January 26th, 2008

A while back I wrote about my experience installing openSUSE 10.3, and today I decided to share some of my impressions of the openSUSE 10.3 desktop.

Read the rest of this entry »

Tags:

my openSUSE installation experience

Uncategorized January 21st, 2008

Yesterday I said I wanted to try out openSUSE 10.3. Today, I downloaded and installed it, and decided to post about my experiences.

openSUSE and Ubuntu both have live cd versions that allow a user to boot into the operating system without installing to or using the hard disk. With the Ubuntu live cd, a user can also choose to install the operating system from the live cd.

I decided to stick with GNOME (and probably will until the release of KDE 4.1, which I am looking forward to very much) and downloaded the openSUSE 10.3 GNOME install cd. The download was a little slow (only about 80 kbps instead of my usual 300 or so, maybe because of recent Novell server issues), but after a while it finished and I burned it to a cd. I backed up my personal data on Ubuntu, and then rebooted into the openSUSE installer.

The initial bootup screen is nice, green is a good color for an operating system and I like the “Welcome” message in multiple languages, but the resolution is not quite correct. I am prompted to select my installation options, and this brings up the another comparison I want to make between Ubuntu and openSUSE.

The openSUSE installer gives the user a lot more control over the install, which is good for advanced users, but can be confusing to beginners. The openSUSE installer is very usable for advanced users, perhaps more usable than Ubuntu’s alternate (non-graphical) installer. For a new user installing openSUSE, the default choices are good, but Ubuntu’s installer is probably better for such users, and also is faster and more streamlined.

Anyway, I choose the basic installation without options (the second menu choice) and after a while I am taken to an installation screen with a number of steps. The first step is a Media Check, which I skip (probably not the best idea). The second step is about the License Agreement, which I accept and then move on to the third step, choosing Installation Mode. Anyway, I proceed through each step of the installation usually keeping the defaults, except for things like partitioning and also disabling automatic login. The entire installation process takes about an hour and a half, but probably would take considerably less time if I did not choose to use online updates during the install (my connection to Novell/openSUSE servers is always slow). I reboot because of a kernel upgrade, and then complete the installation. Finally I can log into my new openSUSE desktop.

Tags:

my openSUSE experience

Uncategorized January 21st, 2008

Having only used Debian-based Linux distros in the past, I have mostly formed my opinion of rpm distributions from other people’s horror stories about .rpm package management and the like. Still, the lastest version of the SUSE Linux distribution, now called openSUSE, looks very promising, and I will be trying it out in the near future

I have never really used any Linux distributions before other than Ubuntu (which I love…mostly) and Linux Mint (which is just ok), so I am eager to try something new, to broaden my horizons and to learn something more about the world of Linux. I’ll probably be a little biased against openSUSE because of the things I had heard about its package management and about Novell’s “evil” deal with Microsoft, but I want to give it a try myself.

Tags:

infobyte: dangerous shell commands

infobyte January 3rd, 2008

Recently, there was an announcement on www.ubuntuforums.org warning users against malicious shell commands that might be run accidently by unsuspecting or inexperienced users. I wanted to spread the warning by posting it here.

For the education of Linux users everywhere, here are some common examples of dangerous commands that should raise a bright red flag. Again, these are extremely dangerous and should not be attempted on a computer that has any physical connection to valuable data — many of them will even cause damage from a LiveCD environment.

Read the rest of this entry »

Tags: ,

recipe: install Microsoft TrueType fonts in Ubuntu

recipe January 3rd, 2008

Even if you use primarily free software and free fonts, you might want to install the Microsoft TrueType fonts so that Microsoft Office documents will look the way they were intended to look. Also, most webpages are designed with Microsoft fonts in mind, so after installing these fonts, they will look the way they are intended to look. This “recipe” will tell you how to install the Microsoft TrueType fonts in Ubuntu 8.04 (Hardy Heron).

The Truetype Microsoft fonts provided by the package include:

  • Andale Mono
  • Arial Black
  • Arial (Bold, Italic, Bold Italic)
  • Comic Sans MS (Bold)
  • Courier New (Bold, Italic, Bold Italic)
  • Georgia (Bold, Italic, Bold Italic)
  • Impact
  • Times New Roman (Bold, Italic, Bold Italic)
  • Trebuchet (Bold, Italic, Bold Italic)
  • Verdana (Bold, Italic, Bold Italic)
  • Webdings

Read the rest of this entry »

Tags:

recipe: get add-ons to work in Firefox 3

recipe January 1st, 2008

Firefox is a free, award-winning web browser from the Mozilla Corporation. This “recipe” will tell you how to install and use some Firefox extensions that have not been marked as compatible with Firefox 3.

Read the rest of this entry »

Tags: