Posts Tagged ‘install’


November 23, 2009

So I have to start from scratch!

I was trying two different methods of BACKUP for Ubuntu.

One was a humungous tar command which allegedly zips the entire system into a 1.6 gig tar file.

The other was something called simple backup which installed through synaptic manager.

The simple backup ran and created a folder /var/backup that could not be accessed without root privileges.

I could swear that I blogged elaborate notes about the tar backkup, but somehow that tar file winds up in root, and cannot be accessed except with admin root rights.

So, someone suggested that I issue in terminal

sudo nautilus

which would launch me into the file manager with super rights.

I got some error messages, but it did put me into file manager with rights, and it allowed me to delete that /backup.tar.gz file.

But when I rebooted, then I was getting this error:


I searched for some way to boot into a rescue mode, but nothing worked.

So, I am starting all over, first with the Gnome partition program, except THIS TIME I am making root 10000 instead of 5000. I am leaving the swap-file partition at 5000 like the first time. I feel that I need a larger root.

Now, I keep re-running the ubuntu install and it keeps hanging. It may help now that I hit F4 and used the SAFE GRAPHICS MODE.

IF and when I get a fresh Ubuntu install, then I have the option to try and unzip that one tar backup which I have. On the one hand, it is taking me so long to do the install, that I am afraid that the tar restore will not work, and I will be back at the beginning. On the other hand, when will I ever try the tar unzip restore to know that it is reliable?

For some reason, the Ubuntu install keeps dying, hanging. So, I went back into the Gnome partition software and tried making everything ext4 format instead of ext3. And I made /home half the size and added a 4th partititon called /extra.

Might as well experiment with different things.

Suddenly, Ubuntu is coming right up! I guess it likes ext4 better than ext3!?

ubuntu install manual pdf ext4

Here are some odd differences from my first experience:

As the install began, I plugged in my Belkin USB WiFi adapter, and Ubuntu INSTANTLY recognized it without having to bother with ndiswrapper!

As the install advanced, it showed me the partitions I created with Gnome Partition Manager, and then said THERE IS NO OPERATING SYSTEM DO YOU WANT TO USE THE ENTIRE DISK. So, I said yes, and I guess it is creating its own root and swap.

It occurs to me that I do not DARE try that old tar file restore, for the simple reason that the previous install was NOT ext4.

So if I do anything at all, it should be to immediately try a complete backup and then a restore right now with the tar method.

I do think the install goes better if I press F4 and choose the safe monitor mode.

During my first install, I wasted tons of time on various problems.

I did not realize that I had an obsolete mouse that did not function correctly, so that made things difficult during the initial partitioning and installation.

I spent tons of time trying to make ethernet cable work, but now I know that it is best for me to stick with WiFi.

And I spent a lot of time in vain trying to use ndiswrapper for the Belkin, when it is recognized automatically.

This time around, I did something a little different when the install finished. Instead of clicking on REBOOT, I clicked on CONTINUE TESTING which simply means that I can go to update manager, and install some things, which seems to make more sense then immediately rebooting.

The Update Manager said I was up to date but when I clicked on SEARCH for updates, it found many, and is installing them now.

I do notice that there is an error message to the effect that some of the drive is not formatted. I may take courage and try to correct that now. Once a week or two of work has gone by, I wont have the courage to possibly make a mistake. But if I am going to address the problem/question, now is the time.

Oddly enough, when I removed the install disc, shut down, and then rebooted from the hard drive, the Belkin WiFi was not recognized until I unplugged it and then plugged it back in, and then I had to reenter the WEP key.

I am redoing the UPDATE downloads. They had some trouble when I was in the CONTINUE TESTING mode. And the SHUTDOWN icon that I added to the launch pad was not there when I rebooted.

My UPDATES just now finished ok. The very next thing I will do is add TERMINAL to the launch pad, and enter the command

sudo tasksel

arrow down to highlight LAMP (Linux Apache MySQL PhP)


AND THEN tab down to and press enter.

This is the easiest and most straight-forward way to get MySQL database engine, Apache webserver, and PhP dynamic HTML to interact with the SQL database.

It prompts me for the password for the MySQL user and then verifies the password. Next I will go to synaptic manager and install phpmyadmin. I key in phpmy in the search field and it jumps right to phpmyadmin. I mark it for install. During the install it asks me if I want apache2 (which I do) or lighttpd (which I DO NOT).

Next, in Firefox, I key in localhost/phpmyadmin

It prompts me for the user which this first time should be root, and the password.

Now that you are in as Admin, you must add your own user name (I use bryan in honor of my step-son) and give all possible rights.
So, click on PRIVILEGES and go down to ADD NEW USER.
I leave the default of ANY HOST, I click on CHECK ALL for privileges

and I check CREATE DATABASE WITH SAME NAME AND GRANT ALL PRIVILEGES. After all, I can always go back and add a different user name, with different privileges if need be.

I add GEDIT to the launch pad, and paste and save the SQL code generated to create the new user and save it to the desktop.

Then, I exit from phpmyadmin by going to the little icons in the upper left which are hard to see, and clicking on EXIT.

Next, I want to set up Evolution email and add my two Gmail accounts.

I notice that the first thing Evolution offers to me is an opportunity to restore from a backup file. I should have made such a backup. But I will in the future.

In order to set up the two Gmail accounts, I had to experiment quit a bit to guess at the proper settings.

Whenever you launch EVOLUTION email client in Ubuntu, you may click on Edit-> Preferences and see the various email accounts that you are attached to.


For a Gmail account, in the RECEIVING EMAIL, you want to specify
Username: (whatever your email user name like superman or wonderwoman if you prefer i.e. whatever name you chose to go in your address like but leave out the part for this field and just enter the NAME)

Use secure connection: SSL encryption
Authentication type: PASSWORD

and you may experiment with checking the REMEMBER ME box to see which you might prefer.

The SENDING EMAIL is configured as follows for Gmail:

Server type: SMPT
Beneath this option check the box for SERVER AUTHENTICATION REQUIRED.


Use Secure Connection: SSL encryption

Type: Login

And you may experiment with checking and unchecking the REMEMBER PASSWORD box to see what suits your need.

Username: (here you put your user name as above – e.g. superman, wonderwoman)

NOW I test out my first gmail by sending a message to my second gmail that I am about to add.

I will be prompted twice for the password, once to receive mail, and once to send.

Then I click on EDIT and Preferences to ADD A SECOND GMAIL ACCOUNT.

The first time it took me an hour or two to figure out the correct email settings. It is very fortunate that I took the time to write everything down.

Next, I want to go to the synaptic manager and install Konversation for IRC chat in the Ubuntu forum.

I have already registered my name there as WilliamBuell.

During this second install, I found it handy to refer to to see some of the many bookmarks I have saved.

The install time for all these packages adds up to a lot of time, in addition to the efforts to configure them, and everything depends upon these elaborate notes.

Once the install is done, I go to APPLICATIONS, INTERNET and I will see Konversation there. I right click on it and add it to the Launch pad which is the bar accross the top of my desktop.

