Web hosting
  • Click here to get your free hosting
  • _______________________________________________________________________
    Showing posts with label Machines. Show all posts
    Showing posts with label Machines. Show all posts

    Saturday, 9 February 2013

    Migrate Your Linux Installation Between Machines

    migrateIt’s bound to happen that you have an awesome Linux setup … until the latest and greatest new processor comes out. But don’t worry, with a Linux installation you can move the things you want to keep to your new machine, and get a fresh installation on the things you don’t.

    Preparation

    Since you’ll essentially be backing up then restoring your files, you’ll need to get your backup media ready. There are a couple of things you’ll want to keep in mind before you do so:

    When backing up “normal” files, such as those from your home folder, you’ll typically be importing them into a new home folder. In this case, the ownership of those files will be set to your default permissions (which are your username as both the owner and group, e.g. “user:user”), But when migrating system files, you’ll need to make sure that the ownership remains intact.Likewise with the permissions (to get a rundown on Linux permissions, take a look at MTE’s primer on the subject). This means you’ll need to back these files up to a Linux filesystem that supports the same ownership and permission structure.It may be difficult to back these files and directories up while the machine is running. There may be programs or processes that are constantly updating them – some may even be locked. You may need to turn the machine of and boot using a Live CD or USB drive in order to get the data you need.Selecting Your Backup Files

    When moving your existing Linux set-up to new hardware, there are some directories you’ll want to include:

    /home/ – Of course, you’ll want to make sure you take your working files (documents, e-mail, media, and all the application settings you spent so long tweaking). Fortunately, Linux keeps all these under the “/home/[user's name]/ directory for each user. You can just grab the whole “/home” directory to back this up for all users./etc/ – This directory contains global configurations. Configurations such as web server settings, service definitions (e.g. when that web server starts automatically at boot, it’s a file in “/etc/init.d/” that defines this), and some default configurations (i.e. if you install a new program, the settings that are created for you the first time you run it)./root/ – Any files you create after a “sudo” command will be stored here by default. This directory doesn’t get used much in Ubuntu (the “sudo” command saves you from actually having to log in as root), but better safe than sorry./var/ – Data generated and maintained by system programs such as daemons is stored within the /var/ directory. Mail (if you run your own mail server) and server data (like web files for Apache) are two examples.

    If you’re moving to a machine with the same architecture (i.e. “i386″ for 32-bit processors, or “amd64″ for 64-bit), you may also want to add the following… they might be empty, but then it doesn’t cost you anything!

    /opt: Completely “optional” software may be installed here, e.g. applications packaged for your distribution that are not included in any official repositories./usr/local/: Custom software, particularly software you compile from source code, can be installed in this directory. Other types of programs are those that you simply extract from an archive (such as a “tar.gz” file).Backing Up Your Applications

    You may look at the list of files above and think, “What about all my packages?!?” Don’t worry; there’s a way to grab a list of all those applications that will allow you to reinstall them all with a single command. This is a good way to save you from having to transfer tens of gigabytes of files to your backup media, only to have to transfer them back again.

    With the above prepared, let’s move that Linux!

    The Migration Process

    1. As noted above, it’s a good idea to shut your machine down and boot using a live distro.

    2. Once you’re there, mount the hard drive containing the old Linux installation. We’ll call this path “/mount/path/to/install” below.

    3. First, grab that list of all the packages you installed with the following command:

    sudo dpkg --get-selections > /mount/path/to/install/home/[your user name]/packagelist.txt

    This will place the text-file list of packages in your home directory, which we’ll back up right now.

    4. The next step is to back up your files. It’s best to do this as root, since that’s who will own some of the files you’re backing up. By the same token, be sure that any settings or flags will be set to preserve both ownership and permissions. You can either use a command-line program like rsync or GUI program such as Backintime

    5. Now, get Linux installed on your new machine.

    6. Once the installation is done, reboot, but back into a live distro.

    7. Now, restore all the files you backed up above. Again, you may need to be root to make sure all the permissions and ownership are preserved.

    8. Almost done… run the following commands to restore all the packages you had previously in one shot:

    sudo dpkg --set-selections < /mount/path/to/install/home/[your user name]/packagelist.txt

    All the packages you had before are now set for installation, but not yet installed. The last step is the following command to install them:

    sudo apt-get -u dselect-upgrade

    Once that’s complete, you can boot into the Linux installation on your shiny new machine.

    ( Printo PDFq Readerg Read Later

    Aaron is an interactive business analyst, information architect, and project manager who has been using Linux since the days of Caldera. A KDE and Android fanboy, he'll sit down and install anything at any time, just to see if he can make it work. He has a special interest in integration of Linux desktops with other systems, such as Android, small business applications and webapps, and even paper.

    View the Original article

    Tuesday, 29 January 2013

    Apparatus: Build Amazing Machines To Perform Simple Tasks In This Brain Puzzler [Android]

    ">

    January 22, 2013

    By Saikat Basu

    apparatus for androidIf you have ever played with LEGO or a Meccano set and have loved the brain-stimulating challenge, then Apparatus for Android is right up your alley. Apparatus is a game of logic and creativity. When you combine both these two, you can be sure that it’s also a game that’s a sure shot booster for all the blank moments we start to have with age.

    Apparatus enjoys a 4.6 average user rating on the Google Play store. But more than that, I often take a peek at the reviews to see what others are saying about it before I let go of my dimes. Fun, creative, addictive, challenging, and amazing are some of the words thrown around. Words are words, so let’s see if this Android game walks the talk and make your creative cells spark up.

    A Brief Guide To Apparatus For Android

    Apparatus relies on physics or more pointedly – classical mechanics. If you have ever heard about Rube Goldberg and his gadgets, you will get the point of this game in a pat. You have to build simple to complex mechanical structures to achieve a simple task. The simple task is putting a blue marble (or a few) into a blue goal.

    But between the blue marble and the blue goal lies the challenge of taking all the contraptions (planks, weights, pulleys, hammer, nails etc.) presented to you in each level and logically putting them together so that you can move the blue ball towards the goal. And at every point of the puzzle game, you have to follow the laws of physics. So that means nailing or screwing things together just right so that they don’t fall off.

    Setting Up Apparatus

    Pay up $2.49 and download Apparatus from the Google Play store. The current version 1.1 is a 9.5MB download for Android 1.6+. You can enable sound effects and music from the starting screen and get on with the game. One of the interesting features of Apparatus is the Sandbox. We shall come back to it later. For now, let’s take on the levels. You have about 44 of them to go through (and also 10 Christmas level packs as a bonus) and each progressively increases in difficulty.

    apparatus for android

    The first level screen looks like this with a few wooden planks, a blue ball, and a goal. The play head button allows you to test and see the success or failure of your contraption.

    apparatus android app

    For the uninitiated, there’s the ‘?’ button which tells you about the objective. The instructions are updated with each change in the implements that you get to construct the machine.

    apparatus android app

    From there on, it is pretty intuitive. Drag the wooden planks and other building components around using the touchscreen and combine them in interesting by mechanically true ways to move the marble towards the goal.

    apparatus android app

    What’s nice about Apparatus is that there’s no time limit. You can take an eternity to complete the puzzles. There are no points or penalties. It is simply a test of logic (and more importantly…patience).

    The Sandbox

    The Sandbox is your own Rube Goldberg lab. You can construct intricate machines from a few basic parts and throw it open to other players. There are two types of Sandbox modes – Apparatus and Challenge. The names are self-explanatory.

    The Apparatus mode is where you can construct your machines. There is no objective and you are free to construct any machine you so wish to. The idea is to make working ‘prototypes’ of functional machines from the material provided. This is where you can test the laws of physics and see if your wildest mechanical imaginations can come true!

    overpriced gaming pc

    The Building Challenge mode is where you create your own puzzles and upload it to the Community and ‘challenge’ them to solve it.

    apparatus for android

    The Apparatus website has a gallery of community created models and a few tips to go about it. You can download them to your device and play them as you normally would. The Sandbox and the community levels extend the game beyond the default 44 levels offered by the core game.

    Incredibly Simple & Difficult At the Same Time

    True. Apparatus tests both your logic and creativity like nothing else. If you are interested in lateral thinking, then this is the game for you. The objective is simple, but the gameplay is not as simple as other gravitational physics based games like Angry Birds Space. Its sibling, Bad Piggies is probably closer in the way it involves construction and ingenuity.

    Could Apparatus have done something’s better? Yes; probably a hint system would have helped. It’s really frustrating when one is stuck.

    I tried out Apparatus on the relatively small screen of my Sony phone. I would recommend that you try it out on a tablet. Moving the parts around and positioning them precisely becomes much easier on a larger screen. Apparatus finds favorable mention on our Best Android Games page. Does it find favor in yours? Play it and come back to tell us.



    View the Original article