Wednesday, January 19, 2011

Woke Up With Swollen Tongue

Installing MySQL on Ubuntu 10.04 and Graphics Tools

Install MySql
   sudo apt-get install mysql-server   
Check if the installation was completed
   sudo netstat-tap    
Now let what I consider the best, is MySQL Query Browser is installed as follows:
$ sudo apt-get install mysql-query-browser
 
     

Can You Travel On A Plane With Pink Eye

Lose the fear of Linux with VirtualBox

Source

The main reason for a Windows or Mac does not stop taking the step to Linux is the fear of making mistakes in the installation, because if not done While this process may lose your Windows / Mac along with their precious documents. Luckily

accounts with tools like VirtualBox A virtual machine manager. Its function is to simulate all elements of a basic PC, including CPU, memory, video card and sound, Internet and hard drive, among others.

advantages? You can tinker with the virtual machine and install any software without fear because our computer nothing will happen.

Here we explain all the steps to follow to install Linux in VirtualBox without affecting your current operating system and getting the best possible integration between the two systems, the real and the virtual.El process is usually very similar whatever distribution are going to install, even with other operating systems like Windows, BSD or Solaris. In this case we chose Ubuntu as the best known, one of the simplest and recommended to start with Linux.

Step 1 - Download the VirtualBox installer
Assuming you're going to try Linux for the first time, you need to install VirtualBox on your computer, using the version for Mac OS X MySQL grafico para Linux or Windows
.
Step 2 - Download an ISO image of Ubuntu installation disc

In this case we use the default image
Ubuntu, although you can use any image, CD and DVD, either OpenSUSE, Fedora, Debian, Mandriva or other.
Step 3 - Create a new virtual machine

Obviously, first you need to create a virtual machine. VirtualBox allows you create for a particular operating system. Just type a name, for example Ubuntu Softonic, choose Linux and Ubuntu operating system and version. Special attention should be given to the RAM

. It depends on your virtual machine run better or worse and that your computer supports it: do not forget that while we will run two operating systems on one computer. Ideally spend half the RAM

, ie, 512 MB if your PC has 1GB. And as for the hard disk also depends on how much space you have free and are willing to sacrifice space for Linux. Ideally 8 to 10 GB at least

. So you can install games and programs without problems. Making a dynamic disk option

, occupying those gigabytes go slowly rather than all at once with the option of fixed size.

Step 4 - Set the virtual machine

Now you have a virtual machine to tinker with it all you want. But before installing Ubuntu on it, you better take a look at the configuration options.

Video Memory Size . In the General tab. With 64 MB will have enough, but allows up to 128 MB.

ISO Image. In paragraph CD / DVD-ROM, mark the option Install the CD / DVD, and within this, ISO image file, where you add the Ubuntu file that you downloaded earlier. Audio

. To listen to music on the virtual Linux need to activate and select the appropriate Host Audio Driver. ConWindows DirectSound will suffice. USB

. Do you want to connect USB devices directly into Linux? Well check this option.

shared folders. Imperative to share files between your computer with Windows / Mac and your virtual Linux. Choose which folder on your hard going to share, such

C: \\ Shared and give it a name such as Shared or similar.

If you want, later you can tinker with the other options, but we have seen are essential so that everything goes smoothly.

Not bad for starters, do not you think?. Now you know how to create a virtual machine and make a point. In the second part of this series we will see how to install Ubuntu in VirtualBox to be integrated seamlessly with your normal operating system.

Article

Lose the fear Linux with VirtualBox we saw how to create a virtual machine and how to configure it.

A virtual machine emulates all computer components. This is very useful for testing software and operating systems without fear that your computer or our personal files are damaged. But now we have the most important: install Ubuntu within the virtual machine. Then you'll see the steps to install Ubuntu on a VirtualBox virtual machine. However, these steps can serve us well for most Linux distributions, and even install on a real computer.

Step 1: Turn on the virtual machine

Before that, we add the ISO image of Ubuntu, downloaded previously, in

Settings> CD / DVD-ROM> ISO image file. Then from the main window, select the Ubuntu machine and click Start.

When you turn on the machine, it will recognize the Ubuntu CD, because virtual hard disk there is nothing installed. The first thing you see will be the list of available languages, including English.