I click on Konversation and click EDIT, and then next to IDENTITY where it says DEFAULT IDENTITY I click EDIT. I remove any names that might be there and put WilliamBuell

at the bottom under service I put nickserv and then I enter my password. NOTE one has to have registered a name with nickserv before this will work.
I click on Away and Advanced and place my wordpress url in the part and quit messages, but I dont know if that will work or if it is permitted.

Now that Konversation is set up, I will install EMPATHY, the chat client for AIM, MSN, ICQ, Yahoo, etc.

I say YES I want to enter my new account details NOW, and click FORWARD.

First I add my two gmail accounts
williambuell and literarydiscussions
, and at the bottom, make certain that YES I WANT TO ADD MORE is clicked.

Next I add my AOL chat identity literarytalks
Then I add MSN
Next, ICQ
and finally Yahoo literarydiscussions

Well I guess I have restored enough of Ubuntu for today since it is almost 7:00 am

Just before I went to sleep, I stumbled across an Ubuntu forum in India, so I joined and posted a link to this blog



November 20, 2009

Free AVAST is available for Ubuntu.

Visit the following link, download the .deb (for Debian, Ubuntu is a variant of Debian).

Once it installs, just right click and choose the first option to install AVAST.

Once the install finishes, you will find the AVAST link in Applications-> Accessories

When you first launch it, it will ask you to register to receive a key in your email. Fill out the registration and past the key from the email that will arrive.

First do an UPDATE to get the latest virus signatures. Then do a full scan.

My technique is to install something new FIRST on my machine which runs a Wubi install of Ubuntu on windows, because if anything goes wrong, it takes me much less time to reinstall that than to reinstall my pure Ubuntu 280 gig Gateway.

I posted several times at Avira forum, which is always very helpful, asking for Ubuntu install instructions. Finally someone gave me a link to a PDF about Avira Linux installs which seemed to require a kernal rebuild, which is way beyond my abilities. If only they had given me the above link, I could have installed it with a couple of clicks. I kind of gave up on the idea of having Avira.

The way I discovered this useful link is that I wanted to have an IRC client to seek advice from other Ubuntu users, so I went to synaptic manager and … well, first I installed ircii, but I saw no way to launch it, so then I installed Konversation, which has a gui interface and launch icon and places me right into an Ubuntu chat. I mentioned there about my interest in Avast for Linux-Ubuntu and someone gave me the above link that I need.

I went to the synaptic manager and found the CLAM antivirus scanner, and installed that.

I am sure my Wubi Ubuntu machine will be running that THOROUGH scan of the ENTIRE system for quite some time. But I want to try it out to the maximum before I put it on my Gateway.

I just now took a peek at the screen and it is paused because IT HAS FOUND A VIRUS, which it recommends moving to the CHEST for Quarantine,

Suela -1042 in host/pagefile.sys

which means it is scanning the windows portion of the hard drive, so I think I will ignore it, since that Windows portion gets scanned each day by Avira and also by MalwareBytes.

It is most curious that the file is flagged by the Linux version and not by the Windows version, so I will post this at the Avira forum and call it to their attention. I do believe that pagefile.sys is part of the Windows system and is always locked during scans!.

I never stopped to think that a COMPLETE system scan would include all the files in HOST, which is the Windows partition.


I decided to leave it alone for now, because if it moves my ENTIRE ROOT.DISK, i think it will crash my wubi ubuntu, and it COULD be a false positive!

Also in Windows, pav.sig!!!
Windows sys32 rzdicpya.dll

Also in Windows, Win32.adaware-Gen in system32/mhbo2.dll

Ubuntu Ethernet Install

November 20, 2009

sudo ifconfig will give certain into on the ethernet card including an address which is needful.

I could not succeed in getting my Ubuntu machine to connect to the Westell Verizon DSL modem via Ethernet.

One link suggests that I use synaptic manager to install wicd, a GUI network manager, which will DELETE network-manager-gnome and network-manager, so I need to make a careful note of what wicd will DELETE in case I want to reinstall it later.

Wicd is a general-purpose network configuration server which aims
to provide a simple but flexible interface for connecting to networks.
Its features include:
wide variety of settings.
* ability to connect to (and maintain profiles for) both wired and
wireless networks;
* support for many encryption schemes, including WEP, WPA, WPA2 and
custom schemes;
* wireless-tools compatibility;
* tray icon showing network activity and signal strength;
* lack of GNOME dependencies (although it does require GTK+), making it
easy to use in Xfce, Fluxbox, Openbox, Enlightenment, etc.

TODAY I purchased a ethernet card and stuck it in an empty slot. It claims to have a linux driver, but there are no instructions on how to install it. There is already an ethernet card in the Gateway, and I can tell that there are circumstances where it connects to the router, but still no internet.

These are some links that discuss wicd, just for reference but nothing dramatically helpful or encouraging.

There IS ONE sentence in the above link which is encouraging:
Configuration of Wicd is extremely simple, and automatic for wired clients..

I already have Belkin wireless working, and I could live with that, but it BUGS me that I cannot get ethernet DSL working. Yet, I dont want to do something that will lose my Belkin wifi connection. I was relieved to see that I could REMOVE my Belkin from the USB, play around with Wire and USB configurations (which didnt work) and yet plug the Belkin back in and get my internet connection back.

Since I am a little nervous about what this WICD install will do to my pure Ubuntu Gateway, I have decided to try it out first on my old Compaq Presario Wubi Unbuntu install under windows. If THAT gets trashed, it is relatively easy to reinstall and reconfigure the WUBI. Also, the Compaq does have an ethernet card, so Wubi should be able to connect to DSL through that. I will do that WICD install on the Wubi machine right now. I note that WICD in synaptic manager says WIRED AND WIRELESS NETWORK MANAGER.

I marked it for install, and it mentions that it will install python-urwid and remove network-manager and network-manager-gnome. I am hoping that after the install I will still have wifi connection.

It is now prompting me to choose USERS to add to the netdev group, and there is only one, BRYAN, so I check that, and then click FORWARD. The install finished and I still have wifi connection. So far, so good!

I went to system and looked for network manager, and it says it cannot be found because, obviously, those gnome packages were removed. BUT, when I drop down APPLICATIONS, I now see a new option for Wicd Network manager, and it is lit up to indicate that it senses the Belkin wifi. This is a good sign.

When I click on it, the GUI manager comes up and shows ALL the various wifi channels available in my building (all of which are protected) in addition to my own channel.

I checked off the box on my network to say ALWAYS connect to this and exited the GUI. Then I re-entered the GUI, and to my dismay saw that I lost my connection, and that it needs me to re-enter my WEP key. It offers a confusing array of options which I do not fully understand. But the one which finally accepted my WEP and reconnected me was WEP (HEX 0-9/A-F). I also notice that there is a tab where I can define a wired connection to Eth0. The PREFERENCES tab shows me TWO interfaces, wland0 which is WIRELESS, and eth0 which is WIRED. There are two boxes which I check off to 1.) Always show wired interface and 2.) automatically switch to wired interface whenever available. I am working with desktops but obviously, this would be a convenience for anyone with an Ubuntu laptop.

