Breezy Badger is Out!
[121000540020] |The day we (well, at least I) have been waiting for is here!
[121000540030] |The next version (the third-ever release) of Ubuntu, version 5.10, codenamed Breezy Badger has been released.
[121000540040] |Download it, try out the live version, install it, pass the cds on, spread the luv!
[121000540050] |I can already download the cd image, using a torrent.
[121000540060] |I suppose some of the slower mirrors wordlwide are still in the process of syncing, but for all practical reason, the badger is out the door!
[121000540070] |Use a Mirror close to you for best speed.
[121000540080] |Use a torrent, and keep the torrent running, if you will!
[121000540090] |It helps a little, and every little bit counts.
[121000540100] |The main releases page has Breezy Badger Ubuntu v 5.10 too, which would be a round-robin setup, I suppose.
[121000540110] |Once you install Breezy, be sure to spread the good will, and the word!
[121001470010] |Evolution for Windows- an Outlook Replacement
[121001470020] |Evolution provides integrated mail, contact management and calendaring in one solid app.
[121001470030] |Sort of reminds one of Outlook on Windows, doesn’t it?
[121001470040] |Until now, there was no installer for Evolution in Windows.
[121001470050] |That just changed.
[121001470060] |Ubuntu users can now use their favourite mail+contacts+calender app in Windows too, if they have to at the office, or some other windows-only environment.
[121001470070] |A new installer makes it possible to install Evolution on Windows, to replace MS Outlook.
[121001470080] |Evolution is an MS Exchange client and should work with Exchange servers.
[121001470090] |If it does not do that perfectly, file some bugs and someone will fix it for you for free.
[121001470100] |Most of the windows-porting work seems to have been done by Tor, whose update informs everyone of the new installer for Windows.
[121001470110] |Will Evolution be to Outlook what Firefox is to Internet Explorer?
[121001470120] |Time will tell.
[121002260010] |Ubuntu Is Not 6 Years Old… Yet
[121002260020] |I read this article on how IBM’s DB2 database is supported on Ubuntu at CRN.
[121002260030] |The article states:
[121002260040] |Six-year-old Ubuntu is seen as an up-and-coming Linux distribution.
[121002260050] |Some industry observers call it the fastest-growing Linux in the enterprise.
[121002260060] |Hmm, well, Ubuntu hasn’t turned three yet, so I wonder where they got the “6 year old” detail from, and am I the only one who finds the second sentence above vague and wishy-washy?
[123000020010] |Some words in Linux kernel source code
[123000040010] |FAQ: How to find out CPU load in Linux?
[123000040020] |It’s rather trivial task to get information about how much of CPU time is consumed by Linux operating system, its components or various software it runs, but thankfully there are numerous utilities making it possible to get it.
[123000040030] |Some of them are included into certain Linux distribution, other aren’t but most of tools listed below can be used to find out CPU utilization statistics:
[123000040040] |1. top
[123000040050] |top is very old and important core utility coming with almost any Linux and Unix operating systems.
[123000040060] |It shows real-time system resources utilization (CPU, RAM, swap file etc.) to administrators via console, here is the part of it’s output:
[123000040070] |As this tool provides a lot of useful information, it makes sense to read its manual page: type man top.
[123000040080] |2. atsar
[123000040090] |sar, atsar are other old tools providing system activity reports including CPU load we need.
[123000040100] |Here is an example of sar’s usage:
[123000040110] |As you might see CPU utilization was almost 0% for two seconds after the command was executed.
[123000040120] |BTW, here is the description of the options sar was started with:
[123000040130] |-u showed statistics about CPU utilization (average and per cpu) with 5 intervals of 2 seconds.
[123000040140] |3. ps
[123000040150] |ps is one the most used core utilities every Linux or Unix administrator uses as this utility with short name shows processes run in the system.
[123000040160] |If you need to get information about how much CPU or RAM resources are consumed by certain process, just run this:
[123000040170] |viper@viper-desktop:~$ ps u 23988 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND viper 23988 0.0 0.6 5760 3280 pts/0 Ss 15:54 0:00 bash
[123000040180] |where 23988 is PID of the process (can be get from the output of ps ax).
[123000040190] |Of course it makes sense to read manuals of above mentioned commands ps, top, sar, atsar, iostat.
[123000040200] |Good luck!
[123000250010] |Encryption files with GPG without user intervention (batch)
[123000250020] |I usually encrypt files with GPG with symmetric algorithms when I have to transmit files over insecure channel: for example I encrypt backup files stored at my USB stick and I’m sure that if it’s stolen or lost my files are in safety.
[123000250030] |Encryption without user intervention can be used when you wish to perform automatic (runs with cron) backup procedure and protect backup files.
[123000250040] |To encrypt file /tmp/file.tgz by symmetric AES algorithm (256 is a key lenght) with one command please use the following command:
[123000250050] |Previous command will create file.tgz.gpg that can be extracted automatically by next one:
[123000690010] |List of free DNS servers
[123000690020] |Here is the list of service providers offering DNS service free of charge:
[123000690030] |ScrubIt: 67.138.54.100 207.225.209.66
[123000690040] |OpenDNS: 208.67.222.222 208.67.220.220 208.67.220.222 208.67.222.220
[123000690050] |And VIP DNS by gtei.net: 4.2.2.1 4.2.2.2 4.2.2.3 4.2.2.4 4.2.2.5 4.2.2.6
[123000690060] |These DNS server proved to be reliable and fast.
[123000690070] |Recommended!
[123000860010] |Nokia E61/E62 sync with Gnome Evolution with Kubuntu
[123000860020] |This step-by-step manual, kindly provided by mjfleck2000, tells how to syncNokiaE-seriesE61 and E62 with GnomeEvolution under Kubuntu.
[123000860030] |
Add repositories to /etc/apt/sources.list (each source in one line): deb http://www.in.fh-merseburg.de/~jahn/ dapper main deb-src http://www.in.fh-merseburg.de/~jahn/ dapper main
sudo hcitool dev… this should show the computer’s bluetooth mac #
[123000860090] |
sudo hcitool scan… should show the E62 bluetooth mac #
[123000860100] |
you can use “sdptool browse“ to get detailed info on phone and what channels it uses.
[123000860110] |For syncing you want the channel for “Nokia SyncML Server”
sudo sdptool add –channel=10 OPUSH (this is to allow file transfer).
[123000860180] |You want the channel that is “SyncMLClient”.
[123000860190] |
sudo kate /etc/bluetooth/hcid.conf change passkey from 1234 to whatever number you want.
[123000860200] |
just in case, I also did sudo kate /etc/bluetooth/pin and changed the default 1234 to my new passkey
[123000860210] |
sudo /etc/init.d/bluez-utils restart (for dapper) or /etc/init.d/bluetoothrestart (edgy)
[123000860220] |
Enable bluetooth on E62.
[123000860230] |
Menu->Settings->Bluetooth->Bluetooth On
[123000860240] |
Menu->Settings->Bluetooth->My phone’s visibility Shown to all
[123000860250] |
Menu->Settings->Bluetooth->My phone’s name NokiaE62
[123000860260] |
Menu->Settings->Bluetooth->RemoteSChip mode On or Off, didn’t matter
[123000860270] |
Pair NokiaE62 with computer
[123000860280] |
Menu->Settings->Bluetooth-> push joystick to the right to change to paired device menu
[123000860290] |
Select Options
[123000860300] |
Select New paired device
[123000860310] |
Found MyComputer-0
[123000860320] |
Select
[123000860330] |
Enter passkey that is the same as item as passkey above
[123000860340] |
Select yes to automatically authorize
[123000860350] |
Push in joystick
[123000860360] |
Select Assign short name
[123000860370] |
Give a name to this computer
[123000860380] |
Exit
[123000860390] |
Try to send a file from KDE
[123000860400] |
Kmenu->Internet, Bluetooth OBEX, drag and drop, send
[123000860410] |
As user (not root!)
[123000860420] |
msynctool –addgroup nokia (or whatever name you want)
[123000860430] |
msynctool –addmember nokia kdepim-sync
[123000860440] |
msynctool –addmember nokia syncml-obex-client
[123000860450] |
hcitool scan
[123000860460] |
msynctool –configure nokia 2 here is my nokia file 00:18:C5:43:19:2B 140Install Debian Linux from Microsoft Windows
[123000890020] |Next version of popular Linux distribution Debian will contain EXE application that is to be run in Windows for painless and harmless Debian installation.
[123000890030] |After a long process of review and polishing, the win32 loader from goodbye-microsoft.com has finally made its way to official Debian CDs.
[123000890040] |Latest daily builds of Debian lenny (the development version) are including it, making starting Debian Installer as simple as just a few clicks (OGG).
[123000890050] |The win32-loader version, now based on GRUB 2, includes new features such as detection and pre-seeding of Windows settings, and is translated to 20 languages.
[123000890060] |More screenshots you can find here.
[123000930010] |OpenOffice.org 2.3.0 released
[123000930020] |Latest version of the best office productivity suite Openoffice.org 2.3.0 is available for downloading.
[123000930030] |There are many improvements done, so release notes are here.
[123000930040] |Congranulations!
[123001110010] |Convert WMV into AVI with Ubuntu
[123001110020] |Actually this tip is applicable to any Linux distribution mencoder can be run at (like Ubuntu, Debian, Fedora, Suse and even Slackware )
[123001110030] |MEncoder is a freecommand line video decoding, encoding and filtering tool released under the GNU General Public License.
[123001110040] |It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs
[123001110050] |Here is the fastest way to perform wmv to avi conversion:
[123001110060] |
[123001110090] |sudo yum install mencoder mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi
[123001110100] |Information improvisation: Whether you want to pass BH0-006 exam exams or looking for 000-151 certification, our 70-686 can provide guaranteed success in real exam of 1Y0-A17, 646-223 is also having unique sense.
[123001380010] |Mandriva tutorials for system administrator
[123001380020] |Below is the list of tutorials that might be useful for Mandrivasysadmin newbies.
[123001380030] |1. Installing Mandriva Linux –Full tutorial
[123001380040] |This tutorial contains Mandriva step-by-step installation instructions and images.
[123001380050] |2. Remote access Mandriva 2007 Free using FreeNX
[123001380060] |NoMachine NX is a Terminal Server and remote access solution based on a comprising set of enterprise class open source technologies.
[123001380070] |NX makes it possible to run any graphical application on any operating system across any network connection at incredible speed.
[123001380080] |FreeNX application/thin-client server is based on NoMachine’s NX technology.
[123001380090] |It can operate remote X11 sessions over 56k modem dialup links or anything better.
[123001380100] |FreeNX package contains a free (GPL) implementation of the nxserver component.
[123001380110] |The following workshop describes the FreeNX installation on a Mandriva 2007 Free server.
[123001380120] |Additionally it explains how to access it using a Windows and a Linux client.
[123001380130] |3. Virtual Users &Domains, POP3, IMAP, Webmail, Postfix, MySQL with Mandriva
[123001380140] |This howto is for those who want to run a mail server under Mandriva with the following features: Virtual Users &Domains, IMAP service, POP3, Maildir, Webmail and other.
[123001380150] |4. Password Issues in Mandriva
[123001380160] |This article covers commonly encountered issues to do with passwords in Mandriva.
[123001380170] |5. Dealing with attacks on your Mandriva Web Server
[123001380180] |Article shows how to block comment and referrer spam if you operate a blog using APXS which is the modular version of Apache software included with Mandriva Linux.
[123001380190] |6. Detecting rootkits in Mandriva
[123001380200] |This article describers tools for detecting rootkits that might be installed onto your system.
[123001380210] |Rootkits are sets of scripts installed by crackers onto compromised machines allowing them to be easily controlled remotely while attempting to hide this from the system’s legitimate administrator.
[123001380220] |7. How To Enable NTFS Write Support (ntfs-3g) On Mandriva 2007 Spring
[123001380230] |Normally Linux systems can only read from Windows NTFS partitions, but not write to them which can be very annoying if you have to work with Linux and Windows systems.
[123001380240] |This is where ntfs-3g comes into play. ntfs-3g is an open source, freely available NTFS driver for Linux with read and write support.
[123001380250] |This tutorial shows how to install and use ntfs-3g on a Mandriva 2007 Spring desktop to read from and write to Windows NTFS drives and partitions.
[123001380260] |8. How To Harden PHP5 With Suhosin On Mandriva 2007 Spring
[123001380270] |This tutorial shows how to harden PHP5 with Suhosin on a Mandriva 2007 Spring server.
[123001380280] |9. Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On Mandriva 2007 Spring This document describes how to install a PureFTPd using virtual private server users from a MySQL database instead of real system users.
[123001380290] |This is much more performant and allows to have thousands of ftp users on a single machine.
[123001380300] |In addition to that I will show the use of quota and upload/download bandwidth limits with this setup.
[123001380310] |Passwords will be stored encrypted as MD5 strings in the database.
[123001380320] |10. The Perfect Server –Mandriva 2007 Spring Free
[123001380330] |This is a detailed description about how to set up a Mandriva 2007 Spring Free server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BINDDNS server, ProftpdFTP server, MySQL server, CourierPOP3/IMAP, Quota, Firewall, etc.
[123001380340] |This tutorial is written for the 32-bit version of Mandriva 2007 Spring, but should apply to the 64-bit version with very little modifications as well.
[123001380350] |11. A Guide to Virtualization on Mandriva Linux 2007 Spring
[123001380360] |Have you ever wished you had another computer handy?
[123001380370] |Maybe you want to try a new operating system out.
[123001380380] |Maybe you want to test something experimental without potentially breaking your own system.
[123001380390] |Maybe you need to run some software that only runs in a different operating system.
[123001380400] |Mandriva Linux 2007 Spring comes with a range of virtualization options that can help.
[123001380410] |12. How To Install VMware Server On A Mandriva Free 2007 Desktop
[123001380420] |This tutorial provides step-by-step instructions on how to install VMware Server on a Mandriva Free 2007 desktop system.
[123001380430] |13. How To Compile A Kernel –The Mandriva Way This article describes how to build a custom kernel using the latest unmodified kernel sources from www.kernel.org (vanilla kernel) so that you are independent from the kernels supplied by your distribution.
[123001380440] |It also shows how to patch the kernel sources if you need features that are not in there.
[123001380450] |14. Networking in Mandriva
[123001380460] |15. Using of Encrypted Filesystems in Mandriva
[123001550010] |$GENERATE directive to autocreate DNS records
[123001550020] |$GENERATE directive is available in multi platform DNS server BIND since 8.2 version.
[123001550030] |It helps you to create hundreds or thousands of resource records with one line in zone file.
[123001550040] |Nice example is to use $GENERATE in order to make PTR records for certain DNS zone.
[123001550050] |Let’s assume that subnet 192.168.0.0/24 is reserved for use by a DHCP server pool, in this case reverse lookup (PTR) records should like dhcp-#.yourdomain.com. (where # is the number from 1 to 254) can be created with the following lines in the zone file: 1 IN PTR dhcp-1.yourdomain.com. 2 IN PTR dhcp-2.yourdomain.com. ... 253 IN PTR dhcp-253.yourdomain.com. 254 IN PTR dhcp-254.yourdomain.com.
[123001550060] |or with with single line:
[123001550070] |$GENERATE 1-254 $ PTR dhcp-$.yourdomain.com.
[123001550080] |Wide explanation of this directive you can find here.
[123001550090] |P.S.
[123001550100] |From Wikipedia for newbies:
[123001550110] |A PTR record or pointer record maps an IPv4 address to the canonical name for that host.
[123001550120] |Setting up a PTR record for a hostname in the in-addr.arpa. domain that corresponds to an IP address implements reverse DNS lookup for that address.
[123001550130] |For example (at the time of writing), www.icann.net has the IP address 192.0.34.164, but a PTR record maps 164.34.0.192.in-addr.arpa to its canonical name, referrals.icann.org.
[123001640010] |Fun: new distro Yoda Linux [pic]
[123001640020] |Source of the image: www.geekstir.com
[123001920010] |Windows Software Linux Software
[123001920020] |digg_url = http://www.linuxscrew.com/2007/11/22/windows-software-linux-software/; Below is the full list of Windows Software equivalents for Linux.
[123001920030] |If you can suggest better list you’re welcome to comment here!
[123001920040] |Thanks to The Linux Alternative Project!
[123001920050] |Information improvisation: Our 650-568 dumps and 642-731 provide you 100% exam pass guarantee.
[123001920060] |You can get free access to HP0-Y30mcse dumps exams with multiple prep resources of 1z0-050.
[123001960010] |Update BIOS of Dell laptop with Ubuntu
[123001960020] |Good news for Dell laptops owners: latest BIOS images can be loaded with Ubuntu, Fedora or CentOS!
[123001960030] |It was announced at official Direct2Dell blog by Matt Domsch.
[123001960040] |In a nutshell to get new BIOS installed while you’re running Ubuntu 7.04 Feisty, 7.10 Gutsy, or Hardy just enable Universe repository in sources.list (System -> Administration -> Software Sources) and run under root (sudo -s):
[123001960050] |wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.cgi | bash aptitude install firmware-addon-dell aptitude install $(bootstrap_firmware -a) update_firmware
[123001960060] |The first command enables Dell’s Ubuntu repository as well as downloads and installs GPG key for this repository.
[123001960070] |As you might guess, restart is needed after last command is done (keep fingers crossed)
[123001960080] |Please note that detailed instructions on how to update BIOS with Ubuntu (or other Linux distro) and firmware-tools developed by Dell are here:
[123001960090] |We are releasing this project in the hopes of moving the industry towards a more scalable and friendly way to update BIOS and Firmware for systems.
[123001960100] |Respect to Dell and it’s Linux engineers!
[123001960110] |Information improvisation: We offer best quality 1z0-047 exam test papers and ccie training materials.
[123001960120] |You can get our 100% guaranteed 1Y0-A08 questions 1z0-533 to help you in passing the real exam of 642-467.
[123002240010] |FAQ: Iptables rules on timely basis
[123002240020] |Question: How can I restrict/allow access to certain service on timely basis with iptables?
[123002240030] |For example restrict access to SSH between 7:00 pm –8:00 am on weekdays?
[123002240040] |Answer: You are welcome to use iptables patch-o-matic extension (pom or p-o-m) that allows you to match a packet based on its arrival or departure (for locally generated packets) timestamp.
[123002240050] |The syntax is the following:
[123002240060] |iptables RULE -m time --timestart TIME --timestop TIME --days DAYS -j ACTION
[123002240070] |Where:
[123002240080] |--timestart TIME: Time start value (format is 00:00-23:59) --timestop TIME: Time stop value (the same format) --days DAYS: a list of days to apply, from (format: Mon, Tue, Wed, Thu, Fri, Sat, Sun).
[123002240090] |To add the rule stated in the question use the following command:
[123002240100] |iptables -A INPUT -p tcp -d 192.168.0.1 --dport 22 -m time --timestart 19:00 --timestop 8:00 -days Mon,Tue,Wed,Thu,Fri -j DROP
[123002240110] |Hope it helps!
[123002270010] |FAQ: How to select fastest APT server in Debian
[123002270020] |Question: I want to select APT repository server/mirror that is fastest for my location.
[123002270030] |How can I do it in Debian?
[123002270040] |Answer: You can use application named as “netselect-apt” to get new sources.list file with fastest APT mirror.
[123002270050] |Install this application by command "sudo aptitude install netselect-apt" and run it in accordance with Debian distribution you use (Debian Etch in our example):
[123002270060] |sudo netselect-apt -n etch -o /etc/apt/sources.list sudo apt-get update
[123002270070] |P.S.
[123002270080] |By the way, in Ubuntu you can do the same in a few clicks.
[123002690010] |Speedlinks –29 December, 2008
[123002690020] |1. Linux kernel 2.6.28 was officially released at 28 Dec, 2008: ext4, graphics execution manager (GEM), TAINTed_CRAP.
[123002690030] |See First Look by arstechnica.com.
[123002690040] |P.S. Linus “almost Santa” Torvalds’ announcement is definitely worth reading:
[123002690050] |Listen to the cheerful grinding of your harddisk as you reboot into an all-new kernel –and I’m sure that if your computer could smile, it would have a big silly grin on its non-existent face.
[123002690060] |So as you sit there in your basement, give your computer the holiday cheer too.
[123002690070] |2. Top 10 Coolest Open Source Applications in 2008.
[123002690080] |Well, good reading in New Year Eve.
[123002690090] |3. Bootable FSF membership cards: USB flash drive comes with pre-installed gNewSense 2.1.
[123002690100] |4. Sabayon Linux 4.0 is realeased (smart Gentoo based distro): 25% boot speed gain, 8500 applications, ext4, KDE 4.1.3, Gnome 2.24.2, OpenOffice.org 3.0, Firefox 3.0 and more…
[123002690110] |5. Pidgin 2.5.3 is out.
[123002690120] |Best GTK based instant messenger is ready for downloading.
[123002690130] |Changelog.
[123002870010] |Quick fix of FreeBSD rtld vulnerability
[123002870020] |Yesterday really serious security bug was found in FreeBSD (from 7.1 to 8.0).
[123002870030] |Using public exploit local user can gain root privileges on vulnerable system.
[123002870040] |Below is an easy way solution to fix this terrible bug:
[123002870050] |% cd /usr/src/libexec/rtld-elf/ % fetch http://people.freebsd.org/~cperciva/rtld.patch % cat rtld.patch | patch -p1 % make &&make install &&make clean
[123002870060] |Thanks to soko1 from truebsd.org.
[123003050010] |The easiest way to split and merge pdf files in Ubuntu Linux
[123003050020] |The easiest way to split, merge or edit pdf files in Ubuntu is to use pdftk utility.
[123003050030] |This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal:
[123003050040] |sudo aptitude install pdftk (if you run Fedora, RedHat or CentOS use this one: sudo yum install pdftk)
[123003050050] |Split large pdf into many one-page files:
[123003050060] |pdftk largepdfile.pdf burst
[123003050070] |(as the result you will get many small files like pg_0001.pdf, pg_0002.pdf and so on).
[123003050080] |Merge files into one PDF file:
[123003050090] |pdftk *.pdf cat output onelargepdfile.pdf
[123003050100] |pdftk is extremely powerful and makes it possible to do almost anything with input pdf files.
[123003050110] |Thus above two commands are just examples showing how to split and merge pdf files in Ubuntu easily.
[124000410010] |One on the chin
[124000410020] |Luis Villa is absolutely right in his castigation of our X update on Wednesday this week.
[124000410030] |As a team we made a series of errors, and the result was a desktop that was broken for thousands of users, for several hours.
[124000410040] |It has been a severe lesson in QA, something Luis knows plenty about.
[124000410050] |An incident report is being compiled by the team and we will publish that for our broader community and users as soon as it is complete.
[124000410060] |My apologies to those who have been affected, I know that a blue screen of death is the very last thing anybody ever wants to see on Linux desktops and that any downtime caused by mistakes on our part, even measured in minutes, is unacceptable.
[124000410070] |In addition to the incident report, we are also putting into production a long-discussed mechanism for widespread testing of non-essential updates (support for new hardware, for example) by users who want advanced access to that code, or those who are part of our more sophisticated user community.
[124000410080] |We know now that no amount of internal testing will find certain issues, even issues which could have a widespread footprint and obvious failures, and the only way to get certainty on the potential impact of a change is to put it out to a wider, but controlled, audience.
[124000410090] |If there is a silver lining to the error, it is that it happened during the one week in six months when we have the core distribution development team together in one place.
[124000410100] |This gave us the opportunity not just to analyse and fix the issue, and to talk about the sequence of events that led to the problem, but also to discuss the processes we must improve to further reduce the likelihood of a repeat.
[124000410110] |The team is now more aware than ever of the responsibility we assume given extraordinary rate of adoption of Ubuntu.
[124000410120] |My goal is for the team to grow and learn from this experience without becoming paralyzed on future updates.
[124000410130] |We can’t afford to take risks with our user’s trust, but I balance that with the need to continue to improve the desktop.
[124000410140] |We WANT to certify new hardware and keep Dapper usable for as much of its five year lifespan as possible.
[124000410150] |That said, Edgy is the right place to make exciting changes, not Dapper!
[124000410160] |Luis, well said.
[124000500010] |#13: “Pretty” is a feature
[124000500020] |If we want the world to embrace free software, we have to make it beautiful.
[124000500030] |I’m not talking about inner beauty, not elegance, not ideological purity… pure, unadulterated, raw, visceral, lustful, shallow, skin deep beauty.
[124000500040] |We have to make it gorgeous.
[124000500050] |We have to make it easy on the eye.
[124000500060] |We have to make it take your friend’s breath away.
[124000500070] |That’s why I’m thrilled with the work of some of our community artists.
[124000500080] |Check out this logo from Who (ignore the scaling, view it directly):
[124000500090] |If you are of an artistic bent then I would urge you to get involved with the Ubuntu Art Team, and peruse or join the Ubuntu Art mailing list.
[124000500100] |There is also a new site for community-contributed artwork, being developed by Brandon Holtsclaw and I think currently available at art-staging.ubuntu.com though it will move to art.ubuntu.com and get more horsepower shortly.
[124000500110] |Of course, “pretty but unusable” won’t work either.
[124000500120] |It needs to be both functional and attractive.
[124000500130] |Rather than bling for bling’s sake, let’s use artistic effects to make the desktop BETTER, and obviously better.
[124000500140] |This is a challenge we (the free software community) share with scientists too.
[124000500150] |I had a great coincidental chat with a guy from Imperial College, London, recently.
[124000500160] |He lectures in a course which teaches scientists and engineers how to communicate with the rest of humanity.
[124000500170] |This is close to my heart –I love the bleeding edge, physics, computer science etc, and I can’t stop my imagination from turning ideas into exotic works of mental art.
[124000500180] |But mental art isn’t something you can convey very easily –it’s in your head, after all.
[124000500190] |If we want people to get excited about science we have to show them what it’s makes possible.
[124000500200] |Imperial College teaches people who love science how to make it fascinating for everyone else too –something NASA could take to heart.
[124000500210] |Similarly, I met up with Susan Greenfield from the Royal Institution –not a loony bin for inbred monarchs, but a public forum for the demonstration, discussion and discourse on science that goes back to the days of Humphrey Davy and Michael Faraday.
[124000500220] |In those days, science was hot entertainment for the gentrified classes, who would gather of an evening in formal dress to listen to scientists talk about the magical world that was opening up under their microscopes and instruments.
[124000500230] |We spoke about a number of things but I thought that their mandate was most similar to that of the Hip2BeSquare project which I fund in South Africa, which brands the idea of being “smart with your life” for students and pupils in SA (think about it –which pays off more in your life, an extra hour of math or an extra hour on the football field… it takes a lot of math before the marginal benefits line up and it’s time to hit the fields).
[124000500240] |All of which goes to say that messaging is important –learning how to “show off your best stuff” is an essential skill, and I hope the free software community will take that to heart.
[124001210010] |Discussing free software syncronicity
[124001210020] |There’s been a flurry of discussion around the idea of syncronicity in free software projects.
[124001210030] |I’d like to write up a more comprehensive view, but I’m in Prague prepping for FOSSCamp and the Ubuntu Developer Summit (can’t wait to see everyone again!) so I’ll just contribute a few thoughts and responses to some of the commentary I’ve seen so far.
[124001210040] |Robert Knight summarized the arguments I made during a keynote at aKademy last year.
[124001210050] |I’m really delighted by the recent announcement of that the main GNOME and KDE annual developer conferences (GUADEC and aKademy) will be held at the same time, and in the same place, in 2009.
[124001210060] |This is an important step towards even better collaboration.
[124001210070] |Initiatives like FreeDesktop.org have helped tremendously in recent years, and a shared conference venue will accelerate that process of bringing the best ideas to the front across both projects.
[124001210080] |Getting all of the passionate and committed developers from both of these into the same real-space will pay dividends for both projects.
[124001210090] |Aaron Seigo of KDE Plasma has taken a strong position against synchronized release cycles, and his threerecentposts on the subject make interesting reading.
[124001210100] |Aaron raises concerns about features being “punted” out of a release in order to stick to the release cycle.
[124001210110] |It’s absolutely true that discipline about “what gets in” is essential in order to maintain a commitment on the release front.
[124001210120] |It’s unfortunate that features don’t always happen on the schedule we hope they might.
[124001210130] |But it’s worth thinking a little bit about the importance of a specific feature versus the whole release.
[124001210140] |When a release happens on time, it builds confidence in the project, and injects a round of fresh testing, publicity, enthusiasm and of course bug reports.
[124001210150] |Code that is new gets a real kicking, and improves as a result.
[124001210160] |Free software projects are not like proprietary projects –they don’t have to ship new releases in order to get the money from new licenses and upgrades.
[124001210170] |We can choose to slip a particular feature in order to get a new round of testing and feedback on all the code which did make it.
[124001210180] |Some developers are passionate about specific features, others are passionate about the project as a whole.
[124001210190] |There are two specific technologies, or rather methodologies, that have hugely helped to separate those two and empower them both.
[124001210200] |They are very-good-branching VCS, and test-driven development (TDD).
[124001210210] |We have found that the developers who are really focused on a specific feature tend to work on that feature in a branch (or collaborative set of branches), improving it “until it is done” regardless of the project release cycle.
[124001210220] |They then land the feature as a whole, usually after some review.
[124001210230] |This of course depends on having a VCS that supports branching and merging very well.
[124001210240] |You need to be able to merge from trunk continuously, so that your feature branch is always mergeable *back* to trunk.
[124001210250] |And you need to be able to merge between a number of developers all working on the same features.
[124001210260] |Of course, my oft-stated preference in VCS is Bazaar, because the developers have thought very carefully about how to support collaborative teams across platforms and projects and different workflows, but any VCS, even a centralised one, that supports good branches will do.
[124001210270] |A comprehensive test suite, on the other hand, lets you be more open to big landings on trunk, because you know that the tests protect the functionality that people had *before* the landing.
[124001210280] |A test suite is like a force-field, protecting the integrity of code that was known to behave in a particular way yesterday, in the face of constant change.
[124001210290] |Most of the projects I’m funding now have adopted a tests-before-landings approach, where landings are trunk are handled by a robot who refuses to commit the landing unless all tests passed.
[124001210300] |You can’t argue with the robot!
[124001210310] |The beauty of this is that your trunk is “always releasable”.
[124001210320] |That’s not *entirely* true, you always want to do a little more QA before you push bits out the door, but you have the wonderful assurance that the test suite is always passing.
[124001210330] |Always.
[124001210340] |So, branch-friendly VCS’s and test-driven development make all the difference.
[124001210350] |Work on your feature till it’s done, then land it on the trunk during the open window.
[124001210360] |For folks who care about the release, the freeze window can be much narrower if you have great tests.
[124001210370] |There’s a lot of discussion about the exact length of cycle that is “optimal”, with some commentary about the windows of development, freeze, QA and so on.
[124001210380] |I think that’s a bit of a red herring, when you factor in good branching, because feature development absolutely does not stop when the trunk is frozen in preparation for a release.
[124001210390] |Those who prefer to keep committing to their branches do so, they scratch the itch that matters most to them.
[124001210400] |I do think that cycle lengths matter, though.
[124001210410] |Aaron speculates that a 4-month cycle might be good for a web site.
[124001210420] |I agree, and we’ve converged on a 4-month planning cycle for Launchpad after a few variations on the theme.
[124001210430] |The key difference for me with a web site is that one has only one deployment point of the code in question, so you don’t have to worry as much about update and cross-version compatibility.
[124001210440] |The Launchpad team has a very cool system, where they roll out fresh code from trunk every day to a set of app servers (called “edge.launchpad.net”), and the beta testers of LP use those servers by default.
[124001210450] |Once a month, they roll out a fresh drop from tip to all the app servers, which is also when they rev the database and can introduce substantial new features.
[124001210460] |It’s tight, but it does give the project a lot of rhythm.
[124001210470] |And we plan in “sets of 4 months”, at least, we are for the next cycle.
[124001210480] |The last planning cycle was 9 months, which was just way too long.
[124001210490] |I think the cycles-within-cycles idea is neat.
[124001210500] |Aaron talks about how 6 months is too long for quick releases, and too short to avoid having to bump features from one cycle to the next.
[124001210510] |I’ve already said that a willingness to bump a feature that is not ready is a strength and not a weakness.
[124001210520] |It would be interesting to see if the Plasma team adopted a shorter “internal” cycle, like 2 months or 3 months, and fit that into a 6 month “external” cycle, whether Aaron’s concerns were addressed.
[124001210530] |For large projects, the fact that a year comes around every, well, year, turns out to be quite significant.
[124001210540] |You really want a cycle that divides neatly into a year, because a lot of external events are going to happen on that basis.
[124001210550] |And you want some cohesion between the parts.
[124001210560] |We used to run the Canonical sprints on a 4-month cycle (3 times a year) and the Ubuntu releases on a six month cycle (twice a year) and it was excessively complex.
[124001210570] |As soon as we all knew each other well enough not to need to meet up every 4 months, we aligned the two and it’s been much smoother ever since.
[124001210580] |Some folks feel that distributions aren’t an important factor in choosing an upstream release cycle.
[124001210590] |And to a certain extent that’s true.
[124001210600] |There will always be a “next” release of whatever distribution you care about, and hopefully, an upstream release that misses “this” release will make it into the next one.
[124001210610] |But I think that misses the benefit of getting your work to a wider audience as fast as possible.
[124001210620] |There’s a great project management methodology called “lean”, which we’ve been working with.
[124001210630] |And it says that any time that the product of your work sits waiting for someone else to do something, is “waste”.
[124001210640] |You could have done that work later, and done something else before that generated results sooner.
[124001210650] |This is based on the amazing results seen in real-world production lines, like cars and electronics.
[124001210660] |So while it’s certainly true that you could put out a release that misses the “wave” of distribution releases, but catches the next wave in six months time, you’re missing out on all the bug reports and patches and other opportunities for learning and improvement that would have come if you’d been on the first wave.
[124001210670] |Nothing morally wrong with that, and there may be other things that are more important for sure, but it’s worth considering, nonetheless.
[124001210680] |Some folks have said that my interest in this is “for Canonical”, or “just for Ubuntu”.
[124001210690] |And that’s really not true.
[124001210700] |I think it’s a much more productive approach for the whole free software ecosystem, and will help us compete with the proprietary world.
[124001210710] |That’s good for everyone.
[124001210720] |And it’s not just Ubuntu that does regular 6-month releases, Fedora has adopted the same cycle, which is great because it improves the opportunities to collaborate across both distributions –we’re more likely to have the same versions of key components at any given time.
[124001210730] |Aaron says:
[124001210740] |Let’s assume project A depends on B, and B releases at the same time as A.
[124001210750] |That means that A is either going to be one cycle behind B in using what B provides, or will have to track B’s bleeding edge for the latter part of their cycle allowing some usage.
[124001210760] |What you really want is a staggered approach where B releases right about when A starts to work on things.
[124001210770] |This goes completely counter to the “everyone on the same month, every 6 months” doctrine Mark preaches, of course.
[124001210780] |I have never suggested that *everyone* should release at the same time.
[124001210790] |In fact, at Ubuntu we have converged around the idea of releasing about one month *after* our biggest predictable upstream, which happens to be GNOME.
[124001210800] |And similarly, the fact that the kernel has their own relatively predictable cycle is very useful.
[124001210810] |We don’t release Ubuntu on the same day as a kernel release that we will ship, of course, but we are able to plan and communicate meaningfully with the folks at kernel.org as to which version makes sense for us to collaborate around.
[124001210820] |Rather than try and release the entire stack all at the same time, it makes sense to me to offset the releases based on a rough sense of dependencies.
[124001210830] |Just to be clear, I’m not asking the projects I’ll mention below to change anything, I’m painting a picture or a scenario for the purposes of the discussion.
[124001210840] |Each project should find their own pace and scratch their itch in whatever way makes them happiest.
[124001210850] |I think there are strong itch-scratching benefits to syncronicity, however, so I’ll sketch out a scenario.
[124001210860] |Imagine we aimed to have three waves of releases, about a month apart.
[124001210870] |In the first wave, we’d have the kernel, toolchain, languages and system libraries, and possibly components which are performance- and security-critical.
[124001210880] |Linux, GCC, Python, Java, Apache, Tomcat… these are items which likely need the most stabilisation and testing before they ship to the innocent, and they are also pieces which need to be relatively static so that other pieces can settle down themselves.
[124001210890] |I might also include things like Gtk in there.
[124001210900] |In the second wave, we’d have applications, the desktop environments and other utilities.
[124001210910] |AbiWord and KOffice, Gnumeric and possibly even Firefox (though some would say Firefox is a kernel and window manager so… ).
[124001210920] |And in the third wave, we’d have the distributions –Ubuntu, Fedora, Gentoo, possibly Debian, OpenSolaris.
[124001210930] |The aim would be to encourage as much collaboration and discussion around component versions in the distributions, so that they can effectively exchange information and patches and bug reports.
[124001210940] |I’ll continue to feel strongly that there is value to projects in getting their code to a wider audience than those who will check it out of VCS-du-jour, keep it up to date and build it.
[124001210950] |And the distributions are the best way to get your code… distributed!
[124001210960] |So the fact that both Fedora and Ubuntu have converged on a rhythm bodes very well for upstreams who can take advantage of that to get wider testing, more often, earlier after their releases.
[124001210970] |I know every project will do what suits it, and I hope that projects will feel it suits them to get their code onto servers and desktops faster so that the bug fixes can come faster, too.
[124001210980] |Stepping back from the six month view, it’s clear that there’s a slower rhythm of “enterprise”, “LTS” or “major” releases.
[124001210990] |These are the ones that people end up supporting for years and years.
[124001211000] |They are also the ones that hardware vendors want to write drivers for, more often than not.
[124001211010] |And a big problem for them is still “which version of X, kernel, libC, GCC” etc should we support?
[124001211020] |If the distributions can articulate, both to upstreams and to the rest of the ecosystem, some clear guidance in that regard then I have every reason to believe people would respond to it appropriates.
[124001211030] |I’ve talked with kernel developers who have said they would LOVE to know which kernel version is going to turn into RHEL or an Ubuntu LTS release, and ideally, they would LOVE it if those were the same versions, because it would enable them to plan their own work accordingly.
[124001211040] |So let’s do it!
[124001211050] |Finally, in the comments on Russell Coker’s thoughtful commentary there’s a suggestion that I really like –that it’s coordinated freeze dates more than coordinated release dates that would make all the difference.
[124001211060] |Different distributions do take different views on how they integrate, test and deploy new code, and fixing the release dates suggests a reduction in the flexibility that they would have to position themselves differently.
[124001211070] |I think this is a great point.
[124001211080] |I’m primarily focused on creating a pulse in the free software community, and encouraging more collaboration.
[124001211090] |If an Ubuntu LTS release, and a Debian release, and a RHEL release, used the same major kernel version, GCC version and X version, we would be able to improve greatly ALL of their support for today’s hardware.
[124001211100] |They still wouldn’t ship on the same date, but they would all be better off than they would be going it alone.
[124001211110] |And the broader ecosystem would feel that an investment in code targeting those key versions would be justified much more easily.
[124001390010] |2 year cadence for major releases: some progress
[124001390020] |Even though the idea of formal alignment between the freezes of Debian and Ubuntu didn’t hold, there has been some good practical collaboration between the maintainers of key subsystems.
[124001390030] |There are real benefits to this, because maintainers have a much more fruitful basis for sharing patches when they are looking at the same underlying version.
[124001390040] |Harmonization for Ubuntu 10.04 LTS and Debian Squeeze
[124001390050] |I think this is where we stand now:
[124001390060] |I’m sure there are inaccuracies, please help me keep this up to date, sabdfl on freenode is the best way to reach me.
[124001390070] |The RHEL and SLES numbers are third-hand, so up-to-date information would be appreciated.
[124001390080] |The actual release dates of Ubuntu LTS and Debian will vary of course, because of different priorities.
[124001390090] |And there’s no requirement that the same base version be used for every major component –there may well be differences allowing for different approaches.
[124001390100] |But where we do have it, we’ll be able to collaborate much more effectively on bug fixes for key upstream pieces.
[124001390110] |If a lot of distributions pick the same base upstream version, it greatly increases the value of extended shared maintenance and point releases of that upstream.
[124001390120] |Why every two years?
[124001390130] |Two years is a compromise between those who want 1 year releases for better support of cutting-edge hardware and those who want 7 year releases so their software stack doesn’t change before their job description does .
[124001390140] |A whole-year multiple has several advantages.
[124001390150] |It means we can schedule the processes that are needed for collaboration at the same time of year whenever we need them –unlike 1.5 or 2.5 year cycles.
[124001390160] |Three years was felt to be too long for hardware support.
[124001390170] |Two years is perceived to be the Goldilocks Cadence –just right.
[124001390180] |What are the criteria for choosing a common base version?
[124001390190] |In both the Ubuntu and Debian cases, we’ll be making a release that we support for many years.
[124001390200] |So be looked for versions of key upstreams that will pass the test of time.
[124001390210] |Sometimes, that means they can’t be too old, because they’ll be completely obsolete or unmaintainable in the life of the release.
[124001390220] |And sometimes that means they can’t be too young.
[124001390230] |In general, it would be better to be reviewing code that is already out there.
[124001390240] |But there are also lots of upstreams that do a credible job of release management, so we could commit to shipping a version that is not yet released, based on the reputation of the community it’s coming from.
[124001390250] |What if there’s no agreement on a particular kernel, or X or component-foo?
[124001390260] |We will almost certainly diverge on some components, and that’s quite OK.
[124001390270] |This is about finding opportunities to do a better job for upstreams and for users, not about forcing any distro to make a particular choice.
[124001390280] |If anyone feels its more important to them to use a particular version than another, they’ll do that.
[124001390290] |Open invitations
[124001390300] |It’s really helpful to have upstreams and other distributions participate in this process.
[124001390310] |If you’re an upstream, kick off a thread in your mailing list or forums about this.
[124001390320] |Upstreams don’t need to do anything different if they don’t want to, we’ll still just make the best choices we can.
[124001390330] |But embracing a two year cadence is the best way you have to be sure which versions of your software are going to be in millions of hands in the future –it’s a great opportunity to influence how your users will experience your work.
[124001390340] |Of course, we’d also like to have more distributions at the table.
[124001390350] |There’s no binding commitment needed –collaboration is opportunistic.
[124001390360] |But without participating in the conversation one can’t spot those opportunities!
[124001390370] |If you represent a distribution and are interested, then please feel free to contact me, or Matt Zimmerman, or anyone on the Debian release management team about it.
[124001390380] |I think this is a big win for the free software community.
[124001390390] |Many upstreams have said “we’d really like to help deliver a great stable release, but which distro should we arrange that around?”
[124001390400] |Upstreams should not have to play favourites with distributions, and it should be no more work to support 10 distributions as to support one.
[124001390410] |If we can grow the number of distributions that embrace this cadence, the question becomes moot –upstreams can plan around that cycle knowing that many distributions will deliver their work straight to users.
[125000950010] |How to Disable IPV6 in Ubuntu
[125000950020] |If you disable IPv6 and get reasonable Internet connection &DNS speeds
[125000950030] |Method 1
[125000950040] |You need to edit the aliases file using the following command
[125000950050] |gksudo gedit /etc/modprobe.d/aliases
[125000950060] |Find the line: alias net-pf-10 ipv6
[125000950070] |change to
[125000950080] |alias net-pf-10 off
[125000950090] |If the above change is not working you need to change the following one
[125000950100] |alias net-pf-10 off ipv6
[125000950110] |Save the file and reboot
[125000950120] |Method2
[125000950130] |Disable IPv6 in Firefox.
[125000950140] |Type about:config and search for:
[125000950150] |network.dns.disableIPv6
[125000950160] |and set it to TRUE
[125000950170] |Method 3
[125000950180] |Edit /etc/default/grub file
[125000950190] |gksudo gedit /etc/default/grub
[125000950200] |Change
[125000950210] |GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
[125000950220] |to
[125000950230] |GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”
[125000950240] |Save and exit the file
[125000950250] |Update the grub from the command line
[125000950260] |sudo update-grub
[125003520010] |How to Setup Transparent Squid Proxy Server in Ubuntu
[125003520020] |Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite - we’re getting there!) HTTP/1.1 compliant.
[125003520030] |Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.
[125003520040] |This is a short guide on how to set up a transparent squid proxy server.
[125003520050] |Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more.
[125003520060] |It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages.
[125003520070] |Squid has extensive access controls and makes a great server accelerator.
[125003520080] |Install Squid
[125003520090] |Install squid and squid-common sudo aptitude install squid squid-common Edit the squid config file. sudo vi /etc/squid/squid.conf Set the allowed hosts. acl internal_network src 192.168.0.0/24 (Where 192.168.0.0/24 is your IP range.) http_access allow internal_network
[125003520100] |Set the correct permissions.
[125003520110] |sudo chown -R proxy:proxy /var/log/squid/ sudo chown proxy:proxy /etc/squid/squid.conf
[125003520120] |You will need to restart squid for the changes to take affect. sudo /etc/init.d/squid restart
[125003520130] |Now open up your browser and set your proxy to point to your new squid server on port 3128
[125003520140] |Authentication
[125003520150] |If you wish to use authentication with your proxy you will need to install apache2 utilities
[125003520160] |sudo aptitude install squid squid-common apache2-utils
[125003520170] |To add your first user you will need to specify -c sudo htpasswd -c /etc/squid.passwd first_user
[125003520180] |Thereafter you add new users with
[125003520190] |sudo htpasswd /etc/squid.passwd another_user
[125003520200] |Edit the squid config file sudo vi /etc/squid/squid.conf Set the the authentication parameters and the acl
[125003520210] |auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid.passwd auth_param basic children 5 auth_param basic realm NFYE Squid proxy-caching web server auth_param basic credentialsttl 3 hours auth_param basic casesensitive off
[125003520220] |acl users proxy_auth REQUIRED
[125003520230] |acl sectionx proxy_auth REQUIRED
[125003520240] |http_access allow users
[125003520250] |So this is what your squid.conf should look like. acl all src 0.0.0.0/0.0.0.0 acl internal_network src 192.168.0.0/24 acl users proxy_auth REQUIRED acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 # https, snews acl SSL_ports port 873 # rsync acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl Safe_ports port 631 # cups acl Safe_ports port 873 # rsync acl Safe_ports port 901 # SWAT acl sectionx proxy_auth REQUIRED acl purge method PURGE acl CONNECT method CONNECT
[125003520260] |http_access allow manager localhost http_access allow users http_access allow internal_network http_access deny manager http_access allow purge localhost http_access deny purge http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost http_access deny all http_reply_access allow all icp_access allow all
[125003520270] |Redirect the all HTTP traffic.
[125003520280] |If you would like to redirect the all HTTP traffic through the proxy without needing to set up a proxy manually in all your applications you will need to add some rules iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.0.1:3128 iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
[125003520290] |Where eth1,eth0 are the LAN, WAN devices and 192.168.0.1 is the IP address of your LAN device.
[125003520300] |If you wish to monitor the performance of your proxy you can look as some log parser’s (sarg, calamaris, ect.)
[125003520310] |Source from here
[125004010010] |How Ubuntu saved me a Bomb of money!
[125004010020] |Date: October 2001 Place: Meerut Problem: Desktop hanging again and again after 5 mins from boot up Details: Cyrix Machine, running Windows ME Follow-Up: Complete breakdown Post-Mortem: CPU fan malfunctioned.
[125004010030] |Complete burnout of the CPU.
[125004010040] |Cost: Whoops!!!
[125004010050] |******************************************** Date: May 2008 Place: Pune Problem: Laptop hanging after 5-6 mins from boot up.
[125004010060] |Details: Celeron Machine, running Ubuntu 8.04 Follow-Up: Machine said: Critical CPU temperature reached, 98 degrees, shutting down Now.
[125004010070] |Post-Mortem: CPU fan malfunctioned.
[125004010080] |Ubuntu saved the machine by detecting high temperature and shutting it down.
[125004010090] |Cost: Fan replacement only!!!
[125004010100] |Note: I do not know if Windows XP/Vista have this feature of temperature detection or not, but any which way, I am grateful to Ubuntu. *******************************************
[125004370010] |Howto add permanent static routes in Ubuntu
[125004370020] |Static routing is the term used to refer to the manual method used to set up routing.
[125004370030] |An administrator enters routes into the router using configuration commands.
[125004370040] |This method has the advantage of being predictable, and simple to set up.
[125004370050] |It is easy to manage in small networks but does not scale well.
[125004370060] |Advantages of Static Routes
[125004370070] |
Easy to configure
[125004370080] |
No routing protocol overhead
[125004370090] |Disadvantages of Static Routes
[125004370100] |
Network changes require manual reconfiguration
[125004370110] |
Network outages cannot be automatically routed around
[125004370120] |
Does not scale well in large networks.
[125004370130] |Add a Static route using “route” command
[125004370140] |route add [-net|-host] netmask gw dev X
[125004370150] |Example
[125004370160] |route add -net 10.10.10.0 netmask 255.255.255.0 gw 192.168.1.1 dev eth0 route add -host 10.10.1.1 netmask 255.255.255.0 gw 192.168.1.1 dev eth0
[125004370170] |This adds the route immediatly to the Kernel IP routing table.
[125004370180] |To confirm the route has been successfully, simply type the “route” command with no arguements:
[125004370190] |route
[125004370200] |Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.254 * 255.255.255.0 U 0 0 0 eth0 localnet * 255.255.255.0 U 0 0 0 eth0 10.10.10.0 * 255.255.255.0 U 0 0 0 eth0 10.10.1.1 * 255.255.255.0 U 0 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[125004370210] |Use
[125004370220] |netstat -rn
[125004370230] |to print the Kernel IP Routing table.
[125004370240] |To keep the Static Route persistent or you want to add the route entries to the network script files (not using the route command) then all you need to do is to edit the file
[125004370250] |/etc/network/interfaces
[125004370260] |and the static routes in the following format:
[125004370270] |up route add [-net|-host] / gw dev
[125004370280] |Example
[125004370290] |up route add -net 172.20.11.0/16 gw 172.20.10.254 dev eth1
[125004370300] |And the file will like the following
[125004370310] |sudo cat /etc/network/interfaces
[125004370320] |The output should show something like this
[125004370330] |sudo cat /etc/network/interfaces
[125004370340] |The output should show something like this
[125004370350] |# This file describes the network interfaces available on your system # and how to activate them.
[125004370360] |For more information, see interfaces(5).
[125004370370] |# The loopback network interface auto lo iface lo inet loopback
[125004370380] |# The primary network interface auto eth0 eth1
[125004370390] |iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.254 # dns-* options are implemented by the resolvconf package, if installed
[125004370400] |iface eth1 inet static address 172.20.10.1 netmask 255.255.255.0 broadcast 172.20.10.255 gateway 172.20.10.254
[125004370410] |# static route up route add -net 172.20.11.0/16 gw 172.20.10.254 dev eth1
[125004370420] |The above has 2 Ethernet interfaces and the static route is added to the interface eth1.
[125004370430] |For the change to /etc/network/interface to take effect. please restart the “networking” service as follows:
[125004370440] |sudo /etc/init.d/networking restart
[125004370450] |NOTE: If you added the route already using the “route” then there is no need to restart the networking service because, the next time server is restarted this takes effect.
[125004570010] |Gmrun - Substitute for gnome run dialog in Ubuntu
[125004570020] |‘Gmrun’ is a run-program utility that provides bash-like TAB completion and history, the ability to run commands in a terminal using CTRL-Enter.
[125004570030] |CTRL-R/CTRL-S may be used for history searches, similar to ‘bash’.
[125004570040] |Gmrun Features
[125004570050] |Here is a list of features provided by this simple and wonderful tool:
[125004570060] |
Provides bash-like TAB completion, only nicer (shows a list containing all possible completions and let the user chose from it; yes, it’s also possible to choose with the mouse, but you’ll see that the keyboard is outstanding .
[125004570070] |
Enter simply runs the command line, CTRL-ENTER runs it in a terminal.
[125004570080] |Of course, the terminal command is configurable in the configuration file, located usually in “~/.gmrunrc”.
[125004570090] |
Can run files that do not have “execute” permission More specifically, you set a handler for “.doc” files in your .gmrunrc, and it uses that handler to open “.doc” files.
[125004570100] |
Maintains a list of previous commands (history).
[125004570110] |One can interactively search a command in this list using CTRL-R / CTRL-S (something like interactive search in Emacs), or prefixing the command with an exclamation sign “!” -- like in bash, only the user has a chance to see the command before running it, therefore has a chance to change his mind.
[125004570120] |
It has a small window, not bloated with useless buttons and space-wasting things like “gnome-run”.
[125004570130] |
Allows URLs (but they have to be configured in the ~/.gmrunrc file).
[125004570140] |No matter what, if the input string is in the form “whatever://address” then it looks for an URL handler associated with the “whatever” URL and passes to it the “address” string.
[125004570150] |
Allows user to specify a list of commands that will be always run in a terminal, regardless if the fired key is ENTER or CTRL-ENTER.
[125004570160] |
When started, if a history file exists shows the last command as selected text, such as the user can press ENTER directly to run it again or type another text and the old one will be erased.
[125004570170] |Install gmrun Ubuntu
[125004570180] |sudo aptitude install gmrun
[125004570190] |This will complete the installation.
[125004570200] |Once you open gmrun you can see similar to the following screen
[125004570210] |Sample examples screens
[125004570220] |Keyboard Shortcuts
[125004570230] |While running the program, the following keys and key combinations are possible:
[125004570240] |ENTER - Of course, this fires the program entered -- in case there is one.
[125004570250] |CTRL-ENTER - This combination runs the entered command in a terminal.
[125004570260] |If no command is there (the input line is empty) then it starts a fresh terminal.
[125004570270] |CTRL-R - Starts the “search mode” backward in the history list.
[125004570280] |The keys pressed in this mode will fire incremental search through history.
[125004570290] |Pressing CTRL-R again after finding some line will show the next line backward in history that contains the highlighted text.
[125004570300] |CTRL-S - The same as the previous, only it searches forward.
[125004570310] |It is useful only in the middle of an incremental search, when the history prompt is not at the end of the history list, so that if you pressed “CTRL-R” too much times you can go back.
[125004570320] |This feature misses from bash, I would really need it -- or maybe it’s there and I don’t know it…
[125004570330] |‘!’
[125004570340] |(SHIFT-1) - This is a special key only if pressed as the first character in the input line.
[125004570350] |It starts a special history search mode where the only lines that match are the ones that start with the entered text.
[125004570360] |After this mode is started, CTRL-R and CTRL-S can be used as usual but they will only match lines that start with the highlighted text.
[125004570370] |TAB - Completes the word at the cursor position.
[125004570380] |It can complete executables from $PATH; but if the input line starts with a “/” then it will look in the filesystem for some file that matches the input string.
[125004570390] |Tilda character (‘~’) is converted to the value of $HOME environment variable, when TAB is pressed.
[125004570400] |This key cannot complete filenames containing SPACE character (other special characters may also not work, but SPACE is the most important bug right now, probably).
[125004830010] |Gufw - Simple GUI for ufw (Uncomplicated Firewall)
[125004830020] |We have already discussed how to use UFW from command line.Gufw is an easy to use Ubuntu / Linux firewall, powered by ufw.Gufw is an easy, intuitive, way to manage your Linux firewall.
[125004830030] |It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports port(s), and many others!
[125004830040] |Gufw is powered by ufw, runs on Ubuntu, and anywhere else Python, GTK, and Ufw are available.
[125004830050] |iptables is already a very powerful tool by itself, but it’s syntax can get awkward at times and hard to figure out, so Ubuntu developers decided to make ufw (“The reason ufw was developed is that we wanted to create a server-level firewalling utility that was a little bit more for `human beings`.”), which was to be simpler.
[125004830060] |Now, on the graphical side of things, Firestarer already existed.
[125004830070] |But why not make an even easier to use GUI for desktop `human beings`, powered by ufw?
[125004830080] |This is where Gufw comes in.
[125004830090] |Install Gufw in Ubuntu
[125004830100] |For ubuntu 8.10,9.04,9.10 users use the following command
[125004830110] |sudo apt-get install gufw
[125004830120] |For Ubuntu 8.04 users download .deb file from here
[125004830130] |Install .deb package using the following command
[125004830140] |sudo dpkg -i gufw_0.20.7-all.deb
[125004830150] |This will complete the installation.
[125004830160] |Using Gufw
[125004830170] |If you want to open Gufw go to Applications--->Internet--->Gufw Firewall Configuration
[125004830180] |Once it opens you should see similar to the following screen here you need to click on checkbox next to firewall enabled
[125004830190] |If you use allow all incoming traffic you should see similar to the following screen
[125004830200] |If you select Deny incoming traffic with simple configuration screen
[125004830210] |You can see some preconfigured ports options
[125004830220] |Some examples configured
[125004830230] |Gufw version details
[125006890010] |Ubuntu Tip:Howto reduce PDF file size from command line
[125006890020] |If you want to reduce PDF file size using command line you can use ghostscript.Ghostscript is used for PostScript/PDF preview and printing.
[125006890030] |Usually as a back-end to a program such as ghostview, it can display PostScript and PDF documents in an X11 environment.
[125006890040] |Furthermore, it can render PostScript and PDF files as graphics to be printed on non-PostScript printers.
[125006890050] |Supported printers include common dot-matrix, inkjet and laser models.
[125006890060] |Package gsfonts contains a set of standard fonts for Ghostscript.
[125006890070] |Use the following command syntax to reduce your pdf files
[125006890080] |gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
[125006890090] |Replace your file names output.pdf,input.pdf files with your file names.
[125006890100] |This is only example you can check man gs command for more options.
[125006890110] |If you want to install ghostscript use the following command
[125006890120] |sudo apt-get install ghostscript
[125008070010] |How to lock package versions from Synaptic package manager
[125008070020] |If you want to keep a specific package at a specific version on your machine you can try this tutorial.This is very useful if you want to lock specific version of kernel,drivers,application versions Go to System--->Administration--->Synaptic Package Manager
[125008070030] |Enter your password and clik ok
[125008070040] |Once it opens you should to similar to the following screen
[125008070050] |Now you need to enter your package name in serach box in this example i am searching for midori
[125008070060] |Now go to Package select Lock Version
[125008070070] |Once it locked you should see lock icon next to your package
[125008070080] |Now you need to click on reload after that should see similar to the following screen
[125008070090] |That’s it now you have successfullu locked midori package from upgrades.
[125008070100] |Note:- Whenever you upgrade to next version of ubuntu you need to release those locked packages for this just use the same procedure as above and uncheck the packages.
[125012180010] |Gejengel - Lightweight audio player
[125012180020] |Gejengel is an audio player which focuses on performance and simplicity, yet with a nice set of features.
[125012180030] |Some key features:
[125012180040] |* Easy to use
[125012180050] |* Properly handles compilation albums (even if album artist tag is not set)
[125012180060] |* Lean and fast (low on dependencies)
[125012180070] |* Gapless playback (even for mp3 by reading encoder delay, zeropadding from files)
[125012180080] |* Various audio outputs (Alsa, Pulseaudio, OpenAL)
[125012180090] |* Last.Fm scrobbling (optional plugin)
[125012180100] |* Remote control through dbus (MPRIS specification) (optional plugin)
[125012180110] |Install Gejengel in Ubuntu 10.04
[125012180120] |sudo add-apt-repository ppa:ferramroberto/extra &&sudo apt-get update
[125012180130] |sudo apt-get install gejengel
[125012180140] |For Ubuntu 9.10 Users
[125012180150] |sudo add-apt-repository ppa:ferramroberto/linuxfreedomkarmic &&sudo apt-get update
[125012180160] |sudo apt-get install gejengel
[125012180170] |Using gejengel
[125012180180] |You can open this application from Applications--->Sound &Video--->Gejengel
[125012180190] |Gejengel Screenshot
[125012180200] |Source from here
[125012220010] |How to: reset your Windows password using Ubuntu
[125012220020] |
How to reset your Windows password?
[125012220030] |To reset your Windows password is very easy, as easy as resetting your Ubuntu password.
[125012220040] |What you need is bootable Ubuntu system (ie. USB, CD or anything) and software called chntpw.
[125012220050] |This is step-by-step to reset your Windows password:
[125012220060] |
Boot from your bootable device (Ubuntu Live Session)
[125012220070] |Shutdown your computer and boot up using your bootable system.
[125012220080] |So you run Ubuntu on Live Session that means you run your system without install it!
[125012220090] |
Set your repository
[125012220100] |Goto Synaptic Package Manager -> Settings -> Repositories -> Ubuntu Software and check the “Software restricted by copyright or legal issues” checkbox.
[125012220110] |And don’t forget to reload synaptic.
[125012220120] |
Install CHNTPW
[125012220130] |Install from Synaptic Package Manager or use this command on shell:
[125012220140] |
Resetting Windows password
[125012220150] |
Mount your “Windows installed” device
[125012220160] |It’s depending on your system, example:
[125012220170] |On my system Windows installed on /dev/sda1 and I want to mount it to /media/WINDOWS that I’ve created before.
[125012220180] |
Goto your Windows system configuration folder
[125012220190] |Located at [WINDOWS_DEVICE]/WINDOWS/system32/config/:
[125012220200] |
Cracking the SAM file
[125012220210] |There a SAM file on Windows system configuration folder.
[125012220220] |That’s the file we’re looking for.
[125012220230] |Let’s crack it (sounds cool)
[125012220240] |And if you see the output similar with image below, it’s mean you can crack the SAM file.
[125012220250] |As you see, there is 5 choices.
[125012220260] |Just type “1″ and press “ENTER” to reset your password.
[125012220270] |Note: I’ve try this on my system and work well!
[125012220280] |But I’ve never try another choices (2-4) yet, you can try yourself.
[125012220290] |DONE!!!
[125012220300] |It’s easy, right?
[125012220310] |But if you’ve more easy step to reset Windows password, you can share here
[125012220320] |Taken from panoet’s blog
[125012950010] |How-To Compile Amarok 1.4.10 in Ubuntu 10.04 (Lucid)
[125012950020] |This tutorial will explain How-To Compile Amarok 1.4.10 in Ubuntu 10.04 (Lucid)>Some users still would like to use amarok 1.4.10.
[125012950030] |Preparing your system
[125012950040] |First you need to install following packages from your terminal
[125012950050] |sudo apt-get install libgpod-common libgpod-dev libgpod4 kdelibs4-dev libxine-dev libdbus-qt-1-dev libtag1-dev libsqlite3-dev libtunepimp-dev libmysqlclient15-dev libpq-dev libvisual-0.4-dev libsdl1.2-dev libifp-dev libxine1 libxine1-ffmpeg build-essential checkinstall
[125012950060] |Download amarok source
[125012950070] |cd ~/Downloads
[125012950080] |wget http://download.kde.org/stable/amarok/1.4.10/src/amarok-1.4.10.tar.bz2
[125012950090] |tar -xvf amarok-1.4.10.tar.bz2
[125012950100] |cd amarok-1.4.10
[125012950110] |Patchs to Fix The Code (fix for GCC, Cover Manager and Wikipedia lookup)
[125012950120] |wget http://yep.it/savedpatch/ -O amarok-1.4.10-gcc44.patch
[125012950130] |patch -p1 Compile &Install Amarok 1.4.10
[125012950190] |./configure --without-arts
[125012950200] |make
[125012950210] |sudo make install
[125012950220] |Restore Original Appication Icons
[125012950230] |cd ~/Downloads
[125012950240] |wget http://pprc.qmul.ac.uk/~jmorris/personal/amarok/ -O amarok.icons.__usr.share.icons__.tar.gz
[125012950250] |sudo cp ~/Downloads/amarok.icons.__usr.share.icons__.tar.gz /usr/share/icons
[125012950260] |cd /usr/share/icons
[125012950270] |sudo tar zxvf amarok.icons.__usr.share.icons__.tar.gz
[125012950280] |That’s it and you are ready to launch amarok application
[125012950290] |Source from here
[125013490010] |Install VLMC in ubuntu 10.04 using PPA [New]
[125013490020] |VideoLAN Movie Creator is a non-linear editing software for video creation based on libVLC and running on Windows, Linux and Mac OS X!.It is a free software distributed under the terms of the GPL v2.
[125013490030] |Install VLMC in ubuntu 10.04
[125013490040] |Open the terminal and run the following commands
[125013490050] |sudo add-apt-repository ppa:falk-t-j/lucid
[125013490060] |sudo add-apt-repository ppa:falk-t-j/lucid-latest
[125013490070] |sudo apt-get update
[125013490080] |sudoa pt-get install vlmc
[125013490090] |This is original PPA you might see some blogs copied this deb packes in to their PPAs and giving their PPA reference.This might work in ubuntu 10.10.
[125013490100] |Note:- This application is still in development so this might break your system.
[125014070010] |Nice themes for ubuntu 10.10 (maverick meerkat) users
[125014070020] |We have already posted some time ago about Nice Ubuntu themes for Lucid Users and this is updated for Maverick Meerkat users now.
[125014070030] |Install bisigi themes in Ubuntu 10.10 (Maverick)
[125014070040] |Open the terminal and run the following commands
[125014070050] |sudo add-apt-repository ppa:bisigi
[125014070060] |sudo aptitude update
[125014070070] |sudo apt-get install bisigi-themes
[125014070080] |or click on apt://bisigi-themes
[125014070090] |If you want to install each theme separately use the following commands
[125014070100] |AquaDreams: sudo apt-get install aquadreams-theme Ubuntu Sunrise: sudo apt-get install ubuntu-sunrise-theme Bamboo-Zen: sudo apt-get install bamboo-zen-theme Step into Freedom: sudo apt-get install step-into-freedom-theme Tropical: sudo apt-get install tropical-theme Exotic: sudo apt-get install exotic-theme Balanzan: sudo apt-get install balanzan-theme Wild Shine: sudo apt-get install wild-shine-theme Infinity: sudo apt-get install infinity-theme Showtime: sudo apt-get install showtime-theme Orange: sudo apt-get install orange-theme Ellanna: sudo apt-get install ellanna-theme AirLines: sudo apt-get install airlines-theme Eco: sudo apt-get install eco-theme
[125014070110] |Showtime for Gnome
[125014070120] |Balanzan
[125014070130] |Infinity
[125014070140] |Wild shine
[125014070150] |Exotic
[125014070160] |Tropical
[125014070170] |Bamboo Zen
[125014070180] |Ubuntu sunrise
[125014070190] |Aqua Dreams
[125014070200] |Step into Freedom
[125014070210] |Orange
[125014070220] |Ellanna
[125014070230] |AirLines
[125014070240] |Eco
[125014070250] |Remove Bisigi themes
[125014070260] |Open the terminal and run the following command
[125014070270] |sudo aptitude remove bisigi-themes
[125015080010] |indicator-cpufreq - CPU frequency indicator (PPA installation instructions included)
[125015080020] |Indicator applet for displaying and changing CPU frequency on-the-fly.
[125015080030] |Install indicator-cpufreq in ubuntu 11.04/10.10
[125015080040] |Open the terminal and run the following commands
[125015080050] |sudo add-apt-repository ppa:artfwo/ppa
[125015080060] |sudo apt-get update
[125015080070] |sudo apt-get install indicator-cpufreq
[125015080080] |Screenshot
[125015760010] |How to Install Chrome 10 beta and How to read local Languages (Telugu, Malayalam, Tamil, Devanagari) news paper and other languages in Ubuntu 10.10 (Maverick)
[125015760020] |Part 1 (How to install Chrome)
[125015760030] |Google released the latest beta of Chrome,version 10, celebrating the move to double figures with some very interesting new features.
[125015760040] |Google has kept Chrome development at breakneck pace since the first beta released in September 2008.
[125015760050] |According to a Google blog post, Chrome 10′s new Crankshaft version of its V8 JavaScript engine now runs scripts some 66 percent faster than previous versions, as measured by theV8 benchmark suite.The new beta build also includes hardware-accelerated video, which Google says may cut CPU usage by as much as 80 percent when running full-screen, assisting performance generally and extending your battery life.
[125015760060] |Google also revamped the settings interface, which now appears in a tab as opposed to a dialog box, an approach that reminds of Chrome OS running on Google’s unbranded Cr-48 notebook.
[125015760070] |This also includes a search box, so if you’re not sure where to find a particular option, just enter a related keyword, like “language,” and Chrome will display anything related: font customizations, language and spell-checker settings, the Translate option, and more.
[125015760080] |These aren’t links to the settings, either; they’re the same buttons, lists and check boxes that users may have found when searching through the options themselves, making the options needing tweaks more immediately available.
[125015760090] |Clearly improving convenience and ease of use are priorities for this release.
[125015760100] |Elsewhere, security improvements include a new mechanism for disabling outdated plug-ins -- that is by default.
[125015760110] |Should users choose to enable Chrome Sync then, by default, they now also get password synchronization across all their Chrome installations.
[125015760120] |There’s plenty to offer, then, and despite the beta tag the browser seemed fast and reliable in our initial tests.
[125015760130] |If you’d like to try it for yourself then the download is http://www.chromium.org/getting-involved/dev-channel
[125015760140] |Part 2 (How to install Telugu fount)
[125015760150] |How to Install Telugu fount in Chrome 10 beta in Ubuntu 10.10
[125015760160] |if you want to read a Telugu paper (eenadu and other) just install padam fount from this link
[125015760170] |https://chrome.google.com/extensions/detail/ngifghlmhidnielinpjdkkiadocdffbi
[125015760180] |{Even though Indic scripts are supported through Unicode by modern platforms and browsers, many Indic websites still use the old non-Unicode font base encodings.
[125015760190] |Without those proprietary fonts installed in user’s computer, those pages can not be rendered correctly.}
[125016070010] |Ubuntu Tip:How to open a file manager of the current directory in the terminal
[125016070020] |Problem
[125016070030] |This tip will explain How to open a file manager of the current directory in the terminal
[125016070040] |Solution 1
[125016070050] |The following works in all desktop environments by using the default file manager:
[125016070060] |xdg-open .
[125016070070] |Solution 2
[125016070080] |You can also open files from the terminal as if you had double clicked them in the file manager:
[125016070090] |xdg-open file
[125016070100] |Solution 3
[125016070110] |If you are using Gnome, you can use the gnome-open command, like so:
[125016070120] |gnome-open .
[125016070130] |Solution 4
[125016070140] |You can use nautilus [path]. for current directory -
[125016070150] |nautilus .
[125016070160] |Thank to adam for this tip
[126000180010] |Howto: Install Openfire XMPP Jabber Server on Ubuntu
[126000180020] |Take control!
[126000180030] |Jabber technology enables you to run your own IM service, whether you want to host a public server or keep your messages safely behind the firewall.
[126000180040] |Thousands of organizations all over the world have freed themselves from legacy IM providers by running their own Jabber servers.
[126000180050] |Why not join them?
[126000180060] |Here's how to get started:
[126000180070] |Installing openfirehttp://www.igniterealtime.org/projec...fire/index.jsp
[126000180080] |Install Ubuntu 6.06 LTS LAMPRecommended sites to setup your LAMP server:http://www.howtoforge.com/ubuntu_lamp_for_newbieshttps://help.ubuntu.com/community/Ap...&redirect=LAMP
[126000180090] |Check which version of Java you are running.
[126000180100] |Note the following: the .tar.gz build does not contain a bundled Java runtime (JRE).
[126000180110] |Therefore, you must have JDK or JRE 1.5.0 (Java 5) or later installed on your system.
[126000180120] |You can check your java version by typing "java -version" at the command line and (if necessary) upgrade your Java installation by visiting http://java.sun.com.)
[126000180130] |Code:
[126000180140] |$ java -version
[126000180150] |Install java6 If you don't have java already installed.
[126000180160] |Code:
[126000180170] |$ sudo apt-get install sun-java6-bin
[126000180180] |Set java6 as your default.
[126000180190] |Code:
[126000180200] |$ sudo update-alternatives --config javaselect /usr/lib/jvm/java-6-sun/jre/bin/java
[126000180210] |To create a database for openfire MySQL, Oracle, Microsoft SQLServer, PostgreSQL, IBM DB2, or HSQLDB can be used.
[126000180220] |I chose MySQL since it was installed with my LAMP setup.
[126000180230] |Now use phpmyadmin or the terminal to create the database.
[126000180240] |The following is through the terminal.
[126000180250] |Login as root Code:
[126000180260] |$ su
[126000180270] |Login to MySQL Code:
[126000180280] |# mysql
[126000180290] |or the following if you setup a user and a password.
[126000180300] |Code:
[126000180310] |# mysql -u USERNAME -p
[126000180320] |Create the database in MySQL Code:
[126000180330] |# mysql> CREATE DATABASE openfire;
[126000180340] |Code:
[126000180350] |# mysql> exit
[126000180360] |Download Openfire to a directory.
[126000180370] |I chose the /opt/ directory.
[126000180380] |Code:
[126000180390] |# cd /opt
[126000180400] |Download File or go here to get the most recent: http://www.igniterealtime.org/downlo...x.jsp#openfire Code:
[126000180410] |# wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_3_2.tar.gz
[126000180420] |Code:
[126000180430] |# mv downloadServlet\?filename\=openfire%2Fopenfire_3_3_2.tar.gz openfire_3_3_2.tar.gz
[126000180440] |Extract the files.
[126000180450] |Code:
[126000180460] |# tar -zxvf openfire_3_3_2.tar.gz
[126000180470] |Create a symlink Code:
[126000180480] |# ln -s /opt/openfire/bin/openfire /etc/init.d/
[126000180490] |Make the symlink executible Code:
[126000180500] |# chmod +x /etc/init.d/openfire
[126000180510] |Add openfire to our startup.
[126000180520] |Code:
[126000180530] |# update-rc.d openfire defaults
[126000180540] |Fix the nohup error.
[126000180550] |Run the following command or you will get the following error: nohup: appending output to `nohup.out' Code:
[126000180560] |# nohup ls >ls.log 2>&1 &
[126000180570] |Now setup the rest of Openfire through your browser. http://localhost:9090
[126000520010] |Qemulator Virtualization Solution for Ubuntu Feisty
[126000520020] |I just ran into another Virtualization solution called Qemulator, it is a full featured emulation suite for the qemu virtual engine, written in python GTK/Glade2. I have not had the chance, time yet to test it out, but by the looks of the screenshots, it may be better than Vmware, please let me know what you think if you have tried this before I have.
[126000520030] |Qemulator provides an easy and fast to use image and device management, a "My machines" list and interactive job control.
[126000520040] |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.
[126000520050] |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.
[126000520060] |The project is still under development.
[126000520070] |Current version should run stable on most Linux machines providing allmost all functions of qemu, but there are still some works to do.
[126000520080] |Qemulator comes with its own easy to use graphical installer.
[126000520090] |Qemu 0.8 - 0.9 compatible
[126000520100] |- Changed filesystem and boot logic to a more simple and clear context
[126000520110] |- Many new qemu options found their way to the gui
[126000520120] |- Many functions are enhanced by image autodetection
[126000520130] |- Added new guided dialogs to add new machines and to install new systems
[126000520140] |- Creating of new images now includes all common qemu-img options
[126000520150] |- Implemented Exporting of a VM configuration as shellscript
[126000520160] |- New translations: Catalan, Slovenian
[126000520170] |- Many bugs fixed (see buglist)For full list of changes read the release notes on project home or distributed with the package
[126000810010] |Ubuntu VS PcLinuxOS on Google Trends
[126000810020] |I really dont see why distrowatch.org is reporting that PCLinuxOS is more popular, id think the worlds top search engine stats should be actively on Distrowatch.org instead of their pathetic rating system, check out these stats!
[126000850010] |Linux at Dell
[126000850020] |Here is an interesting
[126001020010] |OpenOffice.org OpenXML Translator for Ubuntu
[126001020020] |The OpenXML Translator provides support for opening and saving Microsoft* OpenXML-formatted word processing documents (.docx) in OpenOffice.org.
[126001020030] |So now we all can use the docx extention *yay* although im not very happy about this, id rather have hundreds of companies use *.odf and do away with this addon all together but...
[126001020040] |This is hot for those that like to use Microsh!t document formats...
[126001020050] |Install:1. echo "deb http://ubuntu.org.ua/ getdeb/" >>/etc/apt/sources.list2. apt-get update3. apt-get install odf-converter
[126001020060] |or simply download here
[126001020070] |Note:You must restart OpenOffice Writer to get the option available on the Load/Save document dialogs.
[126001020080] |If you need support for windows or SUSE® Linux Enterprise, SUSE Linux, and openSUSE check out the developer's download site here
[126001290010] |Howto: Install Picasa within Ubuntu Gutsy and Hardy Heron!
[126001290020] |Here is a very easy way to install Picasa 2.7 Beta in Ubuntu Gutsy....
[126001290030] |1. Open Software SourcesPress ALT-F2 and enter:
[126001290040] |gksu software-properties-gtk
[126001290050] |Download GPG key from here and Click on Authentication Tab and then click import key file, now import the key file.
[126001290060] |Now lets add the Repository:Click Third Party Software and then click "Add" now enter:
[126001290070] |deb http://dl.google.com/linux/deb/ testing non-free
[126001290080] |Once added click ok and refresh Repositories.
[126001290090] |Now just click here to install Picasa 2.7 Beta within Firefox
[126001290100] |Here is a rundown of the new Features:
[126001290110] |
Upload to Picasa Web Albums Use the new "Web Album" button to post your best photos online to share with friends and family.
[126001290120] |
Save edits to disk Save edits, undo saves, and revert to the original file with ease.
[126001290130] |We've got batch saving too!
[126001290140] |Picasa will even match the jpeg quality of the original.
[126001290150] |Right-click on your saved files to try the new "locate original" feature.
[126001290160] |
Folder hierarchy views Browse through folders Explorer-style.
[126001290170] |Use the button at the top of your Albums List to try them out.
[126001290180] |
Improvements to Import Import into an existing folder- we know you've wanted this feature for a long time!
[126001290190] |We've made importing photos from your camera faster too.
[126001290200] |
Better RAW support Now you can work with RAW files from the Canon 30D, the Nikon D200, Adobe DNG files, and more.
[126001290210] |
Many other enhancements Larger thumbnails, better caption editing, ability to configure the row of buttons, special "Starred Photos" album, search by ISO and focal length.
[126001290220] |Alternatively you can use the command line:
[126001290230] |1. Open your /etc/apt/sources.list file with gedit:
[126001290240] |$ sudo gedit /etc/apt/sources.list
[126001290250] |2. Add the following line and save file:
[126001290260] |deb http://dl.google.com/linux/deb/ testing non-free
[126001290270] |3. Download GPG key from here and run this command:
[126001290280] |$ sudo apt-key add linux_signing_key.pub
[126001290290] |4. Install Picasa:$ sudo apt-get update$ sudo apt-get install picasa
[126001420010] |Howto: Convert Redhat and Fedora .rpm files to .deb files in Ubuntu
[126001420020] |Just switch from redhat/fedora to Ubuntu and your used to rpm's?
[126001420030] |Or did you find an rpm that isnt available as a .deb file?
[126001420040] |I sure have so I thought I would share the easy process of converting rpm to deb, check it out.
[126001420050] |To do this, install Alien using:
[126001420060] |sudo apt-get install alien
[126001420070] |And convert using:
[126001420080] |sudo alien -k name-of-rpm-file.rpm
[126001420090] |To install .deb packages, double click the file and click Install Package or simply:
[126001420100] |sudo dpkg -i name-of-created-deb-file.deb
[126001420110] |Alternatively you can simply install rpm files, This command converts rpm to deb then installs the deb file, after it will delete the temporary .deb createdsudo alien -i name-of-rpm-file.rpm
[126001420120] |enjoydefcon
[126002170010] |Howto: Fix compiz display white screen when locked issue in Ubuntu Hardy
[126002170020] |Are you effected by this bug?
[126002170030] |Lets find out first:1.
[126002170040] |Login to user 12.
[126002170050] |Use the fast user switcher applet to login to user 23.
[126002170060] |Logout from user 2 session
[126002170070] |Result : You get a white screen.
[126002170080] |You have to type your password and the white screen will disappears.
[126002170090] |or Try this:1.
[126002170100] |Login.
[126002170110] |2. Open a terminal and do "sleep 15
[126002500010] |Introducing XBMC MEDIA CENTER For Ubuntu Intrepid, Hardy, and Gutsy!
[126002500020] |Created with Admarket'sflickrSLiDR.
[126002500030] |XBMC is an award winning media center application for Linux, Mac OS X, Windows and XBox.
[126002500040] |The ultimate hub for all your media, XBMC is easy to use, looks slick, and has a large helpful community.
[126002500050] |Howto Install: Open System->Administration->Software Sources->Third Party Software Click on Add Add the source specific to your version of Ubuntu:
[126002500060] |Gutsy PPA deb http://ppa.launchpad.net/team-xbmc-gutsy/ubuntu gutsy main deb-src http://ppa.launchpad.net/team-xbmc-gutsy/ubuntu gutsy main
[126002500070] |Hardy PPA deb http://ppa.launchpad.net/team-xbmc-hardy/ubuntu hardy main deb-src http://ppa.launchpad.net/team-xbmc-hardy/ubuntu hardy main
[126002500080] |Intrepid PPA deb http://ppa.launchpad.net/team-xbmc-intrepid/ubuntu intrepid main deb-src http://ppa.launchpad.net/team-xbmc-intrepid/ubuntu intrepid main
[126002500090] |For More Advanced Users Here is the SVN PPA: deb http://ppa.launchpad.net/xbmc-addons/ubuntu intrepid main deb-src http://ppa.launchpad.net/xbmc-addons/ubuntu intrepid main deb http://ppa.launchpad.net/xbmc-addons/ubuntu hardy main deb-src http://ppa.launchpad.net/xbmc-addons/ubuntu hardy main deb http://ppa.launchpad.net/xbmc-addons/ubuntu gutsy main deb-src http://ppa.launchpad.net/xbmc-addons/ubuntu gutsy main
[126002500100] |Click Here to Install or search for xbmc in synaptic
[126002500110] |More info From the developer here
[126002550010] |New: Incollector 1.1 Released!
[126002550020] |What is Incollector?
[126002550030] |Incollector is an application to collect various kinds of information (like notes, conversation logs, quotes, serial numbers, source code, web addresses, words).
[126002550040] |All the entries can be tagged, so you can find them very easily.
[126002550050] |There are also search folders which allows you to search for entries by specified criteria.
[126002550060] |You can also export (and import, of course) entries to an external file.
[126002550070] |Features: Incollector has a very simple, intuitive graphical user interface, so you can start being productive with it right away.
[126002550080] |All the information you put into Incollector is easy to find again, too.
[126002550090] |Entries can have a "type", like "note", "source code sample", "serial number", etc, and they can be tagged as well, making searching and browsing a snap.
[126002550100] |IC offers many useful customization options too.
[126002550110] |The Preferences window lets you choose your preferred web browser, and other helpful settings.
[126002550120] |You can browse all your entries directly in the application window, or from the convenient tray menu pop-up.
[126002550130] |When adding a new entry, you can tag it with your pre-existing tags, or create new tags on the fly.
[126002550140] |(Don't worry if you don't want to tag right away though, you can always tag and retag entries later!)
[126002550150] |You can also give your entries ratings of 1-3 stars, and take notes in the comment field to give descriptive summaries of a entry, and make searching even easier.
[126002550160] |It's easy to share entries with friends and make backups in IC using the built-in importing and exporting features.
[126002550170] |Search folders are available in IC also, similar to what you may already be using in Evolution or Outlook.
[126002550180] |Search folders let you create a "saved search", making frequent identical searches painless.
[126002550190] |Download Incollector Here
[126002640010] |New Linux Game: Go Ollie!
[126002640020] |Ollie the Oligocheata is a worm on a mission.
[126002640030] |He’s on a mission to bring mouse controlled platforming fun to everyone!
[126002640040] |Go Ollie is another great free game from Charlie Dog Games and features:
[126002640050] |
It’s completely free and so represents infinitely good value for money
[126002640060] |
Beautifully rendered scenes and animations
[126002640070] |
The latest in innovative mouse controlled platform gaming featuring a unique fusion of platform and match three gaming mechanics
[126002640080] |
Two gameplay modes:
[126002640090] |
Story Mode with over 60 individual levels each with three different objectives
[126002640100] |
Fast and furious action game with unlimited re-playability and high score table
[126002640110] |
A compelling story featuring romance, excitement and fairy duplicity
[126002640120] |
Only 16 Meg download and very low system requirements
[126002640130] |
Windows XP and Vista compliant (Linux version coming soon)
[126002640140] |
Did I mention the game is completely free??
[126002640150] |Download Go Ollie!
[126002670010] |Announcing GNOME Do 0.8. With 20 new plugins, faster search, better results, animated themes!
[126002670020] |Announcing GNOME Do 0.8.
[126002670030] |With 20 new plugins, faster search, better results,animated themes, and 111 fewer bugs, your desktop's killer app just got killer-er.
[126002670040] |
Awesome New Plugins
[126002670050] |Banshee, Bibtex, Cl.ickable, Claws mail, Google search, Opera, Ping.FM, Remember the Milk, System services, TinyUrl, Tracker search, and Translate to name a few.
[126002670060] |Plugins also install much faster now.
[126002670070] |
Faster Search, Better Results
[126002670080] |Memory usage is down, and searches are noticably snappier.
[126002670090] |Our relevance algorithms are also better than ever -- Do will learn your habits and offer personalized search results immediately.
[126002670100] |
Animated Themes
[126002670110] |Do's themes -- Classic, Mini, Glass, and the newly added Nouveau and Docky -- now sport gorgeous animations and dropshadows.
[126002670120] |Watch for falling jaws.
[126002670130] |
Docky
[126002670140] |Docky is our attempt to make Do more discoverable and memorable.
[126002670150] |It's the same Do you know and love, just a little friendlier.
[126002670160] |
File Previews
[126002670170] |We've added preliminary support for viewing file thumbnails, so you can better recognize the images, movies, and documents you encounter in Do.
[126002670180] |If your file manager displays thumnails, Do will attempt to show them.
[126002670190] |
Improved Text Entry
[126002670200] |With support for copy, paste, and longer lines of text, Do's new extended text entry mode is perfect for composing emails and tweets.
[126002670210] |Activate text entry mode by pressing your period key.
[126002670220] |
Many Bugs Exterminated
[126002670230] |82 core bugs and 29 plugin bugs have been meticulously tracked and squished.
[126002670240] |There's still a lot of work to do, but Do 0.8 is one well-oiled machine.
[126002670250] |
New Plugin API
[126002670260] |In creating a more cross-platform codebase, a wonderful, platform-agnostic plugin API emerged.
[126002670270] |Plugins now have extensive access to notifications, logging, relevance information, threading tools, and much more.
[126002670280] |Howto Install:
[126002670290] |
8.10 (Intrepid)
[126002670300] |
8.04 (Hardy)
[126002670310] |If you are upgrading from an old installation of Do, please be sure to completely remove your old version.
[126002670320] |and remove the Do plugins configuration directory
[126002670330] |Once you have removed your old installation, or if this is your first time, follow these instructions.
[126002670340] |Add the Gnome Do PPA Repository to your sources list.
[126002670350] |(See the Ubuntu Repositories).
[126002670360] |In Synaptic Package Manager, search 'gnome do' or install from the terminal:
[126002670370] |
7.10 (Gutsy)
[126002670380] |Add the following to your /etc/apt/sources.list (here's how)
[126002670390] |then run
[126002680010] |Jaunty Jackalope Alpha 5 Has Been Released!
[126002680020] |Upgrading from Ubuntu 8.10
[126002680030] |To upgrade from Ubuntu 8.10, press Alt+F2 and type in "update-manager -d" (without the quotes) into the command box.
[126002680040] |Update Manager should open up and tell you: New distribution release '9.04' is available.
[126002680050] |Click Upgrade and follow the on-screen instructions.
[126002680060] |New features in Jaunty
[126002680070] |These features are showcased for your attention.
[126002680080] |Please test them and report any bugs you find on Launchpad:
[126002680090] |http://bugs.launchpad.net/ubuntu
[126002680100] |Updated packages
[126002680110] |As with every new release, packages--applications and software of all kinds--are being updated at a rapid pace.
[126002680120] |For a list of all packages being accepted for 9.04 Jaunty Jackalope, please subscribe to Jaunty-changes:
[126002680130] |https://lists.ubuntu.com/mailman/listinfo/jaunty-changes
[126002680140] |X.Org server 1.6
[126002680150] |The latest X.Org server, version 1.6, is available in Jaunty.
[126002680160] |For a little while, this will again cause increased instability for some users while the proprietary video drivers catch up.
[126002680170] |Font size optimization
[126002680180] |Font dot-per-inch settings are now optimized based on your monitor's capabilities, rather than defaulting to 96 dpi.
[126002680190] |You can further customize your dpi settings via System →Preferences →Appearance →Fonts →Details...
[126002680200] |New style for notifications and notification preferences
[126002680210] |Included in Jaunty is a simple menu which can be used to set preferences for notification icons, such as where they pop up on the taskbar.
[126002680220] |There is a possibility that Ubuntu 9.04 will get a whole new notification system, as shown in the Flash movie here:
[126002680230] |http://www.markshuttleworth.com/wp-content/uploads/2008/12/jaunty904_notifications_example1_web_092.swfLinux kernel 2.6.28
[126002680240] |Alpha 5 includes the 2.6.28-8.26 kernel based on 2.6.28.7.
[126002680250] |Ext4 filesystem support
[126002680260] |Alpha 5 supports the option of installing the new ext4 file system. ext3 will remain the default filesystem for Jaunty, and we will consider ext4 as the default for the next release based on user feedback.
[126002680270] |Alpha 5 adds Ext4 support to gparted (Curtis Gedak).
[126002680280] |Download Alpha 5
[126002680290] |Get it while it's hot.
[126002680300] |ISOs and torrents are available at:
[126002680310] |http://cdimage.ubuntu.com/releases/jaunty/alpha-5/ (Ubuntu) http://cdimage.ubuntu.com/edubuntu/releases/jaunty/alpha-5/ (Ubuntu Education Edition) http://cdimage.ubuntu.com/kubuntu/releases/jaunty/alpha-5/ (Kubuntu) Kubuntu release notes http://cdimage.ubuntu.com/xubuntu/releases/jaunty/alpha-5/ (Xubuntu) http://cdimage.ubuntu.com/ubuntustudio/releases/jaunty/alpha-5/ (UbuntuStudio) http://cdimage.ubuntu.com/mythbuntu/releases/jaunty/alpha-5/ (Mythbuntu) http://cdimage.ubuntu.com/ubuntu-netbook-remix/releases/jaunty/alpha-5/ (Ubuntu Netbook Remix) http://cdimage.ubuntu.com/ubuntu-mid/releases/jaunty/alpha-5/ (Ubuntu MID) http://cdimage.ubuntu.com/netboot/jaunty/alpha-5/ (Ubuntu ARM)
[126002680320] |Known issues
[126002680330] |As is to be expected at this stage of the release process, there are several known bugs that users are likely to run into with Jaunty Alpha 5.
[126002680340] |We have documented them here for your convenience along with any known workarounds, so that you don't need to spend time reporting these bugs again:
[126002680350] |The installer sometimes fails to tell the kernel to reload the partition table during partitioning.
[126002680360] |This is a race condition, so not everyone will be affected, but if you are then you may have to re-try partitioning a few times before it completes successfully.
[126002680370] |We believe that the main problem lies in udev, and will be fixing that immediately after Alpha 5.
[126002680380] |334278
[126002680390] |A new XServer, version 1.6, is included in Alpha 4.
[126002680400] |The binary proprietary fglrx driver is not yet supported for this server and will exhibit various serious issues if run against it.
[126002680410] |Users of this driver are encouraged to wait or to switch to the open source -ati driver in the meantime.
[126002680420] |313027
[126002680430] |Users of Intel i845 or i865 video chipsets are unable to load X, getting an error message of "Fatal server error: Couldn't bind memory for BO front buffer".
[126002680440] |Users on these systems are advised to wait for a resolution to this bug before upgrading.
[126002680450] |304871
[126002680460] |OEM configuration fails in Jaunty Alpha 5 due to a repeating error pop-up when setting up the end user.
[126002680470] |This bug will be resolved for Jaunty Alpha 6.
[126002680480] |334281
[126002680490] |Users testing the ARM images on NSLU2 systems will need to take special measures to avoid time-consuming locale generation.
[126002680500] |Use the 'Go back' button in the installer, select "Change debconf priority" from the main menu, and select medium priority; once at the detailed locale selection screen, de-select all locales.
[126002680510] |Detailed instructions can be found at https://wiki.ubuntu.com/ARM/NSLU2.
[126002680520] |In Jaunty Alpha 6, this will be handled by default.
[126002680530] |Ctrl-Alt-Backspace is now disabled, to reduce issues experienced by users who accidentally trigger the key combo.
[126002680540] |Users who do want this function can enable it in their xorg.conf, or via the command dontzap --disable.
[126002680550] |Font sizes may be abnormally small or large on monitors which mis-report their capabilities.
[126002680560] |If you suspect this may be the case, please see X/Troubleshooting/HugeFonts for steps to troubleshoot this issue.
[126002680570] |Reporting bugs
[126002680580] |It should come as no surprise that this alpha release of Jaunty Jackalope contains other bugs.
[126002680590] |Your comments, bug reports, patches and suggestions will help fix bugs and improve future releases.
[126002680600] |Please report bugs through the Ubuntu bugtracker
[126002680610] |If you want to help out with bugs, the Bug Squad is always looking for help.
[126002680620] |Participate in Ubuntu
[126002680630] |If you would like to help shape Ubuntu, take a look at the list of ways you can participate at
[126002680640] |http://www.ubuntu.com/community/participate/
[126002680650] |More information
[126002680660] |You can find out more about Ubuntu on the Ubuntu website and Ubuntu wiki.
[126002680670] |To sign up for future Ubuntu development announcements, please subscribe to Ubuntu's development announcement list at:http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-announce