Ubuntu Tip : Mount/Unmount .iso Images in One click



Gmount-iso is a small tool written using PyGTK and Glade. It allows you to easily mount your cd images. This is a frontend to the 'mount -o loop -t iso9660 foo.iso /mountpoint' command.





Howto Tweak Ubuntu



This tool is for ubuntu which makes it easy to change hidden system and desktop settings.Ubuntu Tweak is only for GNOME desktop environment.This is still under heavy development and very good utility for ubuntu users.




Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs) in Ubuntu 7.10 (Gutsy Gibbon)



MPlayer is a movie and animation player that supports a wide range of codecs and file formats, including MPEG 1/2/4,DivX 3/4/5, Windows Media 7/8/9, RealAudio/Video up to 9, Quicktime 5/6, and Vivo 1/2. It has many MX/SSE (2)/3Dnow(Ex) optimized native audio and video codecs, but allows using XAnim’s and RealPlayer’s binary codec plugins, and Win32 codec DLLs. It has basic VCD/DVD playback functionality, including DVD subtitles, but supports many text- based subtitle formats too. For video output, nearly every existing interface is supported. It’s also able to convert any supported files to raw/divx/mpeg4 AVI (pcm/mp3 audio), and even video grabbing from V4L devices.





Hotwire - A New graphical terminal



Hotwire is a graphical shell intended to replace the interactive command execution portion of a typical Unix shell. It includes much of the functionality found in the combination of a terminal emulator, a shell, and core utilities like ls and grep.

Install Hotwire in Ubuntu Gutsy




Ubuntu 7.10 (Gutsy Gibbon) LAMP Server Setup



In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation.





Upgrade Ubuntu 7.04 (Feisty Fawn) to Ubuntu 7.10 (Gutsy Gibbon)



The Ubuntu team is proud to announce the version 7.10 of Ubuntu, Kubuntu, Edubuntu, Gobuntu, and Xubuntu codenamed "Gutsy Gibbon". This includes installable live Desktop CDs, server images, alternate text-mode installation CDs, and an upgrade wizard for users of the current stable release.


Before Upgrading You need to remember the following Important point

Take complete backup of your system before upgrading .Now you need to upgraded Ubuntu Feisty Machine to Ubuntu Gutsy.

If you want to upgrade using GUI use the following procedure

Use the Alt+F2 key combination to bring up the Run Application dialog, where you'll want to enter the following command

update-manager -c

“-c” switch tells it to look for upgrades at all.

You should see the following screen here Now you can see 7.10 is available for upgrade click on upgrade

Now you should see the release notes as follows here you need to click on upgrade

Preparing for the upgrade in Progress

You can see similar to the following screen about end of support for some applications click on close

Now you should see the following screen to start upgrade click on start upgrade

Fetching the upgrades are in progress

Installing the upgrades are in progress

Cleaning Up is in Progress

You need to restart the system to complete the Upgrade by clicking “Restart Now”

Testing Your Upgrade

You can check the ubuntu version installed using the following command

sudo lsb_release -a

Output Looks like below




Ubuntu 8.04 (Hardy Heron) Release Dates



In addition to Ubuntu 6-months stable releases and the next version of ubuntu is 8.04 with Code Name “Hardy Heron” but this release will proudly wear the badge of Long Term Support (LTS) and be supported with security updates for five years on the server and three years on the desktop.





Saving Power on Intel Hardware Using Powertop



PowerTOP is a Linux tool that finds the software component(s) that make your laptop use more power than necessary while it is idle. As of Linux kernel version 2.6.21, the kernel no longer has a fixed 1000Hz timer tick. This will (in theory) give a huge power savings because the CPU stays in low power mode for longer periods of time during system idle.

However... there are many things that can ruin the party, both inside the kernel and in userspace. PowerTOP combines various sources of information from the kernel into one convenient screen so that you can see how well your system is doing, and which components are the biggest problem.

Requirements