NOW, I shall reboot, and see if I automatically go back into my wireless connection. If THAT works ok, then I shall connect the cable to the Ethernet, and see if it connects automatically.

It is rebooting now. I suddenly realize the tremendous advantabe of having a test Wubi install on one machine, to try things out before you do them on the pure Ubuntu machine (which would take a LOT more work to reinstall).

FIRST, I let the Wubi machine boot into Windows, to see if I still have my wifi connnection in Windows.

YES, wifi still works in the Windows boot.

NOW, I am booting into Wubi Ubuntu. YES, I have my wifi connection. NOW, to plug the cable from the Westell router into the Ethernet card, and see if it automatically switches. The network icon at the upper right of the desktop “launch pad” says “connecting to wired network.” And the the Firefox broswer works.

Next, to UNPLUG the ethernet cable, plug in the Belkin, and see if it automatically senses and switches or if it FREEZES.


The only problem is that when I clicked on the browser, the machine froze. SO, I have unplugged the Belkin USB WIFI adaptor and am booting JUST with the wired ethernet connection.

I first boot into Windows. Obviously the WIFI is not connected. I click on Start => Control Panel => Network, and enable the LAN local area connection. And yes, the browser works on the wired ethernet under windows.

Next to boot into Ubuntu.

Yes, it senses the wired connection, and Firefox works. Next I unplug the ethernet, and it says NOT CONNECTED on the internet icon. Now to plug in the belkin and see if it switches and works, or freezes.

The WCID install went ok on my Gateway, but unfortunately, it cannot recognize the ethernet card on that machine.

Here is the WCID support forum and what looks like an ICQ channel chat.

#wicd on freenode

is a client that works for me under Windows. Join #wicd

I installed ircii in synaptic manager, but it gives no clue as to how to launch it, so then I installed Konversation which is a full gui irc client, and it comes right up, and automatically puts you in a Kubuntu channel.

Installing LAMP on Ubuntu

November 18, 2009

I worked 20 hours straight to prepare an old Gateway tower with 280 gig drive for an Ubuntu 9.10 install. The Gateway was hopelessly unbootable in Windows because of some operating system problem (not hardware problem). I realized that I should drop down to C: and type format, to just reformat the entire drive which took about 30 minutes. I forgot that I should have typed FDISK first, to set up the necessary partitions, but it was too late.

I downloaded an ISO image for GNOME partition and burned it to a bootable CD.

I booted the GNOME partition utility. It took me literally hours to guess at what I should do.

Finally I realized that Ubuntu expects THREE partitions. The first is referred to as ROOT but the actual name you give it in the partition process is simpl “/” (forward slash omitting the double quotes).

The second partition will have NO name, but you will designate its format TYPE as swapfile, and that will become the system swap file.
The third partition is called /home.

I had no idea how much space to allocate, so I gave 512 for root and 512 for swap, and the huge remainder for /home.

The software warned me that root and swap were too small. Just for the heck of it, I changed root and swap to 5000, and it worked.

Then it took me dozens of tries installing Ubuntu. I had a 2008 Ubuntu disc and a 9.10 disc I had created last week. Time after time, I would boot from each one, say INSTALL UBUNTU, and it would chug away for a long time, and then die with no messages. FINALLY, but why or how I dont know, the 9.10 unstall brought up an Ubuntu desktop with what looked like all kinds of error messages. There were TWO icons on the desktop which I had never seen before. One said EXAMPLES which I never looked at. I was about to give up in dispair when I decided to click on the icon marked Ubuntu. AS IT TURNS OUT, that is the icon which COMPLETES the install process, and it first brings you into its OWN partition software. I cant exactly remember what I did next. I do remember that GNOME partition utility offered me literally 20 DIFFERENT format types to choose from for each partition (one of which is swap-file). I had no clue what to choose. I did some google searching on my other machine (and you NEED a windows machine attached to the internet to look these things up). I discovered that format type ext3 is good for Debian Linux (and Ubuntu is a flavor of Debian) so I went with ext3.

Finally, I had a working bootable pure Ubuntu 9.10 machine.

My next Sisyphean agony task was to connect it to the Internet. The tower already had an Ethernet card. I was informed that IF I connected a cable from the ethernet to the router, then Ubuntu would automatically sense the ethernet connection and configure it. The ethernet board DID light up and pulse when I connected the cable to my Westell router. But Ubuntu never recognized it. Later I read that only certain ethernet cards will be automatically recognized, so I guess the one in my tower was not a compatible one. My next choice was to try and get my Belkin USB WiFi adapter working. I went to ADMINISTRATION -> SYNAPTIC PACKAGE MANAGER and keyed ndiswrapper into the search. I was prompted to place the Ubuntu install cd into my drive. It kept giving me errors. I placed my Belkin adapter install cd in the drive and looked around for the ini driver file, but could not see it. Finally, out of despair, I plugged the Belkin wifi adapter into the USB and LIKE MAGIC Ubuntu recognized it, asked me to choose a connection and enter the WEP key, which I have now done many times with other machines and during the Wubi Ubuntu install on Windows. So now I had a working Ubuntu machine connected to the Internet.

I went to J&R computer store up the street and found a $10 USB 4 gig memory stick by which is REALLY cheap. I recently discovered that the Sancor memory sticks that I love actually have a lot of SOFTWARE on them, which only works under windows, AND if you have a password set on the device, then Ubuntu wont even read it.

I had to go into synaptic manager and search on usb for some installs. Again, it was trial and error, and I dont know what finally made it work, but finally, Ubuntu recognized the memory stick.

TODAY, I had to meet my step-son near at Borders Book Store next to Penn Station. This was lucky for me, because while I waited for him, I browsed the computer book section on the second floor. I found a $9 small Linux handbook reference of commands by Daniel J. Barrett (O Reilly publishers) so I got that to practice all the hundreds of Linux commands that I dont know but need to know.

I browse various books on Ubuntu and Mysql.

I found the key thing I needed to know for my next project, to install LAMP (Linux Apache MySQL PhP) on my new Ubuntu desktop.

All one needs to do is enter TERMINAL, and key in

sudo tasksel

(you will be prompted for your system password next)

A task selection window will pop up with many packages available for install, one of which is LAMP. Now here is a mystery that took me an hour to solve. You can arrow down to highlight LAMP, but you dont have a clue in the world as to how to CHECK it for install. Google revealed the secret: YOU SIMPLY PRESS THE SPACE BAR AND IT IS MARKED CHECKED FOR INSTALL. Then you press ENTER and the install proceeds, Apache, MySQL and PhP. You will be prompted for the MySQL admin password.

Next I wanted to install phpmyadmin to administrate mysql, creating databases, tables, etc. I went to SYSTEM-> Synaptic Manager and searched on phpmyadmin. I think there is only one. BUT HERE IS A SECRET. Once your LAMP install finishes, then power down and boot back up; otherwise, certain files will remain locked by processes and the phpmyadmin install will fail.

