Ads 468x60px

Showing posts with label Upgrade to Ubuntu 10.04 Lucid Lynx. Show all posts
Showing posts with label Upgrade to Ubuntu 10.04 Lucid Lynx. Show all posts

Wednesday, 18 November 2015

Ubuntu Tutorials: The Synaptic Package Manager

This tutorial is based on Ubuntu version 14.04 & 14.10, and even though this may work for you if you do not have one of those versions installed, it is not guaranteed. 

To read the article that goes along with this video you can click the link below, from there you can copy and paste the terminal commands if they are mentioned in the video above. 

The Synaptic Package Manager Article:

Type the following in your terminal:

sudo apt-get install synaptic

Saturday, 17 July 2010

Setup easy web development environment (XAMPP)

vector version of this imageImage via Wikipedia
This is a how-to for setting up a web development environment easily. This guide will install the XAMPP lampp stack into /opt, setup an easy way to start it up and shut it down, and link a folder in your home directory to the webserver.

This guide is aimed at a development environment only and should not be used as a public webserver. To setup a public webserver follow the directions on the Ubuntu wiki

As this is Ubuntu, all the major parts of a typical web server are included (in the main repo, or on the Ubuntu Server CD) and this is a great way to setup a server. The ubuntu developers have prepared a great web server and have made the process as seemless as possible.

But what if even the official way is still to complicated? What if you just want a quick web server for development?

Fortunately there is the XAMPP project: The XAMPP project bundles Apache, PHP4 & 5, Perl, mySQL, and a bunch of other utilities/applications into an simple package for Mac OSX, Windows, Solaris, and Linux. Obviously this HOWTO only deals with the linux version.

For those of you with already existing Apache/mySQL/php installations it installs everything into /opt so it doesn't conflict with any other installation, and it is completely setup and ready to run.

Install XAMPP