For PowerTOP to work best, use a Linux kernel with the tickless idle (NO_HZ) feature enabled (version 2.6.21 or later). Currently, only 32-bit kernels have support for tickless idle; 64-bit kernels are expected to gain this feature in version 2.6.23.

This only applies to Feisty. Also note that you need kernel 2.6.21 or above.

Install the following prerequisites

sudo apt-get install build-essential libncurses5-dev libncursesw5-dev

Download the latest powertop source from here

Put the source in /usr/src and unpack using

sudo tar -xvf powertop-1.8.tar.gz

Compile using the following command

cd powertop-1.8

sudo make

sudo make install

You can also use "checkinstall" instead of "make install" to create a simple .deb for easier removal.

Run powertop using the following command

sudo powertop

Powertop Output shown as follows




IPBlock - Graphical IP Blocker



iplist allows users with no or basic knowledge of iptables to filter (e.g. to block) network traffic based on (automatically updated) lists. These lists have various formats and are sorted by different categories (e.g. countries, adware, corporations).





How to connect Motorola V3X to ubuntu 7.04 trough USB



In this tutorial we will learn how connect your Motorola V3X to ubuntu 7.04 trough USB




How to connect Motorola V3X to ubuntu 7.04 trough USB



In this tutorial we will learn how connect your Motorola V3X to ubuntu 7.04 trough USB




How to Install the Eternity Screensaver in Ubuntu



The Eternity Screensaver plays animations of ray-traced scenes which took days or even weeks to generate. The reasoning is that these clips should look more impressive than anything which can be generated on-the-fly.





Howto Turn Off Auto-Play of CDs,DVDs and iPods in Ubuntu



Ubuntu automatically starts playing audio or video discs when you insert them into CD/DVD drive.If you want to turnoff this use the following tip.







monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.






Webilder delivers stunning wallpapers to your Linux desktop, directly from Flickr and Webshots. You choose what keywords (tags) to watch for, and photos are automatically downloaded to your computer. Webilder can also change the wallpaper every few minutes.





Mount and Unmount ISO,MDF,NRG Images Using AcetoneISO (GUI Tool)



AcetoneISO is CD/DVD image manipulator for Linux.Using this tool it is very easy to Mount and Unmount ISO,MDF,NRG Images




Speed up dynamic linking Using Prelink



ELF prelinking utility to speed up dynamic linking.The prelink package contains a utility which modifies ELF shared libraries and executables, so that far fewer relocations need to be resolved at runtime and thus programs come up faster.




How to Install Webmin in Ubuntu



Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on.



Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.

Preparing Your System

You need to install the following packages

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Install Webmin in Ubuntu

You can use the above procedure but if you want to install latest version of .deb package you can download from webmin site under Download Section

Download latest webmin using the following command

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.340_all.deb

Now we have webmin_1.340_all.deb package you need to install using the following command

sudo dpkg -i webmin_1.340_all.deb

If your server complains that there is some library things does not find. Just run the following command

sudo apt- get install -f

You should now be able to login to Webmin at the URL https://localhost:10000/

Webmin User Password Change

If you want to change root password in webmin use this included Perl script:

sudo /usr/share/webmin/changepass.pl /etc/webmin root




Ubuntu 7.04 (Feisty Fawn) LAMP Server Setup



Automatic LAMP (Linux, Apache, MySQL and PHP) In about 15 minutes, the time it takes to install Ubuntu Feisty Server Edition, you can have a LAMP server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation.






If you want to Increase ext3 and ReiserFS filesystems Performance use the following Tweaks

Introduction

ext3 Filesystem

The ext3 or third extended filesystem is a journalled file system that is commonly used by the Linux operating system. It is the default file system for many popular Linux distributions




Recover Data from a Damaged hard disk using dd_rhelp



dd_rhelp is a bash script that handles a very usefull program written in C which is called dd_rescue, it roughly act as the dd linux command with the caracteristic to NOT stop when it falls on read/write errors.