Once phpmyadmin installs (and you will again be prompted for that pesky password), then you can open firefox and key in http://localhost/phpmyadmin

You will be PROMPTED FOR A USER NAME AND PASSWORD. This is tricky and confusing. You have to key in the user name “root” without quotes, and then give the password that you have been using all along throughout this. Now you are in phpmyadmin, and you can go to Privileges, and create a new user and give him all possible privileges.

Then, I found a $50 book, also by O’Reilly, entitled
“Head First – PHP & MySQL”. THIS book looks like the perfect way to teach myself how to develop php mysql applications which will have proper security (which is a very complex topic).

I didnt purchase that book tonight, because I wanted to come home and see first if I could successfully install LAMP and phpmyadmin, which I just now finished.

The Head First book gave me links to try the book on line free for 45 days. Money is kind of tight, so I decided to see how far I can go without any additional purchases, but if I get things working, I will buy the book one day. It is interesting that O’Reilly also offers a link to an on line university which can grant degrees in computer science.

I signed up at Oreilly for a trial access of the electronic version of the above-mentioned book.

Here is something I tried which crashed my Ubuntu. I wanted to copy the introduction to the book, from the OReilly site, and PASTE it into an Open Office Document. The first time Open Office died, and the file was shown as requiring recovery. I did the recovery, opened it again with Open Office Document, and then the whole Ubuntu system crashed. I rebooted, and had to go through a long complicated reconstruct procedure. I thought perhaps I would have to install everything from scratch, but fortunately, Ubuntu repaired itself. Moral to story is paste into GEDIT and save, which I guess eliminates whatever hidden characters are in the webpage which cause Open Office to crash the system.

There, I found a link to download all the source code from the book.

I downloaded the zipped file of all the source code.

Next, I went to the source code for chapter 1. They have a beginning version (which I guess you make changes to, and then a final version).

I tried to copy and paste report.html to var/www which is where Apache wants to find pages loaded from local host. I was not allowed to paste because I do not have superuser privileges. So, I went to terminal and typed SUDO GEDIT, which gets me into gedit with super powers, so I can now navigate to the unzipped code in my DOCUMENTS in a special folder I created, open report.html, then do a save as to var/www.

THIS WORKED, because now, when I open Firefox and key in localhost/report , it runs the Chapter 1 example webpage.

FOR MY NEXT TRICK, I must figure out how to copy a chapter 1 tutorial image of a dog (fang.jpg) from the location where it unzipped (in a folder in my Documents) and copy it into var/www where I do not have Admin privileges. SO, I open my OReilly handbook of Linux commands and find the CP command. I open a TERMINAL session and key in SUDO CP which I know will executed it with super admin privileges, but NOW I do not have a clue as to what the PATH names are for the file source and destination.

I am permitted to copy fang.jpg from the unzipped file into DOCUMENTS, just to simplify things.

Using PLACES -> COMPUTER, which brings up the FILE BROWSER, I first navigate to home/Documents and I RIGHT CLICK on the fang.jpg image, and click on PROPERTIES which will SHOW ME that the path is
/home/bryan/Documents/fang.jpg (I use bryan as my user name, but that is my step-son’s name). Next I do the same right click trick on any file which is already in var/www such as report.html, and I discover THAT path, which tells me that the command I should issue in TERMINAL is

sudo cp /home/bryan/Documents/fang.jpg var/www/fang.jpg


Then I realize that I should close my other applications, because they are somehow LOCKING UP something that the CP command needs. Sure enough, once I close a bunch of applications, the SUDO CP command asks me for the PASSWORD and then copies fang.jpg to var/www

I can now bring up the image by opening Firefox and typing


into the browser address field.

NOW that fang.jpg is in var/www, if I once again open Firefox and type

the exercise 1 page loads and also shows the picture of the little dog fang.jpg

I still need to copy report.php and style.css from the place where they unzipped to var/www. Since I can launch gedit with sudo and have superadmin powers, I may open them in that fashion and do a save as.

I ran the finished example, hoping that it would actually send me an email.

I realized that I must examine my php.ini and somehow reconfigure it. I went to some pains to locate that file, but did not post notes as I went, and now I must reconstruct what I did. I still have not succeeded in getting the app to actually send an email through php. But I feel it is more essential for me to move on to other lessons in the HEAD FIRST book.

Dulcinea-Beatrices and my Holy Grail

November 17, 2009

It was an UTTERLY awesome experience.

I had to redo each and every step of the way about 10 or 20 times, guessing about different tricks, before each stage would work, because there is little documentation, and the intall utilities are not intuitively obvious.

It took a few hours of playing around to realize that Windows was a lost cause.

Then, I tried to install Ubuntu from a CD about 20 times. I then realized I had to drop to drive C: and say FORMAT, and reformat the entire drive.

Then, I remembered too late that I should have first used FDISK, to adjust the PARTITIONS.

So, I burnd an ISO image cd of a linux utility which can repartition the drive. There is little documentation on how to do this. PLUS, you mentioned that your mouse was so old. Well, it was doing weird stuff, like I had to RIGHT click instead of left click. Finally, I switched to the newer usb mouse, and it worked FIND.

I had to try repartitioning the drive about 4 times. FInally I realized from obscure error messages that what it WANTS me to do and NEEDS ME TO do is to create THREE partitions in your 280 gig drive. The first is called ROOT, which makes everything in Linux run, except you simply name it “/” (forward slash, without the quotes).

Root has to be a certain size but not too big. I chose 512 and at the end of the process, it made me go back, saying that was too small, so I made it 5000. The second partition is what is called the SWAP partition. You do not give it a name, but with each partition you are offered 20 different flavors of format. I had to google to learn that ext3 is preferred for Ubuntu/Debian linus. So the second partition you do not name at all, and you choose the type SWAP-FILE, and it automatically makes that your swap file. Then, the third and humungous partion of 200 gig is called /home and is format type ext3. Then you finalize it, and it chugs away formatting and testing the drive.

Next, you put in the Ubuntu install and boot from that. I have a 2008 Ubuntu disk, and one created last week. I tried both of them over and over. They would run 30 minutes and then stop. FINALLY, the recent ubuntu disk actually INSTALLED itself and came up with the Ubuntu desktop, but it had alll sorts of error warning that make me think it had failed. But on the desktop was a strange folder saying INSTALL UBUNTU. Out of curiosity, I clicked on that, and low and behold, that was the part that would finish the install. It dumped me into a different partition utility. Finally, Ubuntu is installed, but no internet connection. I plugged a cable from the router to the ethernet card. I was told by forum members that Ubuntu would just automatically sense the Ethernet card and attach to internet. Didnt work. Then I followed a Youtube tutorial on how to install a Belkin USB adaptor. I did it several times. It didnt seem to work. But then, out of curiosity I plugged in the Belkin to the USB (which I had done earlier and nothing happend). Suddenly, I had internet connection.

