[123001860010] |Why Penguin is Linux logo? [123001860020] |

Beginning

[123001860030] |digg_url = http://www.linuxscrew.com/2007/11/14/why-penguin-is-linux-logo/; Penguin as logo/mascot for Linux was discussed first in early 1996 by several people in the linux-kernel mailing list. [123001860040] |The idea of such mascot came from Alan Cox first. [123001860050] |Among many other suggestions made by different people there were parodies of other operating system logos, sharks or even eagles. [123001860060] |You can find them here. [123001860070] |Some of them: [123001860080] |At some point Linus Torvalds casually mentioned that he was rather fond of penguins and it stopped the debates at once. [123001860090] |Here is this Linus’ email: [123001860100] |Re: Linux Logo prototype Linus Torvalds (torvalds@cs.helsinki.fi) Thu, 9 May 1996 17:48:56 +0300 (EET DST) [123001860110] |Somebody had a logo competition announcement, maybe people can send their ideas to a web-site.. [123001860120] |Anyway, this one looks like the poor penguin is not really strong enough to hold up the world, and it’s going to get squashed. [123001860130] |Not a good, positive logo, in that respect.. [123001860140] |Now, when you think about penguins, first take a deep calming breath, and then think “cuddly”. [123001860150] |Take another breath, and think “cute”. [123001860160] |Go back to “cuddly” for a while (and go on breathing), then think “contented”. [123001860170] |With me so far? [123001860180] |Good.. [123001860190] |Now, with penguins, (cuddly such), “contented” means it has either just gotten laid, or it’s stuffed on herring. [123001860200] |Take it from me, I’m an expert on penguins, those are really the only two options. [123001860210] |Now, working on that angle, we don’t really want to be associated with a randy penguin (well, we do, but it’s not politic, so we won’t), so we should be looking at the “stuffed to its brim with herring” angle here. [123001860220] |So when you think “penguin”, you should be imagining a slighly overweight penguin (*), sitting down after having gorged itself, and having just burped. [123001860230] |It’s sitting there with a beatific smile –the world is a good place to be when you have just eaten a few gallons of raw fish and you can feel another “burp” coming. [123001860240] |(*) Not FAT, but you should be able to see that it’s sitting down because it’s really too stuffed to stand up. [123001860250] |Think “bean bag” here. [123001860260] |Now, if you have problems associating yourself with something that gets off by eating raw fish, think “chocolate” or something, but you get the idea. [123001860270] |Ok, so we should be thinking of a lovable, cuddly, stuffed penguin sitting down after having gorged itself on herring. [123001860280] |Still with me? [123001860290] |NOW comes the hard part. [123001860300] |With this image firmly etched on your eyeballs, you then scetch a stylizied version of it. [123001860310] |Not a lot of detail –just a black brush-type outline (you know the effect you get with a brush where the thickness of the line varies). [123001860320] |THAT requires talent. [123001860330] |Give people the outline, and they should say [ sickly sweet voice, babytalk almost ]“Ooh, what a cuddly penguin, I bet he is just _stuffed_ with herring”, and small children will jump up and down and scream “mommy mommy, can I have one too?”. [123001860340] |Then we can do a larger version with some more detail (maybe leaning against a globe of the world, but I don’t think we really want to give any “macho penguin” image here about Atlas or anything). [123001860350] |That more detailed version can spank billy-boy to tears for all I care, or play ice-hockey with the FreeBSD demon. [123001860360] |But the simple, single penguin would be the logo, and the others would just be that cuddly penguin being used as an actor in some tableau. [123001860370] |Linus [123001860380] |In this interview Linus comments on the penguin bite: [123001860390] |I’ve been to Australia several times, these days mostly for Linux.Conf.Au. [123001860400] |But my first trip –and the one when I was bitten by a ferocious fairy penguin: you really should keep those things locked up! –was in 93 or so, talking about Linux for the Australian Unix Users Group. [123001860410] |

Tux

[123001860420] |The first person called the penguin “Tux” was James Hughes who said that it stood for “(T)orvalds (U)ni(X)”. [123001860430] |Tux was designed for a Linux logo contest. [123001860440] |Confusingly, there were actually three separate contests and Tux didn’t win any of them. [123001860450] |This is why Tux is formally known as the Linux mascot and not the logo. [123001860460] |Tux was created by Larry Ewing using the first publicly released version (0.54) of GIMP. [123001860470] |It was released by him under the following condition: [123001860480] |Permission to use and/or modify this image is granted provided you acknowledge me lewing@isc.tamu.edu and The GIMP if someone asks. [123001860490] |Tux does not accurately portray any of the 19 species of penguin although he somewhat resembles an Adelie penguin. [123001860500] |He is often dressed or portrayed differently, depending on context; for example, when representing the PaX, security patch for linux kernel, he wears a helmet and brandishes an axe and shield, and his eyes are red. [123001860510] |Recently, Tux has been redrawn to blend more appropriately into “crystalized” desktop themes (see picture left). [123001860520] |

Other facts