Mount Network File systems (NFS,Samba) in Ubuntu



NFS

Network File System (NFS), a protocol originally developed by Sun Microsystems in 1984 and defined in RFCs 1094, 1813, and 3530 (obsoletes 3010) as a distributed file system, allows a user on a client computer to access files over a network as easily as if attached to its local disks. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call system (ONC RPC).




Create backup of installed packages using APTonCD



APTonCD is a tool with a graphical interface which allows you to create one or more CDs or DVDs (you choose the type of media) with all of the packages you've downloaded via APT-GET or APTITUDE, creating a removable repository that you can use on other computers.One thing you need to remember this will create backup all the packages installed using apt-get,synaptic because these package arcives are stored in /var/cache/apt/archives




How to Install Java Runtime Environment (JRE) in Ubuntu



Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s. Java applications are compiled to bytecode, which at runtime is either interpreted or compiled to native machine code for execution.







Automatix is a graphical interface for automating the installation of the most commonly requested applications in Debian based Linux operating systems.







If you want gameport,gamepad or joystick to work in Ubuntu you need to follow this procedure




Fix for SSH slow to ask for password in Ubuntu Feisty Fawn



When you try to login using ssh some users might find asking for ssh password is slow here is the solution how to fix this problem.


Solution 1

Edit the /etc/ssh/ssh_config file using the following command

sudo vi /etc/ssh/ssh_config

Commentout the following lines

GSSAPIAuthentication yes
GSSAPIDelegateCredentials no

save the file and exit

Solution 2

If you got to System>Administration>Network

Now you should see similar to following screen here click the "General" tab

You need to Uncheck the option that says "Scan for available services and advertise . . ." and close

Now you can try to login using ssh you should see it will prompt for password immediately






In addition to Ubuntu 6-months stable releases and the next version of ubuntu is 7.10 with Code Name “Gutsy Gibbon”.

Mark Shuttleworth about Ubuntu 7.10 (Gutsy Gibbon)

On a personal note, the monkey on my back has been composite-by-default,which I had hoped would happen in Edgy, then Feisty. I'm nervous to predict it now for Gutsy, for fear of a third strike, but I'm told that great work is being done in the Compiz/Beryl community and upstream in X. There's a reasonable chance that Gutsy will deliver where those

others have not. I remain convinced that malleable, transparent and extra-dimensional GUI's are a real opportunity for the free software community to take a lead in the field of desktop innovation, and am keen to see the underlying technologies land in Ubuntu, but we have to balance that enthusiasm with the Technical Board's judgement of the stability and maturity of those fundamental layers.

Now you can make a note of ubuntu 7.10 (Gutsy Gibbon) release dates in you calender

Important Dates

April 2007

April 26th - Toolchain Uploaded

May 2007

May 10th - Development Summit

May 31st - Specifications must be finalized

June 2007

June 7th - Tribe CD 1

June 21th - DebianImportFreeze ,Remaining upstream merges completed, Rebuild Test

June 28st - Tribe CD 2

July 2007

July 12th - Developer Sprint

July 19th - Tribe CD 3

August 2007

August 16th - FeatureFreeze,UpstreamVersionFreeze ,ArtworkDeadlineOne,UVF Universe

August 23rd - Tribe CD 5

August 30th - ArtworkDeadlineTwo,NewPackagesFreezeUniverse

September 2007

September 6th - Tribe CD 6

September 13th - StringFreeze

September 20th - BetaFreeze,FeistyArtworkFinalDeadline

September 27th - BetaRelease

October 2007

October 4th - NonLanguagePackTranslationDeadline,KernelFreeze

October 11th - ReleaseCandidate,LanguagePackTranslationDeadline

October 18th - FinalRelease

Details about Each Release

Feature Freeze

The point at which we cease creating and modifying internal features and packages. This means we’re pretty much locked down for bugfixes only.

Exceptions requiring confirmation

Packages in or relating to high-priority ReleasenameFeatureGoals

Major/minor fixes, within reason