Thanks you so much for giving me this machine, and making possible an experience with Ubuntu which I have wanted for several years, but never had a spare machine to take chances with.

ANd this machine is SUPER FAST on the internet, even though it is only a WiFi connection. Ethernet hardwire is supposed to be much faster. Anyway, I will sleep for a couple of hours, and be over in the afternoon to pick up that Mybook for repair.

I feel like superman with this success, or Dante, crawling through all of hell and pergatory, and finally getting a glimpse of Ubuntu heave.

I know I must run to J&R to get another $10 Belkin laser mouse, because your old mouse is so weird. And another belkin wifi adaptor. Then, all we need is a monitor at some point because we have 4 computers and 3 monitors.

Even my headphones and mic work in this Ubuntu. THey would not work on my Wubi install of Ubunu on top of windows.

Also, I am going to buy a cheap $7 memory stick and see how it works. Those sancor have SOFTWARE On them, which makes them more expensive. But the cheap ones are simply USB devices, and should serve my needs.

But your old Gateway was so trashed in Windows, it was hopeless. And now it is brand spanking new with a fresh Ubuntu install, and no viruses, no firewalls, no antivirus overhead. Apparently, Ubuntu is not as susceptible to viruses.

Anyway, thanks and talk to you later, and see you today to pick up that Mybook. I will make it my Holy Grail to retrieve the data, and you will be my Dulcinea, my Beatrice (remember, Quixote, and Dante).

Later !!!

Question: Westell Startech Ubuntu

November 14, 2009

Here is the post that I want to submit to

I just spent a LONG LONG TIME typing this post into the above forum and it disappeared. SO, I am composing it HERE first in my BLOG so that it will NOT disappear.

I use Verizon DSL with a Westell 327W Router. I have one Dell Windows XP hard wired to the router, and second XP connected via WiFi with a Belkin USB adapter.

I want to take a 3rd computer, an Ubuntu desktop install, and use a ST100S 10/100 mbps Ethernet PCI, which claims to have a Linux driver.

BIG QUESTION: If I do succeed in attaching the Ubuntu Desktop through the startech ethernet, is there any danger that the Westell modem will somehow be reset or reconfigured or disturbed so that I lose Internet and have to wait for a Verizon technician to show up and fix things. IF there IS such a danger, then I will go with wifi for the Ubuntu desktop.

Composing my post to Avira Linux forum

November 13, 2009

Dear Avira Forum Members –

I did search the Avira Forum on UBUNTU and found two links

The command from the second link

seems VERY USEFUL and understandable to me IF I already had Avira installed on my Wubi Windows install of Ubuntu.

sudo /usr/lib/AntiVir/avupdate –product=Guard


is too vague for a beginner to know how to install Avira on Ubuntu.

Your above first link refers to

which mentions that the target is Linux 2.6.31 and mentions some TAR downloads, but gives no indication about Ubuntu 9.1 (which is the what Wubi windows installer installs) nor does it give step by step instructions for how one might install it via the synaptic manager, or via sudo commands.

Therefore I shall post here in the hopes that someone might point out the kind of instructions that I need.


I would like to see a step-by-step beginners guide on how to install and run Avira in Ubuntu.

I did about 10 Wubi installs (and subsequent uninstalls) of Ubuntu for Windows on an old Compaq Presario with an 80 gig drive running Windows XP Home edition.

My only successful experiences so far with installing additional packages are by means of Ubuntus Synaptic Manager, installing Apache, PhP and MySQL (Lamp). If you check my blog post you will see in great detail not only the step-by-step method which finally resulted in success, but also the many times that I encountered problems and had to reinstall Ubuntu and start over.

It is my understanding from searching forums that Ubuntu is far less subject to malware, and the main motive for an Ubuntu installing any antivirus is to clean up things which might be emailed to a Windows user and infect them. I would appreciate hearing Avira Forum member’s views on this sort of statement.

I feel that IF Avira could make itself available on the Synaptic Manager, then Avira popularity would greatly increase for many reasons.

BUT, if there are some obstacles to placing Avira on the Synaptic Manager, then, a step-by-step tutorial on how to download, install and launch Avira under Ubuntu would become very popular for beginners who what to get their hands dirty on a successful install.

I will certainly post regarding such a tutorial at my blog and various forums and I do see some activity and interest as people search on tags.

I am truly impressed to see what Ubuntu is like. I only felt comfortable trying it when my step-son gave me his old Comaq Presario, which makes my third Windows machine, so I feel I can afford to be daring and take chances installing and using things that might destroy the Windows installation.

The other piece of the puzzle that made this Ubuntu experiment possible for me was realizing that I can connect additional computers to my Verizon DSL by means of an inexpensive Belkin Wi-Fi USB port adapter ($30 USD). If you visit my blog on the Wubi installation, you can see how I finally got Ubuntu to connect to the Internet.

The biggest obstacle for the beginner to try Ubuntu the lack of a solid step-by-step tutorial on how to install it, connect to the Internet, and then install other useful packages.

One post regarding Wi-Fi adapters and drivers on unix machines (and the issue of wrappers vs. native linux drivers) made one observation that really caught my attention, saying “two years ago Ubuntu was more like a toy, and it would have been difficult or impossible to connect Ubuntu via Wi-Fi, but two years from now Ubuntu will have matured into a serious option for businesses.”

I remember in the 1990s asking a Linux programmer out of curiousity if there were any businesses that ran on Linux. He surprised me by saing that Sy Simms Clothiers (“An educated consumer is our best customer”) was on Linux.

I started out with a Radio Shack Model I, moved to a Model III, then switched to MS-DOS machines on an inexpensive network product (not Novell). Finally, I moved to Windows in the 1980s.

The glimpses that I had of Unix and Linux gave me the impression that they were very difficult to use. I finally found a few years of stability using XP, and was horrified by the Vista problems in the rumor mill. I dont even hear anything very positive about Windows 7, but rather see commercial after snide commercial from Apple Mac, mocking Microsoft as an incompetent buffoon.

I wonder how Avira Forum members feel about the future of something like Ubuntu becoming dominant in the business world.

Years ago, I perceived MySQL as a kind of educational toy and curiosity. But now I receive re

But now that I have a glimpse of what Ubuntu is like, for the first time I have the urge to switch totally to open source and escape the uncertainties of proprietary software and license agreements.

P.S. I just went to a HUGE computer store near my home J and R Computer world in Manhattan, and I looked at EVERY wifi and ethernet card to see if ANY mention Ubuntu or Linux, and only ONE mentions LINUX which is and the card is only $10 USD. But it utterly AMAZES me that manufacturers so ignore such a market as Ubuntu.

I have found this forum VERY CORDIAL and helpful to me as a beginner, and you have EMPOWERED me to attempt things that I was hesitant to attempt because I do not have a lot of spare money or spare computers. But I do want to observe how OBTUSE most technical types are, especially in the LINUX world, when you go somewhere like SOURCE FORGE for example to download something, there is VERY LITTLE plain English (or plain German or French) instructions to help guide the beginner, and yet it is the BEGINNER audience, and adolescents who will one day become adult users and consumers of products and operating systems.

