[125005090010] |Probem with gcc Compiler in Ubuntu [125005090020] |Hi all, [125005090030] |When I enter following statement in terminal i am getting following error can any one please help me [125005090040] |>>g++ 1.cpp [125005090050] |Message is Can’t find g++ command [125005090060] |Is there any way to compile Cpp program? iam using Ubuntu 7.0.4 at this moment [125005090070] |If I have even tried to install gcc 4.3.0 in order to fix this issue but I am unable to succed in that buid [125005090080] |Please advise [125005090090] |Thanks [125005100010] |Performance tuning with System Control (sysctl) in Ubuntu [125005100020] |The Linux kernel is flexible, and you can even modify the way it works on the fly by dynamically changing some of its parameters using sysctl command. [125005100030] |Sysctl provides an interface that allows you to examine and change several hundred kernel parameters in Linux or BSD. [125005100040] |Changes take effect immediately, and there’s even a way to make them persist after a reboot.sysctl is used to modify kernel parameters at runtime. [125005100050] |The parameters available are those listed under /proc/sys/. [125005100060] |Procfs is required for sysctl support in Linux. [125005100070] |You can use sysctl to both read and write sysctl data.Many of the tunable performance items can be configured directly by the kernel. [125005100080] |The command sysctl is used to view current kernel settings and adjust them. [125005100090] |Important Note:- Editing sysctl.conf file might break your system this is for advanced users only [125005100100] |Procedure to follow [125005100110] |First you need to make a backup copy of /etc/sysctl.conf file using the following command [125005100120] |cp /etc/sysctl.conf /etc/sysctl.conf.back [125005100130] |Now edit the /etc/sysctl.conf file [125005100140] |sudo gedit /etc/sysctl.conf [125005100150] |Use which is suitable for you [125005100160] |Add the following lines to /etc/sysctl.conf if you have 512MB RAM or more [125005100170] |kernel.sem = 250 32000 100 128 kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 fs.file-max = 65536 vm.swappiness = 0 vm.vfs_cache_pressure = 50 [125005100180] |If you have a fast broadband (UL 10Mbps / DL 10Mbps, my broadband connection speed) use the following setting [125005100190] |net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 net.ipv4.tcp_no_metrics_save = 1 [125005100200] |If you have a Wifi (such as IEEE 802.11 a/b/g) or a 3.5G modem, use the following setting [125005100210] |net.core.rmem_default = 524288 net.core.rmem_max = 524288 net.core.wmem_default = 524288 net.core.wmem_max = 524288 net.ipv4.tcp_wmem = 4096 87380 524288 net.ipv4.tcp_rmem = 4096 87380 524288 net.ipv4.tcp_mem = 524288 524288 524288 net.ipv4.tcp_rfc1337 = 1 net.ipv4.ip_no_pmtu_disc = 0 net.ipv4.tcp_sack = 1 net.ipv4.tcp_fack = 1 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_timestamps = 1 net.ipv4.tcp_ecn = 0 net.ipv4.route.flush = 1 [125005100220] |If you want to Prevent SYN attack use the following setting [125005100230] |net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_max_syn_backlog = 2048 net.ipv4.tcp_synack_retries = 2 [125005100240] |If you want to Disables packet forwarding use the following setting [125005100250] |net.ipv4.ip_forward=0 [125005100260] |Increase the maximum number of open files use the following setting [125005100270] |fs.file-max = 100000 [125005100280] |Save and exit the file [125005100290] |Now you need to run the following command to take your changes in to live [125005100300] |sudo sysctl -p [125005100310] |If you know any more tuning parameters please share with us. [125005110010] |How to Convert .BIN/.CUE Files to .ISO in Ubuntu [125005110020] |An ISO image is an archive file (a.k.a. disk image) of an optical disc using a conventional ISO (International Organization for Standardization ) format that is supported by many software vendors. [125005110030] |ISO image files typically have a file extension of .ISO. [125005110040] |Occasionally, you might come across a disc image in the BIN format. [125005110050] |While there are ways to use BIN/CUE’s in Linux, it is much easier to convert them to the standard ISO format. [125005110060] |bchunk (BinChunker) [125005110070] |CD image format conversion from bin/cue to iso/cdrThe bchunk package contains a UNIX/C rewrite of the BinChunker program. [125005110080] |BinChunker converts a CD image in a .bin/.cue format (sometimes .raw/.cue) into a set of .iso and .cdr/.wav tracks. [125005110090] |The .bin/.cue format is used by some non-UNIX CD-writing software, but is not supported on most other CD-writing programs. [125005110100] |Install bchunk using the following command [125005110110] |sudo aptitude install bchunk [125005110120] |This will complete the installation. [125005110130] |Using bchunk [125005110140] |bchunk syntax [125005110150] |bchunk [-v] [-p] [-r] [-w] [-s] [125005110160] |Available options [125005110170] |-v - Makes binchunker print some more unnecessary messages, which should not be of interest for anyone. [125005110180] |-w - Makes binchunker write audio tracks in WAV format. [125005110190] |-s - Makes binchunker swap byte order in the samples of audio tracks. [125005110200] |-p - Makes binchunker go into PSX mode and truncate MODE2/2352 tracks to 2336 bytes at offset 0 instead of normal 2048 bytes at offset 24. [125005110210] |-r - Makes binchunker output MODE2/2352 tracks in raw format, from offset 0 for 2352 bytes. [125005110220] |Good for MPEG/VCD. [125005110230] |Bchunk Example [125005110240] |bchunk IMAGE.bin IMAGE.cue IMAGE.iso [125005110250] |Using CDemu [125005110260] |You can also use CDemu to do this and the ubuntu ppa as follows [125005110270] |deb http://ppa.launchpad.net/cdemu/ubuntu hardy main deb-src http://ppa.launchpad.net/cdemu/ubuntu hardy main [125005110280] |Packages available [125005110290] |cdemu-client cdemu-daemon gcdemu libmirage mirage-image-analyzer vhba-module [125005110300] |Mount ISO Files in Ubuntu [125005110310] |If you want to mount iso use this or this or this tutorial. [125005120010] |How to install gimp 2.6.1 on ubuntu 8.04 (Hardy Heron) [125005120020] |GIMP is a multi-platform photo manipulation tool. [125005120030] |GIMP is an acronym for GNU Image Manipulation Program. [125005120040] |The GIMP is suitable for a variety of image manipulation tasks, including photo retouching, image composition, and image construction. [125005120050] |It has many capabilities. [125005120060] |It can be used as a simple paint program, an expert quality photo retouching program, an online batch processing system, a mass production image renderer, an image format converter, etc. [125005120070] |GIMP is expandable and extensible. [125005120080] |It is designed to be augmented with plug-ins and extensions to do just about anything. [125005120090] |The advanced scripting interface allows everything from the simplest task to the most complex image manipulation procedures to be easily scripted. [125005120100] |One of The GIMP’s strengths is its free availability from many sources for many operating systems. [125005120110] |Most GNU/Linux distributions include The GIMP as a standard application. [125005120120] |The GIMP is also available for other operating systems such as Microsoft Windows™ or Apple’s Mac OS X™ (Darwin). [125005120130] |The GIMP is a Free Software application covered by the General Public License. [125005120140] |Note:- This procedure worked on my ubuntu hardy machine so i am not guarantee that this procedure will work for you. [125005120150] |If you want to know what is new in gimp 2.6 check here [125005120160] |Install Gimp 2.6.1 in Ubuntu hardy [125005120170] |You need to edit the source list file [125005120180] |gksudo gedit /etc/apt/sources.list [125005120190] |add the following line [125005120200] |deb http://ubuntu.org.ua/ getdeb/ [125005120210] |Save the file and exit. [125005120220] |Now you need to update the source list using the following command [125005120230] |sudo apt-get update [125005120240] |Install gimp using the following command [125005120250] |sudo apt-get install gimp [125005120260] |This will update your GIMP 2.4 to GIMP 2.6.1 [125005120270] |Checking your gimp version [125005120280] |Go to Applications--->Graphics--->GIMP Image Editor [125005120290] |Gimp 2.6.1 is loading [125005120300] |Gimp version details [125005130010] |Service command in Ubuntu 8.10 (Intrepid) server [125005130020] |If you want to use service command in ubuntu intrepid install sysvinit-utils package.This package contains the important System-V-like utilities.Specifically, this package includes: killall5, last, lastb, mesg, pidof, service, sulogin. [125005130030] |If you have experience with Red Hat, Fedora, and CentOS servers you might be knowing about service command this is very useful command to start,stop and restart a service simple way. [125005130040] |Service Syntax [125005130050] |sudo service start/stop/restart [125005130060] |Service command Examples [125005130070] |For example if you want to restart apache server use the following command [125005130080] |sudo service apache2 restart [125005130090] |One more [125005130100] |sudo service named restart [125005130110] |If you want to show the status of all services on your ubuntu server use the following command [125005130120] |sudo service --status-all [125005130130] |This command is very useful for server administrators. [125005140010] |Upgrade Ubuntu 8.04 (Hardy Heron) Server to Ubuntu 8.10 (Intrepid Ibex) Server [125005140020] |This Tutorial provides instructions and notes on upgrading Ubuntu 8.04 (Hardy Heron) server to Ubuntu 8.10 (Intrepid Ibex), released on the 30th of October 2008. [125005140030] |Before Upgrading [125005140040] |
  • Make sure you have complete backup of your server
  • [125005140050] |Procedure to follow [125005140060] |Install update-manager-core if it is not already installed using the following command [125005140070] |sudo aptitude install update-manager-core [125005140080] |Edit /etc/update-manager/release-upgrades [125005140090] |sudo vi /etc/update-manager/release-upgrades [125005140100] |and set [125005140110] |Prompt=normal [125005140120] |Launch the upgrade tool using the following command [125005140130] |sudo do-release-upgrade [125005140140] |Follow the on-screen instructions. [125005150010] |What is new in Ubuntu 8.10 (Intrepid Ibex) [125005150020] |After six months of development Ubuntu 8.10 is here, today (October 30th), available on mirrors worldwide.We will see what is new in Ubuntu 8.10 (Intrepid Ibex). [125005150030] |Highlights of Ubuntu 8.10 (Intrepid Ibex) [125005150040] |· GNOME 2.24.1 With Tabbed File Browser · Linux kernel 2.6.27 · Guest session/Switch User · DKMS (Dynamic Kernel Module Support,) · X.org 7.4 · Network Manager 0.7 · PAM authentication framework · Totem BBC plugin · Private (encrypted) Directory · nVidia “legacy” video support · Create Bootable USB drive at the time of installation [125005150050] |Productivity tools [125005150060] |Ubuntu supports all of your favourite web-based mail programs like Yahoo(TM) or Gmail (TM). [125005150070] |But for the office, Evolution provides all the calendering, contacts and full function office email you need. [125005150080] |Pidgin IM also puts you in instant touch with colleagues and integrates with your personal IM services simply and easily. [125005150090] |Browsing [125005150100] |Includes Mozilla’s Firefox 3 as the default browser. [125005150110] |Faster, safer and themed browsing for users. [125005150120] |Photos [125005150130] |Upload from your camera or phone to F-Spot and manage, tag, share and sort your photos and upload easily to you favourite social networking sites. [125005150140] |Music and video [125005150150] |Plug in your PSP, iPod, MP3 player; share playlists with your friends; buy in the creative commons online music stores, stream more live radio and content from the BBC and plug in more devices with UPnP. [125005150160] |Office applications [125005150170] |Word processing, spreadsheets and presentations can all be delivered through Open Office. [125005150180] |And, they completely integrate with the proprietary office applications out there. [125005150190] |The big difference is that they are free. [125005150200] |Accessibility [125005150210] |At the core of the Ubuntu philosophy is the belief that computing is for everyone and access should be free and complete whatever your economic or physical circumstances. [125005150220] |Ubuntu is one of the most accessible desktop operating systems around. [125005150230] |Download Ubuntu 8.10 (Intrepid Ibex) [125005150240] |Download Ubuntu 8.10 32bit and 64bit Editions from Here [125005160010] |Common Problems and Solutions for Nvidia restricted drivers after Ubuntu 8.10 (Intrepid Ibex) Upgrade [125005160020] |I have collected some common problems and solutions for Nvidia restricted drivers after Ubuntu 8.10 (Intrepid Ibex) Upgrade.I really thank for those users and ubuntu forum members who posted the solutions.I hope this will be useful for some users to fix their problems. [125005160030] |Problem 1 [125005160040] |upgrade to 8.10 - can’t enable Nvidia restricted drivers [125005160050] |Upgraded from 8.04.1 to 8.10 (x64). [125005160060] |GF 7600GT. [125005160070] |Athlon X2 64. [125005160080] |Starts up using the unaccelerated drivers. [125005160090] |Using ‘Hardware Drivers’ I try to enable the 177 driver, get error dialog: “Reconfiguring X.org video drivers is not possible: /etc/X11/xorg.conf if invalid” [125005160100] |- tried deleting xorg.conf [125005160110] |- tried dpkg-reconfig xserver-xorg [125005160120] |- tried nvidia-xconfig [125005160130] |None of these work. [125005160140] |- /var/log/Xorg.0.log doesn’t show any syntax errors with any of these xorg.conf files. [125005160150] |Any ideas? [125005160160] |Solution [125005160170] |1) Open Synaptic Package Manager [125005160180] |2) Search nvidia [125005160190] |3) Installed all the 177 that are not yet installed (except those with the -dev suffix) or run this command to install drivers sudo apt-get install nvidia- [125005160200] |glx-177 [125005160210] |4) Made sure nvidia-settins is installed as well [125005160220] |5) Restarted [125005160230] |6) Went to “Hardware Drivers” [125005160240] |7) Activated 177 [125005160250] |Run the following command to set the nvidia card settings [125005160260] |gksudo nvidia-settings [125005160270] |Problem 2 [125005160280] |nvidia-settings segmentation fault.In the nvidia-settings menu (System->Administration->NVIDIA X Server Settings), if I click “Save to X Configuration File” (in the “X Server Display Configurations” page), the window closes. [125005160290] |This was not the behavior in Ubuntu 8.04. [125005160300] |If I open the menu from the command line, then clicking “Save to X Configuration File” will print “Segmentation fault” before the window closes. [125005160310] |This happens whether or not I use sudo when executing nvidia-settings. [125005160320] |Solution [125005160330] |I heard that the new X.Org was going to rely less on the xorg.conf file, but it still exits. [125005160340] |I can still apply my desired changes by clicking “Apply”, so I personally do not have any problems. [125005160350] |I am wondering if the segfault is a bug. [125005160360] |I renamed my xorg.conf file to something radically different: xorg_conf_backup.txt Then, when I had nvidia-settings save to xorg file, it asked where it was. [125005160370] |I just pointed it to the same location (/etc/X11/xorg.conf) and had it make a new one. [125005160380] |That seemed to make it stick. [125005160390] |It seems unhappy in having to deal with existing xorg files. [125005160400] |Problem 3 [125005160410] |How to get 1920×1200 Resolution Dell 2405fwp Nvidia 6150se [125005160420] |Solution [125005160430] |It’s an Dell 2405fwp with native resolution of 1920×1200. [125005160440] |But I finally got it working, with some trial and error: [125005160450] |[Dell Insipiron 531] how to get 1920×1200 [2405fpw] resolution working with onboard nvidia graphics [Nvidia 6150se] using vga out: [125005160460] |1. Isntall the restricted drivers System ---> Hardware Drivers [125005160470] |2. Select the recommended drivers, install and reboot. [125005160480] |3. Backup the original /etc/X11/xorg.conf: [125005160490] |$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.org [125005160500] |4. Edit /etc/X11/xorg.conf: [125005160510] |$ sudo nano /etc/X11/xorg.conf [125005160520] |5. look for the Section “Monitor” [125005160530] |add the following lines[DO NOT CHANGE ANYTHING ELSE]: [125005160540] |HorizSync 30-81 VertRefresh 60 [125005160550] |6. look for Section “Screen” [125005160560] |add the following lines[DO NOT CHANGE ANYTHING ELSE]: [125005160570] |SubSection “Display” Depth 24 Modes “1920x1200_60″ EndSubSection [125005160580] |7. Then do: $ sudo nvidia-settings [125005160590] |then from X Server Display Configuration select the 1920×1200 resolution and 60hz [125005160600] |8. Saving the X configuration File [while nvidia-settings is still open]: [125005160610] |$ sudo rm /etc/X11/xorg.conf [125005160620] |save file as /etc/X11/xorg.conf [125005160630] |9. edit /etc/X11/xorg.conf if needed be repeat 5 &6 [125005160640] |10. then Reboot and press the autosize button on the LCD [125005160650] |And here is a copy of my working xorg.conf file: [125005160660] |Code: Section “Monitor” Identifier “Configured Monitor” HorizSync 30-81 VertRefresh 60 EndSection [125005160670] |Section “Screen” Identifier “Default Screen” Monitor “Configured Monitor” Device “Configured Video Device” DefaultDepth 24 SubSection “Display” Depth 24 Modes “1920x1200_60″ EndSubSection EndSection [125005160680] |Section “Module” Load “glx” EndSection [125005160690] |Section “Device” Identifier “Configured Video Device” Driver “nvidia” Option “NoLogo” “True” EndSection [125005160700] |Problem 4 [125005160710] |Ubuntu 8.10 My Graphics can’t be enabled. nVidia Go 7400 graphics card [125005160720] |Solution [125005160730] |I got mine working by going to System->Administration->Hardware Drivers. [125005160740] |However, the two options presented to me are the 173 and 177 drivers, so that might not help you. [125005160750] |The 177 driver, which was also recommended, worked. [125005160760] |After activating that driver, I edited the display setting with System->Administration->NVIDIA X Server Settings and then clicked Apply. [125005160770] |Problem 5 (Intrepid blank screen problem) [125005160780] |I wanted to install the Intrepid Ibex [8.10] upgrade. [125005160790] |Today I started the Update Manager and let it upgrade to 8.10. [125005160800] |Downloading the Binaries took 5-odd hours[I'm on a 384Kbps connection and the download size is just a mite less than 1GB].It took an hour to install and asked to reboot. [125005160810] |This is where the troubles started. [125005160820] |After rebooting, it went to the beige screen that precedes the splash screen and then to a black blank screen. [125005160830] |I could move around the mouse and that was it. [125005160840] |Solution [125005160850] |Apparently the compiz [which is responsible for the visual effects] module has problems with older Intel graphics cards [on-board graphics module aboard my Intel 845 GVSR]. [125005160860] |A suggested work around was to boot into recovery mode and remove the compiz module. [125005160870] |Apparently the bus has been around for a couple of months now[Launchpad Bug #259385]. [125005160880] |select root shell prompt and run the following commands [125005160890] |sudo apt-get remove compiz [125005160900] |sudo apt-get remove compiz-core [125005160910] |exit [125005160920] |resume [125005160930] |Problem 6 [125005160940] |I just installed the new Ubuntu 8.10 and I have no sound.How to fix this problem [125005160950] |Solution [125005160960] |I have fixed this problem by installing following package [125005160970] |sudo killall pulseaudio [125005160980] |sudo alsa force-reload [125005160990] |and then go to System>Preferences>Sound and change everything to ALSA [125005161000] |Problem 7 [125005161010] |Install Nvidia legacy GeForce 2 MX 400 in Ubuntu 8.10 [125005161020] |Downloaded the beta driver from nvidia here the 96.43.09 legacy BETA [125005161030] |Downloaded from synaptic manager linux-headers-generic and linux-source-2.6.27 [125005161040] |sudo apt-get install linux-headers-generic linux-source-2.6.27 [125005161050] |Press CTRL + ALT F1 [125005161060] |sudo /etc/init.d/gdm stop [125005161070] |sudo sh NVIDIA DRIVER that you downloaded from the url above [125005161080] |sudo /etc/init.d/gdm start [125005161090] |Problem 8 [125005161100] |Install NVIDIA XFX 8600 GT in Ubuntu 8.10 [125005161110] |My machine is MSI RS-480-IL2 motherboard, with NVIDIA XFX 8600 GT card. [125005161120] |This is the procedure I followed: [125005161130] |Just go to System -> Adminitration-> Hardware Drivers and enable NVIDIA 177 driver. [125005161140] |It will download and install the driver. [125005161150] |Here there is a small hitch. [125005161160] |Sometimes the download progress window stops at 0% only, it is bug, but the download takes place in the background and installs the driver. [125005161170] |You need to be patient for about 5 minutes (256 KBPS download speed). [125005161180] |After that, just check under System -> Administration for a new menu entry “NVIDIA Settings”, if so, the driver is installed. [125005161190] |If you select the menu item, it will say “Looks like NVIDIA driver is not being used, Update your Xorg.conf file, just run “nvidia-xconfig” from terminal as root”. [125005161200] |Do that, and it will update your xorg.conf file, just restart X, using CTRL + ALT + BACKSPACE, it will logout you out and ask for login again. [125005161210] |Just login and you have NVIDIA 3D fully working. [125005161220] |Try enabling 3D effects and enjoy !!! [125005161230] |Ubuntu 8.10 really rocks, especially with 3D enabled. [125005161240] |For all the persons who were kind enough to reply and comment on earlier post, I would like to thank all of you. [125005161250] |Anyone facing problem with Ubuntu 8.04, I suggest upgrade to Ubuntu 8.10. [125005161260] |It will solve many problems. [125005161270] |If you have any other solutions for nvidia cards or any other issues after intrepid upgrade please share here [125005170010] |Fix for Linux kernel 2.6.27 regression in Ubuntu 8.10 (Intrepid Ibex) [125005170020] |After Yesterday (30th October 2008) Ubuntu 8.10 release a regression was discovered in Linux kernel version 2.6.27 packages. [125005170030] |Details about Linux kernel regression [125005170040] |Version 2.6.27 of the Linux kernel changed the order of options in TCP headers. [125005170050] |While this change was RFC-compliant, it was found that some old routers and consumer DSL modems would not route traffic for these systems when TCP timestamps were enabled. [125005170060] |As a workaround, TCP timestamps were disabled via sysctl. [125005170070] |Solution [125005170080] |The problem can be corrected by upgrading your system to the following package versions: [125005170090] |Ubuntu 8.10: [125005170100] |linux-image-2.6.27-7-generic 2.6.27-7.15 linux-image-2.6.27-7-server 2.6.27-7.15 linux-image-2.6.27-7-virtual 2.6.27-7.15 procps 1:3.2.7-9ubuntu2.1 [125005170110] |sudo aptitude update [125005170120] |sudo aptitude dist-upgrade [125005170130] |After a standard system upgrade you need to reboot your computer to effect the necessary changes. [125005180010] |Ubucleaner - Simple bash script to keep your Ubuntu System Clean [125005180020] |Ubucleaner is a simple bash script that help you to keep your computer clean. [125005180030] |Note:- This is Only for advanced Ubuntu users [125005180040] |Ubucleaner Features [125005180050] |- Clean apt cache [125005180060] |- Remove config files left from uninstalled .deb packages(it happens if you don’t use the --purge switch with apt-get) [125005180070] |- Remove every kernel except the one you are using [125005180080] |- Empty the trashes of every user(including root) [125005180090] |It uses apt and the kernel removing thing searches for ubuntu-only packages, so it can’t work on non-debian system and the result is undetermined for other debian-based system, but you can still use the other features of the script(you’ll just have to comment the parts you don’t want). [125005180100] |The script assumes that you are using the text-based Aptitude application, rather than apt-get and dpkg. [125005180110] |If you are not using Aptitude, you should also replace the reference to aptitude clean with apt-get clean and the reference to aptitude purge to dpkg --purge.This can be done done by editing the following script. [125005180120] |First you need to download the script from here or using the following command [125005180130] |wget http://www.opendesktop.org/CONTENT/content-files/71529-ubucleaner.sh [125005180140] |Now you should have 71529-ubucleaner.sh file you need to give execute permissions using the following command [125005180150] |sudo chmod +x 71529-ubucleaner.sh [125005180160] |Run the script using the following command [125005180170] |./71529-ubucleaner.sh [125005190010] |Upgrade Ubuntu 8.04 (Hardy Heron) to Ubuntu 8.10 (Intrepid Ibix) [125005190020] |This tutorial will explain how to Upgrade Ubuntu 8.04 (Hardy Heron) to Ubuntu 8.10 (Intrepid Ibix) released on the 30th of October 2008. [125005190030] |By default Ubuntu 8.04 LTS will not offer a upgrade to 8.10. [125005190040] |This is because the 8.04 LTS version is a long term support release and 8.10 is a regular release. [125005190050] |Upgrades from 8.04 LTS to 8.10 are fully supported, of course, and easy to enable.If you want to know what is new in Ubuntu 8.10 check here [125005190060] |
  • You can directly upgrade to Ubuntu 8.10 from Ubuntu 8.04 LTS.
  • [125005190070] |
  • The upgrade will not be presented by default because 8.10 is not a Long Term Support (LTS) release.
  • [125005190080] |
  • Be sure that you have all updates applied to Ubuntu 8.04 LTS before you upgrade.
  • [125005190090] |
  • Take a complete backup of your ubuntu system
  • [125005190100] |Start Your Upgrade [125005190110] |Start software sources from System--->Administration--->Software Sources [125005190120] |Once it opens click on the “Updates” tab and change “Show new distribution release” to “Normal releases” [125005190130] |After changing you should see similar to the following screen click on close [125005190140] |Start Update manager from System--->Administration--->Update Manager [125005190150] |Click the Check button to check for new updates.If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete. [125005190160] |A message will appear informing you of the availability of the new release.Click Upgrade [125005190170] |You can see similar to the following release notes click upgrade [125005190180] |Downloading Update tool is in progress [125005190190] |Preparing for upgrade is in progress [125005190200] |If you have any third party sources list you should see similar to the following message click close [125005190210] |Setting up new software channels is in progress [125005190220] |Do you want to start upgrade message click on Start upgrade [125005190230] |Downloading new packages is in progress [125005190240] |Installing upgrades is in progress [125005190250] |Installing upgrades progress screen in terminal [125005190260] |Replace the customised configuration file here i chose replace [125005190270] |Cleanup is in progress [125005190280] |Remove obsolete packages option click Remove [125005190290] |Restart your computer by clicking on Restart Now [125005190300] |Testing Your Upgrade [125005190310] |You can check the ubuntu version installed using the following command [125005190320] |sudo lsb_release -a [125005190330] |Output Looks like below [125005200010] |How to install KDE 4.1 on Ubuntu 8.10 (Intrepid Ibex) [125005200020] |KDE has reached version 4.1.2. [125005200030] |The new series includes updates to several of KDE’s core components, notably a port to Qt 4. [125005200040] |It contains a new multimedia API, called Phonon, a device integration framework called Solid and a new style guide and default icon set called Oxygen. [125005200050] |It also includes the new desktop and panel user interface tool, called Plasma, which supports desktop widgets, replacing SuperKaramba and similar to Apple’s Dashboard widgets. [125005200060] |The port to Qt 4 will facilitate support for non-X11-based platforms, including Microsoft Windows and Mac OS X. One of the overall goals of KDE 4 is to be more easily portable to different operating systems. [125005200070] |Install KDE 4.1 on Ubuntu 8.10 [125005200080] |First you need to edit the /etc/apt/sources.list file [125005200090] |sudo gedit /etc/apt/sources.list [125005200100] |add the following line [125005200110] |deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu intrepid main [125005200120] |save and exit the file [125005200130] |Update the source list using the following command [125005200140] |sudo aptitude update [125005200150] |Install KDE4 desktop Environment using the following command [125005200160] |sudo aptitude install kubuntu-kde4-desktop [125005200170] |Enter your password and press Y when asked if you want to continue. [125005200180] |Configure kdm, KDE’s graphical login manager screen. [125005200190] |Press Enter. [125005200200] |Here you need to select which desktop enviroment you want to use as default on for Gnome select gdm and for KDE select kdm select ok and press enter [125005200210] |This will install all the required packages for KDE4 [125005200220] |Running KDE Session [125005200230] |After finishing installation you need to logout from your current session.In login window click on Options---> Select Session… [125005200240] |Select KDE click on Change Session [125005200250] |Select your option here you want to run just for this session or default Desktop Environment [125005200260] |KDE 4.1 is loading [125005200270] |KDE 4.1 Desktop [125005210010] |How to Integrate windows Active Directory and Samba in Ubuntu [125005210020] |We have already dicussed how to add ubuntu machine in to windows Active Directory.In this tutorial we will see how Integrate windows Active Directory and Samba in Ubuntu.If you want to access samba shares from windows Active Directory. [125005210030] |Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients.” [125005210040] |Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients. [125005210050] |Install samba and kerberos in Ubuntu [125005210060] |sudo aptitude install krb5-user [125005210070] |sudo aptitude install samba smbfs smbclient winbind [125005210080] |Configure samba [125005210090] |Now likewise-open and samba packages use separate secrets.tdb (samba password file) files,We need to create a symlink to be /var/lib/samba [125005210100] |Take a backupof existing file [125005210110] |sudo mv /var/lib/samba/secrets.tdb /var/lib/samba/secrets.tdb.orig [125005210120] |Create a link to /var/lib/samba [125005210130] |sudo ln -s /etc/samba/secrets.tdb /var/lib/samba [125005210140] |Configuring samba and kerberos [125005210150] |Edit /etc/samba/smb.conf file [125005210160] |sudo vi /etc/samba/smb.conf [125005210170] |Note:- replace ug01 netbios name with your own [125005210180] |Change the following parameters [125005210190] |[global] security = ads netbios name = ug01 realm = DOMAIN.INTERNAL password server = domainserver.domain.internal workgroup = DOMAIN idmap uid = 500-10000000 idmap gid = 500-10000000 winbind separator = + winbind enum users = no winbind enum groups = no winbind use default domain = yes template homedir = /home/%D/%U template shell = /bin/bash client use spnego = yes domain master = no [125005210200] |Save and exit the file [125005210210] |Test the configuration with the testparm command [125005210220] |Kerberos Configuration [125005210230] |Edit the /etc/krb5.conf File [125005210240] |sudo vi /etc/krb5.conf [125005210250] |Change the following lines [125005210260] |[logging] default = FILE10000:/var/log/krb5lib.log [libdefaults] ticket_lifetime = 24000 default_realm = DOMAIN.INTERNAL default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc [realms] DOMAIN.INTERNAL = { kdc = domainserver.domain.internal admin_server = domainserver.domain.internal default_domain = DOMAIN.INTERNAL [125005210270] |} [125005210280] |[domain_realm] .domain.internal = DOMAIN.INTERNAL domain.internal = DOMAIN.INTERNAL [125005210290] |Save and exit the file [125005210300] |Configuring nsswitch file [125005210310] |Edit /etc/nsswitch.conf to look like the example below [125005210320] |sudo vi /etc/nsswitch.conf [125005210330] |passwd: compat winbind group: compat winbind shadow: compat hosts: files dns wins networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis [125005210340] |Save and exit the file [125005210350] |Modify the PAM settings [125005210360] |
  • /etc/pam.d/common-account should contain only the following lines
  • [125005210370] |account sufficient pam_winbind.so account required pam_unix.so [125005210380] |
  • /etc/pam.d/common-auth should contain only the following lines
  • [125005210390] |auth sufficient pam_winbind.so auth required pam_unix.so nullok_secure use_first_pass [125005210400] |
  • Modify the /etc/pam.d/common-password file, so the max parameter is set to 50, similar to the one shown below
  • [125005210410] |password required pam_unix.so nullok obscure min=4 max=50 md5 [125005210420] |
  • Make sure the /etc/pam.d/common-session file contains the following line
  • [125005210430] |session required pam_mkhomedir.so umask=0022 skel=/etc [125005210440] |Make a directory to hold domain user home directories [125005210450] |Note: Use the value you put in the WORKGROUP tag of the /etc/samba/smb.conf file [125005210460] |mkdir -p /home/DOMAIN [125005210470] |Initialize Kerberos [125005210480] |sudo kinit domain_admin_account@DOMAIN.INTERNAL [125005210490] |Note:- write $FQDN_OF_YOUR_DOMAIN in capitals as you did in your krb5.conf file.You can check you’ve obtained your ticket with klist [125005210500] |Next check to be sure you got a ticket from the domain controller [125005210510] |sudo klist [125005210520] |If you didn’t add your ubuntu server to windows AD use the following command [125005210530] |net ads join -U Adminstrator@$FQDN_OF_YOUR_DOMAIN [125005210540] |Restart Samba-related Services (Or reboot the server) [125005210550] |Note: If you are stopping and starting services the order is important [125005210560] |sudo /etc/init.d/samba stop [125005210570] |sudo /etc/init.d/winbind stop [125005210580] |sudo /etc/init.d/samba start [125005210590] |sudo /etc/init.d/winbind start [125005210600] |Restart SSH and Test Connectivity [125005210610] |Note: If you rebooted the server in the previous step, just try and login. [125005210620] |sudo /etc/init.d/ssh restart [125005210630] |ssh useraccount@server [125005210640] |If you can login using your active directory username and password then everything is working fine. [125005210650] |Configure SUDO [125005210660] |First you need to create a group in Active Directory called UbuntuAdmins and add the names of people whom you want to be able to use sudo to admin the server. [125005210670] |Next, add the UbuntuAdmins group to the /etc/sudoers so these users can use sudo [125005210680] |%UbuntuAdmins ALL=(ALL) ALL [125005210690] |Useful Commands [125005210700] |List the derived UNIX GID values for Active Directory groups [125005210710] |for gid in $(wbinfo -r ); \ do SID=$(wbinfo -G $gid);GROUP=$(wbinfo -s $SID); echo $gid is $GROUP; done [125005210720] |See the Active Directory SID for a particular named user [125005210730] |wbinfo –n [125005210740] |Reference from here [125005220010] |Step By Step Ubuntu 8.10 (Intrepid Ibex) LAMP Server Setup [125005220020] |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. [125005220030] |This feature, exclusive to Ubuntu Server Edition, is available at the time of installation. [125005220040] |The LAMP option means you don’t have to install and integrate 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. [125005220050] |Instead, you get increased security, reduced time-to-install, and reduced risk of misconfiguration, all of which results in a lower cost of ownership.New pre-configured installation options have been added to the Ubuntu Server. [125005220060] |Mail Server, Open SSH Server,Samba File Server, Print Server, Tomcat Java Server,Virtual Machine Host and Database Server options join existing LAMP and DNS options for pre-configured installations, easing the deployment of common server configurations. [125005220070] |Ubuntu LAMP server Install the following Versions [125005220080] |Ubuntu 8.10 (Intrepid Ibex) Apache 2.2.9 Mysql 5.0.67 PHP 5.2.6 [125005220090] |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 your language and press enter [125005220100] |Now you need to select “Install Ubuntu Server” and press enter [125005220110] |Ubuntu Server CD is loading in Progress [125005220120] |Choose you language and press enter you can see we have selected English in the following screen [125005220130] |Choose your location and press enter you can see we have have selected United Kingdom in the follwoing screen [125005220140] |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 [125005220150] |Select Origin of keyboard and press enter [125005220160] |Select keyboard layout and press enter [125005220170] |Detecting hardware to find CD-ROM Drivers in progress [125005220180] |Scanning CD-ROM in Progress [125005220190] |Loading additional components progress bar [125005220200] |Detecting Network hardware is in progress [125005220210] |Configures the network with DHCP if there is a DHCP server in the network [125005220220] |Enter the Hostname of the system so in this example i enter here as intrepidlamp [125005220230] |Clock setup is in progress [125005220240] |Starting up the partitioner in progress [125005220250] |you have to partition your hard disk in this example i have selected use entire disk option if you want to edit manually you can choose manual and press enter [125005220260] |Warning message about data lost on your hard disk [125005220270] |Creating partitions in your hard disk is in progress [125005220280] |Write the changes to disk option here you need to select yes and press enter [125005220290] |Creating ext3 file system in progress [125005220300] |Installing base system is in progress [125005220310] |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 [125005220320] |Username for your account in this i have entered test select continue and press enter [125005220330] |Entered the password for test user select continue and press enter [125005220340] |Confirm the password for test user select continue and press enter [125005220350] |If you want to configure encrypted private directory select yes and press enter [125005220360] |Enter passphrase for your encrypted private directory select continue and press enter [125005220370] |Confirm passphrase select continue and press enter [125005220380] |Configuring the package manager select continue and press enter [125005220390] |Configuring package mirror this will be related to your country option [125005220400] |Select how do you want to configure automatic update press enter [125005220410] |Now it will start Installing software and here you need to select the server options here i have selected as LAMP and OpenSSH server for our LAMP server installation [125005220420] |At the time of software installation it will prompt for mysql server root password enter root password of your choice and select continue [125005220430] |Confirm mysql server root password and select continue [125005220440] |Software installation is in progress [125005220450] |Installing GRUB Boot loader in progress [125005220460] |Finishing installation in Progress [125005220470] |Installation complete message here you need to remove your CD select continue and press enter it will reboot your server [125005220480] |After rebooting you can see the following screen prompt for username [125005220490] |This will complete the Ubuntu LAMP Server Installation and your server is ready for installing applications which supports apache,mysql and php. [125005220500] |One more new feature i really like was after logging in it shows you system stats like CPU,Memory,Disk,Swap,No.of processes,No.of users logged [125005220510] |Configuring Static ip address in Ubuntu server [125005220520] |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): [125005220530] |sudo vi /etc/network/interfaces [125005220540] |and enter the following save the file and exit [125005220550] |# The primary network interface [125005220560] |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 [125005220570] |Now you need to restart your network services using the following command [125005220580] |sudo /etc/init.d/networking restart [125005220590] |You need to setup manually DNS servers in resolv.conf file when you are not using DHCP. [125005220600] |sudo vi /etc/resolv.conf [125005220610] |You need to add look something like this [125005220620] |search domain.com [125005220630] |nameserver xxx.xxx.xxx.xxx [125005220640] |If you want to know how to install GUI in ubuntu lamp server check this [125005230010] |Ubuntu Server:Install GUI and Webmin in Ubuntu 8.10 (Intrepid Ibex) Guide [125005230020] |We have already discussed how to install ubuntu 8.10 LAMP server .If you are a new user and not familiar with command prompt you can install GUI for your ubuntu LAMP server using the 2 options [125005230030] |1) Install desktop Environment [125005230040] |2) Install Webmin [125005230050] |1) Install desktop Environment [125005230060] |First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI [125005230070] |sudo apt-get update [125005230080] |sudo apt-get install ubuntu-desktop [125005230090] |The above command will install GNOME desktop if you want to install KDE desktop use the following command [125005230100] |sudo apt-get install kubuntu-desktop [125005230110] |2) Install Webmin [125005230120] |Webmin is a web-based interface for system administration for Unix. [125005230130] |Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. [125005230140] |Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.Currently There is no Webmin package in the Ubuntu repositories.This tutorial will explain how to Install Webmin in Ubuntu Intrepid Ibex [125005230150] |You can install webmin for your server web interface to configure apache2,mysql,FTp servers and many more.Now we will see how to install webmin in Ubuntu 8.10 [125005230160] |Preparing your system [125005230170] |First you need to install the following packages [125005230180] |sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl [125005230190] |Now download the latest webmin using the following command or from here [125005230200] |wget http://garr.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb [125005230210] |Now we have webmin_1.441_all.deb package install this package using the following command [125005230220] |sudo dpkg -i webmin_1.441_all.deb [125005230230] |This will complete the installation. [125005230240] |Ubuntu in particular don’t allow logins by the root user by default. [125005230250] |However, the user created at system installation time can use sudo to switch to root. [125005230260] |Webmin will allow any user who has this sudo capability to login with full root privileges. [125005230270] |Now you need to open your web browser and enter the following [125005230280] |https://your-server-ip:10000/ [125005230290] |Now you should see similar to the following Screen [125005230300] |After login if you want to configure Apache,Mysql server you need to click on Servers on your lefthand side you should many servers are ready to configure [125005230310] |This is very Easy to configure most of the servers and Enjoy your new Ubuntu Intrepid Ibex LAMP Server. [125005240010] |How to Change The Bootsplash In Ubuntu 8.10 (Intrepid Ibex) [125005240020] |Bootsplash can be a simple visualisation of the scrolling boot messages in the console, but it can also present graphics or some combinations of both.For some reason there is a bug in the new version (8.10 Intrepid Ibex) that will not let you change this. [125005240030] |When you reboot you might see a quick flash of an error saying acpid:exiting we will see how to change bootsplash in ubuntu 8.10 [125005240040] |Note :- This procedure only for Intermediate and advanced users [125005240050] |Procedure to follow [125005240060] |First you need to uninstall existing usplash using the following command [125005240070] |sudo aptitude remove usplash --purge [125005240080] |Now download the latest version of splashy files libsplashy from here and splashy from here [125005240090] |after downloading install those two files using the following commands from your terminal or you can double click on those packages to install [125005240100] |sudo dpkg -i libsplashy1_0.3.10-1_i386.deb [125005240110] |sudo dpkg -i splashy_0.3.10-1_i386.deb [125005240120] |After installing new version of splashy, you will want to edit /boot/grub/menu.lst before that take a backup of your menu.lst file [125005240130] |sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.backup [125005240140] |Now edit the /boot/grub/menu.lst file using the following command [125005240150] |sudo gedit /boot/grub/menu.lst [125005240160] |Look for your kernel boot option.In my case with the following line [125005240170] |kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3dca6051-5877-438c-94c5-f5ff7803d851 ro quiet splash [125005240180] |and add vga=791 at the end of it so it reads similar to the following line [125005240190] |kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3dca6051-5877-438c-94c5-f5ff7803d851 ro quiet splash vga=791 [125005240200] |Save and exit the file. [125005240210] |Update your grub using the following command [125005240220] |sudo update-grub [125005240230] |Now you need to reboot your system, and you should see a new splashy splash screen on you ubuntu 8.10 system.This is just a workaround. [125005240240] |If you know of a way to fix usplash in Ubuntu 8.10 please share with us. [125005250010] |How to Use Remote Desktop in Ubuntu 8.10 (Intrepid Ibex) [125005250020] |In this tutorial we will see how to enable remote desktop access in ubuntu desktop and accessing remotely.vino is VNC server for GNOME.VNC is a protocol that allows remote display of a user’s desktop. [125005250030] |This package provides a VNC server that integrates with GNOME, allowing you to export your running desktop to another computer for remote use or diagnosis. [125005250040] |By default ubuntu will come with vino-server so it is very easy to configure to enable remote desktop sharing in your ubuntu machine.If you want to access ubuntu machine remotely you need to login in to your ubuntu system. [125005250050] |Important note :-Remote Desktop will only work if there’s a GNOME login session.Leaving your computer with an unattended GNOME login session is not secure and not recommended. [125005250060] |Enable Remote Desktop in Ubuntu [125005250070] |First you need to go to System -> Preferences -> Remote Desktop [125005250080] |Once it opens you should see similar to the following screen [125005250090] |In the above screen you need to configure remote desktop preferences for sharing and security [125005250100] |For Sharing [125005250110] |you need to tick the box next to the following two options [125005250120] |
  • Allow other users to view your desktop
  • [125005250130] |
  • Allow other users to control your desktop
  • [125005250140] |For Security [125005250150] |you need to tick the box next to the following two options [125005250160] |
  • Ask you for confirmation (If you tick this option some one need to click on allow from remote desktop once it connected if you don’t want you can untick this option)
  • [125005250170] |
  • Require the user to enter this password:
  • [125005250180] |
  • Password: Specify the password
  • [125005250190] |Now you need to click on Advanced Tab select your options click on close [125005250200] |For Network [125005250210] |
  • Only allow local connections
  • [125005250220] |
  • Use an alternative port
  • [125005250230] |
  • Disable the wallpaper when connected
  • [125005250240] |For Security [125005250250] |
  • Require encryption
  • [125005250260] |
  • Lock Screen on disconnect
  • [125005250270] |For Notification Area [125005250280] |
  • Always display icon
  • [125005250290] |
  • Only display an icon where there is someone connected
  • [125005250300] |
  • Never display an icon
  • [125005250310] |Connecting from Ubuntu Machine [125005250320] |Go to Applications--->Internet--->Remote Desktop Viewer once it opens you shold see similar to the following screen and If you want to connect remote PC click on connect from top menu. [125005250330] |Enter you remote host or if you click on find [125005250340] |Now it should automatically detect the available remote desktops select your remote PC and click ok [125005250350] |You can see the remote host details and port number click on connect [125005250360] |Enter the remote host password to connect and click ok [125005250370] |Now you should be able to connect your remote desktop.In intrepid we have more security options to choose like you can encrypt complete session. [125005250380] |Connecting from Windows Machine [125005250390] |If you are trying to connect from your windows machine you need to install vncviewer of your choice i have installed from here http://www.realvnc.com/download.html.Install this program once you install this you can opem from start—>All programs—>RealVNC—>VNC Viewer 4—>Run VNC Viewer once it opens you should see the following screen here enter the remotemachine ipaddress:0 format and click ok.Now it will prompt for password enter your password and click ok [125005250400] |Now on the remote machine you should see the following screen asking for permission to allow this connection you need to click on allow this will come up only if you tick “Ask you for confirmation” option under sharing. [125005260010] |ccd2iso - Convert CloneCD disc image (.img) format to standard ISO (.iso) [125005260020] |If you want to convert .img to .iso file you need to use ccd2iso.This converts CD backup files created using the non-free CloneCD program to a format understood by most Free Software CD writing programs. [125005260030] |ccd2iso converts FOO.IMG to ISO format and writes the result to BAR.ISO.If fewer arguments than expected are given,ccd2iso will print its help message and quit. [125005260040] |If more arguments than expected are given,ccd2iso will silently ignore them and use only the first two arguments. [125005260050] |IMG files are raw-data copies of optical media,generated primarily by the Windows application CloneCD, and are primarily used to store CDs with odd properties,such as sectors which need to have read errors when read. [125005260060] |Conversion to ISO format removes this information,as ISO format does not support this. [125005260070] |IMG files almost always include a SUB file, which contains additional data for the disc format, and a CCD file, which is a plaintext configu-ration file describing the disc layout.ccd2iso does not make use of these files, but the applications which generate them expect them to have the same FOO prefix as the IMG file. [125005260080] |Install ccd2iso in ubuntu [125005260090] |sudo aptitude install ccd2iso [125005260100] |This will complete the installation. [125005260110] |ccd2iso Syntax [125005260120] |ccd2iso [FOO.IMG] [BAR.ISO] [125005260130] |Example [125005260140] |ccd2iso file.img file1.iso [125005270010] |How to get Atheros AR5007EG or AR242x wireless cards (may be other models) working in Ubuntu 8.10 (Intrepid Ibex) [125005270020] |This tutorial will explain how to Atheros AR5007EG or AR242x wireless cards working in Ubuntu 8.10 (Intrepid Ibex).First you need to compile latest ath5k driver using the following procedure.Use one of the following method. [125005270030] |Preparing your system [125005270040] |sudo aptitude install build-essential [125005270050] |This will install all the required compilers. [125005270060] |Method 1 [125005270070] |Now you need to download the latest wireless drivers from here using the following command [125005270080] |wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 [125005270090] |Now you have compat-wireless-2.6.tar.bz2 file you need to extract this file using the following command from the terminal [125005270100] |sudo tar -jxvf compat-wireless-2.6.tar.bz2 [125005270110] |Move to the directory you extracted in terminal [125005270120] |cd directoryname [125005270130] |Run the following commands [125005270140] |make [125005270150] |sudo make install [125005270160] |sudo make unload [125005270170] |sudo make load [125005270180] |Uninstall drivers [125005270190] |If you want to uninstall cd in to the wireless drivers directory path and use the following commands [125005270200] |sudo make unload [125005270210] |sudo make uninstall [125005270220] |Method 2 [125005270230] |if you are on Intrepid and still cannot use wifi with an Atheros card , you need to do two things, 1) install linux-backport-modules and 2) blacklist ath_pci and ath_hal. [125005270240] |To install the backport modules, just search for it on Synaptic or use apt-get or aptitude, it’s called linux-backports-modules-intrepid. [125005270250] |Then on System/Administration/Hardware Drivers make sure Atheros driver is activated. [125005270260] |sudo aptitude install linux-backports-modules-intrepid [125005270270] |For Jaunty Users run the following comamnd [125005270280] |sudo apt-get install linux-backports-modules-jaunty [125005270290] |To blacklist the old modules, do this: [125005270300] |gksudo gedit /etc/modprobe.d/blacklist [125005270310] |And add the following lines At the bottom of the file save and exit [125005270320] |blacklist ath_hal blacklist ath_pci [125005270330] |Now you need to reboot your system. [125005270340] |IF after this steps you still cannot make it work, you probably have something left still blacklisting ath5k, thus making it not to load. [125005270350] |You should search all the files on /etc/modprobe.d for all lines that had: [125005270360] |blacklist ath5k [125005270370] |And add a # before the start of the line, thus making it into a comment so the above one becomes [125005270380] |# blacklist ath5k [125005270390] |Save and exit the file [125005270400] |I hope this help for some one to fix their wireless problem. [125005280010] |Execute commands simultaneously on multiple servers Using PSSH/Cluster SSH/Multixterm [125005280020] |If you have multiple servers with similar or identical configurations (such as nodes in a cluster), it’s often difficult to make sure the contents and configuration of those servers are identical. [125005280030] |It’s even more difficult when you need to make configuration modifications from the command line, knowing you’ll have to execute the exact same command on a large number of systems . [125005280040] |In this tutorial we will see some tools to execute one command on multiple remote servers using ssh.First you need to make sure you have ssh installed in your machine or you can install using the following command [125005280050] |sudo aptitude install ssh [125005280060] |Now we are going to see the following tools which does the required job we are looking for [125005280070] |1) Pssh [125005280080] |2) cluster ssh [125005280090] |3) Multixterm [125005280100] |1) Pssh [125005280110] |pssh provides a number of commands for executing against a group of computers, using SSH. [125005280120] |It’s most useful for operating on clusters of homogenously-configured hosts. [125005280130] |The package contains: [125005280140] |- Parallel ssh (parallel-ssh, upstream calls it pssh), executes commands on multiple hosts in parallel [125005280150] |- Parallel scp (parallel-scp, upstream calls it pscp), copies files to multiple remote hosts in parallel [125005280160] |- Parallel rsync (parallel-rsync, upstream calls it prsync), efficiently copies files to multiple hosts in parallel [125005280170] |- Parallel nuke (parallel-nuke, upstream calls it pnuke), kills processes on multiple remote hosts in parallel [125005280180] |- Parallel slurp (parallel-slurp, upstream calls it pslurp), copies files from multiple remote hosts to a central host in parallel [125005280190] |These tools are good for controlling large collections of nodes, where faster alternatives [125005280200] |Install pssh in Ubuntu [125005280210] |sudo aptitude install pssh [125005280220] |pssh Syntax [125005280230] |pssh command -h hosts-file options [125005280240] |-h --hosts hosts file (each line “host[:port] [user]“) -l --user username (OPTIONAL) -p --par max number of parallel threads (OPTIONAL) -o --outdir output directory for stdout files (OPTIONAL) -t --timeout timeout in seconds to do ssh to a host (OPTIONAL) -v --verbose turn on warning and diagnostic messages (OPTIONAL) -O --options SSH options (OPTIONAL) [125005280250] |where the hosts-file contains a list of all the hosts that you want to have the command executed on. [125005280260] |pssh Examples [125005280270] |The following example runs hostname on three machines (IPs or hostnames) specified in the file ips.txt using login irb2 and saves the output in /tmp/foo. [125005280280] |sudo cat ips.txt 128.112.152.122 18.31.0.190 128.232.103.201 [125005280290] |sudo pssh -h ips.txt -l irb2 -o /tmp/foo hostname [125005280300] |Success on 128.112.152.122:22 Success on 18.31.0.190:22 Success on 128.232.103.201:22 [125005280310] |sudo ls /tmp/foo [125005280320] |128.112.152.122 128.232.103.201 18.31.0.190 [125005280330] |sudo cat /tmp/foo/* [125005280340] |planetlab-1.cs.princeton.edu planetlab1.xeno.cl.cam.ac.uk planetlab1.lcs.mit.edu [125005280350] |By default, pssh uses at most 32 ssh processes in parallel to ssh to the various nodes. [125005280360] |(This is somewhat important if you’re controlling hundreds or thousands of machines.) [125005280370] |By default, it also uses a timeout of one minute to ssh to a node and obtain a result. [125005280380] |For ssh commands that take longer than this (e.g., sleep 61), the -t option can be used. [125005280390] |Note that pssh and pnuke have a default timeout of one minute. pscp and prsync have no default timeout, but one can be specified using the -t option. [125005280400] |pscp [125005280410] |Here’s an example of using pscp to copy files in parallel to a set of machines. [125005280420] |sudo pscp -h ips.txt -l irb2 /etc/hosts /tmp/hosts [125005280430] |Success on 128.112.152.122:22 Success on 18.31.0.190:22 Success on 128.232.103.201:22 [125005280440] |Using the -r option will perform a recursive copy for copying entire directories. [125005280450] |2) cluster ssh [125005280460] |administer multiple ssh or rsh shells simultaneouslyClusterSSH allows you to control multiple ssh or rsh sessions from a single input window. [125005280470] |You can also configure clusters of machines for easy invocation and interact with individual terminal windows during a session. [125005280480] |Install Cluster ssh in Ubuntu [125005280490] |sudo aptitude install clusterssh [125005280500] |Configuration Files [125005280510] |This /etc/clusters file is cluster tag database. [125005280520] |Contains a list of tags and hostnames, in the form [125005280530] | [@]hostname [...] [125005280540] |Newlines and comments (delimited with a #) are ignored. [125005280550] |Cluster definitions can also be added to the $HOME/.csshrc file [125005280560] |This /etc/csshrc file is Global configuration file, sourced by all users. [125005280570] |Can be generated by: [125005280580] |sudo cssh -u >/etc/csshrc [125005280590] |$HOME/.csshrc [125005280600] |Per user configuration file. [125005280610] |Can be generated by: [125005280620] |cssh -u >/etc/csshrc [125005280630] |To add a cluster definition to this file, use the following format [125005280640] |cluster_tag1 = server1 server2 user@server3 cluster_tag2 = server4 server5 clusters = cluster_tag1 cluster_tag2 [125005280650] |Be aware of using “reserved names” and no check is currently performed for them. [125005280660] |Using Cluster SSH [125005280670] |If you want to perform the same command on the three servers one, two, &three use the following command [125005280680] |sudo cssh one two three [125005280690] |This will open three consoles, one for each server, over an ssh connection, and one little console to type your command. [125005280700] |3) Multixterm [125005280710] |Expect is a program that talks to other interactive programs according to a script. [125005280720] |Expect is useful for running any program which requires interaction between the program and the user.In Ubuntu multixterm included in expect package. [125005280730] |Install expect in Ubuntu [125005280740] |sudo aptitude install expect [125005280750] |Multixterm Syntax [125005280760] |multixterm -[ args ] “command arg1 arg2″ server1 server2… [125005280770] |Arguments [125005280780] |-xa - The optional -xa argument indicates arguments to pass to xterm. [125005280790] |-xc - The optional -xc argument indicates a command to be run in each named xterm (see -xn). [125005280800] |With no -xc argument, the command is the current shell. [125005280810] |-xd - The optional -xd argument indicates a directory to search for files that will appear in the Files menu. [125005280820] |By default, the directory is: ~/lib/multixterm [125005280830] |-xf - The optional -xf argument indicates a file to be read at startup. [125005280840] |See FILES below for more info. [125005280850] |-xn - The optional -xn argument indicates a name for each xterm. [125005280860] |This name will also be substituted for any %n in the command argument (see -xc). [125005280870] |-xv - The optional -xv flag puts multixterm into a verbose mode where it will describe some of the things it is doing internally. [125005280880] |The verbose output is not intended to be understandable to anyone but the author. [125005280890] |Multixterm Examples [125005280900] |The following command line starts up two xterms using ssh to the hosts 192.168.2.100 and 192.168.2.101 [125005280910] |sudo multixterm -xc “ssh root@%n” 192.168.2.100 192.168.2.101 [125005280920] |-xc - The optional -xc argument indicates a command to be run in each named xterm (see -xn). [125005280930] |With no -xc argument, the command is the current shell. [125005280940] |ssh root@%n : ssh is a command to connect remote server with root user. [125005280950] |This name will also be substituted for any %n in the command argument. [125005290010] |Install and Configure Cacti Monitoring tool in Ubuntu 8.10 (Intrepid Ibex) Server [125005290020] |Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality. [125005290030] |Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. [125005290040] |All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices. [125005290050] |Cacti Features [125005290060] |If you want to know more about cacti check here [125005290070] |Install cacti in Ubuntu 8.10 (Intrepid Ibex) Server [125005290080] |Preparing Your system [125005290090] |First you need to make sure you have install Ubuntu 8.10 LAMP server and then you need to install the following packages [125005290100] |sudo apt-get install php5 php5-gd php5-mysql [125005290110] |Install accti using the following command [125005290120] |sudo apt-get install cacti-cactid [125005290130] |This will start installing cacti and prompt for some questions. [125005290140] |Configuring libphp-adodb option select ok Enter to Continue. [125005290150] |Select your webserver in this example we are using apache2 select ok Enter to Continue [125005290160] |Cacti spine option select ok Enter to Continue [125005290170] |Configure database for cacti select yes Enter to Continue [125005290180] |Enter the root password for your mysql server select ok Enter to Continue [125005290190] |Enter the password (cacti) for the cacti database,select ok Enter to Continue [125005290200] |Re-enter the password (cacti) for the cacti database,select ok Enter to Continue [125005290210] |This will complete the cacti installation. [125005290220] |Configuring Cacti [125005290230] |Now you need to point your browser http://serverip/cacti press enter.You should see similar to the following screen Click Next to Continue. [125005290240] |You need to select the type of installation as New Installation and click next to Continue. [125005290250] |Now it will check all the required paths are correct or not you can see this in the following screen here click on Finish [125005290260] |Now you should see the Cacti Login screen as follows [125005290270] |Here you need to enter username and password as admin/admin and click login [125005290280] |First time it will prompt you to change cacti admin user password for security reasons and click save [125005290290] |You should see the following screen like below once you logged. [125005290300] |In the above screen Click settings--->Click settings.Make sure in the “Spine Poller File Path”, you have “/usr/sbin/spine” [125005290310] |Now you need to click on Poller Select “spine” in the “Poller Type”,click on Save. [125005290320] |Now you need to wait for 15 min to see your server graphs starts appearing in cacti graphs.Now your Cacti Monitoring Server is Ready and if you want to know how use cacti graphs and templates check here [125005290330] |If you want complete list of cacti templates check here [125005300010] |How to Install Skype API Plugin for Pidgin in Ubuntu [125005300020] |This is the Skype API Plugin for Pidgin/libpurple/Adium. [125005300030] |If you’re already running Skype, you can have your Skype contacts displayed with your Pidgin/libpurple/Adium contacts. [125005300040] |It is intended as a complete replacement for the Skype user interface, hopefully everything you can do in Skype you can do with this plugin. [125005300050] |Install Skype API Plugin for Pidgin in Ubuntu [125005300060] |First you need to download the plugin using the following command [125005300070] |wget http://eion.robbmob.com/skype4pidgin.deb [125005300080] |Now you should have skype4pidgin.deb package.Install this .deb package using the following command [125005300090] |sudo dpkg -i skype4pidgin.deb [125005300100] |or you can download the following libskype.so file to the plugins directory, normally /usr/lib/purple-2/ or ~/.purple/plugins [125005300110] |For 32 bit users download this [125005300120] |wget http://eion.robbmob.com/libskype.so [125005300130] |For 64 bit users download this [125005300140] |wget http://eion.robbmob.com/libskype64.so [125005300150] |This will complete the installation.After installation you need to restart Pidgin! [125005300160] |You will then have a skype option enabled. [125005300170] |Screenshot [125005310010] |Moosplash - a cowsay inspired USplash theme for Ubuntu [125005310020] |Usplash is a userspace application that uses the Linux framebuffer interface or direct vesa access to draw a splash screen at boot. [125005310030] |It has a companion utility that is able to send commands to usplash, allowing information about the bootup sequence to be displayed in a more attractive way. [125005310040] |moosplash, a cowsay inspired USplash theme.If you want to install moosplash in ubuntu follow this instructions. [125005310050] |First you need to edit the /etc/apt/sources.list [125005310060] |sudo gedit /etc/apt/sources.list [125005310070] |add the following lines [125005310080] |For Intrepid Users [125005310090] |deb http://ppa.launchpad.net/corenominal/ubuntu intrepid main deb-src http://ppa.launchpad.net/corenominal/ubuntu intrepid main [125005310100] |For Hardy Users [125005310110] |deb http://ppa.launchpad.net/corenominal/ubuntu hardy main deb-src http://ppa.launchpad.net/corenominal/ubuntu hardy main [125005310120] |save and exit the file [125005310130] |Now you need to update the source list using the following command [125005310140] |sudo aptitude update [125005310150] |Now you need to install moosplash using the following command [125005310160] |sudo aptitude install moosplash [125005310170] |This will complete the installation. [125005310180] |Now you need to install startupmanager [125005310190] |sudo aptitude install startupmanager [125005310200] |Now you need to open startupmanager from System—>Administration—>Startup-Manager.Once startupmanager opens click on the “Appearance” tab and then select “moosplash” from the Usplash theme selector. [125005310210] |Click the “Close” button and reboot. [125005310220] |Now you should be able to see similar to the following USplash screen [125005320010] |Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 8.10 (Intrepid Ibex) [125005320020] |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. [125005320030] |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. [125005320040] |It has basic VCD/DVD playback functionality, including DVD subtitles, but supports many text- based subtitle formats too. [125005320050] |For video output, nearly every existing interface is supported. [125005320060] |It’s also able to convert any supported files to raw/divx/mpeg4 AVI (pcm/mp3 audio), and even video grabbing from V4L devices. [125005320070] |Install Mplayer in Ubuntu 8.10 (Intrepid Ibex) [125005320080] |You need to add the following lines to /etc/apt/sources.list file or you need to make sure you have enabled Universe and multiverse repositories Using GUI. [125005320090] |sudo gedit /etc/apt/sources.list [125005320100] |Make sure you have the following two lines save and exit your file [125005320110] |deb http://archive.ubuntu.com/ubuntu intrepid universe multiverse deb-src http://archive.ubuntu.com/ubuntu intrepid universe multiverse [125005320120] |Now you need to run the following command to update the source list [125005320130] |sudo apt-get update [125005320140] |Install mplayer using the following command [125005320150] |sudo apt-get install mplayer [125005320160] |If you want to open mplayergo to Applications—>Sound&Video—> Mplayer Movie Player [125005320170] |Install Smplayer (Mplayer Front-end) [125005320180] |Qt Mplayer front-end, with basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more. [125005320190] |One of the most interesting features of SMPlayer: it remembers the settings of all files you play. [125005320200] |So you start to watch a movie but you have to leave… don’t worry, when you open that movie again it will resume at the same point you left it, and with the same settings: audio track, subtitles, volume… [125005320210] |sudo apt-get install smplayer [125005320220] |Install smplayer themes using the following command [125005320230] |sudo apt-get install smplayer-themes [125005320240] |Install libdvdcss2 and w32 video codecs in Ubuntu 8.10 (Intrepid Ibex) [125005320250] |Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. [125005320260] |This package is not available from the Ubuntu repositories due to licensing and legal restrictions. [125005320270] |For Ubuntu 8.10 (Intrepid Ibex) Users run the following command [125005320280] |sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list [125005320290] |Then, add the GPG Key using the following commands [125005320300] |sudo apt-get update [125005320310] |sudo apt-get install medibuntu-keyring [125005320320] |sudo apt-get update [125005320330] |For i386 Users install Codecs using the following command [125005320340] |sudo apt-get install w32codecs libdvdcss2 [125005320350] |For amd64 Users install Codecs using the following command [125005320360] |sudo apt-get install w64codecs libdvdcss2 [125005320370] |Using above download locations you can install most of the mutimedia codecs for ubuntu. [125005320380] |Mplayer Plugin for Firefox [125005320390] |If you want to install Mplayer with plug-in for Mozilla Firefox run the following command [125005320400] |sudo apt-get install mozilla-mplayer [125005330010] |Install SugarCRM community edition in Ubuntu 8.10 Server [125005330020] |SugarCRM is a complete CRM system for businesses of all sizes. [125005330030] |Core CRM functionality includes sales force automation, marketing campaigns, support cases, project management, calendaring, and more. [125005330040] |It supports MySQL and MS SQL Server. [125005330050] |Sugar consists of modules, each of which represents a specific functional aspect of CRM such as Accounts,Activities, Leads, and Opportunities. [125005330060] |For example, the Accounts module enables you to create and manage customer accounts, and the Activities module enables you to create and manage activities related to accounts, opportunities, etc. [125005330070] |These modules are designed to help you manage customer accounts through each step of their lifecycle, starting with generating and qualifying leads to customer support and resolving reported bugs. [125005330080] |Because many of these steps are interrelated, each module displays related information. [125005330090] |For example, when you view the details of a particular account, the system also displays the related contacts, activities,opportunities, and bugs. [125005330100] |You can not only view and edit this information but also create new information. [125005330110] |As an administrator, you have the power to implement access control for these modules. [125005330120] |You can customize the look and feel of Sugar across your organization. [125005330130] |You can even create new modules if needed. [125005330140] |You can also create multiple forums as platforms of discussion on various topics amongst your users and customers. [125005330150] |SugarCRM Core Features [125005330160] |Sales Management [125005330170] |• Lead, Contact, and Opportunity Management to share information and pursue new business. [125005330180] |• Account management to manage all customer interactions in a single location. [125005330190] |Marketing Automation [125005330200] |• Lead management for tracking and cultivating new leads. [125005330210] |• Email marketing for touching prospects and customers with relevant offers. [125005330220] |• Campaign management for tracking campaigns across multiple channels. [125005330230] |• Campaign reporting to analyze the effectiveness of marketing activities [125005330240] |Collaboration [125005330250] |• Activity management for emails, tasks, calls, and meetings [125005330260] |• Content syndication to consolidate third-party information sources. [125005330270] |News Service [125005330280] |• The RSS news feeds module lets you select and manage your favorite news feeds, and display them on your My RSS News Feeds screen. [125005330290] |Administration [125005330300] |• Quickly edit user settings, views and layouts in a single location. [125005330310] |• Customize the application with Sugar Studio so that Sugar meets the exact needs of your company. [125005330320] |First you need to make sure you have install Ubuntu 8.10 LAMP server using this guide . [125005330330] |Preparing your system [125005330340] |Install all the required packages using the following commands [125005330350] |sudo apt-get install libapache2-mod-php5 libapache2-mod-perl2 [125005330360] |sudo apt-get install php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap unzip [125005330370] |sudo apt-get install php5-mhash php5-mysql php5-odbc curl libwww-perl imagemagick [125005330380] |Creating SugarCRM Database [125005330390] |$ mysql -u root -p [125005330400] |mysql> create database sugarcrm; [125005330410] |mysql> exit [125005330420] |Installing SugarCRM [125005330430] |Now you need to go to your webserver document root directory (default location is /var/www) [125005330440] |cd /var/www [125005330450] |Download SugarCRM community edition from here or using the following command (at the time of writing this article sugarCRM Community edition 5.1.0b [125005330460] |wget http://www.sugarforge.org/frs/download.php/4742/SugarCE-5.1.0b.zip [125005330470] |Now you should be having SugarCE-5.1.0b.zip file and unzip using the following command [125005330480] |unzip SugarCE-5.1.0b.zip [125005330490] |Move all the contents from SugarCE-5.1.0b directory to sugarcrm [125005330500] |sudo mv SugarCE-5.1.0b sugarcrm [125005330510] |Give Apache Ownership Over SugarCRM Files (apache-user: www-data) [125005330520] |sudo chown www-data -vR /var/www/sugarcrm [125005330530] |Give Write Permitions for Apache on Some of SugarCRM Files [125005330540] |cd /var/www/sugarcrm [125005330550] |sudo chmod 766 config.php [125005330560] |sudo chmod 766 custom [125005330570] |sudo chmod -R 766 data [125005330580] |sudo chmod -R 766 cache [125005330590] |sudo chmod -R 766 modules [125005330600] |Configuring php.ini file [125005330610] |You need to edit the php.ini file using the following command [125005330620] |sudo gedit /etc/php5/apache2/php.ini [125005330630] |Change [125005330640] |;memory_limit = 16M [125005330650] |to [125005330660] |memory_limit = 50M [125005330670] |Change [125005330680] |;upload_max_filesize = 2M [125005330690] |to [125005330700] |upload_max_filesize = 10M [125005330710] |Restart apache server using the following command [125005330720] |sudo /etc/init.d/apache2 restart [125005330730] |Configure sugarCRM [125005330740] |Now open your webbrowser and enter the following address [125005330750] |http://serverip/sugarcrm/install.php [125005330760] |Follow the on-screen instructions and Enjoy your sugarcrm. [125005340010] |PHP Motion : PHPSHIELD Not Installed [125005340020] |I am running: [125005340030] |Ubuntu server 8.10 [125005340040] |enable_dl is On phpshield.5.0.lin is in the extension dir and “extension=phpshield.5.0.lin” is present in my php.ini [125005340050] |the problem is when i open web browser http://video.mydomain.com/setup and I am getting error : [125005340060] |PHP script /home/mysite/video/classes/config.php is protected by phpSHIELD and requires the phpSHIELD loader phpshield.5.2.lin. [125005340070] |The phpSHIELD loader has not been installed, or is not installed correctly. [125005340080] |Please visit the phpSHIELD php encoder site to download required loader. [125005340090] |I change with phpshield.5.2.lin and I am getting error : [125005340100] |Warning: dl() [function.dl]: Unable to load dynamic library ‘/usr/lib/php5/20060613+lfs/phpshield.5.2.lin’ - /usr/lib/php5/20060613+lfs/phpshield.5.2.lin: ELF file data encoding not big-endian in /home/mysite/video/classes/config.php on line 2. [125005340110] |Ideas? [125005340120] |Help? [125005340130] |Thanks in advance [125005350010] |How to Check Package Dependencies with apt-rdepends on Ubuntu [125005350020] |apt-rdepends searches through the APT cache to find package dependencies. apt-rdepends knows how to emulate the result of calling apt-cache with both depends and dotty options. [125005350030] |By default, apt-rdepends shows a listing of each dependency a package has.It will also look at each of these fulfilling packages, and recursively lists their dependencies. [125005350040] |Install apt-rdepends in Ubuntu [125005350050] |sudo aptitude install apt-rdepends [125005350060] |This will install all the required packages. [125005350070] |Using apt-rdepends [125005350080] |apt-rdepends Syntax [125005350090] |sudo apt-rdepends [options] [pkgs ...] [125005350100] |apt-rdepends Examples [125005350110] |sudo apt-rdepends bash [125005350120] |Output looks like below [125005350130] |Reading package lists… Done Building dependency tree… Done bash Depends: base-files (>= 2.1.12) Depends: debianutils (>= 2.15) PreDepends: libc6 (>= 2.3.6-6) PreDepends: libncurses5 (>= 5.4-5) base-files Depends: awk Depends: base-passwd (>= 2.0.3.4) [125005350140] |sudo apt-rdepends -d bash [125005350150] |Output Looks like below [125005350160] |Reading package lists… Done Building dependency tree… Done digraph packages { concentrate=true; size=”30,40?; “bash” [shape=box]; “bash” -> “base-files”; “bash” -> “debianutils”; “bash” -> “libc6?[color=blue]; “bash” -> “libncurses5?[color=blue]; } [125005350170] |You can check man page for apt-rdepends from here [125005360010] |How to install Virtualbox 2.0.2 in Ubuntu 8.04 (Hardy heron) [125005360020] |VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. [125005360030] |Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). [125005360040] |Install Virtualbox 2.0.2 in Ubuntu Hardy [125005360050] |First you need to download virtualbox .deb package from here [125005360060] |In download dialogue, select Open with GDebi Package Installer (default) [125005360070] |After the VirtualBox has been downloaded, a Package Installer window opens. [125005360080] |Click on Install Package [125005360090] |You need to enter your root password click ok [125005360100] |Downloading additional package files in progress [125005360110] |Install dependencies in progress [125005360120] |Installing package file in progress [125005360130] |This message is telling users of virtualbox must be member of that group we will address this in next steps here click on Forward [125005360140] |Installation finished click on close [125005360150] |Now we need to add the desktop user (ruchi in this example) to the vboxusers group, we must open a terminal (Applications >Accessories >Terminal) [125005360160] |To add the user ruchi to the vboxusers group, use the following command [125005360170] |sudo usermod -G vboxusers -a ruchi [125005360180] |in the terminal and press enter. [125005360190] |To start VirtualBox, go to Applications--->System Tools--->Sun xVM VirtualBox.If you don’t see this just logout and login back [125005360200] |When you start VirtualBox for the first time, you are prompted to accept its license click on I Agree [125005360210] |Now type in your name and email address to register your VirtualBox installation [125005360220] |That’s it your VirtualBox is ready to create virtual machines