Language Selection

English French German Italian Portuguese Spanish

HowTos

XGL and Compiz on Ubuntu

Filed under
HowTos

So you want to play around with XGL and Compiz but don't want to compile X.org 7.0 from source or do too much work. If that's the case, you're in luck! Ubuntu's Dapper Drake release has all of the experimental packages pre-built so you won't have to.

Patch testing

Filed under
HowTos

Critical to the concept of patch management is testing. When applied indiscriminately, patches can override working drivers, break existing software, and change the links to key files. They may introduce new features that override services on which you rely. Best practices suggest that you test every patch before installing it on production computers. Ideally, you'll have one or more extra computers available for this purpose.

A concise explanation of I-Nodes

Filed under
HowTos

At any given time, a Linux machine will be having 10's and 1000's of files including both system as well as user files. File systems like ext2 or ext3 support file names of 255 characters length and can grow in sizes of up to 2 GB. Now managing these files and keeping track of which files contain what data could be a nightmare for any OS. To overcome this logistical nightmare, Linux uses what are called i-nodes to organise block allocations to files.

Installing apps in a 32-bit chroot in AMD64

Filed under
HowTos

So you switched to the AMD64 architecture, installed the 'pure64′ flavour of Debian on it? Well, get prepared for some problems: no flashplugin for Firefox, no win32 codecs for MPlayer, no OpenOffice. Here's a way to install it along with the win32 and RealPlayer codecs, LIVE.com streaming support, and more.

Execute commands simultaneously on multiple servers

Filed under
HowTos

If you have multiple servers with similar or identical configurations (such as nodes in a cluster), it's often difficult to make sure the contents and configuration of those servers are identical. It's even more difficult when you need to make configuration modifications from the command line, knowing you'll have to execute the exact same command on a large number of systems (better get coffee first). You could try writing a script to perform the task automatically, but sometimes scripting is overkill for the work to be done. Fortunately, there's another way to execute commands on multiple hosts simultaneously.

Fedora Release Upgrade

Filed under
HowTos

Here are the steps you should follow if you want to upgrade one Fedora Core release (for example Fedora Core 3 to Fedora Core 4).

Two-in-one DNS server with BIND9

Filed under
HowTos

This tutorial shows you how to configure BIND9 DNS server to serve an internal network and a external network at the same time with different set of information. To accomplish that goal, a new feature of BIND9 called view is used.

CLI Magic: Patching the differences

Filed under
HowTos

Working with free and open source software, one frequently hears terms such as bugs, updates, and patches. When developers come across shortcomings in their software, instead of repackaging the software with the changes, they can provide a patchfile that contains details of all required changes. Two important tools used in the process are diff, which creates a patchfile, and patch, which applies it. You can use both tools with text or HTML files.

Howto: Recovering grub boot loader password

Filed under
HowTos

If you have, a password protected grub boot loader and you forgot both root and grub password then you can recover grub-boot loader password using following method/Procedure:

How to build a successful website

Filed under
HowTos

What I want to share with you today is a few of the things I've learned along the way to getting Mad Penguin to where it's at today. Currently it is in the top 8,000 sites on the Internet (out of 74+ million sites monitored by NetCraft as of February 2006), and it was all done on a $25.00 budget.

Syndicate content

More in Tux Machines

Android Leftovers

The Linux terminal is no one-trick pony

Welcome to another day of the Linux command-line toys advent calendar. If this is your first visit to the series, you might be asking yourself what a command-line toy even is. We’re figuring that out as we go, but generally, it could be a game, or any simple diversion that helps you have fun at the terminal. Some of you will have seen various selections from our calendar before, but we hope there’s at least one new thing for everyone. Read more

Android Leftovers