The Ease and Difficulties of Wubi Ubuntu

November 11, 2009


Each time I uninstall and reinstall Wubi Ubuntu, I begin posting each move step by step at the top of this post.

Realizing that my Ubuntu was hopelessly trashed by the fixes I had attempted. I do notice that defrag sits for a long time saying 1% done, and then it moves along quite quickly.

Judging from my previous reinstall, it should take 30 minutes for Wubi running in Windows to download the ISO from bittorrent, and then 30 minutes to reboot into Ubuntu and finish the install under running under Ubuntu (and not under Windows).

1)click on the shutdown button
2.) Reboot in Windows
3.) go to control panel TO add/remove programs and REMOVE Ubuntu.
4.) Reboot in SAFE (F8) mode to do a cleandisk, and a defrag. I am curious if there will still be the same 17gig unmoveable area of root.disk, or will it have grown larger?

Defragging should not take nearly so long as it did the first time.

While I wait for the defrag to finish, I am going to reassemble here from my notes what I believe are my subsequent steps.

Here is the link to the page which starts the Wubi install:

I realized I am going to be reinstalling frequently, so I have a shortcut on my desktop to the initial download of the installer from Wubi.

DEFRAGGING just finished, taking only about 10 minutes. I see that boot.disk is still 17 gigs and undefraggable (unmoveable) so at least it does not grow in size with each install. So now I shall reboot into regular windows, click on Wubi installer on my desktop, and an hour from now, I shall have the pleasure of repeating the other steps, namely, get wi-fi belkin adapter talking to Internet, TEST WITH FIREFOX TO SEE THAT I REALLY HAVE A CONNECTION, use synaptic manager as I guess which packages I need for apache php mysql and phpmyadmin.

I notice with some irony that I am commencing the Wubi Install at 3:45 a.m. and it was exactly 3:45 p.m. the PREVIOUS time I reinstalled, and I was finished by 4:30p.m. so lets see if it really only takes 45 minutes again.

I admire the ruggedness of XP on this Old Compaq to take such a licking and keep on ticking. On Line Armor fire wall, Avira antivirus and malwarebytes scanner seem pretty quite during all this. I was doing a number of virus scans in between, but I see they are clean, so I wont bother. I notice many people saying that Linux/Ubuntu is rather immune to viruses, and if on has an antivirus, it is only to scan emails and attachments destined to be sent to Windows machines.

With each new reinstall, I make a little more progress, and a few less mistakes. My next trial, when these installs are done, is to solve the reason why I cannot log into phpmyadmin with a user name and password, even though the install process PROMPTS me for a password. One post I found said that mysql default user is root and the password is blank. We shall see.

My reinstall took less than 45 minutes.

I am now logging in and will connect to my Belkin WIFI adaptor 1st thing.

At the top of the screen on the Ubuntu Desktop is a band called the Launch Pad, with some button icons, the most impressive of which is Firefox. Next to that is System -> Administration-> Network Tools


Now at the top right of the screen, on the launch pad, click the left most icon which represents wireless, and click on your routers wireless address. Mine happens to have a WEP KEY 40/128 bit key, but there are other choices. Key in the WEP key. Click CONNECT, AND immediately when it says connected, click on Firefox and go to any website, just to make certain, because If you THINK you are connected and you are NOT then the synaptic manager will give you lots of trouble and you wont understand why.


You will be prompted for your password, so give the password that you entered at the very beginning of the install.

Click on SETTINGS -> REPOSITORIES -> and see that Download From is UNITED STATES. If you cant find the apache php mysql packages, go back to this setting and choose MAIN SERVER. Although I think for this one I will go with MAIN..

Close the SETTINGS window. Look at the left of the Synaptic Manager and make certain that ALL is clicked. At the right you will see hundreds of packages to browse through, plus a search field. The search field does not seem to work, so page down until you see Apache2. Click on the box at the left next to Apache2 and MARK for installation. You will be shown a number of other packages that will be included. Click on MARK at the lower right of that window. Next, click on APPLY at the top of the synaptic manager window. A second window will pop up and you click on APPLY in the lower right of that window. A progress bar will show you that 9 packages are being installed. Finally you will see a window that says CHANGES SUCCESSFULLY APPLIED, AND YOU will click CLOSE in the lower right.

Now, click on the Firefox icon in the launch pad, click ONCE, and when the browser comes up, enter localhost in the URL field. IF the Apache install was successful, you will see a screen that says IT WORKS!

Return to the Synaptic manager, which should still be open, and scroll down all the choices until you see php5. Mark that for install, and it should say that three packages will be installed, and on apache package will be removed. Click MARK in the lower right, and then click APPLY in the Synaptic Manager window.

We will test to see that php has been installed by doing as follows:

But BEFORE we do this, we must run the TERMINAL and issue the following command:

sudo /etc/init.d/apache2 restart

This will restart apache and allow it to SEE the php we have just installed.

I wanted to verify that php works by using gedit directly from the menu, to add a file to www/var/test.php and gedit said I do not have permission. BUT I remembered an earlier tutorial that had me do the same thing using the TERMINAL, which is as follows:

From TERMINAL key in:
sudo gedit /var/www/testphp.php

THE sudo COMMAND automatically grants me admin rights (super user I think, su). Then, type:

and , save the file
THEN, in Firefox browser, enter the address:


and if PHP is properly installed (which it now is) you see a detailed report of the status and settings of PHP.

By the way, you should know that you may copy from any web page into your paste buffer, click on the terminal, click edit, and choose PASTE to past the command into the TERMINAL for execution.

Now return to the Synaptic Manager and find Mysql-server, mark and apply.

And when that is done we will install phpmyadmin.

All I need to do is launch the Firefox browser and enter http://localhost/phpmyadmin/ and I am IN!
which I learned from THIS TUTORIAL

I discovered quite by accident that what I must do BEFORE phpmyadmin will allow me to log in with my user name and password is launch the TERMINAL and issue the following two commands:

sudo /etc/init.d/mysql stop

sudo /usr/sbin/mysqld –skip-grant-tables –skip-networking &

This stops the mysql daemon process and then restarts it, telling it to Start the mysqld demon process using the –skip-grant-tables option. Because you are not checking user privs at this point, it’s safest to disable networking.

I am sure there are many things I must learn and do to correctly configure mysql, but at least I have the beginnings of something that I can log into and begin creating tables, and php pages that manipulate the data in those tables.

My latest (I think the 4th or 5th) reinstall of Wubi Ubuntu 9.10 took exactly 1 hour (30 minutes to download the ISO from torrent and 30 minutes after reboot into Ubuntu to setup configure automatically) and this was on a Compaq Presario running Windows XP Home edition. I close that screen, the little icon whirls for a bit and SUCCESS, I AM CONNECTED WITHOUT THE FREEZE AND REBOOT.