Two easy steps:

  1. Download the most recent version of XAMPP: (at time of writing 1.5.3a)
    (Source URL:
  2. Extract the archive to /opt using sudo: (make sure you are in the directory that you downloaded the archive to)

    sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt


To start it up, open a terminal and type this:

sudo /opt/lampp/lampp start

To stop it, open a terminal and type this:

sudo /opt/lampp/lampp stop
Additional XAMPP commands

To see additional commands, open a terminal and type this:

sudo /opt/lampp/lampp
Sweet XAMPP Control Panel

To use the sweet gtk/python control panel:

Run in a terminal:

gedit ~/.local/share/applications/xampp-control-panel.desktop
Paste the following into the open file and save and exit.

[Desktop Entry]
Comment=Start/Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo "python /opt/lampp/share/xampp-control-panel/"
Name[en_CA]=XAMPP Control Panel
Comment[en_CA]=Start/Stop XAMPP
"XAMPP Control Panel" will show up in your applications menu under Internet. Use the Alacarte Menu Editor to move it around.

Test to see if XAMPP is running

Once XAMPP is up and running open firefox and go to: http://localhost/

You should see the XAMPP test page:

Location of files and uploading

XAMPP by default uses /opt/lampp/htdocs as the root web directory. The easiest way to start working on files is to link a folder in your home directory into this directory.
My user name is peter so I have /home/peter/public_html linked to /opt/lampp/htdocs/peter. So if I navigate to http://localhost/peter/ I get a listing of all the files/folders in that directory. (As long is there isn't a index.php/html/etc file)
To set this up, run in a terminal:

  1. Make public_html directory in home directory:

    mkdir ~/public_html
  2. Link to /opt/lampp/htdocs

    sudo ln -s ~/public_html /opt/lampp/htdocs/$USER
Now any files and folders you place in ~/public_html will be published to your personal webserver.

Bookmark http://localhost/username to make this easy to access.

Open holes:

  1. The MySQL administrator (root) has no password.
  2. The MySQL daemon is accessible via network.
  3. ProFTPD uses the password "lampp" for user "nobody".
  4. PhpMyAdmin is accessible via network.
  5. Examples are accessible via network.
  6. MySQL and Apache running under the same user (nobody).
This doesn't leave your whole system wide open, but someone could hack your XAMPP installation, so be wary.
To fix most of the security weaknesses open a terminal and run:

sudo /opt/lampp/lampp security

Subscribe to the Ubuntu Dan newsletter


Enhanced by Zemanta

Monday, 5 July 2010

Install Clam AV on Lucid Lynx

Proyecto ClamAVImage via Wikipedia

 I always find it comical when I hear people say that they live in such a safe neighborhood that they rarely lock their doors.  Yes it is true, you may have a lower crime rate, but it does not mean that it cannot happen. What the hell does this have to do with Linux and viruses?
It means even Linux users need anti-virus software.  But of course it’s no where near as bad or a “necessity” like it is on any of the Microsoft Windows platforms.  As an example, back in 2005 Kaspersky reported that the number of Linux malware jumped from 422 to 863 known viruses.  Those numbers pale in comparison to the reported 11,000 newly discovered viruses in the last half of 2005 for Windows operating systems.  However the threat still exists. And will only continue to grow as time goes on.  So don’t go thinking you are invincible because you run OS X or any flavor of Linux.  Because it is simply not true.
So what can you do? Install some sort of anti-virus software. Which is what I will be covering here today.  Luckily this day in age you have some great options to protect yourself with.  Just off the top of my head I can think of Avast!, AVG, ClamAV, and F-Prot.  I’ve chosen to cover ClamAV due to the fact of it’s simplicity and other effective uses with things like Squid and dansguardian.  Things that I will be writing some guides for in the very near future.
And just for some entertainment value, here’s a couple features of ClamAV.
Linux For The Home PC - 4681
  • Command-line scanner
  • Quick, multi-threaded daemon with support for on-access scanning
  • milter interface for sendmail
  • Advanced db updater with support for scripted updates and digital signatures
  • C library virus scanner
  • On-access scanning (Linux® and FreeBSD®)
  • Virus db updated multiple times per day
  • Built-in support for various archive formats, including RAR, Tar, Gzip, Zip, Bzip2, OLE2, Cabs, CHM, BinHex, SIS and others I dont know
  • Built-in support for many mail file formats
  • Built-in support for ELF executables and Portable Executable files compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and obfuscated with SUE, Y0da Cryptor and others
  • Built-in support for popular document formats like MS Office and MacOffice files, HTML, RTF and PDF
So lets do it already! But before we start ClamAV is in the Universe repository.  If you do not already have this enabled you should do so now before you continue.  If you are unfamiliar with how to do this, please check the Ubuntu community documentation on how to enable the Universe Repository.
What we’ll be installing are the clamav engine, clamav-daemon for on access scanning, and clamav-freshclam for automated internet updates.  If you do not wish to have automatic updates via clamav-freshclam I believe you can use clamav-data as an alternative.  However I will not cover how to do that in this guide.
  1. Install ClamAV, the daemon, and freshclam.
  2. $ sudo apt-get install clamav clamav-daemon clamav-freshclam
  3. Just as it finishes installing it will of course warn you that the virus database is older than 7 days and that it will need updating.
  4. $ sudo freshclam
  5. You may notice that it will bark at you because the ClamAV installation is outdated. As of the time that I am writing this, ClamAV has released a new version however it has not yet been tested and released to the Ubuntu public.  Please see this for more information.
For simple command line scanning features, that covers it right then and there.  I’ll demonstrate how to perform a scan and how to schedule regular scan’s.  I’ll also cover how to add a gui frontend for those who wish to use it within Gnome or KDE.
  1. Perform a internet update
  2. $ sudo freshclam
    ClamAV update process started at Wed Jul 22 00:31:50 2009
    main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
    daily.cvd is up to date (version: 9604, sigs: 56154, f-level: 43, builder: ccordes)
  1. Proxy settings can be added if needed in the file /etc/clamav/freshclam.conf by adding the following info
  1. Perform a scan for viruses in your home folder only in verbose mode.
  2. $ sudo clamscan -r /home/YOURHOMEFOLDER
  3. or to perform a scan on all system files, only printing infected files to the screen.
  4. $ sudo clamscan -r -i /
  5. When it completes you should be presented with a Scan Summary similar to the one below.
  6. ----------- SCAN SUMMARY -----------
     Known viruses: 600570
     Engine version: 0.95.1
     Scanned directories: 1
     Scanned files: 14
     Infected files: 0
     Data scanned: 5.36 MB
     Data read: 0.54 MB (ratio 9.94:1)
     Time: 3.170 sec (0 m 3 s)
  1. Remove files infected with viruses. Be careful with this one.  False positives do exist!
  2. $ sudo clamscan -r --remove /
  1. Schedule clamscan to run with the ‘at’ command
  2. 1
    $ sudo at 1:00 tomorrow
    at> clamscan -i /home/YOURUSERNAME | mail
    job 1 at Wed Jul 22 01:00:00 2009
  3. You could also use crontab, but for simplicity sake I’ve only demonstrated with the ‘at’ command
  1. To install a gui to use in Gnome or KDE you can install ‘clamtk’
  2. $ sudo apt-get install clamtk
  3. Go to Applications > Accessories > Virus Scanner
That should cover the basics!  I would highly suggest that you read man clamscan to see all the other bells and whistles at your disposal to make clamscan work best for you.

Need extra help understanding Ubuntu? Let the team at Ubuntu Dan give you the edge and purchase a one on one support block. Click here for personal support

Enhanced by Zemanta

Saturday, 8 May 2010

Ubuntu Lucid Lynx 10.04 RC 32bit Screencast How-to Install Video

Review style Screencast on How-to Install and use all the new features of Ubuntu Linux Lucid Lynx LTS 10.04 RC 32bit, demo done inside VirtualBox Virtual Machine in Kubuntu Karmic Koala.
The release candidate for Ubuntu 10.04 "Lucid Lynx", the last testing build before the final version scheduled for release next week, is ready for download: "The Ubuntu team is pleased to announce the Release Candidate for Ubuntu 10.04 LTS (Long-Term Support) Desktop. We consider this release candidate to be complete, stable, and suitable for testing by any user."

New features include: Linux kernel 2.6.32, HAL removal, New default open source driver for nVidia hardware, Improved support for nVidia proprietary graphics drivers, Social from the Start, New boot experience, New Indicators, New Themes, Ubuntu One File Syncing, Ubuntu One Music Store, and I demonstrate those new cool things like the Mucic Store in Rythumbox and iPhone and iPod Touch support s built-in.
Original video production by the Tech Show.


Ubuntu 10.04 LTS Lucid Lynx My First Impressions

Yeah, I know. There are about a million blog articles of this nature floating around on the web, but what the heck. Blogging is all about freedom of speech and expression of opinions and ideas. Here's what I've got so far on the Lucid Lynx.

First off, I was amazed by the fact that I could quickly and easily download the ISO for the 32-bit desktop. It was only about 24 hours after the initial release when I gave it a shot, and there were no delays at all. I find torrents obnoxious, so I did the straight download directly from No muss, no fuss. 

I joke that I don't try a new Windows desktop OS until the first service pack is released. That's usually pretty good advice, but even with Linux, I don't download and install a brand new release of a distro on my production machine. In this case, I ran the ISO directly in VMware Workstation 7 to give it a shot. I used the easy install option just for giggles. This bypasses the manual configuration for the OS which isn't always a good idea, but I figured the worst that could happen is that I'd experience a major fubar and have to blow away the VM.

Everything worked well. Installation was quick and the current version of VMware Workstation automatically installs VMware Tools for Linux, so it's an almost totally hands off experience. Then, when the GUI came up, I hit a snag. The mouse worked fine, but the keyboard was totally non-responsive. This could have been an Ubuntu issue, a VMware issue, or maybe wireless Dell keyboards just don't work and play well with Ubuntu. I fired up Google and started my search.

I found just about a ton of posts in different threads at the Ubuntu forums including 
this one and this one. They all give more or less the same advice about solutions, but I specifically referenced a thread dealing with Ubuntu 10.04 and VMware Player, which worked out for me just fine. After using the virtual keyboard option to enter my password, I was able to login and thereafter, my wireless keyboard behaved as expected.

I haven't had a lot of time to play with the Lucid Lynx VM as yet, but there were a few things I took care of right away. First, I installed
Ubuntu Tweak, if for no other reason, than to be able to put a folder for my home directory on the desktop. It offers a lot of other great features as well, but it disappoints me that so many simple configuration options don't come with Ubuntu "off-the-rack".
There are a large number of "what to do after you install Ubuntu 10.04" blogs and tutorials around, and I chose the one featured at because it seemed to be reasonably comprehensive and wasn't afraid to use the apt-get system to tweak Ubuntu.

I didn't follow most of the steps in the tutorial, at least so far, but I did run 
sudo apt-get install ubuntu-restricted-extras to enable Adobe Flash Player, JRE with Firefox plug-ins, and a few other things. I might even get around to installing the Google Chrome browser just to try it out on Linux, but Firefox serves me for now.

Oh, and I installed GIMP, which was a breeze using the Ubuntu Software Centre. I'll post more details as I get the chance to do something more substantial with the Lynx.


How To Upgrade To Ubuntu 10.04 Lucid Lynx

Update: there is now an development ISO available for download or you could simply press ALT + F2 and type:
update-manager -d

Then follow the on-screen instructions.

The rest of the how-to below is obsolete and should only be used in early Ubuntu development stages (such as before Alpha 1, etc.).


Ubuntu Lucid Lynx is already available, but you can't upgrade to it (and I strongly advise you not to upgrade to Lucid Lynx unless you just want to test stuff) with the usual update-manager -d command.

But I found a way to upgrade to Ubuntu Lucid Lynx (10.04) from Karmic Koala (9.10), on Shakaran's blog (so all the credits go to him).

Here's what you need to do if you really want to already upgrade to Ubuntu Lucid Lynx 10.04 (at your own risk):

1. Open a terminal and paste this:
sudo sed -i 's/karmic/lucid/g' /etc/apt/sources.list && sudo aptitude update && sudo aptitude dist-upgrade

The above command changes your Karmic repositories to Lucid and upgrades the packages.

2. Once you complete step 1 (above), you can upgrade to Ubuntu Lucid Lynx the traditional way:
sudo aptitude install update-manager-core
sudo do-release-upgrade -d

Another way to do this is with Pearl, so that you can see if there will be errors with the packages:
# Firstly, make sure your computer is up-to-date
sudo aptitude update
sudo aptitude safe-upgrade

# Change the Karmic repositories for Lucid, using Perl
perl -p -i.karmic -e 's/karmic/lucid/' /etc/apt/sources.list

# Start upgrading the packages
sudo aptitude update
sudo aptitude install dpkg aptitude apt
sudo aptitude safe-upgrade
sudo aptitude full-upgrade

Disclaimer: No, I did not upgrade to Ubuntu Lucid Lynx yet, I'll wait for at least Alpha 1 or 2 to Upgrade (if not for the Beta).


Recent Posts

Blogger Templates