Exceptional circumstances

Upstream Version Freeze

The point at which we cease accepting new upstream versions of packages, whether they are sourced from Debian or not. Selected Debian releases of the same upstream versions may still be pulled in for bug-fixes, but this would be a manual process.

Exceptions requiring confirmation

Packages in or relating to FeatureGoals

Minor fixes, if the upstream change is a micro-increment (or equivalent)

Major fixes, particularly blockers, if the upstream change is a minor-increment (or equivalent)

Exceptional circumstances

String Freeze

A string freeze is initiated in the project when all the human readable portions of code are no longer allowed to change. This gives the translation teams a chance to complete their translations without having to redo changed text. It also allows documentation to mention the actual UI names and messages.

Beta Freeze

Anal-retentive, high-caution period until the Beta Release goes out. Release and relevant section team confirmed fixes only! Once the BetaRelease is shipped, we roll back to FeatureFreeze status.

Exceptions requiring confirmation

ReleaseCriticalBug

SecurityCriticalBug

Exceptional circumstances

Beta Release

The BetaRelease is a testing oriented pre-release, usually one month before the Final Release.

Non Language Pack Translation Deadline

Some translation data cannot currently be updated via the language pack mechanism. Because these items require more disruptive integration work, they are subject to an earlier deadline. Translations which fall into this category are:

The Ubuntu installer

Translations which don’t use gettext, including:

Firefox

debconf templates

desktop notifications via notification-daemon

Strings visible in the default desktop (live CDs don’t get language pack updates)

Default menu items

Panel strings

All menu entries in KDE applications, which does not support translation via language packs

Kernel Freeze

The kernel freeze is a deadline for kernel updates, since they require several lockstep actions which must be folded into the CD building process. As with other freeze dates, exceptional circumstances may justify exemptions to the freeze, at the exception of the release managers.

Release Candidate (RC)

The release candidate is a production-quality pre-release one week before the final release.

Language Pack Translation Deadline

Translation data using the Language Pack mechanism is due at this deadline.

See NonLanguagePackTranslationDeadline for non Language Pack data.

Final Release

The final release is the finished product which is distributed with an official Ubuntu release number.





Desktop Data Manager(DDM) for Ubuntu Desktop



Desktop Data Manager is a Clipboard Manager for GNOME similar to Klipper for KDE. With DDM it is possible to display different types of content like text or images.Additional DDM includes a screenshot taking application which is able to take screenshots from a single window/subwindow, rectangle of the screen or the whole desktop.




View Hidden Files and Folders in Ubuntu File Browser



The Ubuntu file browser does not show hidden files or folders by default, only the files that your user has access to.Here is the small tip how to view Hidden Files and Folders in Ubuntu File Browser.




How To Import mails from Evolution to Thunderbird



If you want to Import your mails from Evolution to Thunderbird there is very nice utility called MboxImport .

Thunderbird, like many other email clients, uses the mbox format to archive the emails.It's curious that Thundebird has not a function that let you import or export files in this format and this lack is sometimes a problem when you want to move the accounts from a pc to another one or when you want to migrate (for example) from Mozilla to Thunderbird.Anyway this kind of import can be made very easily copying the mbox file into the directory "Local Folders" (it is inside the profile directory) with Thunderbird close; restarting the program, the mbox file will be visible as sub folder of Local Folders.To export, you must just copy the email files that are inside the account's folder.This method can give some troubles, above all for people not very expert with Thunderbird, because the profile's files are into a hidden directory, whose path changes with the operative systems or also with personal needs.

First you need to download MboxImport from here

Install MboxImport in Thunderbird

In Thunderbird, go in "Tools" --> "Extensions" and click on "Install";

pick the xpi file you downloaded and follow the instructions;

restart Thunderbird.

To export, it's sufficient a right-click on the folder or on the account and to choose the voice you want from the menu "Import/export".