Now, I click on Applications at the left, hover over ACCESSORIES, and navigate to TERMINAL, RIGHT click, and ask that the Icon be placed on my LAUNCHER PANEL, for convenience, because I am going to be using TERMINAL to issue Linux commands.

Now, at the top of my desktop to the right, which is called THE LAUNCHER PAD, I highlight SYSTEM and hover over SYNAPTIC PACKAGE MANAGER, which so far, in my experiments, seems to be the soundest and most straightforward method to install new applications, and I am going to attempt to install Apache, PhP and MySQL (LAMP). The Synaptic Manager first prompts me for my password, because it is going to alter the system and needs administrative rights. The user name and password are what you entered early on in your Wubi install.

NOW COMES THE STRANGE AND INEXPLICABLE PART OF THE SYNAPTIC MANAGER. I must browse around and locate the proper packages for Apache, MySqL AND PHP. And one does not always see the same choices displayed. I have to play around with different Internet sources which POPULATE the synaptic manager with packages. I switch from the USA server to some MAIN server, and now I am beginning to see packages that LOOK like what I need.

Finally, I spot Apache2. I click the little checkbox to the left to mark it for install. The synaptic manager AUTOMATICALLY chooses all the other packages that need to be installed with it and shows me a list. I click on MARK and then APPLY, and the install begins, tellig me that 6939KB of disk space will be used.

The PROOF that Apache has successfully installed is to launch the Firefox browser (which is in the top launch pad), and key into the browser address field: localhost. If Apache was successfully installed, a page should display which simply says IT WORKS!

The Synaptic Manager cannot install my packages for Apache right now because it cannot resolve certain things from the Internet repository. If one clicks on REPOSITORIES in the Synaptic manager one can see servers around the world, and choose different ones and reload.

Meanwhile, I did notice php5MySQL so I am MARKING that, but doing so simply ADDS that package to the Apache packages, so it will STILL have a problem resolving. And yet YESTERDAY I had no problem installing LAMP with the Synaptic Manager so perhaps later on or tomorrow, a server will be working.

SO, for now, I will shut down Ubuntu, and to do so, I will right click on the LAUNCH PAD (the bar at the top of the Ubuntu desk top) and I will choose to ADD an application to the launch pad, and I will choose ADD TO PANEL, and click on SHUTDOWN (which had a red icon with a circle in it and a notch at the top of the circle). This way, I can always click on that to power down.

(a few hours later) STUPID ME. I did succeed in making Ubuntu connect to my Wi-fi. I said it was connected. But I should have launched Firefox to confirm that I can get to places like

The reason the Synaptic manager was acting funny was because it did not really have Internet access. I went out to do some errands, and decided to leave Ubuntu running, just to see how long it stays stable. When I came back, I tried to use the browser, and realize that I wasnt really connected. I clicked the Internet section of Administration, played around, disconnected, connected, it prompted me again for the WEB key, and NOW I had Internet. And NOW suddenly I could install all the Apache, PhP and MySQL packages.

I wanted to verify that php works by using gedit directly from the menu, to add a file to www/var/test.php and gedit said I do not have permission. BUT I remembered an earlier tutorial that had me do the same thing using the TERMINAL, which is as follows:

From TERMINAL key in:
sudo gedit /var/www/testphp.php

THE sudo COMMAND automatically grants me admin rights (super user I think, su). Then, type: , save the file
THEN, in Firefox browser, enter the address:


and if PHP is properly installed (which it now is) you see a detailed report of the status and settings of PHP.

I also installed phpadmin, but I have to figure out how to launch it.

AHA, PROBLEM SOLVED! All I need to do is launch the Firefox browser and enter http://localhost/phpmyadmin/ and I am IN!
which I learned from THIS TUTORIAL

EXCEPT, now that I am IN the PhPMyAdmin login screen, it will not accept my password.

SO, I am following the tutorial at THIS LINK

I TRIED a number of things, and one of them, which was a “last resort” wiped out a number of applications already installed including open office, which is now no longer on the applications menu in the launch pad at the top of the screen.

SO, I am going through the huge list in the synaptic manager, and marking what I think I need for REINSTALL, and it is now downloading 300 packages for install. I doubt that this will work, but I want to see what happens, and what its like. I would even be curious to mark each and every package for install, just to see how big the Ubuntu installation would become. But what I will probably have to do is uninstall and reinstall Wubi Ubuntu, and work from my blog post notes to get it going again. I found a bunch of links addressing the problems of phpmyadmin and not being able to log in with user password. So I will keep on trying to keep on trying.

I am now entering Ubuntu for first time after this install, and my first task is to learn how to set up wi-fi to recognize my Belkin adaptor in an orderly fashion, without the system freezing and necessitating a reboot.

At the upper left of the Ubuntu desktop, I click on system -> administration -> Network Tools (which opens to the DEVICES TAB) THEN drop down the NETWORK DEVICE can choose WIRELESS INTERFACE. Next, I close those, and move to the right top of the Ubuntu desktop, and click on the left most WIRELESS icon, and click on CREATE NEW WIRELESS NETWORK. It is asking me for the NETWORK NAME, and that for me is a series of numbers, but other people actually make up a name in their router (one humorous one in my building is GET AWAY!!!). I am ready to enter my WEP key, and I am GUESSING that it is WEP 40/128 bit rather than WEP 128 bit (but I am not sure).

I would like to see everyone who is interested in Wubi installs in particular and Ubuntu Linux in general to collaborate in the production of a reliable step-by-step tutorial which anyone of average abilities can follow, to:

1.) Prepare a Windows machine (new or old), for the Ubi Install
2.) Select with care which adapter they will use for connection to Internet.
3.) How to may Ubuntu talk to that Internet adapter and wi-fi.

By the way HERE is one example at Dell’s site of one persons solution to creating a driver for a Wi-Fi adaptor. I merely post this to point the way to Dell Ubuntu forums as just one example of how serious Ubuntu is becoming as a choice in the marketplace.

Also take a look at these DIGG posts regarding the Moblin Linux Remix that is in the developer state.

4.) How to install LAMP (Linux Apache MySQL PhP)
5.) If possible how to install a Gui Admin tool for MySQL THAT APPEARS ON THE DESKTOP.
6.) Step by step how to build a simple but complete application which includes member login, email verification, and all that is necessary to safeguard against SQL injection into PHP.

IF WE CAN SUCCEED IN PRODUCING SUCH A TUTORIAL, then many around the world shall benefit by being empowered to migrate to Ubuntu, and Ubuntu itself as a community will grow stronger and more dominant in the workplace because our strength is in our users and the strength of each user is the tools and tutorials to build stable hardware software configurations which accomplish their tasks and goals in a sound and stable fashion.

1.) Made certain that the computer is as clean as possible of trojans and viruses by using Avira Antivir and Malwarebytes and then installing Online Armour firewall so that when you are in Windows, you will be protected against malware.

