[125004050010] |
patch -p1 (target file = ipw3945.h)
[125004140180] |8. make
[125004140190] |9. sudo make install
[125004140200] |10. sudo chmod 777 /sbin/ipw*
[125004140210] |11. add a file /etc/modprobe.d/ipw3945 add lines: install ipw3945 /sbin/modprobe -i ipw3945 ; sleep 0.5 ; /sbin/ipw3945d –quiet remove ipw3945 /sbin/ipw3945d --kill ; /sbin/modprobe -r -i ipw3945
[125004140220] |12. sudo modprobe ipw3945
[125004140230] |13. reboot
[125004140240] |14. set the correct interface (eth1) in the wicd
[125004140250] |et voila
[125004150010] |Toshiba Laptops Alive to the Sound of Music
[125004150020] |I’ve commented in recent articles about how to get every aspect of your sound card working on a Toshiba laptop.
[125004150030] |I should know - I’ve run every version of Ubuntu since Feisty on a Satellite L20 - here is the quick and easy guide to getting the sound working.
[125004150040] |First off, open up a terminal and type:
[125004150050] |
[125004150060] |In the file that pops up, add the following to the end:
[125004150070] |(if 3stack doesn’t work, then try ‘lenovo’ or ‘auto’ - ‘toshiba’ doesn’ work particularly well!)
[125004150080] |save and exit.
[125004150090] |Now type this into a terminal:
[125004150100] |In the blank file that appears, enter the following before saving and exitting:
[125004150110] |No reboot.
[125004150120] |You’ll get the comforting sounds of Ubuntu’s system as you login, but if you want your headphones to work, you’re about half way there.
[125004150130] |Now type this into a terminal:
[125004150140] |In the window that appears, use the arrow keys to move around and press ‘m’ on anything with ‘MM’ underneath it, and press the up arrow to up the volume.
[125004150150] |Press ‘Esc’ to save and exit.
[125004150160] |Not open up your volume control - make sure nothing is unmuted, and in edit >preferences… make the ‘surround’ channel available.
[125004150170] |Move this up to the max (this helps you control your volume later).
[125004150180] |Now you should have fully working sound and headphone support!
[125004150190] |Your microphone slot should also be supported, though you’ll probably want to tweak a few volume settings for your favoured apps!
[125004160010] |QEMU - machine emulator and virtualizer Setup in Ubuntu
[125004160020] |QEMU is a generic and open source machine emulator and virtualizer.When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC).
[125004160030] |By using dynamic translation, it achieves very good performances.
[125004160040] |When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU.
[125004160050] |A host driver called the QEMU accelerator (also known as KQEMU) is needed in this case.
[125004160060] |The virtualizer mode requires that both the host and guest machine use x86 compatible processors.
[125004160070] |QEMU Front End GUI
[125004160080] |Currently there are two GUIs for QEMU
[125004160090] |qemu-launcher
[125004160100] |GTK+ front-end to QEMU computer emulator Qemu Launcher provides a graphical front-end to all basic, and many advanced QEMU computer emulator options.
[125004160110] |It allows you to create, save, and run multiple virtual machine configurations, create and convert disk images.
[125004160120] |Qemu Launcher utilizes the full system emulation mode of QEMU that allows you to run unmodified operating system on virtual hardware.
[125004160130] |qemulator
[125004160140] |a solution for easy setup and management of qemuQemulator is a full featured emulation suite for the qemu virtual engine, with on demand job control written in python GTK/Glade2.
[125004160150] |It provides an easy and fast to use image and device management, a “My machines” list and interactive job control.
[125004160160] |It comes with a list of all running jobs from where you can open the contol panel for each job and performing on demand action.
[125004160170] |Full interaction for mounted volumes, usb devices, keyboard and mouse interaction, screenshots, wave capture and save/restore machine state and open vnc viewer is provided
[125004160180] |Install QEMU in ubuntu
[125004160190] |sudo aptitude install qemu qemulator
[125004160200] |If you want qemu-launcher install with the following command
[125004160210] |sudo aptitude install qemu-launcher
[125004160220] |This will complete the instalaltion
[125004160230] |Configuring Virtual Machines
[125004160240] |Configuring virtual machines in qemu you need to use qemulatoropen this from Applications--->Accessories--->Qemulator
[125004160250] |Qemulator is Loading
[125004160260] |First you need to configure qemulator for this go to Settings--->Preferences
[125004160270] |The first and most important step is the selection of the path, where your qemu images are currently stored or will be stored.
[125004160280] |The content of this folder will be shown in the main window of Qemulator.If you want to use the real physical cdromdrives of your PC, add them to the list.
[125004160290] |Enter a name of your choice and the path to the device (not to the mount point!).Add all qemu apps for the different emulation-plattforms with the paths of the application to the list for using them in Qemulator.
[125004160300] |The default settings should fit for most common systems.
[125004160310] |In the tab “Main window” you can specify the behavior of the GUI.
[125004160320] |The Control monitor tab provides setup options for the behaviour of the control monitor.
[125004160330] |External applications tab
[125004160340] |Virtual machine setup
[125004160350] |Click the + button in the main toolbar or select “System -> Create new image” from main menu.
[125004160360] |Give a name for the new machine.
[125004160370] |Here you need to filled all the information as per your requirements and click ok
[125004160380] |You can see your configured new virtual machine if you want to start this click on green arrow mark on the top right corner
[125004160390] |If you have some bootable images in your main images directory, change to the “Main images folder” tab and select one of your bootable images, eg. an iso image from a live CD.If you selected a bootable image from the images list before, the image type should have been autodetected by Qemulator and the boot settings should be set to fitting values.
[125004160400] |If not, select your required boot image in the section “Boot from image”.
[125004160410] |After this All volume and boot options should be autodetected and set up also.
[125004160420] |Select physical Drives
[125004170010] |Howto Install Mysql Database Server with Phpmyadmin Frontend
[125004170020] |MySQL is a widely used and fast SQL database server.
[125004170030] |It is a client/server implementation that consists of a server daemon (mysqld) and many different client programs/libraries.
[125004170040] |Installing Mysql database in Ubuntu
[125004170050] |sudo aptitude install mysql-server mysql-client libmysqlclient15-dev
[125004170060] |This will complete the installation of mysql server 5.0.45 in ubuntu gutsy.
[125004170070] |Configuring Mysql in ubuntu
[125004170080] |MySQL initially only allows connections from the localhost (127.0.0.1).
[125004170090] |We’ll need to remove that restriction if you wish to make it accessible to everyone on the internet.
[125004170100] |Open the file /etc/mysql/my.cnf
[125004170110] |sudo gedit /etc/mysql/my.cnf
[125004170120] |Find the line bind-address = 127.0.0.1 and comment it out … #bind-address = 127.0.0.1 …
[125004170130] |You can check your configuration using the following command
[125004170140] |#netstat -tap
[125004170150] |Output Looks like below
[125004170160] |tcp 0 0 *:mysql *:* LISTEN 4997/mysqld
[125004170170] |MySQL comes with no root password as default.
[125004170180] |This is a huge security risk.
[125004170190] |You’ll need to set one.
[125004170200] |So that the local computer gets root access as well, you’ll need to set a password for that too.
[125004170210] |The local-machine-name is the name of the computer you’re working on.
[125004170220] |For more information see here
[125004170230] |sudo mysqladmin -u root password your-new-password
[125004170240] |sudo mysqladmin -h root@local-machine-name -u root -p password your-new-password
[125004170250] |sudo /etc/init.d/mysql restart
[125004170260] |Manage Mysql using Phpmyadmin
[125004170270] |phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web.
[125004170280] |Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats and is available in 54 languages.
[125004170290] |GPL License information.
[125004170300] |Install phpmyadmin in ubuntu
[125004170310] |sudo aptitude install phpmyadmin
[125004170320] |This will complete the installation.
[125004170330] |Now you need to goto http://serverip/phpmyadmin/
[125004170340] |Login using your mysql root as username and password
[125004180010] |How to Replace Nautilus with PCMan File Manager in Ubuntu
[125004180020] |an extremely fast and lightweight file manager for X.PCMan File Manager is a gtk2 based file manager for the X Window System.
[125004180030] |Features
[125004180040] |* Extremly fast and lightweight
[125004180050] |* Can be started in one second on normal machine
[125004180060] |* Tabbed browsing (similar to Firefox)
[125004180070] |* Drag &Drop support
[125004180080] |* Files can be dragged among tabs
[125004180090] |* Load large directories in reasonable time
[125004180100] |* File association support (Default application)
[125004180110] |* Basic thumbnail support
[125004180120] |* Bookmarks support
[125004180130] |* Handles non-UTF-8 encoded filenames correctly
[125004180140] |* Provide icon view and detailed list view
[125004180150] |* Standard compliant (Follows FreeDesktop.org)
[125004180160] |* Clean and user-friendly interface (GTK+ 2)
[125004180170] |Install pcmanfm using the following command
[125004180180] |sudo aptitude install pcmanfm
[125004180190] |This will complete the instalaltion
[125004180200] |Replacing Nautilus with PCman
[125004180210] |You need to open pcman from Applications >System Tools >PCMan File Manager
[125004180220] |Now you need to type the following path in address bar and press enter
[125004180230] |/usr/share/applications
[125004180240] |Now you need to go Tools >Open Current Folder as root.
[125004180250] |Enter the root password and click ok
[125004180260] |Now you should see similar to the following screen
[125004180270] |Make a backup copy of the files below (copy and paste and add “_bak” on the end of the file name)
[125004180280] |/usr/share/applications/nautilus-computer.desktop
[125004180290] |/usr/share/applications/nautilus-folder-handler.desktop
[125004180300] |Now you need to open the nautilus-computer.desktop,nautilus-folder-handler.desktop files and Change the line in each with starts with Exec=
[125004180310] |For nautilus-computer.desktop:
[125004180320] |Exec=pcmanfm /
[125004180330] |For nautilus-folder-handler.desktop:
[125004180340] |Exec=pcmanfm %U
[125004180350] |After changes Save and exit those files.
[125004180360] |From now on your Nautilus replaced with fileman you can see as follows
[125004180370] |PCman version details
[125004190010] |Manage your personal accounts at home with homebank in Ubuntu
[125004190020] |HomeBank is free software.
[125004190030] |Use it to manage your personal accounts.
[125004190040] |It is designed to easy to use.
[125004190050] |Analyse your finances in detail using powerful filtering tools and graphs.
[125004190060] |HomeBank benefits from more than 10 years of user experience and feedback.
[125004190070] |Its development started in 1995 on Amiga computers.
[125004190080] |It is now available on GNU/Linux, FreeBSD, MacOSX and Amiga.
[125004190090] |A version for Microsoft Windows is being considered.
[125004190100] |If you are looking for an easy way manage your accounts then HomeBank should be the software of choice.
[125004190110] |Take some time to try it out, you won’t regret it.
[125004190120] |Specific features
[125004190130] |Here is why HomeBank is… different:
[125004190140] |transaction import in CSV format (homebank specific format) pre-defined transactions, which can be automated pre-filling of transactions from a bookmark dual pad of cheque and automated cheque number increment add transactions by inherit from existing ones multiple transactions edit for each columns at once easy transfert between accounts, which can be automated dynamic transactions filter everywhere visual paymode and additional info text field visual status of transactions transaction remind (kind of ‘post-it’) dynamic minor currency display toggle for Euro countries
[125004190150] |Analysis features
[125004190160] |Dynamic, easy and powerful reports with graphical charts: complete filter for every transaction fields easy period change with some useful presets ‘Statictics’ is the main report and show results computed by: Payee, Categories, Months, Years ‘Budget’ track the decay from what was normaly planned ‘Overdrawn’ focuses on the balance and point transactions in the ‘red zone’ ‘Car cost’ analyze your car specific costs and consumption of fuel
[125004190170] |Common features
[125004190180] |multi-accounts payee assign to transactions categories and subcategories assign to transactions simple annual budget
[125004190190] |Install homebank in Ubuntu
[125004190200] |sudo aptitude install homebank
[125004190210] |This will complete the installation.
[125004190220] |Using homebank
[125004190230] |If you want to open homebank go to Applications--->Office--->HomeBank
[125004190240] |Once it opens you should see similar to the following screen
[125004190250] |Homebank version details
[125004190260] |If you want to know howto use this http://homebank.free.fr/help/index.html check this documentation
[125004200010] |CuteFlow - Document circulation and workflow system Setup in Ubuntu
[125004200020] |CuteFlow is a web based open source document circulation and workflow system.
[125004200030] |Users are able to define “documents” which are send step by step to every station/user in a list.It’s an electronical way for doing (i.e. internal) document circulations.
[125004200040] |A document can be assembled from input fields of different types.
[125004200050] |The fields can be filled with values by the receiver of the document directly in the users E-Mail-Client.
[125004200060] |After a completed circulation you will have a completely filled document.
[125004200070] |Also attachments to the document are possible (i.e. for illustration material).All operations like starting a workflow, tracking, workflow-definition or status observation can be done within a comfortable and easy to use web interface.
[125004200080] |Main Features
[125004200090] |Free and Open Source!
[125004200100] |Webbased User Interface
[125004200110] |Easy to install, setup and use
[125004200120] |Integration of workflow documents in e-mail message
[125004200130] |Support for different workflow “mailingslists”
[125004200140] |Unlimited amount of sender, fields, slots, receiver…)
[125004200150] |Workflows can attach data and files
[125004200160] |OS-Independent through the usage of PHP
[125004200170] |Flexible user management with substitutes
[125004200180] |Requirements
[125004200190] |Webserver with PHP (V.5.0.x or higher)
[125004200200] |MySQL Database (support for other databases is planned for future versions)
[125004200210] |SMTP E-Mail Server for sending workflow e-mails
[125004200220] |Install CuteFlow in Ubuntu
[125004200230] |Preparing Your System
[125004200240] |sudo aptitude install build-essential zip unzip php5-ldap
[125004200250] |Apache Web Server With PHP Support check here
[125004200260] |Database server installation with PHP support
[125004200270] |Install mysql with php support in Ubuntu
[125004200280] |sudo apt-get install mysql-server mysql-client libmysqlclient15-dev
[125004200290] |sudo apt-get install php4-mysql
[125004200300] |If you want to install php5 support use the following command
[125004200310] |sudo apt-get install php5-mysql
[125004200320] |Install postfix for SMTP support in Ubuntu
[125004200330] |sudo aptitude install postfix mailx
[125004200340] |choose satellite system and just press enter when asked other questions, but don’t select any relay host (remove smtp.xxx.xxxx)
[125004200350] |Change /etc/mailname to say: test.com
[125004200360] |Change /etc/aliases such that,
[125004200370] |# Added by installer for initial user root: holst@test.com
[125004200380] |Replace holst@test.com with your own e-mail address!
[125004200390] |Finally, do as root
[125004200400] |newalises
[125004200410] |restart postfix using the following command
[125004200420] |sudo /etc/init.d/postfix restart
[125004200430] |Now you need to download cuteflow from here using the following command in to your web server root directory i.e /var/www/
[125004200440] |wget http://puzzle.dl.sourceforge.net/sourceforge/cuteflow/CuteFlow_v2100_bin.zip
[125004200450] |Now you have CuteFlow_v2100_bin.zip file unzip this using the following command
[125004200460] |sudo unzip CuteFlow_v2100_bin.zip
[125004200470] |Now you have V.2.10.0 directory move this to cuteflow
[125004200480] |sudo mv V.2.10.0 cuteflow
[125004200490] |Now you need to change the permissions and ownership of this folder
[125004200500] |sudo chown -R www-data:www-data cuteflow
[125004200510] |sudo chmod 755 cuteflow
[125004200520] |Now you need to point your web browser
[125004200530] |http://serverip/cuteflow/
[125004200540] |This will start the installation process select the Language and click Install
[125004200550] |Here you need to make sure everything should be ok if you see any red you need to fix other than if you want to use ldap you need to install LDAP extension otherwise you can ignore this click continue
[125004200560] |Enter the database settings and click continue
[125004200570] |Test Install Database successfull click continue
[125004200580] |Enter your cuteflow server setting and SMTP settings click continue
[125004200590] |SMTP Seetings Successfully written click continue
[125004200600] |Installing test data click continue
[125004200610] |Installing test data Successfully click continue
[125004200620] |Installation completed click on Start cuteflow
[125004200630] |cuteflow login Screen here Use admin/admin to login
[125004200640] |After you login You should see similar to the following screen
[125004200650] |Test Data Circulations
[125004200660] |Check this documentation how to use cuteflow document circulation and workflow system
[125004210010] |Simple Compizconfig settings manager in Ubuntu 8.04(Hardy heron)
[125004210020] |In Ubuntu 8.04 if you want to configure compiz manually we have a new tool called Simple Compizconfig settings manager.The OpenCompositing Project brings 3D desktop visual effects that improve usability of the X Window System and provide increased productivity.
[125004210030] |This package contains a simple compizconfig settings manager application
[125004210040] |Install Simple Compizconfig settings manager in ubuntu 8.04
[125004210050] |sudo aptitude install simple-ccsm
[125004210060] |This will complete the installation.
[125004210070] |Using Simple Compizconfig settings manager
[125004210080] |If you want to open Simple Compizconfig settings manager go to System--->Preferences--->Simple Compizconfig settings manager
[125004210090] |Once it opens you should see similar to the following screen from here you can configure
[125004210100] |If you want to access complete compiz configuration options you need to install the following package compizconfig-settings-manager
[125004210110] |sudo aptitude install compizconfig-settings-manager
[125004210120] |This will complete the installation.
[125004210130] |If you want to access compizconfig-settings-manager Go to System--->Preferences--->Advanced Desktop Effects Settings
[125004210140] |Once it opens you should see similar to the following option
[125004210150] |If you use any one of the above tool you need to have the custom effects option selected.
[125004220010] |How to get information about your file system in Ubuntu
[125004220020] |If you want to know more details about your file system you need to use dumpe2fs utility.dumpe2fs prints the super block and blocks group information for the filesystem present on device.dumpe2fs is similar to Berkeleyâs dumpfs program for the BSD Fast File System.
[125004220030] |If you want to use dumpe2fs in ubuntu you need to install e2fsprogs package.
[125004220040] |Install e2fsprogs package using the following command
[125004220050] |sudo aptitude install e2fsprogs
[125004220060] |This will complete the installation.
[125004220070] |Now if you want to know more about your file system use the following command
[125004220080] |dumpe2fs
[125004220090] |Using dumpe2fs
[125004220100] |Syntax
[125004220110] |dumpe2fs [ -bfhixV ] [ -ob superblock ] [ -oB blocksize ] device
[125004220120] |Available option details
[125004220130] |-b - print the blocks which are reserved as bad in the filesystem.
[125004220140] |-ob superblock - use the block superblock when examining the filesystem.
[125004220150] |This option is not usually needed except by a filesystem wizard who is examining he remains of a very badly corrupted filesystem.
[125004220160] |-oB blocksize - use blocks of blocksize bytes when examining the filesystem.
[125004220170] |This option is not usually needed except by a filesystem wizard who is examining the remains of a very badly corrupted filesystem.
[125004220180] |-f - force dumpe2fs to display a filesystem even though it may have some filesystem feature flags which dumpe2fs may not understand (and which can cause some of dumpe2fsâs display to be suspect).
[125004220190] |-h - only display the superblock information and not any of the block group descriptor detail information.
[125004220200] |-i - display the filesystem data from an image file created by e2image, using device as the pathname to the image file.
[125004220210] |-x - print the detailed group information block numbers in hexadecimal format
[125004220220] |-V - print the version number of dumpe2fs and exit.
[125004220230] |dumpe2fs Examples
[125004220240] |dumpe2fs /dev/sda1 | more
[125004220250] |Sample Output
[125004220260] |dumpe2fs 1.40.2 (12-Jul-2007) Filesystem volume name: Last mounted on: Filesystem UUID: ec7a16c5-c680-45ac-9f1b-856ab960d759 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file Filesystem flags: signed directory hash Default mount options: (none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 997472 Block count: 1994060 Reserved block count: 99703 Free blocks: 722777 Free inodes: 807799 First block: 0 Block size: 4096 Fragment size: 4096 Reserved GDT blocks: 486 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 16352 Inode blocks per group: 511 Filesystem created: Thu Oct 25 18:29:45 2007 Last mount time: Thu Mar 6 13:02:32 2008 Last write time: Thu Mar 6 13:02:32 2008 Mount count: 4 Maximum mount count: 34 Last checked: Thu Feb 14 15:10:27 2008 Check interval: 15552000 (6 months) Next check after: Tue Aug 12 16:10:27 2008 Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal inode: 8 First orphan inode: 50414 Default directory hash: tea Directory Hash Seed: 836ca201-5370-43e7-a6ce-1606f2a7cd37 Journal backup: inode blocks
[125004230010] |How to Install Firefox 3 RC1 in Ubuntu 8.04 (Hardy Heron)
[125004230020] |This tutorial will explain howto install Firefox 3 RC1 in Ubuntu Hardy.go to System >Administration >Software Sources
[125004230030] |Now you need to Third-Party Software tab and click Add
[125004230040] |Add the following line and click on add source
[125004230050] |deb http://ppa.launchpad.net/fta/ubuntu hardy main
[125004230060] |After adding new source list you can see similar to the following screen and click on close
[125004230070] |Now you need to click on reload in the following screen
[125004230080] |Install firefox 3 RC1 in Ubuntu
[125004230090] |open a terminal and try to use the following comamnds
[125004230100] |sudo aptitude update
[125004230110] |sudo aptitude dist-upgrade
[125004230120] |This will install the firefox 3 RC1 from the source list we have added.
[125004230130] |Firefox 3 RC1 in Action
[125004240010] |How to install Helix audio and video player in Hardy
[125004240020] |The Helix Player is an audio and video player based on the Helix DNA Client engine.
[125004240030] |It includes a Mozilla browser plug-in and supports local file playback and streaming over RTSP/RTP and HTTP.
[125004240040] |It supports video zoom in original, double size, and full screen, and supports:
[125004240050] |* Theora (Alpha 3 encoded content), Vorbis, Ogg
[125004240060] |* Basic SMIL 2.0
[125004240070] |* H.263
[125004240080] |* RealPix, RealText, RealEvents
[125004240090] |* RAM and RPM playlist formats
[125004240100] |* RTSP streaming with RTP, HTTP streaming
[125004240110] |This package contains just the player, install mozilla-helix-player for the browser plugins for Mozilla based browsers.
[125004240120] |Install helix-player in hardy
[125004240130] |sudo aptitude install helix-player
[125004240140] |This will complete the installation.
[125004240150] |Using Helix-player
[125004240160] |If you want to open helix player go to Applications--->Sound &Video--->Helix Player
[125004240170] |If you are opening first time you should be able to see similar to the following screen click on Forward
[125004240180] |Release notes information click on Forward
[125004240190] |Helix Player
[125004240200] |Helix Player version details
[125004240210] |Install mozilla Browser plugin for helix player
[125004240220] |If you want to Install mozilla Browser plugin use the following command
[125004240230] |sudo aptitude install mozilla-helix-player
[125004250010] |Update IP addresses at dynamic DNS services Using ddclient
[125004250020] |If you are using zoneedit.com or dyndns.org for your DNS service so that you can access your server using a URL, then you might have to update your DNS record at the service periodically whenever the IP address of your computer changes.Now here is simple solution for this ddclient.
[125004250030] |Update IP addresses at dynamic DNS services.A perl based client to update your dynamic IP address at DynDNS.com (or other dynamic DNS services such as Hammernode, Zoneedit or EasyDNS), thus allowing you and others to use a fixed hostname (myhost.dyndns.org) to access your machine.
[125004250040] |This client supports both the dynamic and (near) static services, MX setting, and alternative host.
[125004250050] |It caches the address, and only attempts the update if the address actually changes.
[125004250060] |Install ddclient in ubuntu
[125004250070] |sudo aptitude install ddclient
[125004250080] |This will complete the installation
[125004250090] |Configuring ddclient
[125004250100] |If you want to reconfigure you seetings use the following command
[125004250110] |dpkg-reconfigure ddclient
[125004250120] |You want to make sure it runs as a service and monitors changes in ppp–something that the install wizard doesn’t cover.
[125004250130] |Edit the configuration file /etc/ddclient.conf
[125004250140] |sudo gedit /etc/ddclient.conf
[125004250150] |# Configuration file for ddclient generated by debconf # # /etc/ddclient.conf pid=/var/run/ddclient.pid protocol=easydns use=web server=members.easydns.com login=yournamehere password=’password’ *.your.domain
[125004250160] |If you can’t find the public IP address, then you can have ddclient check your public IP address from the web by editing /etc/ddclient.conf and making it use the web by saying
[125004250170] |use=web
[125004250180] |or
[125004250190] |use=web, web=checkip.dyndns.org/, web-skip=’IP Address’
[125004250200] |Save and exit the file
[125004250210] |Restart ddclient service using the following command
[125004250220] |sudo /etc/init.d/ddclient restart
[125004260010] |A much easier way to install Ubuntu on a USB device (Stick or HD)!
[125004260020] |I was reading How to install Ubuntu Linux from USB Stick posted on this site a while ago, and found it to be quite some work to get Ubuntu working on a USB stick.
[125004260030] |Besides, having to prepare your USB device, creating a separate partition on it which will be more or less “useless” after the installation, giving up 750MB of space?
[125004260040] |There had to be a better way.
[125004260050] |Together with a colleague of mine, I decided to figure out whether there could be an easier way to install Ubuntu on a USB device.
[125004260060] |I found a way of doing it in a much simpler way… without creating the separate partition to store the LiveCD:
[125004260070] |A couple of assumptions to take into account when going through this manual:
[125004260080] |My computer (Dell D820 laptop) has 1 internal disk, devided into 3 partitions (dell utility - windows - Ubuntu 8.04)
[125004260090] |Just one USB device (in my case a 250GB harddisk
[125004260100] |BIOS configured to enable boot from internal HDD, CD/DVD and USB Storage device
[125004260110] |(I didn’t take screenshots, so I will be explaining a lot about the screens… It looks like a lot of work, but trust me: it is not, and it really is easy:-)
[125004260120] |Insert the LiveCD into your computer;
[125004260130] |Connect your USB device;
[125004260140] |Boot your computer from the liveCD;
[125004260150] |Once Ubuntu is started, go to System - Administration - Partition Manager This will open the Partion Editor.
[125004260160] |Select your USB device and delete all partitions on it.
[125004260170] |Click Apply and exit Partition Editor;
[125004260180] |Double Click the Install Icon.
[125004260190] |This will start the Installer;
[125004260200] |The Welcome Screen is shown.
[125004260210] |Choose your language and click Forward;
[125004260220] |Select your Time Zone and click Forward;
[125004260230] |Choose your Keyboard Layout and click Forward;
[125004260240] |The partitioner will be started, and you will be given the choice where to install Ubuntu.
[125004260250] |Choose Guided - Use entire disk, selecting your USB device (this will most likely be /dev/sdb, don’t choose /dev/sdb1!);
[125004260260] |The next sceen you will give your username/password information.
[125004260270] |Provide the required info and hit Forward;
[125004260280] |If there is anything to migrate from other installations on your computer (most likely not), do whatever you want, and click Forward;
[125004260290] |The next screen is important - It is titled: “Ready to Install”.
[125004260300] |Be careful here: before clicking on Forward, make sure you click on the “Advanced” Button!
[125004260310] |This will open a new screen, giving you the option whether and where to install the bootloader.
[125004260320] |Select your USB device (in my case it was /dev/sdb) to install the bootloader to; Exit this screen and click on Forward in the “Ready to Install” screen, which will be shown;
[125004260330] |The installation will be started now.
[125004260340] |Just be patient, grab a cup of coffee and come back 15 minutes later, your installation will be more or less finished by then.
[125004260350] |So you have finished the installation.
[125004260360] |However, when you will be restarting your system from USB, you will find out that the partition you just installed Ubuntu to cannot be mounted.
[125004260370] |Here comes the trick:
[125004260380] |Once the installation is finished, reboot your PC (this is the safest) from your LiveCD, with your USB device connected;
[125004260390] |Once started, open up a terminal (Applications - Accessories - Terminal);
[125004260400] |In the Terminal, type: sudo -i (which will give you root privileges, so be careful from now on!);
[125004260410] |Change directories to /media/disk/boot/grub - This will take you to the “/boot/grub” directory on the USB device;
[125004260420] |open menu.lst with vi (make a backup first!)
[125004260430] |Go to line 130 (or somewhere in that area).
[125004260440] |You will find a line looking like: ## ## End Default options ## And underneath it you will find three entries pointing to your Ubuntu you just installed: title Ubuntu 8.04, kernel 2.6.24-16-generic root (hd1,0) kernel /boot/vmlinuz……… initrd /boot/initrd……. quiet (the above 5 lines repeat 3 times with slight differences)
[125004260450] |The magic trick is to change (hd1,0) into (hd0,0) for all these three entries.
[125004260460] |Why?
[125004260470] |Booting from USB device makes your USB device hd0, in stead of hd1 at time of installation.
[125004260480] |Search for the line starting with “# groot=(hd1,0)” and change (hd1,0) to (hd0,0) - Don’t delete the # at te beginning of this line!
[125004260490] |Once you did this, you can optionally remove the remaining of the file (everything underneath ### END DEBIAN AUTOMATIC KERNELS LIST);
[125004260500] |Save the file, make sure it is owned by root:ubuntu (chgrp ubuntu menu.* will do)
[125004260510] |Edit device.map (in the same directory) and change the mapping of hd0 to /dev/sdb.
[125004260520] |Reboot your machine, from USB, choose the Ubuntu installation from the Boot Loader and you are one happy person.
[125004260530] |I guess that is it.
[125004260540] |If I missed something, please comment.
[125004260550] |Regards,
[125004270010] |Listadmin - Command line tool to manipulate the queues of messages
[125004270020] |listadmin is a command line tool to manipulate the queues of messages held for moderator approval by mailman.
[125004270030] |It is designed to keep user interaction to a minimum, in theory you could run it from cron to prune the queue.
[125004270040] |It can use the score from a header added by SpamAssassin to filter, or it can match specific senders, subjects, or reasons.
[125004270050] |Install listadmin in Ubuntu
[125004270060] |Installing listadmin is very simple using the following command
[125004270070] |sudo aptitude install listadmin
[125004270080] |This will complete the installation.
[125004270090] |Configuring listadmin
[125004270100] |Now you need to create a ~/.listadmin.ini file in your home directory
[125004270110] |touch .listadmin.ini
[125004270120] |Now you need to edit this file using the following command
[125004270130] |vi .listadmin.ini
[125004270140] |enter the following information
[125004270150] |default skip
[125004270160] |log ~/.listadmin.log
[125004270170] |# this example uses the same password for the users, process and admin lists
[125004270180] |adminurl http://{domain}/mailman/admindb/{list} password yourpassword users@lists.domain.com process@lists.domain.com admin@lists.domain.com
[125004270190] |# this example uses different passwords for the supporters and staff lists
[125004270200] |adminurl https://{domain}/mailman/admindb/{list}
[125004270210] |password “yourotherpassword” support@lists.domain1.com
[125004270220] |password “youranotherpassword” team@lists.domain1.com
[125004270230] |Now you need to save and exit the file.
[125004270240] |Make sure you are having the correct permission for this file
[125004270250] |chmod 744 .listadmin.ini
[125004270260] |That’s it now you need to run the listadmin command from comman line
[125004270270] |listadmin
[125004270280] |Start moderating all your groups in single command
[125004280010] |Howto Create Name Based and IP Based Virtual hosts in Apache
[125004280020] |We have already seen the apache2 installation if you want to check here
[125004280030] |Virtual Host refers to the practice of running more than one web site (such as www.company1.com and www.company2.com) on a single machine.
[125004280040] |Virtual hosts can be “IP-based”, meaning that you have a different IP address for every web site, or “name-based”, meaning that you have multiple names running on each IP address.
[125004280050] |The fact that they are running on the same physical server is not apparent to the end user.
[125004280060] |Apache was one of the first servers to support IP-based virtual hosts right out of the box.
[125004280070] |Versions 1.1 and later of Apache support both IP-based and name-based virtual hosts (vhosts).
[125004280080] |The latter variant of virtual hosts is sometimes also called host-based or non-IP virtual hosts.
[125004280090] |Basics Of Virtual Hosts
[125004280100] |Using virtual hosts, host several domains with a single web server.
[125004280110] |In this way, save the costs and administration workload for separate servers for each domain.
[125004280120] |There are several options regarding virtual hosts
[125004280130] |Name-based virtual hosts
[125004280140] |IP-based virtual hosts
[125004280150] |Operation of multiple instances of Apache on one machine
[125004280160] |Name-Based Virtual Hosts
[125004280170] |With name-based virtual hosts, one instance of Apache hosts several domains.
[125004280180] |You do not need to set up multiple IPs for a machine.
[125004280190] |This is the easiest, preferred alternative.
[125004280200] |Reasons against the use of name-based virtual hosts are covered in the Apache documentation.
[125004280210] |Configure it directly by way of the configuration file /etc/apache2/ sites-available/filename(by default we have default name file take this as reference and create new file).
[125004280220] |To activate name-based virtual hosts, specify a suitable directive.
[125004280230] |NameVirtualHost *. * is sufficient to prompt Apache to accept all incoming requests.
[125004280240] |Subsequently, configure the individual hosts:
[125004280250] |NameVirtualHost * ServerName www.example.com DocumentRoot /home/www/htdocs/example.com ServerAdmin webmaster@example.com ErrorLog /var/log/apache2/www.example.com-error_log CustomLog /var/log/apache2/www.example.com-access_log common
[125004280260] |ServerName www.myothercompany.com DocumentRoot /home/www/htdocs/myothercompany.com ServerAdmin webmaster@myothercompany.com ErrorLog /var/log/apache2/www.myothercompany.com-error_log CustomLog /var/log/apache2/www.myothercompany.com-access_log common
[125004280270] |A VirtualHost entry must also be configured for the domain originally hosted on the server (www.example.com).
[125004280280] |In this example, the original domain and one additional domain (www.myothercompany.com) are hosted on the same server.
[125004280290] |Just as in NameVirtualHost, a * is used in the VirtualHost directives.
[125004280300] |Apache uses the host field in the HTTP header to connect the request to the virtual host.
[125004280310] |The request is forwarded to the virtual host whose ServerName matches the host name specified in this field.
[125004280320] |For the directives ErrorLog and CustomLog, the log files do not need to contain the domain name.
[125004280330] |Here, use a name of your choice.
[125004280340] |ServerAdmin designates the e-mail address of the responsible person that can be contacted if problems arise.
[125004280350] |In the event of errors, Apache gives this address in the error messages it sends to clients.
[125004280360] |IP-Based Virtual Hosts
[125004280370] |This alternative requires the setup of multiple IPs for a machine.
[125004280380] |In this case, one instance of Apache hosts several domains, each of which is assigned a different IP.
[125004280390] |The following example shows how Apache can be configured to host the original IP (192.168.1.10) plus two additional domains on additional IPs (192.168.1.20 and 192.168.1.21).
[125004280400] |This particular example only works on an intranet, because IPs ranging from 192.168.0.0 to 192.168.255.0 are not routed on the Internet.
[125004280410] |Configuring IP Aliasing
[125004280420] |For Apache to host multiple IPs, the underlying machine must accept requests for multiple IPs.
[125004280430] |This is called multi-IP hosting.
[125004280440] |For this purpose, IP aliasing must be activated in the kernel.
[125004280450] |Once the kernel has been configured for IP aliasing, the commands ifconfig and route can be used to set up additional IPs on the host.
[125004280460] |These commands must be executed as root.
[125004280470] |For the following example, it is assumed that the host already has its own IP, such as 192.168.1.10, which is assigned to the network device eth0.
[125004280480] |Enter the command ifconfig to find out the IP of the host.
[125004280490] |Further IPs can be added with commands like the following:
[125004280500] |/sbin/ifconfig eth0:0 192.168.1.20 /sbin/ifconfig eth0:1 192.168.1.21
[125004280510] |All these IPs are assigned to the same physical network device (eth0).
[125004280520] |Virtual Hosts with IPs
[125004280530] |Once IP aliasing has been set up on the system or the host has been configured with several network cards, Apache can be configured.
[125004280540] |Specify a separate VirtualHost block for every virtual server: ServerName www.myothercompany.com DocumentRoot /home/www/htdocs/myothercompany.com ServerAdmin webmaster@myothercompany.com ErrorLog /var/log/apache2/www.myothercompany.com-error_log CustomLog /var/log/apache2/www.myothercompany.com-access_log common
[125004280550] |ServerName www.anothercompany.com DocumentRoot /home/www/htdocs/anothercompany.com ServerAdmin webmaster@anothercompany.com ErrorLog /var/log/apache2/www.anothercompany.com-error_log CustomLog /var/log/apache2/www.anothercompany.com-access_log common VirtualHost directives are only specified for the additional domains.
[125004280560] |The original domain (www.example.com) is configured through its own settings (under DocumentRoot, etc.) outside the VirtualHost blocks.
[125004280570] |Multiple Instances of Apache
[125004280580] |With the above methods for providing virtual hosts, administrators of one domain can read the data of other domains.
[125004280590] |To segregate the individual domains, start several instances of Apache, each with its own settings for User, Group, and other directives in the configuration file.
[125004280600] |In the configuration file, use the Listen directive to specify the IP handled by the respective Apache instance.
[125004280610] |For the above example, the directive for the first Apache instance would be:
[125004280620] |Listen 192.168.1.10:80
[125004280630] |For the other two instances
[125004280640] |Listen 192.168.1.20:80 Listen 192.168.1.21:80
[125004280650] |In Apache2 to configure virtual hosts there are two important files i.e
[125004280660] |/etc/apache2/sites-available and /etc/apache2/sites-enabled/
[125004280670] |We need to create symlink between these two folders for each virtual host or you can use a2ensite and a2dissite
[125004280680] |sudo a2ensite
[125004280690] |This Will create the correct symlinks in sites-enabled to allow the site configured in sitefilename to be served
[125004280700] |sudo a2dissite
[125004280710] |This Will remove the symlinks from sites-enabled so that the site configured in sitefilename will not be served
[125004280720] |Example for name based virtual hosts
[125004280730] |Apache 2.0, the default site is instead the first file (in alphabetical order) in the /etc/apache2/sites-enabled directory.
[125004280740] |After initial installation, there will be a symlink from 000-default in this directory to /etc/apache2/sites-available/default.
[125004280750] |As you can see from this, Apache 2.0 offers another level of abstraction in the Virtual Hosts by recommending putting the actual files in /etc/apache2/sites-available and then symlinking from there to /etc/apache2/sites-enabled.
[125004280760] |I would recommend following this convention, but it’s not mandatory.
[125004280770] |In our example above, we would create two files, /etc/apache2/sites-available/default and /etc/apache2/sites-available/example.com.
[125004280780] |Our /etc/apache2/sites-available/default file would look like this
[125004280790] |NameVirtualHost * ServerName incorrect.com DocumentRoot /home/www/html/default
[125004280800] |And our /etc/apache2/sites-available/example.com would look like this
[125004280810] |NameVirtualHost * ServerName www.example.com ServerAlias example.com DocumentRoot /home/www/html/example.com/html CustomLog logs/www.example.com-access_log common
[125004280820] |We would then create symlinks to the /etc/apache2/sites-enabled directory with the ln -s
[125004280830] |sudo ln -s /etc/apache2/sites-available/example.com /etc/apache2/sites-enabled/example.com
[125004280840] |or you can use the following command
[125004280850] |sudo a2ensite example.com
[125004280860] |Site www.example.com installed.
[125004280870] |Now you need to restart the apache web server using the following command
[125004280880] |sudo /etc/init.d/apache2 restart
[125004280890] |Now we have our Virtual Hosts configured, it’s time to test.
[125004280900] |Fire up a browser and head to www.example.com
[125004280910] |Example for IP based virtual hosts
[125004280920] |/etc/apache2/sites-available/example.com would look like this:
[125004280930] |ServerName www.example.com ServerAlias example.com DocumentRoot /home/www/html/example.com/html CustomLog logs/www.example.com-access_log common
[125004280940] |We would then create symlinks to the /etc/apache2/sites-enabled directory with the ln -s
[125004280950] |sudo ln -s /etc/apache2/sites-available/example.com /etc/apache2/sites-enabled/example.com
[125004280960] |or you can use the following command
[125004280970] |sudo a2ensite example.com
[125004280980] |Site www.example.com installed.
[125004280990] |Now you need to restart the apache web server using the following command
[125004281000] |sudo /etc/init.d/apache2 restart
[125004281010] |Now we have our Virtual Hosts configured, it’s time to test.Fire up a browser and head to www.example.com to see if your web site is working or not.Before testing you need to make sure your DNS server was configured with correct A record.Create all the required directories and files for configuring websites.
[125004290010] |How to enable the universe and multiverse repositories in Ubuntu 8.04 (Hardy)
[125004290020] |There are thousands of programs available to install on Ubuntu.
[125004290030] |These programs are stored in software archives (repositories) and are available for installation over the Internet.
[125004290040] |This makes it very easy to install new programs.
[125004290050] |It is also very secure, because each program you install is thoroughly tested and built specifically for Ubuntu.
[125004290060] |The universe and multiverse repositories are official Ubuntu repositories, with safe, well-tested programs.
[125004290070] |The only difference between them and the repositories enabled by default is that the universe and multiverse repositories are maintained by the Ubuntu community rather than by paid Ubuntu developers.
[125004290080] |There are three ways to enable the universe and multiverse repositories in Ubuntu 8.04 (Hardy Heron): via the graphical Software Sources tool,via the Synaptic Package Manager or via the command line.
[125004290090] |Using Software Sources
[125004290100] |To enable the universe and multiverse repositories using the Software Sources tool, you need to follow this procedure
[125004290110] |Go to System->Administration->Software Sources
[125004290120] |Enter your root password if you are prompted.Once the program loads, check the boxes next to “Community-maintained Open Source software (universe)” and “Software restricted by copyright or legal issues (multiverse)” click on close .
[125004290130] |A dialog will prompt you to reload the package information.
[125004290140] |Click the “reload” button.
[125004290150] |If you do not see any errors, then you have successfully enabled the universe and multiverse repositories.
[125004290160] |Using Synaptic Package Manager
[125004290170] |To enable the universe and multiverse repositories using the Synaptic Package Manager, follow this procedure
[125004290180] |Open System->Administration->Synaptic Package Manager
[125004290190] |Enter your root password if you are prompted Once the program loads, look at the menu at the top.
[125004290200] |Click Settings->Repositories.
[125004290210] |Check the boxes next to “Community-maintained Open Source software (universe)” and “Software restricted by copyright or legal issues (multiverse)” click on close.
[125004290220] |A dialog will appear with The repository information has changed.You have to Click the “reload” button… and click on close.
[125004290230] |Now you need to click on Reload from the top menu
[125004290240] |If you do not see any errors, then you have successfully enabled the universe and multiverse repositories.
[125004290250] |Using Command Line (Only for advanced Users)
[125004290260] |To enable the universe and multiverse repositories using the command line, you can execute the following steps:
[125004290270] |Open a terminal and open your sources.list file using the following command
[125004290280] |sudo gedit /etc/apt/sources.list
[125004290290] |Assuming you are using the default sources.list, you should be able to replace everything currently in that file with the following
[125004290300] |## MAIN REPOSITORIES deb http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
[125004290310] |## MAJOR BUG FIX UPDATES produced after the final release deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
[125004290320] |## UBUNTU SECURITY UPDATES deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
[125004290330] |If you wish to enable the backports and proposed repositories as well (recommended), then add these lines as well
[125004290340] |## BACKPORTS REPOSITORY deb http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
[125004290350] |## PROPOSED REPOSITORY deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
[125004290360] |Now save and close the file, and then reload new source list using the following command
[125004290370] |sudo apt-get update
[125004290380] |If that command runs with no errors, then you have successfully enabled the universe and multiverse repositories.
[125004300010] |Enable the Advanced File Permissions Dialog in Nautilus -- The GUI Way
[125004300020] |Recently on Tombuntu there’s a post which tells you how to Enable the Advanced File Permissions Dialog in Nautilus by issuing the command in a terminal:
[125004300030] |“gconftool-2 --type bool --set /apps/nautilus/preferences/show_advanced_permissions True'' (without the quotes, to disable the feature, simply replace `True' with `False')
[125004300040] |If you feel more comfortable to achieve the goal through a GUI way.
[125004300050] |Here you go:
[125004300060] |press Alt+F2
[125004300070] |type gconf-editor and
[125004300080] |from the left pane in the pop-up window, choose app -> nautilus -> preferences
[125004300090] |go to the right pane, find out the show_advanced_permissions, check the box on its right
[125004300100] |close the window, done.
[125004300110] |As you look around, you can change other configurations “under the hood” in the same way.
[125004300120] |It’s said that ubuntu-tweak also lets you do many configurations easily, including enable this “show advanced file permission” feature in Nautilus, but I have not try it.
[125004310010] |How to change settings for the bootloader and splash screen in Ubuntu
[125004310020] |StartUp Manager, or SUM, is a gui tool for changing settings in Grub, Grub2 and Usplash.SUM should work with recent versions of Debian and Debian-based distributions such as Ubuntu.
[125004310030] |StartUp Manager Features
[125004310040] |Change
[125004310050] |Grub timeout Default boot title Number of kernels in bootloader menu Enable/disable boot option for memtest86 Enable/disable boot option for “rescue mode” If the default boot option should be automatically updated Bootup resolution and color depth Grub menu colors Grub menu resolution(Grub2 only) If Splashy should be loaded from initramfs
[125004310060] |Create
[125004310070] |Rescue floppy
[125004310080] |Change visibility of
[125004310090] |Grub menu Grub menu colors Grub menu background image Splash screen and boot text
[125004310100] |Password protect
[125004310110] |Grub menu from editing “Alternate” boot options Old boot options
[125004310120] |Themes
[125004310130] |Install/change/remove Grub backgrounds Install/change/remove Usplash themes Install/change/remove Splashy themes Preview Splashy themes
[125004310140] |Install StartUp Manager in Ubuntu
[125004310150] |sudo aptitude install startupmanager
[125004310160] |This will complete the installtion
[125004310170] |Using StartUp Manager
[125004310180] |If you want to open StartUp Manager go to System--->Administration--->Startup-Manager
[125004310190] |This will prompt for root password enter and click ok
[125004310200] |Startup-manager is loading
[125004310210] |Once it open you should see similar to the following screen here you can change boot options screen
[125004310220] |If you want to change appearance change on this screen
[125004310230] |Security screen
[125004310240] |Advanced screen
[125004320010] |Howto install Google Gadgets in ubuntu 8.04 (Hardy Heron)
[125004320020] |Google Gadgets for Linux provides a platform for running desktop gadgets under Linux, catering to the unique needs of Linux users.
[125004320030] |We are compatible with the gadgets written for Google Desktop for Windows as well as the Universal Gadgets on iGoogle.
[125004320040] |Following Linux norms, this project will be open-sourced, under the Apache License.
[125004320050] |The Windows and Mac versions of Google Desktop has provided gadget hosting functionality on Windows and Mac for a while now and the Linux version of Google Gadgets will extend this platform to Linux users.
[125004320060] |By enabling cross-platform gadgets, a large library of existing gadgets are immediately available to Linux users.
[125004320070] |In addition, gadget developers will benefit from a much larger potential user base without having to learn a new API.
[125004320080] |There’s two main components to the application: one is a common gadget library responsible for running and presenting a gadget, and the other is a host program that allows the user to choose gadgets and run them on the desktop.
[125004320090] |Currently we have hosts written for GTK+ and QT, with the GTK+ host offering a sidebar similiar to that of Google Desktop for Windows.
[125004320100] |Install Google Gadgets in ubuntu 8.04
[125004320110] |You need to edit /etc/apt/sources.list
[125004320120] |sudo gedit /etc/apt/sources.list
[125004320130] |add the following lines
[125004320140] |deb http://ppa.launchpad.net/googlegadgets/ubuntu hardy main deb-src http://ppa.launchpad.net/googlegadgets/ubuntu hardy main
[125004320150] |Save and exit the file
[125004320160] |Now you need to update the source list using the following commnd
[125004320170] |sudo aptitude update
[125004320180] |or you can use the following procedure
[125004320190] |Go to System ---> Administration ---> Software Sources, click on the Third-Party tab, then Add, and paste the following line
[125004320200] |deb http://ppa.launchpad.net/googlegadgets/ubuntu hardy main
[125004320210] |Then click Close and Reload.
[125004320220] |Install Google Gadgets using the following command from terminal
[125004320230] |sudo aptitude install google-gadgets
[125004320240] |This complete the installation process
[125004320250] |Using Google gadgets
[125004320260] |After finishing installation press Alt+F2, and type ggl-gtk click on Run to start Google Gadgets.
[125004320270] |Now You should see a small icon show up in your system tray - right-click on it and select ‘Add Gadgets’ to show a menu
[125004320280] |After opening Google gadgets browser you can see similar to the following scree here you can select one and add
[125004320290] |After adding you can see similar to the following screen
[125004320300] |Add Google Gadgets in Sidebar
[125004320310] |If you want to add Google Gadgets in your side bar follow this procedure
[125004320320] |Press Alt+F2, and type ggl-gtk -s -bg click on Run to start Google Gadgets
[125004320330] |After adding google gadgets you should see similar to the following screen
[125004320340] |Start Google Gadgets at startup
[125004320350] |Go to System --> Preferences --> Sessions
[125004320360] |Once it opens you should see similar to the following screen here you need to click on ‘Add’
[125004320370] |Enter the following details and click on ok
[125004320380] |Uninstall Google Gadgets in Ubuntu
[125004320390] |If you want to uninstall Google Gadgets in Ubuntu go to Applications --->Accessories--->Terminal enter the following command
[125004320400] |sudo aptitude remove google-gadgets
[125004320410] |and you need to remove Google Gadgets from startup
[125004330010] |Webalizer - Apache web server log file analysis Tool
[125004330020] |The Webalizer is a fast, free web server log file analysis program.
[125004330030] |It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser.
[125004330040] |Install webalizer in ubuntu
[125004330050] |sudo apt-get install webalizer This will complete the installation.
[125004330060] |Configuring Webalizer
[125004330070] |Enable the apache2 hostname resolution for this you need to edit /etc/apache2/apache2.conf file and
[125004330080] |sudo vi /etc/apache2/apache2.conf
[125004330090] |HostnameLookups Off
[125004330100] |into
[125004330110] |HostnameLookups On
[125004330120] |By default the package will install a daily cron job which will cause the system to process the logfiles once a day, it will always run after the default Apache logfile rotation, which means that instead of examining the logfile /var/log/apache2/access.log it will use the previous one /var/log/apache2/access.log.1
[125004330130] |If you want to change to current apache log file you need to edit /etc/webalizer/webalizer.conf
[125004330140] |sudo vi /etc/webalizer/webalizer.conf
[125004330150] |change the following parameters
[125004330160] |LogFile /var/log/apache2/access.log.1
[125004330170] |to
[125004330180] |LogFile /var/log/apache2/access.log
[125004330190] |OutputDir /home/www/webalizer
[125004330200] |Incremental yes
[125004330210] |PageType htm*
[125004330220] |PageType cgi
[125004330230] |PageType php
[125004330240] |HideURL *.gif
[125004330250] |HideURL *.GIF
[125004330260] |HideURL *.jpg
[125004330270] |HideURL *.JPG
[125004330280] |HideURL *.ra
[125004330290] |IgnoreURL /taskbar*
[125004330300] |Each parameter in Detail
[125004330310] |LogFile /var/log/apache2/access.log
[125004330320] |The option LogFile specifies the logfile to use with Webalizer.
[125004330330] |The default log file is supposed to be the access_log of Apache Web Server, but you can specifies a different one, like the one Squid Proxy Server makes named access.log if you use it in httpd-accelerator mode.
[125004330340] |OutputDir /home/www/webalizer
[125004330350] |The option OutputDir specifies the location of the output directory to use for the reports of Webalizer.
[125004330360] |All present and future report files generated by the Webalizer program will be hosted in this directory.
[125004330370] |It is recommended that you create this directory where your Apache web site resides.
[125004330380] |Incremental yes
[125004330390] |The option Incremental if set to Yes tells the program only to process partial logs file, and allows you to rotate your log files as much as you want without the loss of access information.
[125004330400] |It’s recommended to set this option to Yes.
[125004330410] |PageType htm* cgi php
[125004330420] |The option PageType specifies what file extensions you want Webalizer to consider as a page to count.
[125004330430] |Each added file extensions must be specified on its own line as shown in the Webalizer configuration file above.
[125004330440] |HideURL *.gif *.GIF *.jpg *.JPG *.ra
[125004330450] |The option HideURL specifies what kind of items such as graphic files, audio files or other non-html files to hide from the reports page.
[125004330460] |Each added item must be specified on its own line as shown in the Webalizer configuration file above.
[125004330470] |IgnoreURL /taskbar*
[125004330480] |The option IgnoreURL specifies URLs to be completely ignored from the generated statistics reports.
[125004330490] |This option can be used to ignore directories that are not important in our statistics reports.
[125004330500] |It’s also useful when you want to manage and class which URLs should be monitored and which should be ignored.
[125004330510] |After configuring all the required options .Now you need to restart the Apache2 server using
[125004330520] |sudo /etc/init.d/apache2 restart
[125004330530] |Running Webalizer manually first time
[125004330540] |Now it’s time to run the program to generate reports, html and graphics in the default Webalizer directory so that we can see them in our web browser interface.
[125004330550] |This step is required just the first time you install and use Webalizer, since it’s preferable to use a cron job to automate this task in the future.
[125004330560] |To run Webalizer manually, to generate reports, use the following command
[125004330570] |webalizer
[125004330580] |At this stage, we should verify that Webalizer is working on the system.
[125004330590] |To do that, point your web browser to the following address:
[125004330600] |http://my-web-server/webalizer/.
[125004330610] |The my-web-server is the address where your Apache web server lives, and usage is the directory that host all the Webalizer reports files.
[125004330620] |This works well for single sites, but if you have a group of websites all on the same machine you might need to make some changes.
[125004330630] |The way that you handle multiple websites on one host is to place all the files beneath a common directory /home/www, such as:
[125004330640] |/home/www/
[125004330650] |www.domain1.com/logs/ and www.domain1.com/stats
[125004330660] |www.domain2.com/logs and www.domain2.com/stats
[125004330670] |Here we have two sites www.domain1.com, and www.domain2.com, each has its own logs,stats/ subdirectory where Apache places the logfiles and stat files.
[125004330680] |To handle this simply you merely copy the default webalizer.conf file from /etc into each of the log directories:
[125004330690] |cp /etc/webalizer.conf /home/www.domain1.com/logs
[125004330700] |cp /etc/webalizer.conf /home/www.domain2.com/logs
[125004330710] |Now if you make the changes to the configuration file so that each one has:
[125004330720] |Logfile access.log
[125004330730] |OutputDir ../stats/
[125004330740] |You can update the stats by running
[125004330750] |cd /home/www/www.domain1.com/logs
[125004330760] |webalizer -q
[125004330770] |cd /home/www/www.domain2.com/logs
[125004330780] |webalizer -q
[125004330790] |(The -q flag merely makes the program run quietly).
[125004330800] |These two commands can be placed inside a shell script and invoked automatically be a cron job belonging to a user who can write to the stats directory - and you can remove the default job by running
[125004330810] |rm /etc/cron.daily/webalizer