Once you have saved all the folders/files into the Mbox format, just go into Evolution and select "Import" and follow the wizard using "a single file import" and select your xxxx.mbox file and then select which folder in Evolution you want to import into.

For importing the address book from Thunderbird to Evolution, use T-birds address book export function and save the address book as a .csv file.After finishing address book check everything is fine or not.






The GNU MP3/Media Streamer is a simple application which makes it possible to navigate through your audio and video collection via a browser, and stream playlists across a network.GNUMP3d is a streaming server for MP3s, OGG vorbis files, movies and other media formats.The software supports browsing, searching, and streaming all via your browser with support for MP3, OGG Vorbis, WMA and many other types of audio files.

If you have a large music collection then streaming it across a LAN, or the internet, is a logical thing to do with it.Now we will have a look at gnump3d.

Gnump3d features


  • Small, stable, portable, self-contained, and secure.
  • Simple to install, configure, and use.

  • Portable across different varieties of Unix, the GNU Operating System, and Microsoft Windows platforms.

Install Gnump3d in Ubuntu

sudo apt-get install gnump3d

This will install all the required packages for gnump3d

When the software is installed it will have the following options configured

The directory containing all your media, /var/music by default.

The port number the server should listen upon, 8888 by default.

The user the daemon should run as, gnump3d by default.

Now you need to access go to http://youripaddress:8888 you should see similar to the following screen

To change the theme you wish to use simply click upon the "Preferences" link and you should see the following screen here you can change theme

Default Configuration file located at /etc/gnump3d/gnump3d.conf you can change this for your needs most common things users change is The default theme,The security options,The downsampling support.

Change the default directory containing multimedia files for GNUMP3d

By default multimedia files location is /var/music.If you want to change this to /home/music using the following steps

Backup existing config file

sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup

Edit the configfile

gksudo gedit /etc/gnump3d/gnump3d.conf

Search for the following line

root = /var/music

Replace with the following line

root = /home/music

Find this line

user = gnump3d

Replace with the following line

user = root

Save and exit file

Restart gnump3d service using the following command

sudo /etc/init.d/gnump3d restart

Change the default port number for GNUMP3d

By Default gnump3d server port will listen port number 8888.If you want to change to 7878 use the following steps

Backup existing config file

sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup

Edit the configfile

gksudo gedit /etc/gnump3d/gnump3d.conf

Find this line

port = 8888

Replace with the following line

port = 7878

Save and exit the edited file

Restart gnump3d service using the following command

sudo /etc/init.d/gnump3d restart

Now you can access at http://youripaddress:7878

Adding files to gnump3d

Now, you'll probably want to add some files to gnump3d. The default directory is /var/music.

There are many different ways to copy files into your server from another Ubuntu machine,More secure way is using openssh. On the Ubuntu box that you want to copy the files from, open a terminal and type

sudo apt-get install openssh

Assuming that the path of a folder to copy is /home/username/music and the local IP of the remote Ubuntu computer is xxx.xxx.x.xxx, and the directory where the copied files will go is /var/music, go you your server and type

cd /var/music sudo su scp -r username@xxx.xxx.x.xxx:/home/username/music

Once you copied some files you should see similar to the following screen






Automatic LAMP (Linux, Apache, MySQL and PHP) In about 20 minutes, the time it takes to install Ubuntu Edgy Server Edition, you can have a LAMP server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation.

The LAMP option saves the trouble of installing and integrating each of the four separate LAMP components, a process which can take hours and requires someone who is skilled in the installation and configuration of the individual applications. You get increased security, reduced time to install, and reduced risk of misconfiguration, all of which results in a lower cost of ownership.

Ubuntu LAMP server Install the following Versions

Ubuntu Edgy Eft 6.10
Apache 2.0.55
Mysql 5.0.24a
PHP 5.1.6

First you need to download server version of Ubuntu version from here after that you create a CD and start booting with the CD Once it starts booting you should see the following screen in this you need to select second option "Install to the Hard disk Option" and press enter