2.) Be certain to boot into SAFE MODE (holding down the F8 key as the machine starts to boot) and perform all virus scans a second time in SAFE MODE.

3.) Once you are certain that your machine is clean and your firewall is well trained in what is safe and trusted, then, delete or archive off line all unnecessary data so as to have the most disk space possible, and then run CHKDSK, DISKCLEANER, and then DEFRAG. It is important to run the defragger BEFORE you install Wubi Ubuntu, because the ROOT files in the Ubunto folder will be marked as not-moveable (and hence not defraggable).


The following link is all you need, in Windows, in your browser, to
start the Wubi install of Ubuntu (Linux/Unix), onto your Windows drive, with no partitioning, with all Linux files located in one windows folder which may be deleted in the event of an uninstall, and only a boot option to select Windows or Ubuntu.

I have installed and uninstalled Ubuntu about 4 times in the past two days for reasons that I shall explain.

You may REMOVE Wubi installed Ubuntu with the Control Panel ADD/REMOVE option, just as you would remove any other program.
The uninstall does NOT remove the dual boot option, but perhaps there is some way to do that, if desired.

Here is the link to the page which starts the Wubi install:

The install takes an hour using my Verizon DSL.

The install is totally automatic. Only towards the end will it ask for a name for login and a password. Then it will reboot, and you simply choose Ubuntu instead of Windows. When you first boot into Ubuntu, the install continues for about 30 minutes.

IF you have no intention of installing things like LAMP (Linux Apache MySQL PHP) then you are done, because you have an Ubuntu desktop with Firefox, Open Office, and many sorts of utilities.

BUT your next task will be to get Ubuntu connected to the Internet.

I already have a Belkin USB Wi-Fi connector working in Windows.
It took me several hours to figure out how to make this work, but when you know, it is rather simple. If you look at the upper right of your desktop, you will see a little icon which drops down to offer selections for Internet connection, one of which is Wi-Fi). You will see all the Channels available. You need to know the name of YOUR channel and the WEP KEY. I click on MY channel, and then, the whole system freezes. I have to power down and reboot and reenter Ubuntu. Once Ubuntu reloads, it will prompt me for the WEP key (and remember the key for furture sessions). There is probably a better way to do this which would not involved rebooting, but I found something that works, and I dont feel like experimenting more right now. (Note: since this post, I have decided to delete Ubuntu and reinstall, and determine an exact method of connecting to wifi with a WEP key WITHOUT have the machine freeze and having to reboot, which might result in some damage to the more fragile file structure of Ubuntu running on Windows folders and files.)

But, in all my searching in Google, it seems to me that there is no one tutorial which addresses all the things I need to do to get Ubuntu and Wi-Fi working, and then install Apache, MySQL and PHP.

In fact, part of my reason for posting this is so that I may document what I did over several days and remember it if I have to do it again in the future. I am posting this right now from a Foxfire browser running in Ubuntu.

AS I WAS TYPING THE ABOVE SENTENCE, Ubuntu froze up and I had to reboot. Now it is possible that part of the problem is the old Compaq I am using, with XP, service pack 2. I tried to clean it up as much as possible before embarking upon this Ubuntu experiment. It is to the credit of WordPress that I did not lose a sentence of this post, even though I had to reboot (however, I published and updated it frequently, out of fear of losing my work.)

I may be getting an old tower from someone, so I will have a spare machine to install Ubuntu from a CD, and totally reformat the drive, so that there will be no Windows involved. Ubuntu impresses me enough to make me want to put in the effort to experiment, and see if I can make it work.

I did google to see if there are any Wi-Fi USB adaptors which come with Linux drivers. I did find one, which I shall describe here and post. One forum pointed out that there are WRAPPERS, that can wrap around the windows driver and be used in Ubuntu, but a native driver is preferable to a wrapper. Also, if you put a wrapper around the windows driver, then you are tied to the user agreement for that driver (I mean, it is not purely open source).

HERE is the link I found about a wireless wi-fi adapter that supposedly works with no effort in an Ubuntu machine.

The AWLL3028 features a compact design and compatibility with USB 2.0 ports. Includes wireless encryption data with 64/128/152-bit WEP. Also backward compatible with 802.11b.

HERE is the link which alerted me to the above AIRLINK adapter.

I spent a lot of time a few years ago, playing around with WAMP which is Apache, MySQL, pHp under WINDOWS (while LAMP the same package under Linux). Remember that Ubuntu is a flavor of Linux which in turn is a flavor of Unix.

Having WAMP on your Windows machine allows you to have your own private Internet server (even if you are not connected to the internet). You can create SQL databases using MySQL, and you can create webpages using php which QUERY tables in your database, and add/modify/delete records.

So my next task was to find out how to install Apache and MySQL and PHP on my new Ubuntu install.

I will tell you up front what finally seemed to work for me, and then I will backtrack and explain the ways that didnt seem to work.

THIS link explains how to install software in Ubuntu using what is called System >> Administration >> Synaptic Package Manager.

I had to hunt around in that Synaptic Package Manager and kind of guess which installs had words like Apache, PHP, and MySQL. But once you find what you need, you just click a little box, and they install automatically.

I am positive that once I go to the huge Barns & Noble store near Union Square, I shall find books which talk one through these Ubuntu installations.

Once I had Ubuntu installed, and connected to the Internet through the Wi-Fi USB Belkin adapter, I was DESPERATE to learn how to install ANYTHING at all, and have it show up on the desktop.

I decided I would try to install AVG for Linux. I downloaded the package (named .deb for Debian which is what Ubuntu is compatible with)… I downloaded the file under Windows. Then, I booted into Ubuntu and navigated the file explorer to HOST which is actually drive C and all the Windows folders.

Once the AVG .deb file is downloaded, you boot into Ubuntu, locate the file, right click on it, and it offers you the option to install it into Ubuntu. Now the first great mystery after it installs is WHERE did it install. And the second great mystery is HOW might you place it as an icon on a desktop menu.

I never found out how to execute AVG. I now suspect that one gets into the SHELL and issues command lines to invoke these various programs. I further imagine that there is some was to create a batch script file of all those commands and place that on a menu.

I tried so man diffent ways to install things, that the files in the Ubuntu windows director became corrupted, and UNINSTALL could not delete them. I had to boot several times in Windows and Ubuntu and safe mode, with the compute hanging, until suddenly, the computer informed me that it was doing CHKDSK to repair whatever was wrong. Only then could I boot into windows and uninstall the corrupted version of Ubuntu. This is an illustration of the fragile nature of Wubi Ubuntu running under Windows.

Tonight, before I go to sleep, I am going to set DEFRAG running, which should take something like 5 or 10 hours.

After one succeeds in installing Apache, the test to see if it is working is very simple. Get into a browser and type “localhost” and it will pop up with a screen that says IT WORKED!

The way to test out MySQL is to click on a little black windowed terminal program, and get into SHELL. One must issue an SU command, and be prompted for the root password, so that one may issue these commands in root with admin status.

Here is the tutorial which helped me to ender the shell and issue MYSQL commands.