[123001860530] |
  • Tux had an uncredited use in the Al Gore’s Penguin Army video controversy.
  • [123001860540] |
  • During the Q&A session following his COMDEX Fall 1999 keynote address, Linus Torvalds was asked if he had any idea how many stuffed penguins had been sent to Bill Gates. [123001860550] |Torvalds’ response was another question: “To the nearest thousand?”
  • [123001860560] |
  • Tux has been adapted to a Designer Toy called a Gwin and is distributed by October Toys. [123001860570] |It is redesigned by different artists and sold in short collectable runs through the October Toys website and other collectable vinyl toy sites. [123001860580] |There are also artists who buy a blank Gwin to hand paint and customize as a one-off art piece.
  • [123001860590] |
  • A tattoo of Tux is also known as a “Tuxtoo”.
  • [123001860600] |
  • Another uncredited use of the Tux currently can be seen at dunk the scammer where a designer apparently tries to depict the Tux as a symbol for Internet crime
  • [123001860610] |Information improvisation: You can get our complete 650-195 exam pass resources including our latest HP0-S23 and F50-531 training courses. [123001860620] |JN0-360 and HP0-J39 are also playing vital role in IT world. [123001870010] |Generate strong passwords online and offline [123001870020] |To generate random and secure passwords offline I recommend oldie mkpasswd. [123001870030] |It was written by Don Libes from National Institute of Standards and Technology very long time ago but works perfectly. [123001870040] |Install mkpasswd in Debian or any other distro containing APT by command: [123001870050] |sudo apt-get install -y mkpasswd [123001870060] |For some reason Ubuntu’s repository contains makepasswd that was written by Marco d’Itri and has similar functionality. [123001870070] |To install it run sudo apt-get install makepasswd. [123001870080] |Generate strong password by executing mkpasswd or makepasswd in command line. [123001870090] |Examples: [123001870100] |makepasswd --char=10 mkpasswd -s "salt" [123001870110] |Another way is to get strong password online with www.goodpassword.com that provides you with service free of charge. [123001880010] |PCLinuxOS Magazine Latest Issue (Nov 2007) [123001880020] |PCLinuxOS that was founded in October 2003 is free, easy-to-use Linux-based operating system for the home. [123001880030] |It is distributed as a LiveCD, and can also be installed to a local hard drive. [123001880040] |Locally installed versions of PCLinuxOS utilize the Advanced Packaging Tool (or APT), a package management system (originally from the Debian distribution), together with Synaptic, a GUI frontend to APT. [123001880050] |PCLinuxOS differs from the other distros in that it doesn’t have a Debian base. [123001880060] |PCLinuxOS gets its genes from Mandrake. [123001880070] |PCLinuxOS has a nice feature that allows the users to take a snapshot of their current hard drive installation (user settings, applications, documents etc.) and compress it into an ISO CD/DVD image allowing them to backup their data easily as well as create custom live CD/DVD. [123001880080] |PCLinuxOS Magazine, November 2007 (Issue 15) is available to download as pdf and html versions. [123001880090] |Some highlights include: [123001880100] |
  • Linux Command Line Tutorial
  • [123001880110] |
  • KDE User Guide, Part 10
  • [123001880120] |
  • The Hardware Database Needs You
  • [123001880130] |
  • Linux Directory Structure
  • [123001880140] |
  • Syncing The Repos
  • [123001880150] |
  • And more…
  • [123001880160] |Download pdf or read it here in html. [123001890010] |Asterisk unveils customized Linux distro [123001890020] |Asterisk is an open source/free software implementation of a telephone private branch exchange (PBX) originally created by Mark Spencer of Digium. [123001890030] |The basic Asterisk software includes many features available in proprietary PBX systems: voice mail, conference calling, interactive voice response (phone menus), and automatic call distribution. [123001890040] |Asterisk is released under a dual license scheme, the free software license being the GNU General Public License (GPL), the other being a proprietary software license as to allow proprietary/closed and patented code, such as the G.729 codec to work with the system. [123001890050] |Asterisk runs on NetBSD, OpenBSD, FreeBSD, Mac OS X, and Solaris, although as the native platform, Linux is the most supported of these. [123001890060] |AsteriskNOW is an open source Software Appliance; a customized Linux distribution that includes Asterisk (the leading open source telephony engine and tool kit), the AsteriskGUI, and all other software needed for an Asterisk system. [123001890070] |AsteriskNOW is easy to install, and offers flexibility, functionality and features not available in advanced, high-cost proprietary business systems. [123001890080] |As it comes from documentation, installation is as easy as install certain Linux distro: [123001890090] |
  • Download the AsteriskNOW ISO file, and create a CD image from the file, which is required before installation can begin. [123001890100] |The process for burning a CD image will vary depending upon the CD authoring software you are using.
  • [123001890110] |
  • Insert your newly created AsteriskNOW CD into the CD-ROM drive of the PC.
  • [123001890120] |
  • Boot from the CD by restarting the PC. [123001890130] |A basic AsteriskNOW boot menu with several options will be provided. [123001890140] |For the standard graphical installer, simply press .
  • [123001890150] |
  • From here, follow the self-explanatory on-screen prompts to guide you through the installation process.
  • [123001890160] |Useful links: Quick Start Guide, Download Page [123001900010] |Firefox 3 Beta 1 is Ready! [123001900020] |Really nice news: Mozilla announced Firefox 3 Beta 1 and it’s available for free download now! [123001900030] |This is the ninth developer milestone focused on testing the core functionality provided by many (actually MANY) new features and changes to the platform scheduled for Firefox 3: [123001900040] |New features and changes in this milestone that require feedback include: [123001900050] |
  • Improved security features such as: better presentation of website identity and security, malware protection, stricter SSL error pages, anti-virus integration in the download manager, and version checking for insecure plugins.
  • [123001900060] |
  • Improved ease of use through: better password management, easier add-on installation, new download manager with resumable downloading, full page zoom, animated tab strip, and better integration with Windows Vista and Mac OS X.
  • [123001900070] |
  • Richer personalization through: one-click bookmarking, smart search bookmark folders, direct typing in location bar searches your history and bookmarks for URLs and page titles, ability to register web applications as protocol handlers, and better customization of download actions for file types.
  • [123001900080] |
  • Improved platform features such as: new graphics and font rendering architecture, native web page form controls, colour profile management, and offline application support.
  • [123001900090] |
  • Performance improvements (!!!) such as: better data reliability for user profiles, architectural improvements to speed up page rendering, over 300 memory leak fixes, and a new XPCOM cycle collector to reduce entire classes of leaks.
  • [123001900100] |Useful Links: [123001900110] |
  • Download Firefox 3 Beta 1 for Linux (and Windows, Mac OS X) in over 20 different languages
  • [123001900120] |
  • Direct link to tarball for Linux
  • [123001900130] |
  • Get more information on what’s new in Firefox 3
  • [123001900140] |
  • Screenshots are here
  • [123001910010] |GNU GRUB Simplified for Newbies [123001910020] |GNU GRUB is a boot loader package from the GNU Project. [123001910030] |GRUB is the reference implementation of the Multiboot Specification, which allows a user to have several different operating systems on their computer at once, and to choose which one to run when the computer starts. [123001910040] |GRUB can be used to select from different kernel images available on a particular operating system’s partitions, as well as to pass boot-time parameters to such kernels. [123001910050] |Here is the Joydeep Bakshi’s GBUB guide that is distibuted under Open Content License and covers the following fields: [123001910060] |
  • MBR, boot sector, boot loader
  • [123001910070] |
  • Backup &Restore boot loader
  • [123001910080] |
  • Grub stage1, stage2, stage3 and relation among them
  • [123001910090] |
  • Making Grub Floppy
  • [123001910100] |
  • Making Grub CD
  • [123001910110] |
  • Making Grub Pen drive
  • [123001910120] |
  • stage1 and stage2 on different media
  • [123001910130] |
  • Grub’s device and device.map file
  • [123001910140] |
  • Grub Rescue
  • [123001910150] |
  • Super Grub Disk
  • [123001910160] |
  • Grub’S GUI configuration
  • [123001910170] |
  • Manual booting with Grub shell
  • [123001910180] |
  • Disk investigation with Grub
  • [123001910190] |Read full guide here… [123001910200] |More useful links: GNU GRUB GNU GRUB FAQ GNU GRUB Manual 0.97 The list of command line and menu entry commands GNU GRUB on Wikipedia [123001930010] |Microsoft tells how to recover data using Linux [123001930020] |Recently I came across nice article published at Microsoft’s site Port 25 about how to recover crashed Windows using Linux. [123001930030] |It’s rather helpful staff written by Chris Travers (who own Metatron Technology Consulting by the way). [123001930040] |Here is an introduction quote from the document: [123001930050] |digg_url = http://www.linuxscrew.com/2007/11/26/microsoft-tells-how-to-recover-data-using-linux/; We have all run into cases where Windows refuses to load for one reason or another. [123001930060] |The problem may be a hardware or a software failure, and the problem may seem to be irrecoverable. [123001930070] |Yet often Linux can be used to help recover data that otherwise might be lost. [123001930080] |In writing this paper, we generally assume that either a Linux workstation is available to accept recovery information or that a USB drive of sufficient size is available to hold the data. [123001930090] |Generally in either case, enough free space should be available to store the entire hard drive as a bit-for-bit file and still have at least 2GB of space free. [123001930100] |However, if more space is available, the process of organizing the recovered data is a bit easier. [123001930110] |If neither of these is available, the utility of Linux in data recovery will be limited. [123001930120] |Download this document in as pdf format here. [123001930130] |You can read interesting comments on their site by clicking at this link. [123001930140] |By the way, Port 25 site is copyrighted by Microsoft under the Microsoft Permissive License that is available here. [123001940010] |Long-awaited Pidgin 2.3.0 is out! [123001940020] |digg_url = http://www.linuxscrew.com/2007/11/27/long-awaited-pidgin-230-is-out/; One of the best instant messengers named Pidgin (previously Gaim) released it’s latest version 2.3.0. [123001940030] |According to developers’ description Pidgin is a multiprotocol IM client and it’s goal is to hide protocols from the user as much as possible (users have to know about individual protocols when they create or modify accounts, but in day-to-day communication and usage, the intent is that users don’t have to think about protocols at all). [123001940040] |Pidgin supports the following protocols: [123001940050] |
  • .NET Messenger Service (MSN)
  • [123001940060] |
  • OSCAR (AIM/ICQ/.Mac)
  • [123001940070] |
  • XMPP (Jabber, Google Talk)
  • [123001940080] |
  • Gadu-Gadu
  • [123001940090] |
  • Internet Relay Chat
  • [123001940100] |
  • MySpaceIM
  • [123001940110] |
  • Novell GroupWise
  • [123001940120] |
  • SILC
  • [123001940130] |
  • Yahoo!
  • [123001940140] |
  • Zephyr
  • [123001940150] |
  • Lotus Sametime (previously supported by the third party gaim-meanwhile plugin)
  • [123001940160] |
  • QQ (previously supported by the third-party OpenQ plugin)
  • [123001940170] |
  • Session Initiation Protocol (SIP) (only with chat function)
  • [123001940180] |
  • DirectNet, 3rd party plugin for DirectNet — peer to peer instant messenger
  • [123001940190] |
  • IMPS, Smart VAS
  • [123001940200] |
  • Tlen.pl, SourceForge
  • [123001940210] |
  • Xfire, gfire
  • [123001940220] |
  • RVP, Fabien Carrion
  • [123001940230] |
  • Skype, Plugin to access the API of Skype (needs Skype running)
  • [123001940240] |Read full developer’s changelog here and download Pidgin from pidgin.im/download. [123001940250] |It’s available as source tarball, as binary packages for Fedora, CentOS/RHEL and other major Linux distributions, plus 2.3.0 version is ready also for Windows users. [123001950010] |Solar + Tiny PC + Linux = Sweeeet [123001950020] |digg_url = http://www.linuxscrew.com/2007/12/03/solar-tiny-pc-linux-sweeeet/; Really interesting device was found today in the vast expanses of Internet. [123001950030] |Company named Aleutia (established in London, 2006) sells extremely mini PC that consumes really small amount of energy (8 watts!!!), runs Linux and can be powered by sun! [123001950040] |It’s named Aleutia E1 and is available starting at 180 £. [123001950050] |See details below! [123001950060] |Seller announces the following product specifications (see detailed specs here): [123001950070] |
  • Processor: 200MHz x86 CPU, Memory: 128MB SDRAM, Storage: 2GB (included Compact Flash card), Power Supply (US, UK, or EU).
  • [123001950080] |
  • 3 x USB 2.0 ports (480Mbps transfer rate), 1 x 10/100 Ethernet port, VGA port to connect LCD display (supports resolutions up to 1280×1024)
  • [123001950090] |
  • Power consumption of 8W with CPU and SDRAM running at full speed. [123001950100] |With external devices (USB 2.0 CD Rewriter, USB-powered hard drive) power consumption rises to 11W.
  • [123001950110] |
  • Dimensions: 11.5cm (Width) x 11.5cm (Lenght) x 3.5cm (Height)
  • [123001950120] |
  • Puppy Linux Operating System (version 2.14) –similar in appearance to MS Windows, stable, and pre-installed.
  • [123001950130] |
  • Excel-compatible spreadsheet software (Gnumeric), Word-compatible word processor (Abiword)
  • [123001950140] |Looking at these specs and using Google it was discovered that Aleutia sells Norhtec’s device The MicroClient Jr! [123001950150] |Do you see the difference at the pictures below? [123001950160] |Maybe hand? [123001950170] |By the way, Norhtec’s one is of 120$… From Norhtec’s site: [123001950180] |The MicroClient Jr. is a revolutionary device that is especially designed for installations having limited physical space and temperature concerns. [123001950190] |It does not matter if you are in a jammed office, a crowded place, or public transportation –it can be easily integrated with a VESA LCD to bring you computer access at any time. [123001950200] |It can attach to any VESA mounting fixture, allowing it to be securely mounted onto desks, room walls, or buildings, and thereby optimizing your work area. [123001950210] |It can also attach directly to LCDs of any size to create a mobile system for the use at trade shows, presentations, promotions, etc. [123001950220] |Unlike the traditional laptop design, the MicroClient Jr. can be used with a large size LCD. [123001950230] |Furthermore, with FANLESS design, MicroClient Jr. is ideal for use in hot climates without air conditioning. [123001950240] |Get more details on The MicroClient Jr. here… Sweeeet! [123001950250] |Information improvisation: If you are looking for fast success in JN0-343 exams then join today to explore complete HP2-T16 resources and pass HP2-E31 certification on first try. [123001950260] |A person can chose 312-50 HP0-J40 for his easiness. [123001970010] |Defragmentation in Linux? Only in sometimes [123001970020] |Sander Marechal published at LXer interesting observations on file defragmentation that is would be needed in Linux: [123001970030] |I still wondered how on earth it was possible the 100k+ files in Gentoo’s portage system –updated every time I synchronize the portage tree –didn’t fragment my filesystem. [123001970040] |Or was my filesystem fragmented and did I not know? [123001970050] |Only recently, I found a script that is actually able to put numbers to all this gut-feelings, and the results were quite surprising in my opinion. [123001970060] |Result: to achieve notable fragmentation level it’s necessary to do utmost. [123001970070] |File fragmentation mainly happens in filesystems that contain large files. [123001970080] |Pretty interesting. [123001970090] |Full article is here, as well as testing script, also you’re welcome to read LXer discussion on this. [123001970100] |Script for defragmentation is available at this page. [123001980010] |Install Ubuntu packages by clicking html link [123001980020] |digg_url = http://www.linuxscrew.com/2007/12/16/install-ubuntu-packages-by-clicking-html-link/;Apturl allows to install Ubuntu packages using apt:pkgname like syntax with any compatible browser like Firefox, Konqueror or other. [123001980030] |Let me note that apturl comes with Ubuntu Gutsy 7.10 by default and is very useful while placing links through manuals, howtos etc. [123001980040] |For example, to install ntop utility in Ubuntu I’d suggested to run the following command from terminal: sudo apt-get install ntop, but now I can just place the link like this: hey, install ntop by clicking here! [123001980050] |Here is graphical representation of this example: [123001980060] |After you click pressing “ok” button Ubuntu will start installation process of certain package: [123001980070] |I hope this would be useful for bloggers writing manuals for Ubuntu Gutsy users. [123001980080] |Real thanks apturl’s author Harsh J (aka Qwerty Maniac). [123001990010] |Latest nmap 4.50 is out. Must upgrade! [123001990020] |Nmap is well known open source tool for security auditing and many other related network exploring activities. [123001990030] |Here is it’s developers’ description taken from their site: [123001990040] |Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. [123001990050] |It was designed to rapidly scan large networks, but works fine against single hosts. [123001990060] |Nmap runs on all major computer operating systems, and both console and graphical versions are available. [123001990070] |Few days ago latest version 4.50 of this outstanding tool was released celebrating 10 years anniversary. [123001990080] |Among notable changes are Zenmap GUI, new generation OS detection, the nmap scripting engine, new host discovery system, advanced traceroute and ~ 1500 new version detection signatures. [123001990090] |Full changelog is here, binary packages for almost all operating systems (including Linux, BSD, Windows) can be downloaded at project’s download page. [123001990100] |One of major changes in 4.50 is multi-platform Graphical User Interface (GUI) that would be helpful for nmap newbies as well as experienced people. [123001990110] |Manual page is here, screenshot is right [123002000010] |Security Guide for Linux by NSA [123002000020] |The National Security Agency (NSA) recently issued security configuration guides for various operating system, including MAC OS X, Windows, Linux and Solaris. [123002000030] |The published guides are used by the government and are pretty interesting. [123002000040] |Guide for Linux is presented as Hardening Tips for the Red Hat Enterprise Linux 5 and Guide to the Secure Configuration of Red Hat Enterprise Linux 5. [123002000050] |Of course most of recommendation suit other distributions. [123002000060] |Here is the introduction quote from latter guide: [123002000070] |The purpose of this guide is to provide security configuration recommendations for the Red Hat Enterprise Linux (RHEL) 5 operating system. [123002000080] |The guidance provided here should be applicable to all variants (Desktop, Server, Advanced Platform) of the product. [123002000090] |Recommended settings for the basic operating system are provided, as well as for many commonly-used services that the system can host in a network environment. [123002000100] |The guide is intended for system administrators. [123002000110] |Readers are assumed to possess basic system administration skills for Unix-like systems, as well as some familiarity with Red Hat’s documentation and administration conventions. [123002000120] |Some instructions within this guide are complex. [123002000130] |All directions should be followed completely and with understanding of their effects in order to avoid serious adverse effects on the system and its security. [123002000140] |Above mentioned guide covers the following directions: system-wide configuration (for example, iptables and ip6tables setup, logging, selinux and etc.) and services configuring (SSH, Avahi server, MTA, LDAP and many others). [123002000150] |Linux Screw (and NSA btw ) strongly recommends every system administrator to get familiar with this guide(s). [123002000160] |Thanks to G-Loaded! [123002000170] |(Technology and Open-Source Software related journal). [123002010010] |Sexy wallpapers and backgrounds for Ubuntu Linux. Part 2 [123002010020] |Below is the next portion of sexy wallpapers for Ubuntu Linux as well as for any other distributions and operating systems (previous set is here). [123002010030] |digg_url = http://www.linuxscrew.com/2008/01/07/sexy-backgrounds-for-ubuntu-linux-part-2/; [123002010040] |Again great thanks to www.gnome-look.org! [123002020010] |Linux Foundation Podcast: Linus Torvalds [123002020020] |This one is the first podcast from Linux Foundation’s series “Open Source Visionaries”. [123002020030] |And it’s normal that it’s Linus Torvalds interview Podcast is now available in MP3 and OGG at LF’s Open Voices page. [123002020040] |Transcript is here. [123002020050] |Jim Zemlin: You don’t love the kernel community, do you? [123002020060] |Linus Torvalds: Well, some people I worked with, I mean, it – when you work with people for five or ten years, maybe you don’t love them that way but at least you trust them in a very real sense on a personal level. [123002040010] |Secure Linux/Unix system that runs OpenSSH service [123002040020] |I came across invaluable article on how to make Linux system that runs OpenSSH server to be even more secure. [123002040030] |It’s written by 17-year-old (!!!) [123002040040] |Peter Upfold from FOSSwire and covers the following simple steps: [123002040050] |
  • Disable SSH protocol 1
  • [123002040060] |
  • Enable key-based logins
  • [123002040070] |
  • Don’t enable password-based logins
  • [123002040080] |
  • Don’t run on port 22
  • [123002040090] |
  • No remote root logins
  • [123002040100] |I found these tips invaluable and sire that there is no doubt SSH-2 protocol remains the most common and safe method to access remote Linux or Unix system. [123002040110] |The article is freely available here. [123002050010] |KDE 4 Era begins [123002050020] |Today it was announced that KDE 4.0 is finally released and as it was proudly noted in press release, with this major version the KDE Community marks the beginning of the KDE 4 era. [123002050030] |K Desktop Environment was created in 1996 by Matthias Ettrich, who was troubled by UNIX certain aspects and proposed the formation of not only a set of applications, but rather a whole desktop environment, in which users could expect things to look, feel, and work consistently. [123002050040] |Major version KDE 4.0 comprises numerous improvement that can be grouped as follows: libraries, desktop, applications and artwork. [123002050050] |Full list of updates and improvements is too long to quote it here, so you might read it from protosource (: [123002050060] |Official announcement page, KDE 4.0 Visual Guide [123002050070] |Here are some significant points of the new system: [123002050080] |The KDE 4 Desktop has gained some major new capabilities. [123002050090] |The Plasma desktop shell offers a new desktop interface, including panel, menu and widgets on the desktop as well as a dashboard function. [123002050100] |KWin, the KDE Window manager, now supports advanced graphical effects to ease interaction with your windows. [123002050110] |Visual updates through vector-based artwork, changes in the underlying libraries, user interface enhancements, new features, even new applications —you name it, KDE 4.0 has it. [123002050120] |Okular, the new document viewer and Dolphin, the new file manager are only two applications that leverage KDE 4.0’s new technologies. [123002050130] |Soon after KDE Community announcement, Kubuntu KDE 4.0 live CD became available and it is one of ways to get familiar with new KDE 4.0 today. ~ 550 MB ISO images are freely downloadable here (servers are overloaded right now, so be patient ). [123002060010] |Slackware + NetBSD = VoltaLinux [123002060020] |VoltaLinux is a GNU/Linux distribution based on Slackware and includes pkgsrc package system from NetBSD. [123002060030] |Recently this project released 2.0 version of their distro where any system administrator can enjoy the clean design of Slackware and power of *BSD with the availability of more than 5900 ports ready to be installed. [123002060040] |Basically VoltaLinux is intended for servers or small/embedded devices as it requires only 12MB of RAM (it was tested). [123002060050] |I found the idea to cross the power of above mentioned systems quite interesting. [123002060060] |You can download VoltaLinux 2.0 ISO from here, installation instructions are the same as for Slackware. [123002070010] |Linux + 532Mhz CPU + 128Mb RAM + audio/video + Wi-Fi = Photoframe! Huh? [123002070020] |digg_url = http://www.linuxscrew.com/2008/01/15/linux-532mhz-cpu-128mb-ram-audiovideo-wi-fi-photoframe-huh/;One of my favorite sites recently published entertaining brief article about Linux-based device. [123002070030] |Just imagine photoframe with 0.5 Ghz CPU, 128 Mb RAM, up to 16Gb SD memory, MP3/MPEG-4 playback and Wi-Fi. [123002070040] |Huh? [123002070050] |No jokes, it’s upcoming Agfaphoto’s AF5080W product and below are it’s specs! [123002070060] |
  • Processor —Freescale i.MX31 SoC with ARM11 core clocked at 532MHz
  • [123002070070] |
  • Memory —128MB; 5-in-1 memory card reader supporting up to 16GB SD
  • [123002070080] |
  • Display —8-inch, 800×600 SVGA
  • [123002070090] |
  • Images —JPEG, GIF, PNG, WMF
  • [123002070100] |
  • Audio —MP3, WMA
  • [123002070110] |
  • Video —H.264 AVI, MJPEG, MPEG-4 (and via networked STB, MPEG 1 and MPEG-2)
  • [123002070120] |
  • I/O —WiFi, USB
  • [123002070130] |
  • Features —slideshow, clock, calendar, alarm, and remote control
  • [123002070140] |
  • Frame —tripod base with three interchangeable veneers: brushed aluminium, black plastic, and wood effect
  • [123002070150] |As for me, I was impressed and little bit confused: I have internet gateway/proxy with lesser hardware running in our office! [123002070160] |That server can’t do animation-enhanced slideshow, doesn’t have calendar, alarm functions and can’t play video or audio. [123002070170] |But above-mentioned digital photoframe can do it easily, as well as it can play video from STB (set-top box) and transfer data via Wi-Fi. [123002070180] |Nice device among those that aren’t worse buying however potentially are perfect gifts! [123002070190] |The toy is to be shipped by AgfaPhoto and developed by Sagem Communications. [123002070200] |Hardware part is based on Freescale Semiconductor’s i.MX31 system-on-chip (SoC). [123002070210] |There is no official information on pricing and/or availability, but if you’re interested just wait until it appear at AgfaPhoto’s photoframes page. [123002080010] |Sun acquires MySQL AB [123002080020] |Exciting news was published today at Jonathan Schwartz‘ (Chief Executive Officer and President of Sun Microsystems) blog: [123002080030] |We announced big news today –our preliminary results for our fiscal second quarter, and as importantly, that we’re acquiring MySQL AB. …This puts products like MySQL in an interesting position. [123002080040] |They’re a part of every web company’s infrastructure, to be sure. [123002080050] |And though many of the more traditional companies use MySQL (from auto companies to financial institutions to banks and retailers), many have been waiting for a Fortune 500 vendor willing to step up, to provide mission critical global support. [123002080060] |Read full article here and here (official agreement announcement)… [123002090010] |10 good Unix command line habits to pick up [123002090020] |as usual provides us with excellent article about good habits which would help Unix administrators to improve their command line usage efficiency and break away from bad usage patterns in the process. [123002090030] |I was impressed by this article and realized my everyday CLI usage is full of “bad patterns”. [123002090040] |Nice point to give up them and pick up good style. [123002090050] |When you use a system often, you tend to fall into set usage patterns. [123002090060] |Sometimes, you do not start the habit of doing things in the best possible way. [123002090070] |Sometimes, you even pick up bad practices that lead to clutter and clumsiness. [123002090080] |One of the best ways to correct such inadequacies is to conscientiously pick up good habits that counteract them. [123002090090] |This article suggests 10 UNIX command-line habits worth picking up —good habits that help you break many common usage foibles and make you more productive at the command line in the process. [123002090100] |Each habit is described in more detail following the list of good habits. [123002090110] |Those 10 good habits to adopt are: [123002090120] |
  • Make directory trees in a single swipe.
  • [123002090130] |
  • Change the path; do not move the archive.
  • [123002090140] |
  • Combine your commands with control operators.
  • [123002090150] |
  • Quote variables with caution.
  • [123002090160] |
  • Use escape sequences to manage long input.
  • [123002090170] |
  • Group your commands together in a list.
  • [123002090180] |
  • Use xargs outside of find.
  • [123002090190] |
  • Know when grep should do the counting —and when it should step aside.
  • [123002090200] |
  • Match certain fields in output, not just lines.
  • [123002090210] |
  • Stop piping cats.
  • [123002090220] |Full article is here. [123002100010] |Fun: Windows vs. Linux for toasters [123002100020] |digg_url = http://www.linuxscrew.com/2008/01/18/fun-windows-vs-linux-for-toasters/;Last week both systems Microsoft Windows Vivid Toasting Technology (VTT) 2008 Starter Edition and Heatu Linux 9.06 (Dainty Toast) were released for modern toasters. [123002100030] |Yesterday Linux Screw has an opportunity to test both and the results were demonstrated at the Annual Bread Valley Conference at Jan 17 2008 in Texas, USA. [123002100040] |Reactions were mixed as Heatu Linux 9.06 and Windows VTT went head-to-head. [123002100050] |Windows VTT 2008 Starter Edition [123002100060] |The first product of its new Microsoft Kitchen(tm) brand, Windows VTT is designed to make bread toasting more user-friendly. [123002100070] |A Microsoft press release started, “The complications and hassle associated with the production of grilled bread products that made them inaccessible to the end user have been removed with the release of Windows VTT. [123002100080] |Just plug in a slice and play”. [123002100090] |Windows VTT 2008 natively contains drivers for toasters that are based on many heat-generating processors like latest AMToast and new Core Toast Duo. [123002100100] |Other toasters may be used with special drivers included into upcoming Toasting Plus! pack. [123002100110] |Microsoft recommends that VTT 2007 only be used with MS SlicedBread(tm). [123002100120] |A Microsoft spokesman said, “VTT still contains a few issues that make it incompatible with other brands. [123002100130] |We should have a service pack to resolve these problems within six months”. [123002100140] |The VTT demonstrations faced several setbacks. [123002100150] |One of the toasters were actually exploded, causing the fire alarms to go off. [123002100160] |In addition, several toasters produced bread that was burned on one side but cold on the other. [123002100170] |Finally, several times VTT crashed while toasting and had to be rebooted. [123002100180] |Every time that happened the toaster hung up or toasters has typical blue color. [123002100190] |Heatu Linux 9.06 [123002100200] |Heatu 9.06 is completely different than VTT. [123002100210] |Whereas VTT comes pre-installed on many portable toasters (laptoasts also), Heantu must be downloaded from the heatu.com or purchased on CD/DVD and then installed on the toaster. [123002100220] |Installation, however, is fairly easy, and Heatu works on a variety of machines and configurations. [123002100230] |A few proprietary toasters are not supported (such as the I2O-Toast-a-Matic) because the specifications are still not available. [123002100240] |The greatest feature of Dainty Toast (Heatu 9.06) is its multi-user format. [123002100250] |Each user can customize what kind of toast they want, and Heatu will retain the settings for future sessions. [123002100260] |This, however, requires each user to log in. [123002100270] |On the plus side, Heatu can produce toast for several users at once. [123002100280] |Linux Screw team was impressed with the Dainty Toast testing results. [123002100290] |The toasters didn’t crash, didn’t explode, and always produced perfectly toasted bread. [123002100300] |However, some users were concerned about easy-to-use of Linux command line. [123002100310] |Onlookers were impressed after XToast GUI System was shown, one man even lost consciousness when Toastiz window manager effects were demonstrated. [123002100320] |Reactions [123002100330] |While Heatu Linux was more popular, many people expressed a preference for Windows VTT. [123002100340] |“VTT is backed by Microsoft, what is Heatu backed by? [123002100350] |What if something goes wrong with Heatu?” an executive for a bread company asked. [123002100360] |A columnist who had just flown in from the Atlanta Pundit Showcase said, “Windows VTT is yet another innovative Microsoft product. [123002100370] |Microsoft will revolutionize the kitchen appliance industry and bring computerized appliances to the masses.” [123002100380] |Nevertheless, Dainty Toast had a clear edge on VTT. [123002100390] |One attendee clutching a Heatu 9.06 CD-ROM said, “Not only is Heatu free, but it’s also more stable and powerful. [123002100400] |I know what I’m going to be using at home.” [123002100410] |Another person said, “Did you see how that one Windows toaster exploded? [123002100420] |Wow! [123002100430] |I can see where they got the name VTT.” [123002100440] |Finally, after taste testing the bread from Windows VTT, a college student gagged and said, “Yuck! [123002100450] |This is awful. [123002100460] |Windows ‘Plug-and-Play’ technology should be called ‘Plug-and-Burn’.” [123002120010] |10+ advices BEFORE you rebuild Linux kernel [123002120020] |digg_url = http://www.linuxscrew.com/2008/03/04/10-advices-before-you-rebuild-linux-kernel/;Many Linux newbies think that kernel recompilation is inherent and almost necessary thing to do after OS is just installed or some time later. [123002120030] |By the following advices I would try to show these fellows in which situations this really makes sense and what to do if one persists [123002120040] |1. If you don’t know why you should patch/recompile kernel –DO NOT DO THIS. [123002120050] |2. If your running kernel is smart and supports all necessary hardware, technologies and doesn’t contain critical vulnerabilities –DO NOT REBUILD IT. [123002120060] |3. If you don’t know what are kernel patches and why they are used –DO NOT REBUILD KERNEL. [123002120070] |4. If kernel with needed functionality is available as binary package for your distribution (especially in official repositories) –DO NOT BUILD KERNEL. [123002120080] |5. If you insist, certainly read Kernel HOWTO and notes about kernel recompilation in regards to your distribution. [123002120090] |6. Do change kernel config values only if you know what they mean. [123002120100] |7. Don’t forget to build initrd before rebooting your system. [123002120110] |8. Do not remove workable kernel and make it default in boot loader menu (like grub). [123002120120] |9. Don’t panic if something goes wrong –most probably the same situation happened to thousands people earlier. [123002120130] |But sometimes shit happens. [123002120140] |10. Rebuilding procedure usually takes hours depending on hardware you use. [123002120150] |BE PATIENT! [123002120160] |11 (thanks to Erek Dyskant). [123002120170] |Use your distro’s package management system to build kernels whenever possible (like make-kpkg in Debian or rpmbuild in Fedora/RedHat/CentOS) [123002120180] |I really hope this helps and pretty sure you’ll build your “perfect” kernel once [123002120190] |Any further advices are WELCOME! [123002120200] |P.S. Thanks to Stas Kogut for encouraging me to write this post. [123002130010] |Copy files from Windows to Linux safely [123002130020] |Many systems administrators of LAN and WAN networks, which contain Windows, Mac and Linux hosts, once face the problem on how to securely transmit some data between these systems. [123002130030] |It is always possible to use SCP when copying files between two Unix machines but what if you have to move files from Windows PC to Linux server for example? [123002130040] |It’s nice to know that there are good guys who created tool for this operation named WinSCP. [123002130050] |Actually WINSCP is an open source free SFTP client and FTP client for Windows as it’s said on their site. [123002130060] |The following features are supported: [123002130070] |
  • Graphical user interface
  • [123002130080] |
  • Translated into several languages
  • [123002130090] |
  • Integration with Windows (drag&drop, URL, shortcut icons)
  • [123002130100] |
  • U3 support
  • [123002130110] |
  • All common operations with files
  • [123002130120] |
  • Support for SFTP and SCP protocols over SSH-1 and SSH-2 and plain old FTP protocol
  • [123002130130] |
  • Batch file scripting and command-line interface
  • [123002130140] |
  • Directory synchronization in several semi or fully automatic ways
  • [123002130150] |
  • Integrated text editor
  • [123002130160] |
  • Support for SSH password, keyboard-interactive, public key and Kerberos (GSS) authentication
  • [123002130170] |
  • Integrates with Pageant (PuTTY authentication agent) for full support of public key authentication with SSH
  • [123002130180] |
  • Windows Explorer-like and Norton Commander-like interfaces
  • [123002130190] |
  • Optionally stores session information
  • [123002130200] |
  • Optionally supports standalone operation using a configuration file in place of registry entries, suitable for operation from removable media
  • [123002130210] |So, as not every computer runs Linux today yet, you are welcome to use WinSCP meanwhile [123002130220] |There are still many real programmers around the world and that’s why here is SFTP, SCP (any many other protocols) browser for MACs named CYBERDUCK. [123002130230] |It makes no sense to list all features it supports here, so just visit their site to get surprised [123002130240] |P.S. Have a good transfer! [123002140010] |Nagios installation and configuration in SUSE Linux [123002140020] |As we know Nagios is extremely popular open source network monitoring system. [123002140030] |It watches hosts across the local area network (LAN) and/or across the Internet, services that you can specify, alerting you when things go bad. [123002140040] |The following step-by-step guide written by Novel people (actually by Rainer Brunold) for sure would help if you plan to deploy Nagios monitoring system with Novel SUSE Linux. [123002140050] |At least it helped me [123002140060] |I don’t want to write here a full documentation about Nagios, I prefer to give you a basic installation guide so you can set it up very easy and play with it yourself. [123002140070] |The installation guide will show you how to install Nagios as well as some interesting extensions and how they integrate into each other. [123002140080] |During this installation you will make many modifications to the installation that will help to understand how it works, how you can integrate systems and different services. [123002140090] |I will also provide some articles about monitoring special services where I describe what they do and what configuration changes are needed. [123002140100] |All together should give you a very good overview and documentation on how you can enhance the Nagios installation yourself. [123002140110] |The rest of the article is here. [123002140120] |Respect to the author! [123002150010] |ptunnel: send/receive TCP traffic via ICMP reliably [123002150020] |Yes, it can be useful sometimes. [123002150030] |For example, you have access to Wi-Fi network but you’re not allowed to access Internet via TCP/UDP as these protocols are blocked. [123002150040] |At the same time ICMP is opened and you can ping everything alive in Internet. [123002150050] |So, to check your email just have ptunnel installed and work around the restrictions set by the Wi-Fi network sysadmin easily. [123002150060] |Ptunnel is an application that allows you to reliably tunnel TCP connections to a remote host using ICMP echo request and reply packets, commonly known as ping requests and replies. [123002150070] |It is not a feature-rich tool by any means, but it does what it advertises. [123002150080] |So here is what it can do: [123002150090] |
  • Tunnel TCP using ICMP echo request and reply packets
  • [123002150100] |
  • Connections are reliable (lost packets are resent as necessary)
  • [123002150110] |
  • Handles multiple connections
  • [123002150120] |
  • Acceptable bandwidth (150 kb/s downstream and about 50 kb/s upstream are the currently measured maximas for one tunnel)
  • [123002150130] |
  • Authentication, to prevent just anyone from using your proxy
  • [123002150140] |1. Install ptunnel in Ubuntu or Debian apt-get install ptunnel [123002150150] |2. Start ptunnel proxy: [123002150160] |ptunnel -p proxy_address -lp listen_port -da destination_address -dp dest_port [-c network_device] [-v verbosity] [-u] [-x password] [-f file] [123002150170] |The following example assumes that ptunnel is run as root, both on the proxy and client. [123002150180] |To tunnel ssh connections from the client machine via a proxy running on proxy.pingtunnel.com to the computer login.domain.com, the following command line would be used: [123002150190] |ptunnel -p proxy.pingtunnel.com -lp 8000 -da login.domain.com -dp 22 [123002150200] |An ssh connection to login.domain.com can now be established as follows: [123002150210] |ssh -p 8000 localhost [123002150220] |P.S. [123002150230] |A brief manual on how to use ptunnel can be got here. [123002150240] |P.P.S. [123002150250] |If you are sysadmin and have to forbid Internet access to some user in LAN, don’t forget to block ICMP! [123002160010] |Tiny perl script for UDP flooding [123002160020] |Sometimes it is necessary to perform UDP flood towards some network device(s) in order to test its behavior in stress… Actually I am sure that every system administrator might use this small perl script for this purpose. [123002160030] |Certainly there are many special programs for this but believe me that it is much more easier to do the following: [123002160040] |1. #touch >/tmp/flood.pl 2. #chmod +x /tmp/flood.pl 3. [123002160050] |Copy the this code to /tmp/flood.pl: [123002160060] |4. Then /tmp/flood.pl 192.168.0.1 0 0 0, where 192.168.0.1 is IP you would like to flood with huge amount of UDP datagrams. [123002160070] |Thanks to Ivan Pepelnjak from http://ioshints.blogspot.com/. [123002170010] |OpenBSD: Corporate Mail Server with Postfix, MySQL, ClamAV, SA, Amavis-new [123002170020] |Few days ago I started configuring corporate mail server that should be deployed on OpenBSD and comprise the following features: [123002170030] |
  • Easy to configure and powerful MTA (Postfix)
  • [123002170040] |
  • Virtual domains and user accounts (this information is stored in MySQL database)
  • [123002170050] |
  • Antispam and antivirus checking for all accounts (spamassassin and clamav via amavis-new)
  • [123002170060] |
  • Secure access to mailboxes through POP3, IMAP and HTTP (squirellmail)
  • [123002170070] |
  • Secure SMTP server
  • [123002170080] |
  • Extremal Stability and Security
  • [123002170090] |Actually OpenBSD 4.2 was chosen because of it’s “security by default”. [123002170100] |Thankfully Daniele Mazzocchio from friendly site www.kernel-panic.it wrote an excellent article about how to build such mail server on this operating system: [123002170110] |Offering a reliable and secure email service is probably one of the top priorities of most system administrators; therefore, in the next chapters, we will build a full-featured mail server, based on open-source software and focusing on security. [123002170120] |Read more… [123002170130] |The only thing that is not covered by it is mail content filtering with maildrop and vacation messages that users often ask to set while they are out. [123002170140] |Working on it! [123002180010] |Install Ubuntu as Windows XP/Vista Application (with Wubi) [123002180020] |Today it is possible to install Ubuntu Linux 8.04 (Hardy Heron) under Windows XP or Vista without necessity to create separate partition for it. [123002180030] |The tool that allows to do it is called Wubi. [123002180040] |Actually it is Ubuntu installer for Windows helping you ro install and uninstall Ubuntu with few clicks. [123002180050] |Here is nice brief article on how to set it up under Vista: [123002180060] |Wubi adds an entry to the Windows boot menu which allows you to run Linux. [123002180070] |Ubuntu is installed within a file in the Windows file system (c:\wubi\disks\system.virtual.disk), as opposed to being installed within its own partition. [123002180080] |This file is seen by Linux as a real hard disk. [123002180090] |Sweeet! [123002190010] |Mount your Flickr account as regular Linux drive [123002190020] |Flickr is an extremely popular image/video hosting website, web services suite and an online community platform. [123002190030] |It was one of the earliest Web 2.0 applications. [123002190040] |In addition to being a popular Web site for users to share personal photographs, the service is widely used by bloggers as a photo repository. [123002190050] |It hosts more than two billion images. [123002190060] |Now it is possible to mount your Flickr account on Linux PC as a virtual filesystem, allowing you to browse through your photos as if they were on a locally connected drive. [123002190070] |It can be now easily done with Flickrfs: [123002190080] |Once mounted, it retrieves information about your photos hosted on your flickr account, and shows them as files. [123002190090] |You can now easily copy photos from your local machine to this mount, and it will automatically upload them to your flickr account. [123002190100] |Similary, you can copy the files from your mount to your local machine, and it will download your images from flickr. [123002190110] |All the files in the mount have a meta file attached to them, which provides access to title, description, tags, and license information. [123002190120] |Modifying any of these fields and saving the meta file, will update them on the server as well. [123002190130] |You are lucky if you chose Ubuntu as detailed step-by-step installation guide is available at author’s site for Ubuntu users. [123002190140] |Of course you are welcome to use it under other Linux distributions e.g. Slackware [123002200010] |Real 10$ Wi-Fi antenna (Video) [123002200020] |Why spend $100 or more on a Wi-Fi antenna when you can create your own one for $10? [123002200030] |The following components are needed: [123002200040] |
  • 35-mm foam (like the kind desktop and laptop PCs usually come with)
  • [123002200050] |
  • Solid-core copper wire
  • [123002200060] |
  • Small brass plate
  • [123002200070] |
  • Multiple BNC connectors
  • [123002200080] |Follow the instructions in the video: [123002210010] |Why and how to migrate to ext4 [123002210020] |Ext4 is the latest in a long line of Linux file systems, and it’s likely to be as important and popular as its predecessors. [123002210030] |As a Linux system administrator, you should be aware of the advantages, disadvantages, and basic steps for migrating to ext4. [123002210040] |IBM DeveloperWorks article explains when to adopt ext4, how to adapt traditional file system maintenance tool usage to ext4, and how to get the most out of the file system: [123002210050] |The single most dramatic improvement in ext4 is in file and file system size. [123002210060] |Thus, the users who are most likely to need ext4 are those who have more than a few terabytes of disk space. [123002210070] |The list of features in Table 1, though, may present some other tempting improvements. [123002210080] |For instance, you might want to try ext4 if you have directories with huge numbers of subdirectories or if you need timestamps accurate to less than a second. [123002210090] |Read more >> [123002220010] |FAQ: static routes after restart/reboot in Fedora/RedHat/CentOS [123002220020] |Static routing is the term used to refer to the manual method used to set up routing. [123002220030] |An administrator enters routes into the router using configuration commands. [123002220040] |This method has the advantage of being predictable, and simple to set up. [123002220050] |It is easy to manage in small networks but does not scale well. [123002220060] |Question: How can I save static routes I set up in my Fedora/RedHat/CentOS Linux after I reboot server? [123002220070] |Answer: In Fedora Linux (or RedHat, CentOS) you can set up static routes for certain network interface (for example eth1) by editing file /etc/sysconfig/network-scripts/route-eth1. [123002220080] |For example, you have to save static route added by the following command: [123002220090] |route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.100.1 dev eth1 [123002220100] |To do it, just add the following line to /etc/sysconfig/network-scripts/route-eth1: [123002220110] |ADDRESS0=192.168.0.0 NETMASK0=255.255.255.0 GATEWAY0=192.168.100.1 [123002220120] |Information improvisation: We provide guaranteed pass 1z0-451 exam with online microsoft mcp training and 70-681. [123002220130] |You can also get best quality NS0-154 along with 70-620 for your guaranteed success. [123002230010] |FAQ: How to retreive hardware manufacturer name, serial numbers, etc. in Linux command line [123002230020] |Question: How can I get information about hardware manufacturer, model name, serial number, BIOS information using Linux command line (CLI)? [123002230030] |Answer: You are welcome to use dmidecode which helps to get information about your system’s hardware as described in your system BIOS. [123002230040] |That information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details depending on the manufacturer. [123002230050] |Beware that DMI data have proven to be too unreliable to be blindly trusted. [123002230060] |Dmidecode does not scan your hardware, it only reports what the BIOS told it to. [123002230070] |Dmidecode was first written by Alan Cox and is now being further developed and maintained by Jean Delvare. [123002230080] |It is released under the General Public License (GPL). [123002230090] |This tool can be easily downloaded from here (source code) or can be installed as binary package included into repositories of many distributions like Debian, Ubuntu, Gentoo. [123002230100] |FreeBSD version is also available. [123002230110] |Actualy it is reported that dmidecode works well on the following systems: [123002230120] |
  • Linux i386
  • [123002230130] |
  • Linux x86_64
  • [123002230140] |
  • Linux ia64
  • [123002230150] |
  • FreeBSD i386
  • [123002230160] |
  • FreeBSD x86_64
  • [123002230170] |
  • NetBSD i386
  • [123002230180] |
  • OpenBSD i386
  • [123002230190] |
  • BeOS i386
  • [123002230200] |
  • Cygwin i386
  • [123002230210] |
  • Solaris x86 (CVS version)
  • [123002230220] |In Ubuntu (my favourite distro) just execute the following: sudo aptitude install dmidecode (sample output is here). [123002250010] |FAQ: How to unload NIC driver? [123002250020] |Question: I want to reset counters in /proc/net/dev (also shown in ifconfig output as RX and TX bytes) and thus I have to unload network interface driver. [123002250030] |How to do it? [123002250040] |Answer: There are two commands in Linux CLI coming by default which would help to unload drivers: rmmod and modprobe. [123002250050] |First of all it is necessary to find what kernel module controls certain NIC and then unload that module. [123002250060] |For example, you have VIA VT6102 (RHINE-II) network card that is recognized by Linux as eth0 and want to disable its driver temporarily. [123002250070] |Just execute the following: [123002250080] |“sudo rmmod via-rhine” or “sudo modprobe -r eth0” (or “sudo modprobe -r via-rhine“). [123002250090] |You can use command dmesg to determine the name of kernel module you wish to unload. [123002260010] |Download Fedora 9 today and get kernel 2.6.25 and ext4 for FREE! ;) [123002260020] |As it was planned Fedora 9 (codename “Sulphur“) is released today. [123002260030] |As for me it wasn’t such expected as Ubuntu Hardy Heron but it is still very important event in Open Source world. [123002260040] |So, here is the list of new features in this version of RedHat sponsored Linux distribution: [123002260050] |
  • This release features GNOME 2.22. [123002260060] |GNOME now includes a webcam photo and video creation utility called Cheese, improved network filesystem support, a new international clock applet, Google Calendar support and custom email labels in Evolution, a new Remote Desktop Viewer, improved accessibility features, and PolicyKit integration.
  • [123002260070] |
  • KDE 4.0.3 is available in the KDE Live image as well as the regular DVD.
  • [123002260080] |
  • Xfce 4.4.2 is available as part of this release.
  • [123002260090] |
  • NetworkManager 0.7 provides improved mobile broadband support, including GSM and CDMA devices, and now supports multiple devices and ad-hoc networking for sharing connections. [123002260100] |It is now enabled by default on installations from DVD, CD, the network, and Live images.
  • [123002260110] |
  • The Fedora installer, Anaconda, now supports partition resizing for ext2/3, NTFS filesystems, creating and installing to encrypted file systems, improved Rescue Mode with FirstAidKit, independent locations for the second stage installer and the software packages. [123002260120] |A redesigned, larger netboot.iso image now features a second stage installer partly for this reason.
  • [123002260130] |
  • Live USB images now support persistence, so your data and setting changes will be preserved even after rebooting.
  • [123002260140] |
  • PackageKit, a new set of graphical and console tools, with a framework for cross-distribution software management, has replaced Pirut in this release of Fedora. [123002260150] |The PackageKit graphical updater is available instead of Pup. [123002260160] |Behind PackageKit, the performance of yum has been significantly improved.
  • [123002260170] |
  • FreeIPA makes managing auditing, identity and policy processes easier by providing web-based and command line provisioning, and administration tools to ease system administration. [123002260180] |FreeIPA combines the power of the Fedora Directory Server with FreeRADIUS, MIT Kerberos, NTP and DNS to provide an easy, out of the box solution.
  • [123002260190] |
  • Ext4, the next version of the mature and stable ext3 filesystem is available as a option in this release. [123002260200] |Ext4 features better performance, higher storage capacity and several other new features.
  • [123002260210] |
  • This release of Fedora uses Upstart, an event-based replacement for the /sbin/init daemon.
  • [123002260220] |
  • Firefox 3 brings a number of major improvements including a native look and feel, desktop integration, the new Places replacement for bookmarks, and a re-worked address bar.
  • [123002260230] |
  • The completely free and open source Java environment OpenJDK 6 is installed by default. [123002260240] |IcedTea 7, derived from OpenJDK 1.7, is no longer the default. [123002260250] |IcedTea includes a browser plug-in based on GCJ, and is available for both x86 and x86_64 architectures. [123002260260] |GCJ is still the default on PPC architecture.
  • [123002260270] |
  • OpenOffice.org 2.4, with many new features, is available as part of Fedora 9.
  • [123002260280] |
  • Fedora now includes Perl 5.10.0, which features a smaller memory footprint and other improvements.
  • [123002260290] |
  • Fedora now includes TeXLive to replace the older, unmaintained TeX distribution.
  • [123002260300] |
  • Fedora 9 features a 2.6.25 based kernel.
  • [123002260310] |
  • Kernel crashes can be more automatically reported to http://www.kerneloops.org/ and diagnosed in a friendly way via the kerneloops package installed by default. [123002260320] |Crash signatures are commonly referred to as oopses in Linux.
  • [123002260330] |
  • Work on the start-up and shutdown in X has yielded noticeable improvements.
  • [123002260340] |***** Download Fedora 9 here [123002260350] |***** Complete Release Notes are here [123002260360] |***** Here is the link to Fedora Wiki [123002280010] |FAQ: How to disable directory browsing in apache/httpd? [123002280020] |Question: How can I disable building of directory index in apache/httpd? [123002280030] |In other words, how to prevent users from seeing the contents of published directories? [123002280040] |Answer: Actually you are totally right that you wish to disable this feature. [123002280050] |One of the “must do’s” on setting a secure apache web server is to disable directory browsing. [123002280060] |Usually apache comes with this feature enabled but its always a good idea to get it disabled unless you really need it. [123002280070] |First of all find where is the main apache’s config file httpd.conf is located. [123002280080] |If you use Debian, it should be here: /etc/apache/httpd.conf. [123002280090] |Using some file editor like Vim or Nano open this file and find the line that looks as follows: [123002280100] |Options Includes Indexes FollowSymLinks MultiViews [123002280110] |then remove word Indexes and save the file. [123002280120] |The line should look like this one: [123002280130] |Options Includes FollowSymLinks MultiViews [123002280140] |After it is done, restart apache (e.g. /etc/init.d/apache restart in Debian). [123002280150] |That’s it! [123002290010] |The Simpsons are made with Linux... [123002290020] |Below are the quotes from rather interesting interview with Joel Cohen, writer and associate producer of The Simpsons. [123002290030] |Joel is an Emmy award-winning writer and a keynote speaker at the Red Hat Summit this June. [123002290040] |The Simpsons is usually described as satirical parody of the middle class American lifestyle epitomized by its titular family (wiki’s one). [123002290050] |Crudely animated scenes were produced with Red Hat Enterprise Linux and Linux animation technology, so our animators were able to show us these scenes incredibly quicky… [123002290060] |The Simpsons has been on for 20 years now. [123002290070] |What does the team do to keep creativity alive for that long? [123002290080] |I look forward to talking about this more at the Summit, but basically it is a lot of brainstorming, building on ideas, constantly pushing ourselves to find new, previously un-mined veins for stories and jokes, and shamelessly ripping off other people’s ideas (somehow this last one is the easiest). [123002290090] |How did you wander from a career in sales to writing for The Simpsons and other shows and movies? [123002290100] |A question my parents have asked me repeatedly, although when they ask, they are more sneering and judgmental. [123002290110] |I noticed while Googling that there’s another Joel Cohen who turned out to be a biologist. [123002290120] |Maybe you could convince them that’s you. [123002290130] |Although he appears to have more than a few years on you in age, so make sure the parents have images turned off when they’re surfing. [123002290140] |It is for exactly that reason that I have refused to allow my parents home to have electricity–that way they can never look me up on a computer. [123002290150] |The power generated by the water wheel isn’t enough to run anything but the basic necessities. [123002290160] |Some people call it cruel, I call it protecting my self-interests. [123002290170] |I always wanted to write; I just never really pursued it until I found myself in LA growing bored with my sales job. [123002290180] |Once I made the decision to pursue a career in writing, it was incredibly tough, and were it not for getting the chance to write some jokes for the comedian Kathy Griffin, I very well might still be selling bad movies to video stores or late night commercial spots on CNN Latin America. [123002290190] |So the next time someone out there rents a bad movie or hears of an insomniac in Peru buying something they saw on late night TV, well, that’s my legacy. [123002290200] |Can you explain how The Simpsons used Linux? [123002290210] |Well, before I answer this, I first will admit to being only a writer and consequently both ignorant and in awe of our animators and their process. [123002290220] |That said, based on conversations with them, I am willing to commit to the following answer: [123002290230] |The show is all hand-drawn and digitally animated, and the movie was too. [123002290240] |However, because we were writing and re-writing the movie at such a furious pace, the scenes we would write needed to be seen and approved or revised (or often rejected) before they committed to the very labor-intensive process of hand drawing the cels. [123002290250] |For that purpose, crudely animated scenes were produced with Red Hat Enterprise Linux and Linux animation technology, so our animators were able to show us these scenes incredibly quickly. [123002290260] |Once a scene or piece of a scene was approved, it would begin the more traditional animation route; however, the volume and speed of material that was created for the movie could never have been done without that Red Hat-fueled system. [123002290270] |I saw an interview with you and Tim Long where you guys mentioned that the Americans were writing most of the Canada jokes on the show. [123002290280] |Any cracks on Canada you need to set straight? [123002290290] |We once had an episode where a bunch of characters sang “Oh, Canada” (the national anthem), and I noticed that they skipped a line in the song when they sang. [123002290300] |I pointed it out to my boss, and he said no one would notice. [123002290310] |I was of course indignant until the episode aired in Canada and the US and indeed, no one did notice. [123002290320] |Therefore, I’ve given up and just try every day not to be teased too much by the American bullies I work with. [123002290330] |Who’s been your favorite character to write, major or minor? [123002290340] |I love writing for Moe the bartender and Ralph Wiggum. [123002290350] |It’s a chance to explore the furthest depths of misery and stupidity respectively –both wonderful places to visit and even better to come home from. [123002290360] |And of course we have to ask… What’s your favorite episode? [123002290370] |Or even a top 5? [123002290380] |My very favorite episode is one I saw a crude version of my first day and was absolutely blown away by. [123002290390] |It is a homage to the VH1 show “Behind the Music,” but our version is called “Behind the Laughter.” [123002290400] |My very first half-hour working on the show was spent watching this episode, and I was amazed by how great it was. [123002290410] |My second half-hour was spent hearing all of the talented writers on the show talking about how to make it better–and they were right. [123002290420] |It was like sitting around with amazing artists as they talked about how to improve the Mona Lisa. [123002290430] |The final product is terrific, and as such, I have a fondness for it. [123002290440] |It also may be the only episode of the show since I have worked there that hasn’t gotten worse as a result of my presence. [123002300010] |Bug #1 in Ubuntu [123002300020] |By the way do you know what bug was posted by Mark Shuttleworth as a first and major one? [123002300030] |Here it is (2004-08-20): [123002300040] |Microsoft has a majority market share in the new desktop PC marketplace. [123002300050] |This is a bug, which Ubuntu is designed to fix. [123002300060] |Non-free software is holding back innovation in the IT industry, restricting access to IT to a small part of the world’s population and limiting the ability of software developers to reach their full potential, globally. [123002300070] |This bug is widely evident in the PC industry. [123002300080] |Steps to repeat: 1. [123002300090] |Visit a local PC store. [123002300100] |What happens: 2. [123002300110] |Observe that a majority of PCs for sale have non-free software pre-installed. [123002300120] |3. Observe very few PCs with Ubuntu and free software pre-installed. [123002300130] |What should happen: 1. [123002300140] |A majority of the PCs for sale should include only free software like Ubuntu. [123002300150] |2. Ubuntu should be marketed in a way such that its amazing features and benefits would be apparent and known by all. [123002300160] |3. The system shall become more and more user friendly as time passes. [123002300170] |No jokes, here is permanent link to this at launchpad. [123002300180] |I strongly recommend to read the comments (selectively) at least in order to watch how Open Source world changed since 2004… [123002310010] |Why did Ubuntu become so popular? UbuntuCat's point of view. [123002310020] |Were you wondering why Ubuntu is Linux distribution #1 for new users (and not new) and how could it become so popular leaving behind such old-times like Mandriva, Linspire, Fedora and even Ubuntu’s ancestor Debian? [123002310030] |I was. [123002310040] |And as for me, I think that people stick to community rather than to technology… Do you agree? [123002310050] |Here is the nice article to read in which UbuntuCat (one of the most active writers at ubuntuforums.org) tries to find out how did Ubuntu end up so popular… [123002310060] |I think this goes along with the forums being less intimidating, but associating the Ubuntu “Humanity Towards Others” philosophy with the distro seemed to give it a purpose and a flavor beyond mere technology. [123002310070] |Read more >> [123002320010] |Create .deb or .rpm from .tar.gz with checkinstall [123002320020] |Checkinstall is extremely useful utility to create .deb packages for Debian, Ubuntu (or .rpm packages for Fedora, RedHat, CentOs) from .tar.gz (or .tgz) source tarball after it’s compiled at your Linux box. [123002320030] |In other words you can prepare binary package for later usage without need to compile software from sources every time you need to get it installed on certain Linux box. [123002320040] |Another application of checkinstall is software deinstallation that was compiled and installed from sources. [123002320050] |As you might already noticed, not every programmer adds “uninstall” rule to Makefile and thus command “make uninstall” would fail. [123002320060] |The nice solution is to use checkinstall to prepare binary package from sources and then install or uninstall it with dpkg command (or rpm in RedHat based distributions). [123002320070] |Here is the short algorithm on how to prepare .deb package from clamav source tarball: [123002320080] |1. Install checkinstall: sudo aptitude -y install checkinstall (Ubuntu, Debian and related distributions) or sudo yum install -y checkinstall (for rpm based distributions, please note that checkinstall usually isn’t included to standard Fedora/RedHat repositories, so you will need to link up third party repo like DAG) or compile checkinstall from sources [123002320090] |2. Get clamav sources: wget http://mesh.dl.sourceforge.net/sourceforge/clamav/clamav-0.81.tar.gz (as an example) [123002320100] |3. Install libraries that might be necessary for clamav compilation: sudo aptitude install libgmp3 libgmp3-dev (this command is applicable for Debian and certainly will be different for Fedora or RedHat) [123002320110] |4. Compile clamav: tar xvfz clamav-0.81.tar.gz cd clamav-0.81/ ./configure --sysconfdir=/etc make [123002320120] |5. Run checkinstall and follow its intuitive instructions (enter package description etc.): sudo checkinstall -D make install [123002320130] |6. When finished you’ll get clamav-0.81_0.81-1_i386.deb (or rpm package if you use Fedora/RedHat/CentOs) you may want to install with sudo dpkg -i clamav-0.81_0.81-1_i386.deb (or sudo rpm -i ...) or move to another PC for later installation. [123002330010] |FAQ: How to set up atomatic Linux reboot if kernel panic occurs? [123002330020] |Question: How can I get my Linux server rebooted/restarted automatically if it caught a kernel panic? [123002330030] |Answer: As you might know, kernel panic is an action taken by an operating system upon detecting an internal fatal error from which it cannot safely recover; the term is largely specific to Unix and Unix-like systems (it’s a wiki’s description). [123002330040] |By default Linux wouldn’t not reboot after panic occurs, but the following option of sysctl will cause a kernel to reboot after N seconds you specify. [123002330050] |In our example server will be rebooted in 15 seconds if kernel panic stopped its operation: [123002330060] |1. Open sysctl’s configuration file: sudo nano /etc/sysctl.conf [123002330070] |2. Add there the following line: kernel.panic = 15 [123002330080] |or [123002330090] |1. Execute the following command: /sbin/sysctl -w kernel.panic=15 [123002330100] |Hope it helps! [123002330110] |Information improvisation: Sign up with 000-151 exam for getting incredible online itil v3 certification courses and 199-01 prep guides. [123002330120] |We also provide best 000-979 dumps HP2-T16 with guaranteed success. [123002340010] |Linux aternatives to Windows software roundup [123002340020] |Below are the links to sites you may want to visit in order to find Linux equivalent of certain commercial Windows software: [123002340030] |1. Open Source Alternative Quick and useful guide to the best open source software. [123002340040] |You can fing here the open source alternatives to your favorite commercial products (not only Windows ones). [123002340050] |The main advantage of this site is that you can browse through their software categories and compare pros and cons of both commercial products as well as open source software. [123002340060] |2. The Linux Alternative Project [123002340070] |The goal is to provide an informational and available website for all linux users. [123002340080] |I will be periodically updating the database with Windows software and the Linux equivalents and alternatives. [123002340090] |Nice and simple site to find Windows software alternative project name and see comments on it for your Linux box. [123002340100] |3. Linux Screw’s Windows Software => Linux Software page That page is based on Linux Alternative Project’s staff but it is updated more often and contains some new applications suggested by our visitors. [123002340110] |You are welcome to leave a comment and offer and Linux or Windows application you wish to be added to Linux Screw’s software equivalents list. [123002340120] |4. LinuxQuestions.org’s Linux Software equivalents page This is categorized list of programs that was prepared to prevent duplicating threads like “Where can I get a program for Linux that is similar to XYZ program on Windows?”. [123002340130] |Useful and informative list. [123002340140] |5. Windows-Linux Software Russian table of equivalents / replacements / analogs of Windows software in Linux. [123002340150] |Very informative and descriptive. [123002340160] |The page is available in many languages including English, Russian, Italian, Spanish, French, German and others. [123002340170] |Of course you are welcome to use Google to find needed software [123002350010] |#ln -s /dev/null /dev/clue [123002350020] |found at http://17outs.com/. [123002360010] |Change MAC address of network interface in Linux [123002360020] |Well, thankfully this is rather trivial task for Linux and you can change MAC address of your network adapter using a few CLI/console commands. [123002360030] |Honestly speaking it is impossible to literally change MAC address as it’s loaded into firmware but you can configure Linux so it will transform old MAC to the new one the fly. [123002360040] |The commands are are below but before typing them let’s consider why one might need this. [123002360050] |One of the simplest examples is here: you acquire IP address, gateway, DNS entries via DHCP server which is set up to give out your IP settings to your MAC address only so if you change [possibly broken] network adapter you will need to ask sysadmin to change DHCP server’s settings… If this looks familiar to you, just type the following commands with sudo prefix or under superuser/root: [123002360060] |ifconfig eth0 down ifconfig eth0 hw ether 00:19:7e:53:8c:a3 ifconfig eth0 up [123002360070] |eth0 –is hardware name of your network interface, you can use ip link to see all available interfaces identified by your system. [123002360080] |00:19:7e:53:8c:a3 is new MAC address you’d like to apply to the NIC. [123002360090] |These commands should be added into startup scripts if you require them to appear after Linux system reboots. [123002360100] |This works on any distribution like Fedora, Ubuntu, Debian, RedHat, Suse whatever. [123002370010] |FAQ: How to block/allow packets sent by specific Operating System with iptables? [123002370020] |Question: How can I block traffic coming from specific operating system in Linux? [123002370030] |In other words, how can I block traffic from Windows users on my firewall and allows other people? [123002370040] |Answer: There is an iptables module named OSF (passive OS Fingerprinting) that was written by Evgeniy Polyakov. [123002370050] |This module allows passively detect OS packet was sent from and perform various netfilter actions based on this match. [123002370060] |Packets with SYN bit set are analyzed. [123002370070] |In order to install OSF module, do the following: [123002370080] |1. Download latest release from here, for example as follows: wget http://tservice.net.ru/~s0mbre/archive/osf/osf-2008_06_14.tar.gz [123002370090] |2. Edit Makefile from unpacked archive in order to set proper path to iptables headers (iptables.h and libiptc/ dir). [123002370100] |3. If your kernel sources can not be accessed via /lib/modules/$(shell uname -r)/build, you have to replace KDIR variable with the correct path to kernel sources. [123002370110] |4. Run make that should build ipt_osf.ko kernel module. [123002370120] |5. Run make lib that will build libipt_osf.so shared library (copy it to where all other iptables shared libs are placed in your distro e.g. /lib/iptables or /lib64/iptables in Fedora). [123002370130] |6. Run make bin that will build userspace applications which allows to load fingerprints and obtain information about matched packets (load, osfd, ucon_osf). [123002370140] |7. Download signatures list: wget http://www.openbsd.org/cgi-bin/cvsweb/src/etc/pf.os [123002370150] |8. Install kernel module: insmod ./ipt_osf.ko [123002370160] |9. Load signatures: ./load ./pf.os /proc/sys/net/ipv4/osf [123002370170] |10. Set up iptables rules allowing/disallowing packets generated by certain OS: iptables -I INPUT -j ACCEPT -p tcp -m osf --genre Linux --log 0 --ttl 2 [123002370180] |This example allows traffic from Linux systems and logs packets from other ones: ipt_osf: Windows [2000:SP3:Windows XP Pro SP1, 2000 SP3]: 11.22.33.55:4024 -> 11.22.33.44:139 [123002370190] |BTW, OSF has following options: [123002370200] |
  • –log If present, OSF will log determined genres even if they don’t match desired one. [123002370210] |0 –log all matched and unknown entries. [123002370220] |1 –only first one. [123002370230] |2 –log all matched entries.
  • [123002370240] |
  • –ttl 0 –true ip and fingerprint TTL comparison. [123002370250] |Works for LAN. [123002370260] |1 –check if ip TTL is less than fingerprint one. [123002370270] |Works for global addresses. [123002370280] |2 –do not compare TTL at all. [123002370290] |Allows to detect NMAP, but can produce false results.
  • [123002370300] |
  • –connector If present, OSF will log all events also through netlink connector(1.0 id). [123002370310] |More about connector can be found in Documentation/connector in kernel source tree.
  • [123002380010] |Install Firefox 3 in Debian Etch [123002380020] |If you downloaded fresh Firefox 3 installation e.g. from here and tried to install it in Debian Etch, you might notice that latest version of the popular browser requires GTK+ 2.10 while Etch contains only 2.8: [123002380030] |Thankfully there is no need to upgrade GTK+, the tips given here (and here) will keep you from headache. [123002380040] |The only thing that is necessary to do to get Firefox 3 working at Debian Etch, is to get GTK+ from backports by the following commands: [123002380050] |wget http://apt.linex.org/linex/gtk-2.10/libgtk2.0-0_2.10.13-2%7Ebpo.1_i386.deb dpkg-deb -x libgtk2.0-0_2.10.13-2~bpo.1_i386.deb gtk2-10 [123002380060] |Then copy contents of newly created directory gtk2-10 to /opt/firefox3 and add the following line into /opt/firefox3/firefox: [123002380070] |#!/bin/sh # export LD_LIBRARY_PATH="/opt/firefox3/gtk2-10/usr/lib" [123002380080] |It is necessary to inform Firefox where is new GTK+ is located Now it’s time to start Firefox… [123002380090] |P.S. [123002380100] |In other distributions you can try to compile/install GTK+2.10 manually: cd /usr/local/src wget http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/gtk+-2.10.14.tar.bz2 tar xjf gtk+-2.10.14.tar.bz2 mkdir gtk210 cd gtk+-2.10.14 ./configure --prefix=/opt/firefox3/gtk2-10 make install [123002390010] |Configure Sudo: no password for certain commands (nopasswd) [123002390020] |Sudo (Super User Do) is Linux console only utility allowing users to execute programs which require root rights without knowing root password. [123002390030] |There are lots of topic why sudo rocks on the Web so here you can find a tip how to configure sudo in order to execute certain root right requiring programs without any passwords (it known as sudo nopasswd). [123002390040] |There are several ways to configure sudo in Linux regardless distribution you use. [123002390050] |Its configuration file is located at /etc/sudoers and can be edited using any text editor like vi, nano, pico, gedit, mcedit whatever: [123002390060] |sudo vi /etc/sudoers or sudo visudo [123002390070] |So, in order to allow user named artemn to execute, say, ifconfig command and assign IP addresses, netmasks to interfaces, add the following line to /etc/sudoers: [123002390080] |artemn ALL = PASSWD: ALL, NOPASSWD: /sbin/ifconfig [123002390090] |Please notice if there is already line for artemn in sudoers file, just replace it with the new one. [123002400010] |Set Linux Gateway [123002400020] |One can say that it is rather trivial task to set Linux gateway (or in other words to set up/change default gateway in Linux operating system) but I noticed that this question is one of the most popular among linux newbies so I decided to post a quick tip here on Linux Screw. [123002400030] |There are two most used ways to set up default gateway using Linux console. [123002400040] |Of course modern linux distributions comes with graphical tools and programs for this purpose but old school CLI commands will live forever as are very simple and allow to do the job very quickly: [123002400050] |route add default gw 10.0.0.1 where 10.0.0.1 is IPv4 IP address of default gatway you would like to set up in your Linux. [123002400060] |ip route add default via 10.0.0.1 [123002400070] |According to general networking recommendation it is a good practice to have gateway’s IP as the last IP from selected pool so very often default gateway’s IP will end with .254 e.g. 10.0.0.254. [123002400080] |Anyway using above mentioned commands you can apply ANY default gateway. [123002400090] |By the way, if you’d like to delete current default gateway, here is corresponding command: [123002400100] |route del default [123002400110] |Hope it helps! [123002400120] |P.S. Don’t forget that these commands require root previleges. [123002410010] |FAQ: Reconfigure Xorg: Ubuntu way [123002410020] |Q: How can I reconfigure Xorg windows system in Ubuntu? [123002410030] |I played with its configuration and broke it! [123002410040] |A: First recommendation is to always save a copy of /etc/X11/xorg.conf before editing it. [123002410050] |Once you decide you would like system to create new xorg.conf type one of these commands and follow instructions at the screen: [123002410060] |dpkg-reconfigure xserver-xorg [123002410070] |or [123002410080] |sudo dpkg-reconfigure xserver-xorg [123002410090] |In most cases it helps. [123002410100] |Update: for automatic configuration (autodetect) you should use the following: [123002410110] |sudo dpkg-reconfigure -phigh xserver-xorg [123002420010] |MySQL Replication Manual [123002420020] |This quick manual tells how to set up database replication in MySQL. [123002420030] |Basically it was written for 5.* MySQL versions but is also applicable for 3.23/4.0 ones (btw they are still in use, believe me). [123002420040] |As you might already know, replication allows you to create a copy of certain MySQL database from a master server on another server (slave). [123002420050] |What is the most important, all updates made to that database on master server will be replicated to the database on the slave server immediately, so that both databases are synchronized almost in real time mode (if you need completely real-time synchronization/mirroring, the only solution is to deploy MySQL cluster). [123002420060] |One of the main issues is that replication features coming out-of-the-box with Open Source MySQL software don’t provide full back/forward compatibility. [123002420070] |This means that you can easily replicate data from master and slave of the same MySQL versions only e.g. 5.0. [123002420080] |But if you like to replicate database from 5.0 master to 4.0 slave (or from 3.23 master to 5.0 slave), it is not possible in most cases. [123002420090] |From the beginning we have two Linux boxes with MySQL installed (5.0.27 version in my example), server has database reptest we need to replicate to slave. [123002420100] |A. Configure Master: [123002420110] |Configure MySQL to accept incoming connections from another hosts in the network. [123002420120] |In order to do it, comment the following lines in /etc/my.cnf (exact location depends on Linux distribution you use) as follows: [123002420130] |#skip-networking #bind-address=127.0.0.1 [123002420140] |and restart MySQL by “/etc/init.d/mysql restart” or “mysqladmin reload” command. [123002420150] |Make sure that slave can access master’s MySQL via network (e.g. execute on slave “telnet 3306“). [123002420160] |The next step is to configure master to log all database changes into binary log that will be used by slave for replicating, add the following lines to /etc/my.cnf in [mysqld] section: [123002420170] |log_bin = mysql-bin binlog-do-db=reptest server-id=1 [123002420180] |Then restart MySQL and log on to its shell with root rights: [123002420190] |/etc/init.d/mysql restart mysql -u root -p Enter password: [123002420200] |Type in MySQL shell the following commands: [123002420210] |GRANT REPLICATION SLAVE ON *.* TO 'slave_user'@'%' IDENTIFIED BY 'slave_password'; FLUSH PRIVILEGES; [123002420220] |Note: If you use 4.0 MySQL or older, you need to replace REPLICATION SLAVE in above line to FILE, so the lines will look like: [123002420230] |GRANT FILE ON *.* TO 'slave_user'@'%' IDENTIFIED BY 'slave_password'; FLUSH PRIVILEGES; [123002420240] |The next commands are: [123002420250] |USE reptest; FLUSH TABLES WITH READ LOCK; SHOW MASTER STATUS; [123002420260] |The last command should provide the following output we will use later on slave server: [123002420270] |Now quit from MySQL shell as we need to prepare current dump of reptest database: quit. [123002420280] |Now, run from shell “mysqldump -u root -p --opt reptest >reptest.sql” and transfer reptest.sql file to slave server. [123002420290] |2. Configure Slave: [123002420300] |Create reptest database: [123002420310] |mysqladmin create reptest [123002420320] |and apply previously created/transfered dump to it via command: [123002420330] |mysql -u root -p reptest [123002420340] |Now edit /etc/my.cnf on slave and add the following lines to [mysqld] section: [123002420350] |server-id=2 master-host=192.168.0.1 master-user=slave_user master-password=slave_password master-connect-retry=60 replicate-do-db=reptest [123002420360] |where 192.168.0.1 is IP address of the server and server-id is unique ID assigned to slave Linux box. [123002420370] |Now restart MySQL with /etc/init.d/mysql restart and log on MySQL shell: [123002420380] |mysql -u root -p reptest Enter password: [123002420390] |The next step is to apply changes saved in binary log on server: [123002420400] |SLAVE STOP; CHANGE MASTER TO MASTER_HOST='192.168.0.1', MASTER_USER='slave_user', MASTER_PASSWORD='slave_password', MASTER_LOG_FILE='mysql-bin.001', MASTER_LOG_POS=73; SLAVE START; [123002420410] |Now whenever reptest is updated on the master, all changes will be replicated to reptest on the slave. [123002420420] |Here are useful links you can use to get more information about MySQL replication and how to configure it: [123002420430] |http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html http://www.howtoforge.com/mysql_database_replication http://www.onlamp.com/pub/a/onlamp/2005/06/16/MySQLian.html [123002420440] |If you’re planning to replicate on a remotely hosted machine, here are some of the best MySQL hosting plans. [123002440010] |OpenLDAP + Samba Domain Controller on Debian or Ubuntu [123002440020] |Historically domain controllers (DCs) were Windows servers responding to security authentication requests (logging in, etc.) within the Windows Server domain. [123002440030] |Today Samba project goes beyond emulating Windows shares and can be used as Primary Domain Controller in Windows network. [123002440040] |To help people who are under installing/configuring Samba as a DC in their network I published here several links which helped me with this task. [123002440050] |First of all, be ready for long time configuring as compared with Windows Active Directory configuration it takes much more time to do the same task with Samba… But practically vendor independent solutions usually worth time spent on compiling, installing, configuration and maintenance. [123002440060] |Why Debian/Ubuntu? [123002440070] |Looking through Google’s findings regarding DC set up on these distributions, I noticed some kind of lack of the quality resources lying at the top. [123002440080] |1. The first place one should visit in order to start with above mentioned task is Samba official documentation. [123002440090] |Probably not everything that is covered by it would be used, but this is the only place you can find some special aspects of installation and configuration their software. [123002440100] |2. Ricky Jone’s article on howtoforge.com is an excellent guide on how to get the task done on Ubuntu 7.10. [123002440110] |3. Excellent article “SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 6.10” written by Till Brehm is applicable also for later Ubuntu versions. [123002440120] |4. Steve Lacey wrote interesting and informative article about Samba on Debian as primary DC on his blog. [123002440130] |5. A certain mawi wrote very informative manual: [123002440140] |Samba And Ldap On DebianUpload a Document to Scribd Read this document on Scribd: Samba And Ldap On Debian [123002450010] |Comparing Bash with... Windows command line shell... [123002450020] |You may already be known that Microsoft claims that Windows PowerShell (comes with its Vista by default) script language helps IT professionals achieve greater control and productivity and to accelerate the automation during system administration process. [123002450030] |As a non-Windows but *nix systems administrator/engineer I was always interested if it is possible to access those functions and objects we can easily get in Bash (of course we are talking about each operation system’s specific procedures and objects). [123002450040] |And these days I came across a good article “Shell Games” (by Marcus Nasarek) telling about above mentioned matters… [123002450050] |Both Bash and the Windows Vista PowerShell include commands for navigating directories, managing files, and launching other programs. [123002450060] |System administration is an important duty for the shell, and Bash and PowerShell are equipped to help manage systems from the command prompt. [123002450070] |Whereas Bash typically relies on a combination of newer tools and classic Unix utilities, the PowerShell has its own set of command-line programs. [123002450080] |Windows refers to PowerShell commands as cmdlets. [123002450090] |The PowerShell cmdlet called Get-Process is a counterpart to ps, and the cmdlet Get-Content corresponds to less. [123002450100] |PowerShell differs significantly from previous Windows command shells. [123002450110] |In this article, I look at how Windows Vista PowerShell compares with Bash. [123002450120] |Read more >> [123002450130] |More useful links: [123002450140] |1. Microsoft PowerShell official page 2. [123002450150] |Bash Reference Manual 3. [123002450160] |GNU Bash for Windows [123002460010] |Ubuntu Install Gnome [123002460020] |Why one should want to install Gnome in Ubuntu as it comes with this distribution by default? [123002460030] |The answer is rather short: it works for Ubuntu server initially installed without X window manager. [123002460040] |Here you go: [123002460050] |sudo aptitude install ubuntu-desktop gdm [123002460060] |When done you can run gnome desktop manager (gdm) and type your username and password to access Gnome Desktop and start using GUI applications: [123002460070] |sudo /etc/init.d/gdm start [123002460080] |If you still have troubles with starting gnome once installed necessary apt packages, most the probably the problme is in improper video driver selected by default. [123002460090] |Try the command below or use google or ubuntu forums to find more information about “xorg.conf”: [123002460100] |sudo dpkg-reconfigure xserver-xorg [123002470010] |FAQ: How to order pizza from Linux CLI? [123002470020] |Q: How can I order my favourite pizza by using Linux command line interface? [123002470030] |A: Well… You can use Pizza Party application written by Cory Arcangel and Michael Frumin! [123002470040] |Here are some features this outstanding application provides: [123002470050] |
  • Can order pizza with only a few keystrokes.
  • [123002470060] |
  • Can save pizza preferences.
  • [123002470070] |
  • Can use batch files for ordering many pizzas.
  • [123002470080] |
  • Has easy to use flags for ordering different toppings.
  • [123002470090] |
  • Runs on most UNIX-like operating systems.
  • [123002470100] |
  • Supports most currently popular topings like “mushrooms”, and “pepperoni”!
  • [123002470110] |
  • Unattended / background operation.
  • [123002470120] |
  • Pizza Party is distributed under the GNU General Public License.
  • [123002470130] |Download Pizza Party’s initial source code here and python ported version from this link. [123002470140] |P.S. [123002470150] |This portion of Friday humour is provided by Royal HeHe2-ness! [123002470160] |Information improvisation: You can sign up for 70-576 training program to guarantee passes your HP0-J43 exam. [123002470170] |We also offer best quality self study resources for 70-536 OG0-093, have you ever heard about 000-152, they are stunning in IT world. [123002480010] |Linux Screw is up and running! [123002480020] |Due to technical and financial issues Linux Screw site was down since end of August… Now we are happy to announce that we are up again and ready to provide our visitors (you ) with interesting information, docs, tips, manuals etc. [123002480030] |Great thanks to our readers for being with us! [123002490010] |Future plans for Ubuntu 9.04 (Jaunty Jackalope) [123002490020] |Today Mark Shuttleworth unveiled in ubuntu-devel-announce mail-lists some future plans for Ubuntu 9.04 that will be named as The Jaunty Jackalope. [123002490030] |Here is the part of Mark’s short message: [123002490040] |There are some specific goals that we need to meet in Jaunty. [123002490050] |One of them is boot time. [123002490060] |We want Ubuntu to boot as fast as possible –both in the standard case, and especially when it is being tailored to a specific device. [123002490070] |The Jackalope is known for being so fast that it’s extremely hard to catch, and breeds only when lightning flashes. [123002490080] |Let’s see if we can make booting or resuming Ubuntu blindingly quick. [123002490090] |“Fast boot time…” sounds like really good idea… [123002510010] |Another 10 good Unix habits to pickup [123002510020] |Well, IBM publishes a new article about useful Unix command line habits as a follow-up to Michael Stutz’s article. [123002510030] |I promise that after reading this article you will say something like “A-ha, I didn’t know you could do that!” [123002510040] |Here is the part of that staff: [123002510050] |The !$ command returns the last argument used with a command. [123002510060] |But what happens if you have a command that used arguments and you want to reuse just one of them? [123002510070] |The !:1 operator returns the argument used in a command. [123002510080] |The example in Listing 3 shows how you can use this operator in combination with the !$ operator. [123002510090] |In the first command, a file is renamed to a more meaningful name, but to preserve use of the original file name, a symbolic link is created. [123002510100] |The file kxp12.c is renamed in a more readable manner, then the link command is used to create a symbolic link back to the original file name, in case it’s still used elsewhere. [123002510110] |The !$ operator returns the file_system_access.c argument, and the !:1 operator returns the kxp12.c argument, which is the first argument of the previous command. [123002510120] |Listing 3 $ mv kxp12.c file_system_access.c $ ln –s !$ !:1 [123002510130] |Read more here… [123002530010] |FAQ: How to disable/remap a keyboard key in Linux? [123002530020] |Q: How can I disable one or several keys of my laptop keyboard in Linux? [123002530030] |When I press DELETE key it gets stuck and deletes everything [123002530040] |A: No problem! [123002530050] |You can use the following command to remap or disable any key of your keyboard: [123002530060] |xmodmap -e 'keycode =' [123002530070] |For example, run the following to disable your DELETE key: xmodmap -e 'keycode 107='. [123002530080] |BTW you can get keycode that corresponds to certain keyboard button by using simple command xev [123002530090] |The full list of available keycodes and actions assigned to them on UK keyboard is below… [123002530100] |keycode 8 = keycode 9 = Escape keycode 10 = 1 exclam keycode 11 = 2 quotedbl keycode 12 = 3 sterling keycode 13 = 4 dollar keycode 14 = 5 percent keycode 15 = 6 asciicircum keycode 16 = 7 ampersand keycode 17 = 8 asterisk keycode 18 = 9 parenleft keycode 19 = 0 parenright keycode 20 = minus underscore keycode 21 = equal plus keycode 22 = Delete keycode 23 = Tab keycode 24 = Q keycode 25 = W keycode 26 = E keycode 27 = R keycode 28 = T keycode 29 = Y keycode 30 = U keycode 31 = I keycode 32 = O keycode 33 = P keycode 34 = bracketleft braceleft keycode 35 = bracketright braceright keycode 36 = Return keycode 37 = Control_L keycode 38 = A keycode 39 = S keycode 40 = D keycode 41 = F keycode 42 = G keycode 43 = H keycode 44 = J keycode 45 = K keycode 46 = L keycode 47 = semicolon colon keycode 48 = apostrophe at keycode 49 = grave asciitilde keycode 50 = Shift_L keycode 51 = numbersign asciitilde keycode 52 = Z keycode 53 = X keycode 54 = C keycode 55 = V keycode 56 = B keycode 57 = N keycode 58 = M keycode 59 = comma less keycode 60 = period greater keycode 61 = slash question keycode 62 = Shift_R keycode 63 = KP_Multiply keycode 64 = Alt_L keycode 65 = space keycode 66 = Caps_Lock keycode 67 = F1 keycode 68 = F2 keycode 69 = F3 keycode 70 = F4 keycode 71 = F5 keycode 72 = F6 keycode 73 = F7 keycode 74 = F8 keycode 75 = F9 keycode 76 = F10 keycode 77 = Num_Lock keycode 78 = Scroll_Lock keycode 79 = Home KP_7 KP_7 Home keycode 80 = Up KP_8 KP_8 Up keycode 81 = Prior KP_9 KP_9 Prior keycode 82 = KP_Subtract keycode 83 = Left KP_4 KP_4 Left keycode 84 = Begin KP_5 KP_5 Begin keycode 85 = Right KP_6 KP_6 Right keycode 86 = KP_Add keycode 87 = End KP_1 KP_1 End keycode 88 = Down KP_2 KP_2 Down keycode 89 = Next KP_3 KP_3 Next keycode 90 = Insert KP_0 KP_0 Insert keycode 91 = Delete KP_Decimal KP_Decimal Delete keycode 92 = 0×1007ff00 keycode 93 = keycode 94 = backslash bar keycode 95 = F11 keycode 96 = F12 keycode 97 = Home keycode 98 = Up keycode 99 = Prior keycode 100 = Left keycode 101 = Begin keycode 102 = Right keycode 103 = End keycode 104 = Down keycode 105 = Next keycode 106 = Insert keycode 107 = Delete keycode 108 = KP_Enter keycode 109 = Control_R keycode 110 = Pause keycode 111 = Print keycode 112 = KP_Divide keycode 113 = Mode_switch keycode 114 = Break [123002530110] |Information improvisation: Get fast success in JN0-332 exam and comptia security+ exam by using our latest 650-177 exam. [123002530120] |We also offer up-to-date 642-504 exam questions and answers for your prep of PMI-002. [123002550010] |Try Google Chrome in Linux [123002550020] |There is still no native Linux support of newly unveiled browser Google Chrome but guys from CodeWeavers prepared the port of Chromium (official name of Google Chome for Linux). [123002550030] |This staff is already available for downloading as DEB packages for Ubuntu (32-bit and 64-bit), as RPM for RedHat, Fedora, CentOS etc. as well as self installable script for any other Linux distribution. [123002550040] |Well, after quick testings there are no doubts that it is not a good option if you wish to have quick and stable alternative for Firefox… But of course it is good for evaluation purposes or for those people who CAN’T wait for official release of Chrome for Linux Certainly the port is based on Windows copy run by Wine (don’t forget to upgrade it). [123002550050] |Actually CodeWeavers says that this is just a proof of concept, for fun, and to showcase what Wine can do. [123002560010] |Speedlinks - 18 September 2008 [123002560020] |Below are the links which caught my eye this week, I hope that some of them will be useful and interesting for you… [123002560030] |
  • Canonical Store is to sell multimedia codecs for Ubuntu. [123002560040] |Codecs are developed by Fluendo and Cyberlink. [123002560050] |It is still possible to do sudo apt-get install ubuntu-restricted-extras and get that staff installed…
  • [123002560060] |
  • In A comparative look at compact sysadmin distributions article Cory Buford shares the observations he got during review of several portable (not more 210 Mb) Linux distros which may be helpful to handle “minor catastrophes”. [123002560070] |BTW I prefer RIPLinuX
  • [123002560080] |
  • T-Mobile, Google and HTC announce that first phone based on Android platform will be out next week (23th of September 2008).
  • [123002560090] |
  • Google is going to launch its own “computer navy” (sea floating data centres). [123002560100] |Now jokes –rumors.
  • [123002560110] |
  • Codeweavers company has adapted Google Chrome browser for Linux and Mac platform.
  • [123002560120] |
  • Mozilla asks to display firefox EULA in Ubuntu 8.10. [123002560130] |Some people are really disturbed about that.
  • [123002560140] |
  • XFCE 4.6 first alpha is out for public testing.
  • [123002560150] |And we just launched Linux and Open Source News aggregator at Linux Screw, so you are welcome to set it your homepage