Choose you language and press enter you can see we have selected english in the follwoing screen

Choose your location and press enter you can see we have have selected United Kingdom in the follwoing screen

If you want to try to have your keyboard layout detected by pressing a series of keys you need to select yes option and if you don't want that and you want to choose from a list click no in this example we have selected no and press enter

Select Origin of keyboard and press enter

Select keyboard layout and press enter

Detecting hardware to find CD-ROM Drivers in progress

Scanning CD-ROM in Progress

Loading additional components progress bar

Configures the network with DHCP if there is a DHCP server in the network

Enter the Hostname of the system so in this example i enter here as ubuntulamp



Detecting Disks and Hardware in progress

Startingup the partitioner in progress

you have to partition your hard disk in this i have selected manually edit the partition table and press enter

It will show you the hard disk space and press enter here i am using vmware with 10.7GB of space

Create a New partition table on the device select yes and press enter

Now you can see the freespace and press enter

How to use this freespace select create a new partition and press enter

Enter the new patition size and press continue i have entered 100mb in this example

Select the type of the partition and press enter in this example i have selected primary

Location for the new partition as begining and press enter

Now you need to select the mount point with the following screen and press enter to change mount point

Now you can see the available mount points and here i have selected /boot mount point and press enter

Now you should see the following screen and here you need to select "Done Setting Up the Partition" option and press enter This will create the /boot mount point with 100mb of space and you can create the / mount point in the same way with the existing space.

you can see this in the following screen here you need to select "Finish partitioning and write changes to disk" option and press enter

Write the changes to disk option here you need to select yes and press enter

Creating ext3 filesystem in progress

Configuring the clock option here if you want to leave UTC Select yes otherwise no and press enter

You need enter the Full name of the user you want to create for your server in this example i have created administrator user select continue and press enter



username for your account in this i have entered test select continue and press enter


Entered the password for test user select continue and press enter

Confirm the password for test user select continue and press enter

Installing the base system in progress

Configuring package mirror this will be related to your country option

Now it will start Installing software and here you need to select the server options if you want DNS or LAMP i have selected as LAMP for our LAMP server installation



Software Installation in Progress

Installing GRUB Boot loader in progress

Installation complete message here you need to remove your CD select continue and press enter it will reboot your server

After rebooting you can see the following screen prompt for username



This will complete the Ubuntu LAMP Server Installation and your server is ready for installing applications which supports apache,mysql and php.

Configuring Static ip address in Ubuntu server

Ubuntu installer has configured our system to get its network settings via DHCP, Now we will change that to a static IP address for this you need to edit Edit /etc/network/interfaces and enter your ip address details (in this example setup I will use the IP address 172.19.0.10):

sudo vi /etc/network/interfaces

and enter the following save the file and exit

# The primary network interface

auto eth0
iface eth0 inet static
address 172.19.0.10
netmask 255.255.255.0
network 172.19.0.0
broadcast 172.19.0.255
gateway 172.19.0.1

Now you need to restart your network services using the following command

sudo /etc/init.d/networking restart

You need to setup manually DNS servers in resolv.conf file when you are not using DHCP.

sudo vi /etc/resolv.conf

You need to add look something like this

search domain.com

nameserver xxx.xxx.xxx.xxx

Install SSH Server

If you want to access your server remotely through SSH you need to install SSH server for this you need to run the following command

sudo apt-get install ssh openssh-server

You will be prompted to insert the installation CD again and this will complete SSH server in your edgy lamp server.

This is really simple and easy server installation for new users and who wants a quick server.

One small Observation i have noticed in edgy LAMP installation and dapper LAMP installation was choosing LAMP server option is available in dapper at the time of booting your server CD and in edgy you need to select LAMP server option at the time of software installation.

This might be useful for users who might think there is no LAMP server option at the time of start booting their Edgy server CD.

After completing your Edgy LAMP Server Installation some of users may not be comfortable with command prompt for those users they can install webmin for their server web interface to configure apache,mysql servers.