today's leftovers

  • Get notifications for your patches
    We are trialing out a new feature that can send you a notification when the patches you send to the LKML are applied to linux-next or to the mainline git trees.
  • A simple blank makes the difference
    OFX is the Open Financial eXchange protocol used by various financial institutions in a few countries. KMyMoney provides an OFX client implementation using the open source LibOFX library allowing users to import transactions directly from the bank’s server without using the detour through a web-browser and a downloaded file into the ledger of the application.
  • Fractal December'18 Hackfest (part 1)
    The Tuesday 11th started the second Fractal Hackfest. I've organized this hackfest in Seville, the city where I studied computer science and here I've a lot of friends in the University so is a good place to do it here. The weather was important too for the hackfest selection, in December Seville is a good choice because the weather is not too cold, we're having sunny days. The first day was a good day, thinking about some relevant issues and planning what we want to do. We talked about the work needed for the interface split, about the E2EE support, new features and the need for a new release. We're having some problems with the internet connection, because the University has a restricted network policy and we ask for the guess internet connection the Monday, but we're still waiting.
  • Unexpected fallout from /usr merge in Debian
    Back in 2011, Harald Hoyer and Kay Sievers came up with a proposal for Fedora to merge much of the operating system into /usr; former top-level directories, /bin, /lib, and /sbin, would then become symbolic links pointing into the corresponding subdirectories of /usr. Left out of the merge would be things like configuration files in /etc, data in /var, and user home directories. This change was aimed at features like atomic upgrades and easy snapshots. The switch to a merged /usr was successful for Fedora 17; many other distributions (Arch, OpenSUSE, Mageia, just to name a few) have followed suit. More recently, Debian has been working toward a merged /usr, but it ran into some surprising problems that are unique to the distribution. Debian and its derivatives are definitely late to the /usr merge party. Systems running Debian testing that were initially installed before June 2018 still have /bin, /sbin, and /lib as normal directories, not as symbolic links. The same applies to Ubuntu 18.10. But both Debian and Ubuntu want to make the switch to a merged /usr. Debian tried, but it hit something completely unexpected. The Debian /usr merge history started in 2016, when Marco d'Itri got the usrmerge package into Debian unstable. This package contains a Perl script that converts an existing system into the state with a merged /usr. Also, a change was made to the debootstrap program (which installs a Debian system into a chroot), so that it could create the needed symbolic links by itself before installing any packages. The end result is the same in both cases. [...] The Debian package sed also has /bin/sed, not /usr/bin/sed. In the bug report, the problem is treated like a one-off issue, to be solved by a rebuild. However, on the debian-devel mailing list, Ian Jackson quickly pointed out that the problem is, in fact, due to /usr merge on the build daemons. He suggested that the change should be reverted. Dirk Eddelbuettel seconded that suggestion, and noted that he expects "much more breakage to follow". Indeed, similar problems were triggered in sympow, pari, and monitoring-plugins. Other bugs of this nature can be found by searching the Debian bug tracking system for a special tag (but this search also finds other kinds of issues). [...] The discussion is still in progress, though; no consensus has been reached. A bug was filed against debootstrap by Jackson to revert the change to merge by default for the next release of Debian. Due to the disagreement of the debootstrap maintainer to the proposed change, Jackson reassigned the bug to the Debian Technical Committee, which is the ultimate authority for resolving otherwise unresolvable technical disputes within Debian. There is also a request from the Debian backports FTP master that the default should be the same in Debian stable backports and in Debian testing. Emilio Pozuelo Monfort, a member of the release team, also spoke in favor of reverting to non-merged /usr in new installations. It is impossible to predict now how the Technical Committee will rule. In the worst case for /usr-merge proponents, proper introduction of a merged /usr into Debian may be delayed by a few more years. But, if it votes for keeping the status quo, new end-user systems in the next stable release of Debian will have merged /usr, old but upgraded ones won't, and the build daemons will reliably build packages suitable for both cases, just like what's planned for Ubuntu 19.04. No flag day is needed in this scenario, so it would follow the best Debian traditions of not forcing transitions onto users.
  • Compiz: Ubuntu Desktop's little known best friend
    The best part is that it takes no time at all to get up and running! I’ll show you how to transform Ubuntu into a desktop that is functionally similar to Mac.  
  • How to use TOAD The Open Source Android Deodexer
    Deodexing Android can be a time-consuming process which involves pulling /system files from your Android device, deodexing them using PC tools, and installing them back on your phone. Not to mention that whenever Google releases a new Android version, the process for deodexing ROMs alters – which means tools for deodexing need to play catchup. Many deodexing tools have become defunct due to lack of update from the developers. A new tool called TOAD (The Open Source Android Deodexer) has been released, which aims to not only be incredibly easy, its open-source nature allows the development community to keep it updated with the latest deodexing methods. TOAD utilizes batch files for processing odexed files, so new batch files can easily be added or modified by the development community.
  • Linux group plans show and tell
    The Linux Users’ Group of Davis presents Open Source Computing “Show and Tell” event, an informal open night to talk about and demonstrate programs, computer projects or tricks and tips. Feel free to bring something to show or tell for 10 minutes, from a Raspberry Pi project to tools or utilities that you find handy. Everyone is welcome to join in the fun, whether you’re a hobbyist, coder, enthusiast or sysadmin.
  • Windows 10 tip: Run Ubuntu Linux in an enhanced Hyper-V session [Ed: When Microsoft's Ad Bot (Ad Bought?) covers Ubuntu it's about putting it as a slave of Vista 10, complete with back doors]
  • ​MS-Linux? Lindows? Could Microsoft release a desktop Linux? [Ed: It’s like CBS wants to just hire pro-Microsoft slants; propaganda and clickbait.]
  • How Facebook Made a Universal Open Source Language for the Web
    THE CODE THAT runs the web is a melting pot of programming languages and technologies. JavaScript, the most popular language on the web, is the standard for writing code that runs in your browser. But the server side is much more diverse. Java (no relationship to JavaScript) remains popular, as do PHP, Python, and Ruby. Mobile app developers, meanwhile, have their own preferred languages, like Kotlin for writing Android apps or Apple's Swift for iOS.
  • C Programming Tutorial Part 2 - Preprocessors
    In the first part of our ongoing C programming tutorial series, we briefly touched on the preprocessing stage. In this tutorial, we will discuss it in a little more detail so that you have a basic idea about it before learning other C programming aspects.
  • Microsoft patches 'dangerous' zero-day already being exploited by [cracking] groups

    This vulnerability in kernel image ntoskrnl.exe was reported to Microsoft on 29 October by security vendor Kasperky Lab. Listed as CVE-2018-8611 and classified as 'important', it is a local privilege escalation bug. Kaspersky Lab researchers say it has already been exploited by [cracking] groups FruityArmor and SandCat.

  • Security updates for Thursday