03:47 PM 03:47 PM 03:47 PM

Install Apache2, PHP5, PHPmyAdmin, MySQL


Hello,

I will just show how to quickly install Apache 2, PHP5, MYSQL and PHPmyAdmin in Ubuntu.

Install apache2 with:

$ sudo apt-get install apache2

Install PHP5:

$ sudo apt-get install php5 php5-common php5-cli

Install MYSQL:

$ sudo apt-get install mysql-client mysql-server

(During the installation it will ask you password for root user of MySQL)

Install PHPMyAdmin:

$ sudo apt-get install phpmyadmin

(It will ask the MySQL password and of the PHPMyAdmin user)

Best Regards,
Matheus

09:32 PM 09:32 PM 09:32 PM

Install Windows 7 in a VirtualBox


Hello,

Today in class one of my teachers was using Windows 7 as your "main" operational system. He said "Windows 7 never crashed". So i decided to try it too in VirtualBox.

You have to access Microsoft Windows 7 page. Download the version you want to use. You will have to fill a form and then you will receibe a mail confirmation. When you confirm it you will be able to access a page with the link location and your cd-key.

Open your Virtual box go to "New", choose a name. Change the options to Windows, version Windows 7 (32/64). Create, set the memory size. Create a new Virtual HardDisk. (I used 15GB). Start it, choose the image file and start the installation.

(Installation is so easy, i will not comment it here.)

Matheus

PS: I know I haven't published regularly in the last days, but I'm sick (flu) and I'm testing some stuff that take a lot of time like IPV6.

01:20 PM 01:20 PM 01:20 PM

Ubuntu, VirtualBox 2.2 and USB


Hello,

Now, with this new version of ubuntu, i will post alot about it while I'm trying configurations. I don't want to teach how to install VirtualBox 2.2, because it's a package .deb and is so easy to install it (Download Sun VirtualBox). In this post I want to remember that we should select the option "Enable IO APIC" in "Settings - General - Advanced". (My version of WinXp doesn't work without it). So if you system is not booting, verify this option. Now let's go to enable USB in your Virtual machine.

You have to install "Guest Additions", use the menu "Devices - Install Guest Additions". (Don't forget to mount it on your cd in virtualbox)

After you install it go to console:

$ grep vbox /etc/group
The result is something similar to this: vboxusers:x:gid:user

(If your user is not there, add it "System - Administration - Users and groups")

Edit the file "mountkernfs.sh":
$ sudo pico /etc/init.d/mountkernfs.sh

Go to the end of do_start(), and before the } add this line:
domount usbfs "" /proc/bus/usb usbdevfs -onoexec,nosuid,nodev,devgid=GID,devmode=644

(Replace the GID with your GID)

Save the file, reboot the computer and use your usb in your virtualmachine.

The site that make me try this way is http://www.davidgrant.ca/virtualbox_usb_windows_xp_guest_ubuntu_hardy. This website don't says it works on Ubuntu 9.04 (Jaunty), so i tried and it worked.

I hope this is useful,
Matheus

PS: You have to select the device you want to use in virtual machine in "Device - USB DEVICES"