menu we show several options. Want to try Ubuntu without installing it? Choose Try Ubuntu without changing your computer . From there you can access the installer on any time. Would you rather cut to the chase and install Ubuntu in VirtualBox? Then select Install Ubuntu .

Step 2: Configure the installation to your liking

The first choices to find during the graphical installation is common in other Linux installations. Indicate what time zone is ours, what keyboard we use (to use the ñ or ç with no problems) or even the model of mouse or monitor.

Step 3: Partition your hard


This step is the most dramatic and feared by anyone not used to it, as we run the risk of deleting your data or delete the previous installation. In the virtual machine there is nothing to fear. In addition, our virtual hard disk is empty. But in any case, Ubuntu has a handy wizard that lets you leave the partition intact and Ubuntu used and dedicated to the empty space, all automatically.

But if you want you can partition the disk as you like, taking into account these minimum requirements:

A primary partition for the system, mounted as / (root). Recommended, 7 Gb

A Swap partition

, accessible from Ubuntu, but it uses as auxiliary memory. Recommended, 1 GB

Optional. A partition for your files and program settings,

mounted as / home

.

Step 4: User and Administrator

Ubuntu, like all Linux distributions, creating a private space for each person accessing the system. Each user must have their own, so this step will create a username and password.

addition, we add a password for root or administrator, who can do and undo any configuration of Ubuntu and manage other user accounts.

A recommendation, used a unique password for Root, different to those used by other users.

Disadvantages of using Linux in a virtual machine

We have seen what the

advantages of running Linux in a virtual machine. If anything happens to the machine, your computer will free

and our documents. In addition, we

use two operating systems at once

.

But not all benefits. To begin, we can find
  • integration problems, as the sound not work, unable to share files between OS and virtual machine or the screen resolution is not adequate. And the main drawback VirtualBox does not emulate
  • 3D acceleration, so some games do not work in the virtual machine. This includes the spectacular visual effects of Ubuntu and other distributions that use Compiz. The third and last part of the series on VirtualBox will see some tricks to solve problems that we find to integrate Linux in VirtualBox with Windows and Mac

Now that we set a virtual machine with VirtualBox and Ubuntu have installed without problems, plays solve some problems that can be found when the virtual Linux does not play nice with Windows / Mac have installed. a screen resolution that prevents us from using Linux with ease, the failure to integrate our mouse and keyboard between the two operating systems or access content from a Mac or Windows VirtualBox, are the most common problems.

first thing to do to improve video support, shared folders and network access in the virtual machine, you install the Guest Additions

(Applications Host)

. We normally do it from the console or terminal.

When installing the Guest Additions in your Linux virtual, tells you that you have not installed kernel headers In Ubuntu, open the terminal and type uname-r

. Then write sudo aptitude install linux-headers-generic- followed by the number you got earlier.

In Fedora also have to type uname-r , and from the result, write

sudo yum install kernel-devel

followed by the number you got done in

.

rpm.

Default resolution is not desired

Access the file system configuration chart xorg

writing in terminal gksu gedit / etc/X11/xorg.conf . The document that opens, look for: Section "Device" Identifier "Configured Video Device" EndSection

and replace it with:

Section "Device" Identifier "Configured Video Device" Driver "vboxvideo" EndSection

also seek: Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection

And change it to: Section "Screen" Identifier "Default Screen" Device "VirtualBox graphics card" Monitor "Generic Monitor" DefaultDepth 24SubSection "Display" Depth 24Modes "1024x768" EndSubSectionEndSection

Where it says 1024x768

we can write the resolution we want. In this case, 1024 wide by 768 high. When you start Linux do not see the shared folder To enable the shared folder, after installing the Guest Additions, we must open the console and type as administrator the following: mount-t vboxsf

Shared / home / softonic / Shared

where Sharing is the name we have given to our portfolio from the corresponding option in VirtualBox. / home / softonic / Shared is the path to the folder from which you access Linux shared folder. However, this command must be used every time you start Linux.

For the shared folder on every startup of Linux, open its file / etc / modules with administrator privileges (

sudo gedit / etc / modules
) and add the words

vboxvfs vboxadd

and one below the other.

then opened the same way

file / etc / fstab and add

Shared / home / Softonic / Downloads vboxsf defaults 0 0

considering seen in the solution anterior.Una After saving changes in both files, each time you reboot, will the contents of the shared folder

/ home / softonic / Shared
.